HP 9000 Containers A.03.01 on HP Integrity Server Administrator Guide HP-UX 11i v3 (5900-3112, June 2013)

Examine the /var/hpsrp/<srp_name>/etc/rc.log file to verify whether the applications
configured in the RC scripts are started properly.
3. Log in to the HP 9000 container and test applications.
4. Stop the HP 9000 container after testing is completed:
$ srp stop <srp_name>
Examine the /var/hpsrp/<srp_name>/etc/rc.log file to verify whether the applications
configured in the RC scripts are stopped.
5. If the container IP addresses are managed by SG, disable them and remove the route entry:
$ ifconfig <srp-lan-interface> 0
$ /usr/sbin/route delete default <gateway-ip-addr> 1 \
source <srp-ip-addr>
Configuring failover nodes
To configure failover nodes:
1. Do one of the following depending on whether or not the container file system is shared:
—If the container file system is shared, export only the container configuration on primary
node:
$ srp export <srp_name> -xfile <path name of exchange file>
—If the container file system is not shared, include both file system and configuration in the
export file:
$ srp export <srp_name> ok_export_dirs=yes -xfile
<path name of exchange file>
2. Unmount the container file system and volume data, and deactivate the volume group on the
primary node.
3. Copy the exchange file to failover nodes:
$ cmcp <exchange file> <failover node>:<exchange file>
4. Create the root directory:
$ mkdir /var/hpsrp/<srp_name>
$ chown root:sys /var/hpsrp/<srp_name>
$ chmod 0755 /var/hpsrp/<srp_name>
5. If you do not use the shared file system, ensure that users other than the default set of users
that the operating system provides are not configured on the failover node.
6. Import the container onto the failover node:
$ srp import xfile <exchange file> autostart=no
7. Configure kernel tunable parameters on the failover node to match the primary node.
8. Configure printers if applicable.
9. Configure devices on the failover nodes and ensure that the device files have the same major
and minor device numbers as on the primary node.
10. Install any special device drivers if applicable.
11. Install any manageability software if applicable.
12. If applicable, transition the /etc/privgroup configuration file from the primary node (global)
to the failover node (global).
10.5 Configuring the SG package on the primary node 69