PowerHA Dual-Node Software Management and Verification
PowerHA
PowerHA Dual-Node Software Management and Check
I. Starting and Stopping HA
Starting HA
#smitty clstart[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 +
Description:
- After executing smitty clstart appears the menu, move the cursor to Start Cluster Services on these nodes, press F4 simultaneously can select 2 nodes, making them start at the same time. If only starting the current node, keep default here.
- Move the cursor to Startup Cluster Information Daemon, then press the tab key to change to true.
- Finally, press Enter to execute HA startup.
Stopping HA
#smitty clstop[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> +
Description:
- Stop Cluster Services on these nodes Select the node to shut down.
- Select an Action on Resource Groups Select the method for handling resource groups. If after shutting down HA, want to switch resource groups (service IP, data VG, application) to another node, choose Move Resource Group.
Or choose the other two methods: Offline Resource Group or Unmanned Resource Group
II. Status Check
2.1 View HA Processes
# lssrc -g cluster Subsystem Group PID Status
clstrmgrES cluster 4522068 active
clevmgrdES cluster 5373968 active
clinfoES cluster 6226384 active
Description: After HA starts, two red processes should appear
2.2 View Service IPs
# netstat -inName 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 0 |
Description: After HA starts, check whether service IPs have started.
Can view the address of service IPs by cat /etc/hosts file.
2.3 View Volume Groups
#lspvhdisk0 00c70b97454be64f rootvg active hdisk1 00c70b974a0a653d rootvg active hdisk2 00c70b8764b3e67a caavg_private active hdisk3 00c70b974f853429 appvg1 active |
Description: After HA starts, check whether data VG has started.
Other Common Commands
- View HA Resource Group Status (Command is case-sensitive)
/usr/es/sbin/cluster/utilities/clRGinfo |
- View HA Configuration Information
/usr/es/sbin/cluster/utilities/cltopinfo