Commands to check Weblogic Server status

Commands to check Weblogic Server Status

Admin Server Status

From Domain Home execute the below command

C:\Oracle\Middleware\user_projects\domains\base_domain

Java –cp C:\ Oracle\Middleware\wlserver_10.3\server\lib\weblogic.jar  weblogic.Admin  -adminurl t3:\\localhost:7001 –username weblogic –password –weblogic123 GETSTATE

You will get output as “new_Managed_1”: RUNNING

Managed Server Status

From Domain Home execute the below command

C:\Oracle\Middleware\user_projects\domains\base_domain

Java –cp C:\ Oracle\Middleware\wlserver_10.3\server\lib\weblogic.jar  weblogic.Admin  -adminurl t3:\\localhost:7001 –username weblogic –password –weblogic123 GETSTATE  new_Managed_1

You will get output as “new_Managed_1”: RUNNING

Cluster Status

From Domain Home execute the below command

C:\Oracle\Middleware\user_projects\domains\base_domain

Java utils:MULTICASTTEST  -N clustername –A clusteraddress –p clusterport –T10 –S 2

Weblogic documentation gives more information on the same here.

The Start command transitions a server instance from the SHUTDOWN state to the RUNNING state. Depending on the initial state of a server instance, the Start command causes these state transitions:

SHUTDOWN –> STARTING –> STANDBY –> ADMIN –> RESUMING –> RUNNING

The ServerMBean.Start pMode attribute lets you specify the state in which a server instance should be started. Its values are displayed and configurable in the Administration Console, using WLST, or when specified as a java weblogic.Server startup option. If you do not specify a startup mode value (either on the command line, in the Administration Console, or in config.xml), the default is to start in the RUNNING state.