HP XC System Software Installation Guide Version 3.0

6. Create an /etc/sfstab.proto file on the head node to ensure the persistence of SFS mounts. The
entries in this file use the following basic syntax:
ldap://sfs_server_name/filesystem mountpoint sfs optionlist 0 0
The /etc/sfstab.proto file enables you to customize the /etc/sfstab file on each node. The
sfs service reads the /etc/sfstab.proto file as it starts and edits the /etc/sfstab file. In the
/etc/sfstab.proto file you specify the content for the /etc/sfstab file for different node ranges
(by inserting the #% directives).
Example 4-1 provides an example of an /etc/sfstab.proto file. See the
HP StorageWorks Scalable
File Share Client Installation and User Guide
for details about the contents of this file; the mount options
are very important.
In the example, n1044 is the head node, south is the name of the SFS system, and the #% directives
specify that the content applies to the specified node names. The entries for the /hptc_cluster file
system are required; all other lines in this example are optional and are provided for illustrative purposes
only.
Do not mount the /hptc_cluster file system with the bg (background) mount option; the
/hptc_cluster file system must be mounted in the foreground. As shown in the example, all other
file systems are mounted in the foreground. The exception is the head node (n1044 ). Only the user
file systems (/workspace and /apps ) are mounted on the head node using the bg mount option.
Doing so means that the head node will boot even if there is a problem mounting these file systems
Example 4-1 Sample sfstab.proto File
#% n1044
ldap://south/hptc_cluster /hptc_cluster sfs nal=vib,max_cached_mb=128 0 0
ldap://south/workspace /workspace sfs nal=vib,max_cached_mb=1024,bg 0 0
ldap://south/apps /apps sfs nal=vib,max_cached_mb=256,bg 0 0
#% n[1039-1043]
ldap://south/hptc_cluster /hptc_cluster sfs nal=vib,max_cached_mb=128 0 0
ldap://south/workspace /workspace sfs nal=vib,max_cached_mb=1024,bg 0 0
ldap://south/apps /apps sfs nal=vib,max_cached_mb=256,bg 0 0
#% n[1-1038]
ldap://south/hptc_cluster /hptc_cluster sfs nal=vib,max_cached_mb=128, \
max_dirty_mb=2,max_rpcs_in_flight=2 0 0
ldap://south/workspace /workspace sfs nal=vib,max_cached_mb=1024 0 0
ldap://south/apps /apps sfs nal=vib,max_cached_mb=256, \
max_dirty_mb=2,max_rpcs_in_flight=2 0 0
7. Generate an /etc/sfstab file from the /etc/sfstab.proto file:
# service sfs gensfstab
8. Look at the contents of the /etc/sfstab file on the head node to ensure that it contains the content
you expect.
9. Configure the interconnect and mount the SFS file system:
# /opt/hptc/etc/nconfig.d/C02network nconfigure `nodename`
# service sfs start
Make and Mount the /hptc_cluster File System Locally
If you made the decision to create a partition for the /hptc_cluster file system somewhere other than
on the system disk on the head node, you must create and mount the /hptc_cluster file system now on
a local disk and partition of your choice.
Remember to reformat the file system using the appropriate utility (such as mkfs) to clear out old data.
sendmail Configuration Requirements on an HP XC System 49