Setting up HP SIM 5.x on an HP-UX Serviceguard Cluster (448492-002, January 2009)

13. Verify the configuration file:
cmcheckconf –v –P hpsim.conf
14. Compile the configuration file:
cmapplyconf –v –P hpsim.conf
Testing the failover
Start the cluster with the application running on the primary node by typing the following command:
cmruncl –v
cmviewcl –v
Launch a browser to interact with HP SIM:
http://sgcluster:280
Test the failover to the secondary node by stopping the database:
/sbin/init.d/hpsmdb.sg stop
HP SIM should stop running on the primary node and start up on the secondary node. Verify that the
browser can still interact with HP SIM.
http://sgcluster:280/\
To fail back to the primary from the secondary node, execute the following commands:
cmmodpkg –e –n sgcluster1 hahpsim
/sbin/init.d/hpsmdb stop
After the fail back occurred, re-enable the secondary node for failover again:
cmmodpkg –e –n sgcluster2 hahpsim
Note: Use the cmviewcl –v command to view information about the high availability cluster.