Managing Serviceguard Extension for SAP on Linux (IA64 Integrity and x86_64), February 2008
Planning a File System Layout for SAP in a Serviceguard/LX Cluster Environment
SHARED NFS: the NFS automounter
Chapter 2 63
3. The configuration of automounter is based on two files
/etc/auto.master and a mount specific file /etc/auto.import
(also called an automounter map file). An example of automounter
map file in /etc/auto.master: /import /etc/auto.import
nfsvers=3 And the automounter map file itself /etc/auto.import
contains the following line:
trans -fstype=nfs,rw,udp,nosymlink nfsvip:\
/export/usr/sap/trans
For each line in /etc/auto.master a separate automount process is
started. If a user or a process tries to access any files or directories in
/import (for example /import/usr/sap/trans), the automounter
will read the automounter map file /etc/auto.import and find a
description of how file systems below the /import mount point of the
map are to be mounted. The basic format of a line in such maps is:
key [-options] location. The automounter then tries to generate
a unique key from filename /import/usr/sap/trans that will map
to a line in /etc/auto.import. In this example trans is a unique key.
NOTE The names of the sub-directories in /import have to be chosen so
that they map into a unique key / name pair. In the case of example
file systems /usr/sap/trans and /usr/sap/tmp the key sap cannot
be chosen as it would not create a unique mapping. Therefore keys
trans and tmp have to be chosen.
4. Create a symbolic link that points from the original SAP directory
names to automount NFS place holders in holders in /import.
ln -sf /import/trans /usr/sap/trans