{"id":3282,"date":"2014-06-30T21:13:38","date_gmt":"2014-06-30T13:13:38","guid":{"rendered":"http:\/\/rmohan.com\/?p=3282"},"modified":"2014-07-01T10:44:04","modified_gmt":"2014-07-01T02:44:04","slug":"aix-powerha-hacmp-commands","status":"publish","type":"post","link":"https:\/\/mohan.sg\/?p=3282","title":{"rendered":"AIX PowerHA (HACMP) Commands"},"content":{"rendered":"<p>Most commands should work on all PowerHA (HACMP prior to 5.5) versions.<br \/>\nIf there is some syntax error, please consult the manual page for that command.<\/p>\n<table>\n<tbody>\n<tr>\n<td colspan=\"2\"><b><strong style=\"font-style: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\">PowerHA(HACMP) Commands<\/span><\/strong><\/b><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\"><b><strong style=\"font-style: inherit;\">How to start cluster daemons (options in that order:<\/strong><\/b><\/span><\/span><br \/>\n<span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\"><b><strong style=\"font-style: inherit;\">\u00a0clstrmgr, clsmuxpd, broadcast message, clinfo, cllockd)<\/strong><\/b><\/span><\/span><\/td>\n<td><span style=\"font-style: inherit; font-weight: inherit;\">clstart -m -s -b -i -l<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\"><b><strong style=\"font-style: inherit;\">How to show cluster state and substate (depends on clinfo)<\/strong><\/b><\/span><\/span><\/td>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\">\u00a0clstat<\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\"><b><strong style=\"font-style: inherit;\">SNMP-based tool to show cluster state<\/strong><\/b><\/span><\/span><\/td>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\">\u00a0cldump<\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\"><b><strong style=\"font-style: inherit;\">Similar to cldump, perl script to show cluster state<\/strong><\/b><\/span><\/span><\/td>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\">\u00a0cldisp<\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\"><b><strong style=\"font-style: inherit;\">How to list the local view of the cluster topology<\/strong><\/b><\/span><\/span><\/td>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\">\u00a0cltopinfo<\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\"><b><strong style=\"font-style: inherit;\">How to list the local view of the cluster subsystems<\/strong><\/b><\/span><\/span><\/td>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\">\u00a0clshowsrv -a<\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\"><b><strong style=\"font-style: inherit;\">How to show all necessary info about HACMP<\/strong><\/b><\/span><\/span><\/td>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\">\u00a0clshowsrv -v<\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\"><b><strong style=\"font-style: inherit;\">How to show HACMP version<\/strong><\/b><\/span><\/span><\/td>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\">\u00a0lslpp -L | grep cluster.es.server.rte<\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td><b><strong style=\"font-style: inherit;\">How to verify the HACMP configuration<\/strong><\/b><\/td>\n<td><span style=\"font-style: inherit; font-weight: inherit;\">\u00a0\/usr\/es\/sbin\/cluster\/diag\/clconfig -v -O \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\"><b><strong style=\"font-style: inherit;\">How to list app servers configured including start\/stop scripts<\/strong><\/b><\/span><\/span><\/td>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\">\u00a0cllsserv<\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\"><b><strong style=\"font-style: inherit;\">How to locate the resource groups and display their status<\/strong><\/b><\/span><\/span><\/td>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\">\u00a0clRGinfo -v<\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\"><b><strong style=\"font-style: inherit;\">How to rotate some of the log files<\/strong><\/b><\/span><\/span><\/td>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\">\u00a0clcycle<\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\"><b><strong style=\"font-style: inherit;\">A cluster ping program with more arguments<\/strong><\/b><\/span><\/span><\/td>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\">\u00a0cl_ping<\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\"><b><strong style=\"font-style: inherit;\">Cluster rsh program that take cluster node names as argument<\/strong><\/b><\/span><\/span><\/td>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\">\u00a0clrsh<\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\"><b><strong style=\"font-style: inherit;\">How to find out the name of the local node<\/strong><\/b><\/span><\/span><\/td>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\">\u00a0get_local_nodename<\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td><b><strong style=\"font-style: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\">r<\/span><\/strong><\/b><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\"><b><strong style=\"font-style: inherit;\">How to check the HACMP ODM<\/strong><\/b><\/span><\/span><\/td>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\">\u00a0clconfig<\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\"><b><strong style=\"font-style: inherit;\">How to put online\/offline or move resource groups<\/strong><\/b><\/span><\/span><\/td>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\">\u00a0clRGmove<\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\"><b><strong style=\"font-style: inherit;\">How to list the resource groups<\/strong><\/b><\/span><\/span><\/td>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\">\u00a0cllsgrp<\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\"><b><strong style=\"font-style: inherit;\">How to create a large snapshot of the hacmp configuration<\/strong><\/b><\/span><\/span><\/td>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\">\u00a0clsnapshotinfo<\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\"><b><strong style=\"font-style: inherit;\">How to show short resource group information<\/strong><\/b><\/span><\/span><\/td>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\">\u00a0cllsres<\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\"><b><strong style=\"font-style: inherit;\">How to list the cluster manager state<\/strong><\/b><\/span><\/span><\/td>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\">\u00a0lssrc -ls clstrmgrES<\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\"><b><strong style=\"font-style: inherit;\">Cluster manager states<\/strong><\/b><\/span><\/span><\/td>\n<td>\n<ul>\n<li><span style=\"font-style: inherit; font-weight: inherit;\">ST_NOT_CONFIGURED Node never started<\/span><\/li>\n<li><span style=\"font-style: inherit; font-weight: inherit;\">ST_INIT Node configured but down &#8211; not \u00a0running<\/span><\/li>\n<li><span style=\"font-style: inherit; font-weight: inherit;\">ST_STABLE Node up and running<\/span><\/li>\n<li><span style=\"font-style: inherit; font-weight: inherit;\">ST_RP_RUNNING\u00a0<\/span><\/li>\n<li><span style=\"font-style: inherit; font-weight: inherit;\">ST_JOINING\u00a0<\/span><\/li>\n<li><span style=\"font-style: inherit; font-weight: inherit;\">ST_BARRIER\u00a0<\/span><\/li>\n<li><span style=\"font-style: inherit; font-weight: inherit;\">ST_CBARRIER\u00a0<\/span><\/li>\n<li><span style=\"font-style: inherit; font-weight: inherit;\">ST_VOTING\u00a0<\/span><\/li>\n<li><span style=\"font-style: inherit; font-weight: inherit;\">ST_RP_FAILED Node with event error \u00a0 \u00a0 \u00a0 \u00a0\u00a0<\/span><\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\"><b><strong style=\"font-style: inherit;\">How to show heartbeat information<\/strong><\/b><\/span><\/span><\/td>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\">\u00a0lssrc -ls topsvcs<\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\"><b><strong style=\"font-style: inherit;\">How to check logs related to hacmp<\/strong><\/b><\/span><\/span><\/td>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\">\u00a0odmget HACMPlogs<\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\"><b><strong style=\"font-style: inherit;\">How to list all information from topology HACMP<\/strong><\/b><\/span><\/span><\/td>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\">\u00a0lssrc -ls topsvcs<\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\"><b><strong style=\"font-style: inherit;\">How to show all info about group<\/strong><\/b><\/span><\/span><\/td>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\">\u00a0<\/span><span style=\"font-style: inherit; font-weight: inherit;\">\u00a0lssrc -ls grpsvcs<\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\"><b><strong style=\"font-style: inherit;\">How to list the logs<\/strong><\/b><\/span><\/span><\/td>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\">\u00a0cllistlogs<\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\"><b><strong style=\"font-style: inherit;\">How to list the resources defined for all resource group<\/strong><\/b><\/span><\/span><\/td>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\">\u00a0clshowres<\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\"><b><strong style=\"font-style: inherit;\">How to show resource information by resource group<\/strong><\/b><\/span><\/span><\/td>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\">\u00a0<\/span><span style=\"font-style: inherit; font-weight: inherit;\">clshowres -g&#8217;RG&#8217;<\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\"><b><strong style=\"font-style: inherit;\">How to show resource information by node<\/strong><\/b><\/span><\/span><\/td>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\">\u00a0clshowres -n&#8217;NODE&#8217;<\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\"><b><strong style=\"font-style: inherit;\">How to locate the resource groups and display status (-s) \u00a0 \u00a0<\/strong><\/b><\/span><\/span><\/td>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\">\u00a0<\/span><span style=\"font-style: inherit; font-weight: inherit;\">clfindres<\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\"><b><strong style=\"font-style: inherit;\">How to list interface name\/interface device \u00a0 name\/netmask \u00a0 \u00a0 \u00a0<\/strong><\/b><\/span><\/span><b><strong style=\"font-style: inherit;\">associated with a specified ip label \/ ip address of a specific\u00a0<\/strong><\/b><br \/>\n<b><strong style=\"font-style: inherit;\">node<\/strong><\/b><\/td>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\">\u00a0<\/span><span style=\"font-style: inherit; font-weight: inherit;\">clgetif<\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\"><b><strong style=\"font-style: inherit;\">Cluster verification utility<\/strong><\/b><\/span><\/span><\/td>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\">\u00a0clverify<\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\"><b><strong style=\"font-style: inherit;\">How to list cluster topology information<\/strong><\/b><\/span><\/span><\/td>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\">\u00a0<\/span><span style=\"font-style: inherit; font-weight: inherit;\">cllscf<\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\"><b><strong style=\"font-style: inherit;\">X utility for cluster configuration<\/strong><\/b><\/span><\/span><\/td>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\">\u00a0<\/span><span style=\"font-style: inherit; font-weight: inherit;\">xclconfig<\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\"><b><strong style=\"font-style: inherit;\">X utility for hacmp management\u00a0<\/strong><\/b><\/span><\/span><\/td>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\">\u00a0<\/span><span style=\"font-style: inherit; font-weight: inherit;\">xhacmpm<\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\"><b><strong style=\"font-style: inherit;\">X utility for cluster status<\/strong><\/b><\/span><\/span><\/td>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\">\u00a0xclstat<\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\"><b><strong style=\"font-style: inherit;\">How to force shutdown cluster immediately without releasing resources<\/strong><\/b><\/span><\/span><\/td>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\">\u00a0l<\/span><span style=\"font-style: inherit; font-weight: inherit;\">clstop -f -N<\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\"><b><strong style=\"font-style: inherit;\">How to do graceful shutdown immediately with no takeover<\/strong><\/b><\/span><\/span><\/td>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\">\u00a0<\/span><span style=\"font-style: inherit; font-weight: inherit;\">clstop -g -N<\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\"><b><strong style=\"font-style: inherit;\">How to do graceful shutdown immediately with takeover<\/strong><\/b><\/span><\/span><\/td>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\">\u00a0<\/span><\/span><span style=\"font-style: inherit; font-weight: inherit;\">clstop -gr -N<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\"><b><strong style=\"font-style: inherit;\">How to sync the cluster topology<\/strong><\/b><\/span><\/span><\/td>\n<td>\u00a0<span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\">cldare -t<\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\"><b><strong style=\"font-style: inherit;\">How to do the mock sync of topology<\/strong><\/b><\/span><\/span><\/td>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\">\u00a0<\/span><span style=\"font-style: inherit; font-weight: inherit;\">cldare -t -f<\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\"><b><strong style=\"font-style: inherit;\">How to sync the cluster resources<\/strong><\/b><\/span><\/span><\/td>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\">\u00a0<\/span><span style=\"font-style: inherit; font-weight: inherit;\">cldare -r<\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\"><b><strong style=\"font-style: inherit;\">How to do the mock sync of resources<\/strong><\/b><\/span><\/span><\/td>\n<td>\u00a0<span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\">cldare -r -f<\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\"><b><strong style=\"font-style: inherit;\">How to list the name and security level of the cluster<\/strong><\/b><\/span><\/span><\/td>\n<td>\u00a0<span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\">cllsclstr<\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\"><b><strong style=\"font-style: inherit;\">How to list the info about the cluster nodes<\/strong><\/b><\/span><\/span><\/td>\n<td>\u00a0<span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\">cllsnode<\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\"><b><strong style=\"font-style: inherit;\">How to list info about node69<\/strong><\/b><\/span><\/span><\/td>\n<td>\u00a0<span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\">cllsnode -i node69<\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\"><b><strong style=\"font-style: inherit;\">How to list the PVID of the shared hard disk for resource group dataRG<\/strong><\/b><\/span><\/span><\/td>\n<td>\u00a0<span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\">cllsdisk -g dataRG<\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\"><b><strong style=\"font-style: inherit;\">How to list all cluster networks<\/strong><\/b><\/span><\/span><\/td>\n<td>\u00a0<span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\">cllsnw<\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\"><b><strong style=\"font-style: inherit;\">How to list the details of network ether1<\/strong><\/b><\/span><\/span><\/td>\n<td>\u00a0<span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\">cllsnw -n ether1<\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\"><b><strong style=\"font-style: inherit;\">How to show network ip\/nonip interface information<\/strong><\/b><\/span><\/span><\/td>\n<td>\u00a0<span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\">cllsif<\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\"><b><strong style=\"font-style: inherit;\">How to list the details of network adapter node1_service<\/strong><\/b><\/span><\/span><\/td>\n<td>\u00a0<span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\">cllsif -n node1_service<\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\"><b><strong style=\"font-style: inherit;\">How to list the shared vgs which can be accessed by all nodes<\/strong><\/b><\/span><\/span><\/td>\n<td>\u00a0<span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\">cllsvg<\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\"><b><strong style=\"font-style: inherit;\">How to list the shared vgs in resource group dbRG<\/strong><\/b><\/span><\/span><\/td>\n<td>\u00a0<span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\">cllsvg -g dbRG<\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\"><b><strong style=\"font-style: inherit;\">How to list the shared lvs<\/strong><\/b><\/span><\/span><\/td>\n<td>\u00a0<span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\">cllslv<\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\"><b><strong style=\"font-style: inherit;\">How to list the shared lvs in the resource group dbRG<\/strong><\/b><\/span><\/span><\/td>\n<td>\u00a0<span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\">cllslv -g dbRG<\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\"><b><strong style=\"font-style: inherit;\">How to list the PVID of disks in the resource group appRG<\/strong><\/b><\/span><\/span><\/td>\n<td>\u00a0<span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\">cllsdisk -g appRG<\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\"><b><strong style=\"font-style: inherit;\">How to list the shared file systems<\/strong><\/b><\/span><\/span><\/td>\n<td>\u00a0<span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\">cllsfs<\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\"><b><strong style=\"font-style: inherit;\">How to list the shared file systems in the resource group sapRG<\/strong><\/b><\/span><\/span><\/td>\n<td>\u00a0<span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\">cllsfs -g sapRG<\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\"><b><strong style=\"font-style: inherit;\">How to show info about all network modules<\/strong><\/b><\/span><\/span><\/td>\n<td>\u00a0<span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\">cllsnim<\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\"><b><strong style=\"font-style: inherit;\">How to show info about ether network module<\/strong><\/b><\/span><\/span><\/td>\n<td>\u00a0<span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\">cllsnim -n ether<\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\"><b><strong style=\"font-style: inherit;\">How to list the runtime parameters for the node node1<\/strong><\/b><\/span><\/span><\/td>\n<td>\u00a0<span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\">cllsparam -n node1<\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\"><b><strong style=\"font-style: inherit;\">How to add a cluster definition with name dcm and id 3<\/strong><\/b><\/span><\/span><\/td>\n<td>\u00a0<span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\">claddclstr -i 3 -n dcm<\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\"><b><strong style=\"font-style: inherit;\">How to create resource group sapRG with nodes n1,n2 in cascade<\/strong><\/b><\/span><\/span><\/td>\n<td>\u00a0<span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\">claddgrp -g sapRG -r cascading -n n1 n2<\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\"><b><strong style=\"font-style: inherit;\">Creates an application server ser1 with startscript as \/usr\/start and stop script as \/usr\/stop<\/strong><\/b><\/span><\/span><\/td>\n<td>\u00a0<span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\">claddserv -s ser1 -b \/usr\/start -e \/usr\/stop<\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\"><b><strong style=\"font-style: inherit;\">How to change cluster definitions name to dcmds and id to 2<\/strong><\/b><\/span><\/span><\/td>\n<td>\u00a0<span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\">clchclstr -i 2 -n dcmds<\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\"><b><strong style=\"font-style: inherit;\">How to change the cluster security to enhanced<\/strong><\/b><\/span><\/span><\/td>\n<td>\u00a0<span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\">clchclstr -s enhanced<\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\"><b><strong style=\"font-style: inherit;\">How to delete the resource group appRG and related resources<\/strong><\/b><\/span><\/span><\/td>\n<td>\u00a0<span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\">clrmgrp -g appRG<\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\"><b><strong style=\"font-style: inherit;\">How to remove the node node69<\/strong><\/b><\/span><\/span><\/td>\n<td>\u00a0<span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\">clrmnode -n node69<\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\"><b><strong style=\"font-style: inherit;\">How to remove the adapter named node69_svc<\/strong><\/b><\/span><\/span><\/td>\n<td>\u00a0<span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\">clrmnode -a node69_svc<\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\"><b><strong style=\"font-style: inherit;\">How to remove all resources from resource group appRG<\/strong><\/b><\/span><\/span><\/td>\n<td>\u00a0<span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\">clrmres -g appRG<\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\"><b><strong style=\"font-style: inherit;\">How to remove the application server app69<\/strong><\/b><\/span><\/span><\/td>\n<td>\u00a0<span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\">clrmserv app69<\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\"><b><strong style=\"font-style: inherit;\">How to remove all applicaion servers<\/strong><\/b><\/span><\/span><\/td>\n<td>\u00a0<span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\">clrmserv ALL<\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\"><b><strong style=\"font-style: inherit;\">How to list the nodes with active cluster manager processes from cluster manager on node node1clgetaddr node1 returns a pingable address from node node1<\/strong><\/b><\/span><\/span><\/td>\n<td>\u00a0<span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\">clgetactivenodes -n node1<\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\"><b><strong style=\"font-style: inherit;\">How to list the info about resource group sapRG<\/strong><\/b><\/span><\/span><\/td>\n<td>\u00a0<span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\">clgetgrp -g sapRG<\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\"><b><strong style=\"font-style: inherit;\">How to list the participating nodes in the resource group sapRG<\/strong><\/b><\/span><\/span><\/td>\n<td>\u00a0<span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\">clgetgrp -g sapRG -f nodes<\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\"><b><strong style=\"font-style: inherit;\">How to get the ip label associated to the resource group<\/strong><\/b><\/span><\/span><\/td>\n<td>\u00a0<span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\">\u00a0clgetip sapRG<\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\"><b><strong style=\"font-style: inherit;\">How to list the network for ip 192.168.100.2, netmask 255.255.255.0<\/strong><\/b><\/span><\/span><\/td>\n<td>\u00a0<span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\">clgetnet 192.168.100.2 255.255.255.0<\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\"><b><strong style=\"font-style: inherit;\">How to list the VG of LV nodelv<\/strong><\/b><\/span><\/span><\/td>\n<td>\u00a0<span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\">clgetvg -l nodelv<\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\"><b><strong style=\"font-style: inherit;\">How to add node5 to the cluster<\/strong><\/b><\/span><\/span><\/td>\n<td>\u00a0<span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\">clnodename -a node5<\/span><\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\"><b><strong style=\"font-style: inherit;\">How to change the cluster node name node5 to node3<\/strong><\/b><\/span><\/span><\/td>\n<td>\u00a0<span style=\"font-style: inherit; font-weight: inherit;\"><span style=\"font-style: inherit; font-weight: inherit;\">clnodename -o node5 -n node3<\/span><\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>Most commands should work on all PowerHA (HACMP prior to 5.5) versions. If there is some syntax error, please consult the manual page for that command.<\/p>\n<p> PowerHA(HACMP) Commands How to start cluster daemons (options in that order: clstrmgr, clsmuxpd, broadcast message, clinfo, cllockd) clstart -m -s -b -i -l How to show cluster state and [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[31],"tags":[],"_links":{"self":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/3282"}],"collection":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3282"}],"version-history":[{"count":3,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/3282\/revisions"}],"predecessor-version":[{"id":3284,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/3282\/revisions\/3284"}],"wp:attachment":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3282"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3282"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3282"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}