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

1. Unmount any file systems that will be part of the automounter configuration. Make sure that these file
systems are also commented out of /etc/fstab on all cluster nodes. Some typical automount file
systems in an SAP environment are:
SAP instance:
umount /usr/sap/trans
umount /sapmnt/<SID>
MaxDB instance:
umount /sapdb/programs
umount /sapdb/data
umount /var/spool/sql/ini
2. Create new directories directly below /import. It should be possible to use the last directory name
of the specified path as new directory name. The "last directory name" will be used by the automounter
as the key for mapping the mount points request onto a directory in /import. Example file entries:
cd /import
mkdir trans
mkdir <SID>
mkdir programs
mkdir data
mkdir ini
Be sure to change the ownership of the directories according to your needs. Normally all SAP directories
belong to <sidadm>:sapsys, while database specific file systems belong to the database user, e.g.
ora<dbsid>:dba or sqd<dbsid>:sapsys.
3. Remove the original directories and replace them with a symbolic links point to the /import/ directories:
rmdir /usr/sap/trans
ln -s /import/trans /usr/sap/trans
rmdir /sapmnt/<SID>
ln -s /import/<SID> /sapmnt/<SID>
rmdir /sapdb/programs
ln -s /import/ programs /sapdb/programs
rmdir /sapdb/data
ln -s /import/data /sapdb/data
rmdir /var/spool/sql/ini
ln -s /import/ini /var/spool/sql/ini
4. Create an entry in the automounter map /etc/auto.import that maps the client /import directories
to the server <nfsreloc>:/export directories. The variable <nfsreloc> is the virtual IP address
for the NFS server. Example file entries:
programs -fstype=nfs,nfsvers=3,udp,nosymlink
<nfsreloc>:/export/sapdb/programs
data -fstype=nfs,nfsvers=3,udp,nosymlink
<nfsreloc>:/export/sapdb/data
<SID> -fstype=nfs,nfsvers=3,udp,nosymlink
<nfsreloc>:/export/sapmnt/<SID>
ini -fstype=nfs,nfsvers=3,udp,nosymlink
<nfsreloc>:/export/var/spool/sql/ini
ini trans -fstype=nfs,nfsvers=3,udp,nosymlink
Linux Configuration 73