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

8
#
umount /hpsimlnx
13.
For the second system, once the shared storage is available to it, do not move the content of the
d
ifferent directories, simply remove the content of them by running the following commands. Then
create the symbolic links :
#
vgascan
#
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 /hpsiml
nx/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 /o
pt
#
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
#
ln
-
sf /hpsimlnx/var/log/hpsmdb /var/log
#
rm
-
rf /var/opt/hpsmdb
#
ln
-
sf /hpsimlnx/var/opt/hpsmdb /var/opt
#
rm
-
rf /var/opt/mx
#
ln
-
sf /hpsimlnx/var/opt/mx /var/opt
Installing the cluster layer: Serviceguard 11.18
1.
HP Serviceguard
Manager
11.18 is used to provide the HA layer. For the installation of HP SIM,
run both system installations at the same time.
#
cat /e
tc/hosts
127.0.0.1 localhost.localdomain localhost
192.168.5.11 SG1hpsimlnx.hp
-
demo.net SG1hpsimlnx
192.168.5.12 SG2hpsimlnx.hp
-
demo.net SG2hpsimlnx
192.168.5.10 SGhpsimlnx.hp
-
demo.net SGhpsimlnx
192.168.5.13
SGQShpsimlnx.hp
-
demo.net SGQShpsimlnx
10.0.0.31 SG1hpsimlnxp.hp
-
demo.net SG1hpsimlnxp
10.0.0.32 SG2hpsimlnxp.hp
-
demo.net SG2hpsimlnxp
#
ssh
-
keygen
-
t dsa
Generating public/private dsa key pair.
Enter file in which to
save the key (/home/root/.ssh/id_dsa):
Created directory '/home/root/.ssh'.
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/root/.ssh/id_dsa.
Your public key has been saved in /home/root/
.ssh/id_dsa.pub.
The key fingerprint is:
5c:13:49:89:2e:10:bb:6a:42:84:69:6d:82:d9:95:c0 root@SG1hpsimlnx.hp
-
demo.net