Setting up an HP SIM server 6.0 or greater on a Linux-based Serviceguard Cluster White Paper 444847-004, February 2010

7
e)
For
each
node
,
move
the original HP
SIM content to
the
new destination
and create the
symbolic links.
f)
Ex
ecute
the following
commands in SG1hpsimlnx
:
#
mv /etc/init.d/hpsim etc/init.d
#
ln
-
sf /hpsimlnx/etc/init.d/hpsim /etc/init.d
#
mv /etc/opt/mx etc/opt/
#
ln
-
sf /hpsimlnx/etc/opt/mx /etc/opt
#
mv /etc/pam.d/hpsmdb etc/pam.d/
#
ln
-
sf /hpsimlnx/etc/pam.d/h
psmdb /etc/pam.d/
#
mv /etc/pam.d/mxpamauthrealm etc/pam.d/
#
ln
-
sf /hpsimlnx/etc/pam.d/mxpamauthrealm /etc/pam.d
#
mv /etc/init.d/hpsmdb etc/init.d
#
ln
-
sf /hpsimlnx/etc/init.d/hpsmdb /etc/init.d
#
mv /etc/sysconfig/hpsmdb etc/sysconfig/
#
ln
-
sf /hpsim
lnx/etc/sysconfig/hpsmdb /etc/sysconfig
#
mv /opt/hpsmdb opt/
#
ln
-
sf /hpsimlnx/opt/hpsmdb /opt
#
mv /opt/hpwebadmin opt/
#
ln
-
sf /hpsimlnx/opt/hpwebadmin /opt
#
mv /opt/mx opt/
#
ln
-
sf /hpsimlnx/opt/mx /opt
#
mv /var/log/hpsmdb var/log/
#
ln
-
sf /hpsim
lnx/var/log/hpsmdb /var/log
#
mv /var/opt/hpsmdb var/opt/
#
ln
-
sf /hpsimlnx/var/opt/hpsmdb /var/opt
#
mv /var/opt/mx var/opt/
#
ln
-
sf /hpsimlnx/var/opt/mx /var/opt
#
cd /
#
umount /hpsimlnx
g)
For the second system,
do not move the conte
nt of the different
directories.
W
hen
the shared
storage is available
,
remove the content
s
by
running the following c
ommands
in
SG2hpsimlnx
:
# vgscan
# vgchange
-
a y
# mkdir /hpsimlnx
# mount /dev/vgsg/lvsg /hpsimlnx
# /etc/init.d/hpsim stop
# /etc/init.d/hpsmdb stop
# rm
-
f
/etc/init.d/hpsim
# ln
-
sf /hpsimlnx/etc/init.d/hpsim /etc/init.d
# rm
-
rf /etc/opt/mx
# ln
-
sf /hpsimlnx/etc/opt/mx /etc/opt
# rm
-
rf /etc/pam.d/hpsmdb
# ln
-
sf /hpsimlnx/etc/pam.d/hpsmdb /etc/pam.d/
# rm
-
rf /etc/pam.d/mxpamauthrealm
# ln
-
sf /hpsimlnx/
etc/pam.d/mxpamauthrealm /etc/pam.d
# rm
-
rf /etc/init.d/hpsmdb
# ln
-
sf /hpsimlnx/etc/init.d/hpsmdb /etc/init.d
# rm
-
rf /etc/sysconfig/hpsmdb
# ln
-
sf /hpsimlnx/etc/sysconfig/hpsmdb /etc/sysconfig
# rm
-
rf /opt/hpsmdb
# ln
-
sf /hpsimlnx/opt/hpsmdb /opt
# rm
-
rf /opt/hpwebadmin
# ln
-
sf /hpsimlnx/opt/hpwebadmin /opt
# rm
-
rf /opt/mx
# ln
-
sf /hpsimlnx/opt/mx /opt
# rm
-
rf /var/log/hpsmdb