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

9
#
cp $HOME/.ssh/id_da.pub $HOME/.ssh/authorized_keys
#
chmod 600 $HOME/.ssh/authorized_keys
2.
Copy the SSH keys from node1 to node2 to ease
further copy of configuration files between nodes
#
scp
-
rp $HOME/.ssh/ SG2hpsimlnx:
3.
Install SGLX on system1.
#
ls
-
1 sg
pidentd
-
3.0.15sg
-
1.i386.rpm
serviceguard
-
A.11.18.00
-
0.product.redhat.i386.rpm
#
cd sg
#
rpm
-
ivh pidentd
-
3.0.15sg
-
1.i386.rpm service
guard
-
A.11.18.00
-
0.product.redhat.i386.rpm
4.
Install SGLX on system2.
a.
Copy the SGLX packages to system2:
#
scp
-
rp sg SG2hpsimlnx:
#
ssh SG2hpsimlnx
#
cd sg
#
rpm
-
ivh pidentd
-
3.0.15sg
-
1.i386.rpm serviceguard
-
A.11.18.00
-
0.product.redhat.i386.rpm
#
exit
b.
Cre
ate a profile script for SGLX on SG1hpsimlnx:
#
cat > /etc/profile.d/sg.sh <<EOF
export PATH=
\
${PATH}:/usr/local/cmcluster/bin:/usr/local/sgmgr/bin/
export SGCONF=/usr/local/cmcluster/conf
export SGSBIN=/usr/local/cmcluster/bin
export SGLBIN=/usr/local/cmc
luster/bin
export SGLIB=/usr/local/cmcluster/lib
export SGRUN=/usr/local/cmcluster/run
export SGAUTOSTART=/usr/local/cmcluster/conf/cmcluster.rc
export SGROOT=/usr/local/cmcluster
EOF
#
chmod 755 /etc/profile.d/sg.sh
#
scp
p /etc/profile.d/sg.sh SG2hpsiml
nx:/etc/profile.d/sg.sh
#
. /etc/profile.d/sg.sh
c.
Replication of profile on SG2hpsimlnx: 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 vsft
pd tux cups
pcmcia; do chkconfig
--
level 2345 $service off; done
#
ssh SG2hpsimlnx
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 authd
package should not have been installed and should have been replaced
by
identd
.
#
rpm
-
q authd
#
ssh SG2hpsimlnx rpm
-
q authd
#
chkconfig identd on
#
ssh SG2hpsimlnx chkconfig identd on
#
/etc/init.d/identd start
#
ssh SG2hps
imlnx /etc/init.d/identd start