AUTO_MASTER="/etc/auto_master"

AUTOMOUNT_OPTIONS="-f $AUTO_MASTER"

AUTOMOUNTD_OPTIONS= -L

AUTOFS=1

Older installations on HP-UX and installations without autofs require a slightly different syntax for the "old" automounter:

AUTOMOUNT=1

AUTO_MASTER="/etc/auto_master"

AUTO_OPTIONS="-f $AUTO_MASTER"

Installation Step: IS810

Make sure that at least one NFS client daemon and one NFS server daemon is configured to run.

This is required for the automounter to work. Check the listed variables in /etc/rc.config.d/nfsconf. They should be specified as greater or equal to one.

For example:

NFS_CLIENT=1

NFS_SERVER=1

NUM_NFSD=4

NUM_NFSIOD=4

Installation Step: IS820

Add the following line to your /etc/auto_master file:

/- /etc/auto.direct

Installation Step: IS830

Create a file called /etc/auto.direct.

Identify the HA file systems as named in chapter Planning the Storage Layout and tables referring to the used database for each directory configured to be mounted below /export. For each HA file system add a line to /etc/auto.direct.

For example:

/usr/sap/trans <relocdbci_s>:/export/usr/sap/trans

/sapmnt/<SID> <relocdbci_s>:/export/sapmnt/<SID>

Add database specific filesystems to this files if they exist. This can be verified using the table in Chapter 2.

Usually the relocatible IP address of the database package or the SAPNFS package is used.

When configuring AUTOFS the automounter map file /etc/auto.direct must NOT be executable. Make sure to set the appropriate permissions of /etc/auto.direct to 644.

Installation Step: IS840

Restart the automounter with: /sbin/init.d/nfs.client stop and /sbin/init.d/nfs.client start

WARNING! Never kill the automount process. Always use nfs.client to stop or start it.

WARNING! Never stop the NFS client while the automounter directories are still in use by some processes. If nfs.client stop reports that some filesystems could not be unmounted, the automounter may refuse to handle them after nfs.client start.

82 Step-by-Step Cluster Conversion

Page 82
Image 82
HP Serviceguard Extension for SAP (SGeSAP) AUTOMASTER=/etc/automaster AUTOMOUNTOPTIONS=-f $AUTOMASTER, Etc/auto.direct