HW/OS2012. 2. 22. 13:50

Checking cluster services and processes

Check the status of the following HACMP daemons:

  • The Cluster Manager (clstrmgrES) daemon
  • The Cluster Communications (clcomdES) daemon
  • The Cluster Information Program (clinfoES) daemon.

When these components are not responding normally, determine if the daemons are active on a cluster node. Use either the options on the SMIT System Management (C-SPOC) > Manage HACMP Services > Show Cluster Services panel or the lssrc command.

For example, to check on the status of all daemons under the control of the SRC, enter:

lssrc -a | grep active
 syslogdras 290990active
 sendmail  mail270484active
 portmapportmap286868active
 inetd  tcpip  295106active
 snmpd  tcpip  303260active
 dpid2  tcpip  299162active
 hostmibd  tcpip  282812active
 aixmibdtcpip  278670active
 biodnfs 192646active
 rpc.statd nfs 254122 active
 rpc.lockd nfs 274584active
 qdaemonspooler196720active
 writesrv  spooler250020active
 ctrmc  rsct98392 active
 clcomdES  clcomdES  204920active
 IBM.CSMAgentRMrsct_rm90268 active
 IBM.ServiceRM rsct_rm229510active
 IBM.ERRM  rsct_rm188602active
 IBM.AuditRMrsct_rm151722active
 topsvcstopsvcs602292active
 grpsvcsgrpsvcs569376active
 emsvcs emsvcs 561188active
 emaixosemsvcs 557102active
 clstrmgrEScluster544802active
 gsclvmd565356active
 IBM.HostRMrsct_rm442380active

To check on the status of all cluster daemons under the control of the SRC, enter: lssrc -g cluster

Note: When you use the -g flag with the lssrc command, the status information does not include the status of subsystems if they are inactive. If you need this information, use the -a flag instead. For more information on the lssrc command, see the man page.

To view additional information on the status of a daemon run the clcheck_server command. The clcheck_server command makes additional checks and retries beyond what is done by lssrc command. For more information, see the clcheck_server man page.

To determine whether the Cluster Manager is running, or if processes started by the Cluster Manager are currently running on a node, use the ps command.

For example, to determine whether the clstrmgrES daemon is running, enter:

ps -ef | grep clstrmgrES
root  18363  3346  3 11:02:05 -  10:20 /usr/es/sbin/cluster/clstrmgrES
root  19028  19559 2 16:20:04 pts/10  0:00 grep clstrmgrES

Checking cluster services and processes

Check the status of the following HACMP daemons:

  • The Cluster Manager (clstrmgrES) daemon
  • The Cluster Communications (clcomdES) daemon
  • The Cluster Information Program (clinfoES) daemon.

When these components are not responding normally, determine if the daemons are active on a cluster node. Use either the options on the SMIT System Management (C-SPOC) > Manage HACMP Services > Show Cluster Services panel or the lssrc command.

For example, to check on the status of all daemons under the control of the SRC, enter:

lssrc -a | grep active
 syslogdras 290990active
 sendmail  mail270484active
 portmapportmap286868active
 inetd  tcpip  295106active
 snmpd  tcpip  303260active
 dpid2  tcpip  299162active
 hostmibd  tcpip  282812active
 aixmibdtcpip  278670active
 biodnfs 192646active
 rpc.statd nfs 254122 active
 rpc.lockd nfs 274584active
 qdaemonspooler196720active
 writesrv  spooler250020active
 ctrmc  rsct98392 active
 clcomdES  clcomdES  204920active
 IBM.CSMAgentRMrsct_rm90268 active
 IBM.ServiceRM rsct_rm229510active
 IBM.ERRM  rsct_rm188602active
 IBM.AuditRMrsct_rm151722active
 topsvcstopsvcs602292active
 grpsvcsgrpsvcs569376active
 emsvcs emsvcs 561188active
 emaixosemsvcs 557102active
 clstrmgrEScluster544802active
 gsclvmd565356active
 IBM.HostRMrsct_rm442380active

To check on the status of all cluster daemons under the control of the SRC, enter: lssrc -g cluster

Note: When you use the -g flag with the lssrc command, the status information does not include the status of subsystems if they are inactive. If you need this information, use the -a flag instead. For more information on the lssrc command, see the man page.

To view additional information on the status of a daemon run the clcheck_server command. The clcheck_server command makes additional checks and retries beyond what is done by lssrc command. For more information, see the clcheck_server man page.

To determine whether the Cluster Manager is running, or if processes started by the Cluster Manager are currently running on a node, use the ps command.

For example, to determine whether the clstrmgrES daemon is running, enter:

ps -ef | grep clstrmgrES
root  18363  3346  3 11:02:05 -  10:20 /usr/es/sbin/cluster/clstrmgrES
root 19028 19559 2 16:20:04 pts/10 0:00 grep clstrmgrES
 
Posted by [TheWon]