AIX POWERHA/HACMP: Basic commands

POWERHA/HACMP: Basic commands

# IBM PowerHA (formerly HACMP) is IBM's solution for high-availability clusters on the AIX
# Unix and Linux for IBM System p platforms and stands for High Availability Cluster
# Multiprocessing.

# PowerHA can run on up to 32 computers or nodes, each of which is either actively running
# an application (active) or waiting to take over when another node fails (passive). Data
# on file systems can be shared between systems in the cluster.

# - PowerHA 7.1 was released in 2010 and uses the Cluster Aware AIX (CAA) infrastructure
#   available in AIX V6.1 TL 6 and AIX 7.1
# - PowerHA 6.1, Rebranded again to IBM PowerHA SystemMirror for AIX, GA Oct 27 2009
# - HACMP 5.5, Rebranded to IBM PowerHA, GA Nov 2008
# - HACMP 5.4.1, Nov 2007
# - HACMP 5.4, July 2006
# - HACMP 5.3, August 2005
#   [...]



# HACMP SPECIFICS
# ------------------------------------------------------------------------------------------
# * Heartbeat is implemented via a shared Heartbeat disk
# * Fallback policy: possibility of automatic fallback
# * File collection synchronization
# * Cluster validation test (DON'T RUN AS IT MAKES A FULL SET OF TESTS INCLUDING CRASH, etc)



# Show cluster state (continuous output)
# ------------------------------------------------------------------------------------------

root@<server>:/root#> clstat [ -r interval ]

   Cluster status: stable | unstable | reconfig




# Show cluster state (not continuous output)
# ------------------------------------------------------------------------------------------

root@<server>:/root#> cldump




# Check cluster daemons
# ------------------------------------------------------------------------------------------

root@<server>:/root#> lssrc -g cluster

Subsystem         Group            PID          Status
 clstrmgrES       cluster          50136        active
 clinfoES         cluster          139308       active




# Reduced information about ressource groups
# ------------------------------------------------------------------------------------------

root@<server>:/root#> clRGinfo

# RG (Ressource Group): Formed by IP, LVM, AS (application server) & AM (application monitor)
#
#  Ressource Group parameters:
#   - Startup policy
#   - Failover policy
#   - Fallback policy
#   - Site policy: for long-distance intersite clusters




# Complete information about application servers
# ------------------------------------------------------------------------------------------

root@<server>:/root#> cldisp




# ------------------------------------------------------------------------------------------

root@<server>:/root#> smitty [ hacmp | powerha ]
0 (0)
Article Rating (No Votes)
Rate this article
Attachments
There are no attachments for this article.
Comments
There are no comments for this article. Be the first to post a comment.
Full Name
Email Address
Security Code Security Code
Related Articles RSS Feed
AIX Reviewing AIX Error and Boot Logs
Viewed 3126 times since Wed, Mar 20, 2019
Kerberos, Active Directory and AIX
Viewed 6561 times since Mon, Jun 25, 2018
How to Maintain a Virtual I/O Server With FBO Part II
Viewed 10713 times since Wed, Jun 5, 2019
replacing (hot-swap) failed disk in rootvg
Viewed 9346 times since Thu, Sep 20, 2018
How to determine why your AIX oslevel is downlevel (and a script to help!)
Viewed 4456 times since Fri, Jul 13, 2018
AIX routing - How Do I Compare ODM with the Current Routing Table?
Viewed 2791 times since Mon, Jul 29, 2019
How to upgrade TL and SP in AIX using alternate disk(alt_disk_copy)
Viewed 12201 times since Sun, Jun 30, 2019
AIX - How to shutdown or reboot
Viewed 6203 times since Fri, Jun 8, 2018
Changing ’defined’ or ’missing’ hard disk states to ’Available’ in IBM Smart Analytics System for AIX environment
Viewed 2525 times since Thu, Sep 20, 2018
Mirroring session (TTY) on AIX using portmir
Viewed 9525 times since Thu, Feb 21, 2019