Managing Serviceguard Extension for SAP, December 2007

SGeSAP Cluster Administration
Switching SGeSAP Off and On
Chapter 6312
SO040: Switch off step:
Save the configuration files that are going to be changed so you can
switch on SGeSAP again by just copying back the original files. This list
of files you have to save include:
/usr/sap/trans/bin/TPPARAM
/usr/sap/<SID>/SYS/profile/DEFAULT.PFL
/usr/sap/<SID>/SYS/profile/<SID>_DVEBMGS<INSTNR>
If an Oracle database is used, the following files also need to be saved:
listener.ora tnsnames.ora
If an Informix database is used, the following files also need to be saved:
/informix/<SID>/etc/onconfig.<rel-IP_name_of_db>.<DBID>
/informix/<SID>/etc/sqlhosts.soc
SO050: Switch off step:
All references to relocatable IP addresses and names must be changed to
the real hostname in the list of files given in the step SO040.
As an informix user, go to /informix/<SID>/etc. In the onconfig file
replace:
<rel-IP_name_of_DB><INFORMIX_DBID><shm|tcp>
entries with:
<local_hostname><INFORMIX_DBID><shm|tcp>
For example:
DBSERVERNAME <local_hostname><sid>shm
# Name of default database server
DBSERVERALIASES <local_hostname><sid>tcp
# List of alternate dbservernames
Afterwards rename the file:
mv onconfig.<rel-IP_name_db>.<DBID> \
onconfig.<local_hostname>.<DBID>
In the same way replace the appropriate entries: