Managing Serviceguard Extension for SAP Version B.05.10, December 2012

Table 18 Services on the Primary Node (continued)
Service portService name
sapdb<INR>
saphostctrl
saphostctrls
sapdb2<SID>
DB2_db2<SID>
DB2_db2<SID>_1
DB2_db2<SID>_2
DB2_db2<SID>_END
Installation Step: IS100
Change the HP-UX kernel on the backup node to meet the SAP requirements
.
Compare the Tunable Parameters section of /stand/system on all nodes. All values on the
backup nodes must reach or exceed the values of the primary node.
Install all HP-UX patches that are recommended for Serviceguard and patches recommended for
SAP.
Build a new kernel with mk_kernel(1m) on each backup node if /stand/system was changed.
Installation Step: IS110
Copy the
<sid>adm
home directory to the backup node(s)
.
This is a local directory on each node. Default home directory path is /home/<sid>adm.
Installation Step: IS120
On the second node, in the
<sid>adm
home directory the start, stop and environment scripts need
to be renamed
.
If some of the scripts listed in the following do not exist, these steps can be skipped.
su - <sid>adm
mv startsap_<primary>_<INR> startsap_<secondary>_<INR>
mv stopsap_<primary>_<INR> stopsap_<secondary>_<INR>
mv .sapenv_<primary>.csh .sapenv_<secondary>.csh
mv .sapenv_<primary>.sh .sapenv_<secondary>.sh
mv .dbenv_<primary>.csh .dbenv_<secondary>.csh
mv .dbenv_<primary>.sh .dbenv_<secondary>.sh
mv .sapsrc_<primary>.csh .sapsrc_<secondary>.csh
mv .sapsrc_<primary>.sh .sapsrc_<secondary>.sh
mv .dbsrc_<primary>.csh .dbsrc_<secondary>.csh
mv .dbsrc_<primary>.sh .dbsrc_<secondary>.sh
The following statement should automate this activity for standard directory contents. Do not use
a line break within the awk statement:
su - <sid>adm
ls -a|awk '/<primary>/ { system( sprintf( "mv %s %s\n", $0,\
gensub("<primary>", "<secondary>", 1 ))) }'
exit
Never use the relocatable address in these filenames. If an application server was already installed,
do not overwrite any files which will start the application server. If the rc-files have been modified,
correct any hard coded references to the primary hostname.
Installation Step: IS130
If the system has a SAP kernel release < 6.0
:
64 Step-by-Step Cluster Conversion