Check the Health of a WebLogic Domain

Learn how to view the status of a WebLogic domain manged by Oracle WebLogic Server for OKE.

Each server that is part of the domain runs in a pod. You can run kubectl commands to check the status of the pods that are part of the domain.

  1. Access the administration compute instance for your domain.
  2. Run the following commands:
    kubectl get pods -n <service>-domain-ns                                             # list all the pods in the domain namespace
    kubectl describe pod -n <service>-domain-ns <domain>-<service>-adminserver          # get details of admin server.
    kubectl describe pod -n <service>-domain-ns <domain>-<service>-managed-server1      # get details of managed server 1.

    Where, <service> is the name of the domain and <domain> is the domain name.

    Output example for command kubectl get pods -n <service>-domain-ns:
    
    NAME                               READY   STATUS    RESTARTS   AGE
    mydomain-nameoke-adminserver       1/1     Running   0          1d4h
    mydomain-nameoke-managed-server1   0/1     Running   0          1d4h
    mydomain-nameoke-managed-server2   1/1     Running   0          1d4h
See the READY column to know the status of the respective server.
  • 1/1: servers are running and ready to accept request.
  • 0/1: pod is running, but is not ready to accept request.