PowerHA Dual-Node Software Management and Verification
This article applies to PowerHA dual-node clusters on AIX. It explains how to start and stop HA with smitty clstart / smitty clstop, and how to check the cluster processes, service IPs, and data volume groups after HA starts. All operations are performed on the node command line, and common commands for viewing resource group status and cluster configuration are listed at the end.
Starting and Stopping HA
Starting HA
Run the following command on the node to open the menu for starting cluster services:
#smitty clstartThe menu looks like this:
[Entry Fields]
* Start now, on system restart or both now +
Start Cluster Services on these nodes [sgapp1, sgapp2-> +
* Manage Resource Groups Automatically +
BROADCAST message at startup? false +
Startup Cluster Information Daemon? true +
Ignore verification errors? false +
Automatically correct errors found during Interactively +- Move the cursor to
Start Cluster Services on these nodesand press F4 to select both nodes so that they start at the same time. If you only want to start the current node, keep the default. - Move the cursor to
Startup Cluster Information Daemon?and press Tab to change the value totrue. - Press Enter to start HA.
Stopping HA
Run the following command on the node to open the menu for stopping cluster services:
#smitty clstopThe menu looks like this:
[Entry Fields]
* Stop now, on system restart or both now +
Stop Cluster Services on these nodes [sgapp1 > +
BROADCAST cluster shutdown? false +
* Select an Action on Resource Groups Move Resource Group> +- In
Stop Cluster Services on these nodes, select the node to shut down. - In
Select an Action on Resource Groups, select how resource groups are handled: if the resource groups (service IP, data VG, application) should be switched to the other node after HA is stopped, chooseMove Resource Group; you can also choose one of the other two methods,Offline Resource GrouporUnmanage Resource Group.
HA Status Check
After HA starts, check the cluster processes, service IPs, and data volume groups in turn to confirm that the resource group is online on the current node.
View HA Processes
Purpose: confirm that the HA cluster subsystems have started.
# lssrc -g cluster
Subsystem Group PID Status
clstrmgrES cluster 4522068 active
clevmgrdES cluster 5373968 active
clinfoES cluster 6226384 activeCriteria: After HA starts, the cluster subsystems in the cluster group should be listed with Status active.
View Service IPs
Purpose: confirm that the service IPs have started and are bound to the network adapters.
# netstat -in
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll
en4 1500 link#2 40.f2.e9.13.b0.22 18840 0 11731 3 0
en4 1500 10.12.253 10.12.253.22 18840 0 11731 3 0
en4 1500 10.12.2 10.12.2.22 18840 0 11731 3 0
en5 1500 link#3 40.f2.e9.13.b0.23 8500 0 2649 3 0
en5 1500 10.12.2 10.12.2.202 8500 0 2649 3 0
en5 1500 10.12.252 10.12.252.22 8500 0 2649 3 0Criteria: After HA starts, the service IPs should appear in the netstat -in output. You can look up the service IP addresses with cat /etc/hosts.
View Volume Groups
Purpose: confirm that the data VG has been activated.
#lspv
hdisk0 00c70b97454be64f rootvg active
hdisk1 00c70b974a0a653d rootvg active
hdisk2 00c70b8764b3e67a caavg_private active
hdisk3 00c70b974f853429 appvg1 activeCriteria: After HA starts, the disks of the data VG (appvg1 in this example) should show active.
Other Common Commands
- View HA resource group status (the command is case-sensitive):
/usr/es/sbin/cluster/utilities/clRGinfo - View HA configuration information:
/usr/es/sbin/cluster/utilities/cltopinfo