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

9000 image cannot be recreated, delete the container configuration and reconfigure it with the
system container type.
To delete the container configuration and reconfigure:
1. Back up HP-UX 11i v3 server image before the upgrade.
2. Stop the container:
$ srp stop <srp_name>
3. Back up container network configuration and rules files for future reference:
$ cp p /etc/rc.config.d/netconf/etc/rc.config.d/netconf.bkp
$ cp p /etc/cmpt/<srp_name>.rules \
/etc/cmpt/<srp_name>.rules.bkp
4. Delete the container:
$ srp delete <srp_name>
5. Remove any additional IP addresses from the /etc/rc.config.d/netconf file that are
configured for the container.
6. Move the /tcb folder inside the HP 9000 file system:
$ mv <hp9000_root>/tcb <hp9000_root>/tmp
At this time, the shared directories inside containers are restored to the original versions that came
over from the HP 9000 server. However, this might not be a valid operation for the /etc folder
because some files might have changed after the original container was created. Restore such files
manually as follows:
1. Uncompress and expand the etc-native.tar.gz file created inside <hp9000_root>:
$ cd /tmp
$ cp <hp9000_root>/etc-native.tar.gz .
$ gunzip ./etc-native.tar.gz
$ tar xvf ./etc-native.tar
2. Copy the files in the /etc directory that might have been updated after the previous container
creation:
For example,
$ cp /tmp/etc/passwd <hp9000_root>/etc/passwd
$ cp /tmp/etc/group <hp9000_root>/etc/group
If the /var directory is not on a separate file system from root file system, ensure that /var/
hpsrp is created on a new file system.
3. Move the HP 9000 file system to its new root:
$ mv <hp9000_root> /var/hpsrp/<srp_name>
4. HP 9000 Containers A.03.0x requires HP-UX 11i v3 March 2011 update (or later). If the
current version is not March 2011 (or later), update it to the latest HP-UX 11i v3 OE.
5. Verify the version of HP 9000 Containers on the system:
$ swlist | grep HP9000-Containers
$ swlist | grep HP9KContainers
If HP 9000 Containers version is earlier than A.03.00, remove the existing version before
installing A.03.0x:
$ swremove HP9000-Containers
6. Verify the version of SRP on the system by running the following command:
$ swlist | grep HP-UX-SRP
If SRP version is earlier than A.03.01, install the latest depot:
6.2 Upgrading from HP 9000 Containers A.01.0x 43