Topics: PowerHA / HACMP

Useful HACMP commands

  • clstat - show cluster state and substate; needs clinfo.
  • cldump - SNMP-based tool to show cluster state.
  • cldisp - similar to cldump, perl script to show cluster state.
  • cltopinfo - list the local view of the cluster topology.
  • clshowsrv -a - list the local view of the cluster subsystems.
  • clfindres (-s) - locate the resource groups and display status.
  • clRGinfo -v - locate the resource groups and display status.
  • clcycle - rotate some of the log files.
  • cl_ping - a cluster ping program with more arguments.
  • clrsh - cluster rsh program that take cluster node names as argument.
  • clgetactivenodes - which nodes are active?
  • get_local_nodename - what is the name of the local node?
  • clconfig - check the HACMP ODM.
  • clRGmove - online/offline or move resource groups.
  • cldare - sync/fix the cluster.
  • cllsgrp - list the resource groups.
  • clsnapshotinfo - create a large snapshot of the HACMP configuration.
  • cllscf - list the network configuration of an HACMP cluster.
  • clshowres - show the resource group configuration.
  • cllsif - show network interface information.
  • cllsres - show short resource group information.
  • lssrc -ls clstrmgrES - list the cluster manager state.
  • lssrc -ls topsvcs - show heartbeat information.
  • cllsnode - list a node centric overview of the hacmp configuration.

If you found this useful, here's more on the same topic(s) in our blog:

UNIX Health Check delivers software to scan Linux and AIX systems for potential issues. Run our software on your system, and receive a report in just a few minutes. UNIX Health Check is an automated check list. It will report on perfomance, capacity, stability and security issues. It will alert on configurations that can be improved per best practices, or items that should be improved per audit guidelines. A report will be generated in the format you wish, and the report includes the issues discovered and information on how to solve the issues as well.

Interested in learning more?