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

9
export SGLBIN=/
usr/local/cmcluster/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 SG2hpsimlnx:/etc/profile.d/sg.sh
#
. /etc/profile.d/sg.sh
c)
Replicate the
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 vsftpd 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)
Verify that t
he
authd
package
is not installed and that the
identd
package is running
.
If
the
authd
package is installed
,
uninstall
it using the
rpm
e authd
command.
# rpm
-
q authd
If authd package
is
installed
# rpm
e au
thd
# ssh SG2hpsimlnx rpm
-
q authd
# chkconfig identd on
# ssh SG2hpsimlnx chkconfig identd on
# /etc/init.d/identd start
# ssh SG2hpsimlnx /etc/init.d/identd start
Installing Serviceguard Manager on
the
nodes
The
S
erviceguard Manager requires Serviceguar
d run
ning on the node and
cannot be installed on a
different
node. The Serviceguard Manager requires java (jre
-
1_5_0_12
-
linux
-
i586.bin)
and
SMH
version 2.1.7.168 or higher.
1.
To install Serviceguard Manager, execute the following:
# chmod 755 jre
-
1_5_0_12
-
l
inux
-
i586.bin
#
./jre
-
1_5_0_12
-
linux
-
i586.bin
# rpm
-
ihv hpsmh
-
tomcat
-
1.0
-
11.linux.i386.rpm
Preparing... ###########################################
[100%]
Stopping hpsmhd:
1:hpsmh
-
tomcat ########################################
###
[100%]
To finish installation, run the script:
/opt/hp/hpsmh/tomcat/bin/tomcat_cfg
# /opt/hp/hpsmh/tomcat/bin/tomcat_cfg
Java SDK path guessed is /usr/bin/java
Enter
the
complete
default
path to Java:
/usr/java/jre1.6.0_01/bin/java
Stopping h
psmhd:
Starting hpsmhd:
2.
To
work around the
Bad Gateway
issue with
the
Tomcat
server
,
comment
exit
1
in
/opt/hp/h
psmh/tomcat/bin/setclasspath.sh
.