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

# chmod 600 .ssh/authorized_keys
# Copy the SSH keys from node1 to node2 to ease further copy of
configuration files between nodes
# scp -rp .ssh/ hpsimlnx2:
2. Install SGLX on system1.
# ls -1 sg
pidentd-3.0.15sg-1.i386.rpm
serviceguard-A.11.16.02-0.product.redhat.i386.rpm
sgcmom-B.03.01.01-0.product.redhat.i386.rpm
sgmanager-A.04.02.00-1.product.redhat.i386.rpm
# cd sg
#.rpm -ivh pidentd-3.0.15sg-1.i386.rpm serviceguard-A.11.16.02-
0.product.redhat.i386.rpm sgcmom-B.03.01.01-0.product.redhat.i386.rpm
sgmanager-A.04.02.00-1.product.redhat.i386.rpm
3. Install SGLX on system2.
a. Copy the SGLX packages to system2:
scp -rp sg hpsimlnx2:
# ssh hpsimlnx2
# cd sg
# rpm -ivh pidentd-3.0.15sg-1.i386.rpm serviceguard-A.11.16.02-
0.product.redhat.i386.rpm sgcmom-B.03.01.01-0.product.redhat.i386.rpm
sgmanager-A.04.02.00-1.product.redhat.i386.rpm
# exit
b. Create a profile script for SGLX on hpsimlnx1:
# cat > / cet /profile.d/sg.sh <<EOF
# chmod 755 /etc/profile/sg.sh
c. eplication of profile on hpsim
R lnx2: Tune services launch on both systems:
# for service in rawdevices irda apmd iptables ip6tables isdn sendmail
autofs nfs rhnsd hpoj vncserver httpd smb named squid vsftpd tux cups
pcmcia; do chkconfig --level 2345 $service off; done
# ssh hpsimlnx2 „for service in rawdevices irda apmd iptables ip6tables
isdn sendmail autofs nfs rhnsd hpoj vncserver httpd smb named squid
vsftpd tux cups pcmcia; do chkconfig --level 2345 $service off; done”
d. The package should not be installed and should be replaced by . authd identd
# # rpm -q authd
# ssh hpsimlnx2 rpm -q authd
9