PowerHA, HACMP and HACMP/XD Commands
Posted by steve on 12 Apr 2012 in PowerHA Tips
Show status of the HACMP resource groups. Show status with verbose output. |
/usr/es/sbin/cluster/utilities/clRGinfo /usr/es/sbin/cluster/utilities/clRGinfo -v |
Shows status of the HACMP and RSCT subsystems. | /usr/es/sbin/cluster/utilities/clshowsrv -av |
Start the cluster services and the clinfo daemon with automatic resource acquisition. Resources groups will be brought online automatically after the start of cluster services. | /usr/es/sbin/cluster/etc/rc.cluster -boot -N -i |
Start the cluster services and the clinfo daemon with manual resource acquisition. Resources groups will need to be brought online manually after the start of cluster services. | /usr/es/sbin/cluster/etc/rc.cluster -boot -N -i -M |
Start the cluster services and the clinfo daemon with reacquires resource acquisition after a forced down. Use this option if you changed the state of any cluster resources while the cluster was forced down. | /usr/es/sbin/cluster/etc/rc.cluster -boot -N -i -r |
Stop the cluster services and the clinfo daemon with graceful shutdown and no resource group takeover. Resource groups from this cluster node will be taken offline. | /usr/es/sbin/cluster/utilities/clstop -g -y -s -N |
Stop the cluster services and the clinfo daemon with graceful shutdown and resource group takeover. Resource groups from this cluster node will be failed over to the next highest priority node. | /usr/es/sbin/cluster/utilities/clstop -gr -y -s -N |
Stop the cluster services and the clinfo daemon with the force option. Resource groups from this cluster node will not be taken offline or failed over, but cluster services will stop. | /usr/es/sbin/cluster/utilities/clstop -f -y -s -N |
Show a list of all the PowerHA log files. In the following cllog examples, replace {LOGFILE} with the name in column one. | /usr/es/sbin/cluster/utilities/cllog -s |
Show ALL the contents of a PowerHA log file. | /usr/es/sbin/cluster/utilities/cllog -a {LOGFILE} |
Watch (tail -f) a PowerHA log file. | /usr/es/sbin/cluster/utilities/cllog -w {LOGFILE} |
Show the location of a PowerHA log file. | /usr/es/sbin/cluster/utilities/cllog -g {LOGFILE} |
Change the location of a PowerHA log file. | /usr/es/sbin/cluster/utilities/cllog -c {LOGFILE} -v {DIR} |
Cycle the current PowerHA logfiles. | /usr/es/sbin/cluster/utilities/clcycle |