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

Note: Be sure all the symbolic links are connected by running the long list command from each
/hpsimsg directory to verify that the links are present. You will note an arrow connecting to the
original path.
Step 52 creates the subdirectory hpsim in /etc/cmcluster.
52. Enter mkdir /etc/cmcluster/hpsim.
Verify that HP SIM is running properly on the secondary node.
53. Enter vgchange –c n vg01.
54. Enter vgchange –a y vg01.
55. Enter mount /dev/vg01/hpsimsg /hpsimsg.
56. Start the database by running:
/sbin/init.d/hpsmdb.sg start
57. Start HP SIM by running:
/opt/mx/bin/mxstart
58. Bring up a browser to interactive with HP SIM and verify that it runs properly from the secondary
node.
http://servername:280
59. If everything is running okay, stop the product by running:
mxstop
60. Stop the database by running:
/sbin/init.d/hpsmdb.sg stop
61. Enter umount /hpsimsg.
62. Enter vgchange –a n vg01.
On the primary node, finish configuring Serviceguard for the volume group by executing the following
steps:
63. Start the cluster
cmruncl –v
64. Set volume group as cluster aware
vgchange –c y vg01
65. Halt the cluster
cmhaltcl –v
Setting up the packages and service
Working from the primary node, perform the following steps to setup the package and service for
Serviceguard.
1. Enter cd /etc/cmcluster/hpsim.
2. Create the file hahpsim.sh.
3. Enter vi hahpsim.sh.
4. Copy content as they appear in Appendix A hahpsim.sh into the file.