HP 9000 Containers A.03.01 on HP Integrity Server Administrator Guide HP-UX 11i v3 (5900-3112, June 2013)
HP 9000 classic container
An HP 9000 classic container does not support the mount command inside it. Hence, configure
the mount point on the HP-UX 11i v3 host system, perform a mount, and make it visible inside the
container using the hp9000_link_dir tool.
$ /opt/HP9000-Containers/bin/hp9000_link_dir \
<directory> <srp_name>
For example,
$ echo “\n/dev/vg01/lvol2 /mnt vxfs delaylog 0 2” \
>>/etc/fstab
$ mount /mnt
$ /opt/HP9000-Containers/bin/hp9000_link_dir \
/mnt mysrp
Alternatively, you can directly mount from the global container to a container file system directory.
$ mkdir <hp9000_root>/mnt
$ echo “\n/dev/vg01/lvol2 /hp9000-root/mnt vxfs \
delaylog 0 2” >>/etc/fstab
8.5.3 Configuring NFS exports
NFS server is not supported inside an HP 9000 container. Hence, configure the NFS exports in
the global container and specify the complete path <hp9000_root/dir>, where dir indicates
the directory originally exported from the HP 9000 system. On the client systems, ensure that the
host name configured for NFS mount is the global host name and not the name of the HP 9000
container.
8.6 Modifying IP address configuration of HP 9000 container
8.6.1 Changing primary IP address
To change the IP address:
1. Stop the HP 9000 container:
$ srp –stop <srp_name>
2. Reconfigure the container network parameters:
$ srp –replace <srp_name> –s network
If the IP address is managed by SG, answer no to the following question:
Add IP address to netconf file? [yes] no
3. Open the container sshd configuration file (by default /var/hpsrp/<srp_ name>/opt/
ssh/sshd_config) and change if the ListenAddress was configured:
ListenAddress <new IP-address>
4. Reconfigure applications with new IP address.
5. Update the /etc/hosts and /var/hpsrp/<srp_name>/etc/hosts files to reflect new
mapping.
6. Start the HP 9000 container:
$ srp –start <srp_name>
8.6.2 Adding a new IP address for an HP 9000 container
To add a new IP address for an HP 9000 container:
52 Administration of HP 9000 Containers