Managing Serviceguard Extension for SAP on Linux (IA64 Integrity and x86_64), April 2009

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:
On each host the files /home/<sid>adm/startsap <local>_<INR> and
/home/<sid>adm/stopsap_<local>_<INR> exist and contain a line that specifies the start profile.
After a standard installation of a Central Instance this line is similar to:
START_PROFILE="START_<component><INR>_<primary>"
As<sid>adm, change the line individually on each node
On the primary host keep:
START_PROFILE="START_DVEBMGS<INR>_<primary>"
On the secondary (and any other potential failover) host change the value in both files to:
START_PROFILE="START_DVEBMGS<INR>_<secondary>"
Oracle Database Step: OR150
If the primary node has the ORACLE database installed:
Create additional links in /oracle/<SID> on the primary node. For example:
su - ora<sid>
ln .dbenv_<primary>.csh .dbenv_<secondary>.csh
ln .dbenv_<primary>.sh .dbenv_<secondary>.sh
exit
NOTE: If you are implementing an Application Server package make sure that you install the Oracle Client
libraries locally on all nodes you run the package on. Refer to OSS Note 180430 for more details.
Oracle Database Step: OR160
If you are using ORACLE:
Create a mount point for the Oracle files on the alternate nodes if it is not already there. For example:
su - ora<sid>
mkdir -p /oracle/<SID>
exit
MaxDB Database Step: MD170
Create a mount point for the MaxDB files on the alternate nodes if it is not already there.
For example:
su - sqd<dbsid>
mkdir -p /sapdb/<DBSID>
Installation Step: IS191
If the primary node has the Central Instance installed and the backup node has no internal application server
with local executables installed, for example on the primary node:
cd /usr/sap/<SID>/SYS
find . -depth -print | cpio >/tmp/SYS.cpio
68 Step-by-Step Cluster Conversion