HP 9000 Containers A.03.01 on HP Integrity Server Administrator Guide HP-UX 11i v3 (5900-3112, June 2013)
8.5.1 Configuring NFS and Autofs clients
HP 9000 system container
NFS and Autofs are supported inside an HP 9000 system container. Therefore, you can configure
them inside the container file system just the way you do it on the HP 9000 server.
HP 9000 classic container
NFS and Autofs are not supported inside an HP 9000 classic container. You can configure them
on the host system and then expose it to the container.
Configure /etc/fstab, /etc/auto_master, and /etc/auto.direct files on the host.
Perform actual mounts on the host system. Make the mount point visible inside the HP 9000 classic
container using the following command:
$ /opt/HP9000-Containers/bin/hp9000_link_dir \
<directory> <srp_name>
8.5.2 Configuring VxFS mount points
HP 9000 system container
To configure VxFS mounts with HP 9000 system containers, the following options are available:
Configure pre-start mounts
Pre-start mounts are done from the global to the container file system when the container starts up.
They get unmounted when the container shuts down. The configuration must be done in /var/
hpsrp/<srp_name>.setup/fstab using the same format used in the host /etc/fstab. For
example,
$ echo “\n/dev/vg01/lvol2 /var/hpsrp/mysrp/mnt vxfs \
delaylog 0 2” >>/var/hpsrp/mysrp.setup/fstab
Configure container local mounts
Make the logical volume visible inside the container and configure the mount in the local fstab.
For example,
$ srp –add <srp_name> -tune device=/dev/vg01/lvol2
$ srp –add <srp_name> -tune device=/dev/vg01/rlvol2
$ echo “\n/dev/vg01/lvol2 /mnt vxfs delaylog 0 2\
>>/var/hpsrp/mysrp/etc/fstab
This facility is not currently supported for the /usr file system because the container has to do
LOFS mount of /usr/lib/hpux32 and /usr/lib/hpux64 before it can start any service. It is
not supported for /var too because container startup needs to read this directory.
Configure the mount on the HP-UX 11i v3 host
Configure the mount on the HP-UX 11i v3 host with the mount point inside the container. For
example, if there is a /mnt mount point on the HP 9000 server, configure the following:
$ echo “\n/dev/vg01/lvol2 /var/hpsrp/mysrp/mnt vxfs \
delaylog 0 2” >> /etc/fstab
Currently, there is a known limitation with this option. After system reboot, the bdf and mount
commands inside the container do not display information for these mount points. The issue is
related to RC sequencing order between fstab processing and SRP initialization, and does not
have an immediate fix. Hence, HP recommends using either the container pre-start fstab or
container local fstab file for configuring mounts.
Global mounts can be configured in SG packages (if required) without encountering the issue
mentioned above. This is because the SRP initialization completes before SG performs the mounts.
8.5 Configuring mount and export points 51