Building an HP SIM 5.x server on a Linux-based Serviceguard Cluster (444847-001, February 2007)

# rm -rf /etc/opt/mx
# ln -sf /hpsimlnx/etc /etc/opt/mx
# rm -rf /opt/mx
# ln -sf /hpsimlnx/opt /opt/mx
# rm -rf /var/opt/mx
# ln -sf /hpsimlnx/var /var/opt/mx
# ln -sf /hpsimlnx/hpsimlnx.d/hpsim /etc/init.d/
# rm -f /etc/init.d/postgresql
# ln -sf /hpsimlnx/hpsimlnx.d/postgresql /etc/init.d/
# rm -f /etc/pam.d/mxpamauthrealm
# ln -sf /hpsimlnx/pam.d/mxpamauthrealm /etc/pam.d
# rm -rf /var/lib/pgsql
# ln -sf /hpsimlnx/pgsql /var/lib/pgsql
Installing the cluster layer
is used to provide the HA layer. For the installation of HP SIM, 1. HP Serviceguard 11.16.02
run both system installations at the same time.
# cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
192.168.2.23 hpsimlnx1.hp-demo.net hpsimlnx1
192.168.2.24 hpsimlnx2.hp-demo.net hpsimlnx2
192.168.2.15 hpsimlnx.hp-demo.net hpsimlnx
192.168.2.26 qs.hp-demo.net qs
10.0.0.23 hpsimlnx1p.hp-demo.net hpsimlnx1p
10.0.0.24 hpsimlnx2p.hp-demo.net hpsimlnx2p
# 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@hpsimlnx1.hp-
demo.net
# cp .ssh/id_da.pub .ssh/authorized_keys
8