HP 9000 Containers A.03.01 on HP Integrity Server Administrator Guide HP-UX 11i v3 (5900-3112, June 2013)
Using fbackup to create image of HP 9000 files
The steps for archiving all the required directories in a single session using the fbackup command
are explained here. If the image is created on a live production server, opt for multiple sessions
to reduce memory and I/O overhead. For more information about fbackup, see fbackup(1M).
1. Prepare a graph file with the include-exclude list.
For example, a graph file for a system level backup can contain the following:
i /
e /var/adm/crash
For a directory level backup, an example for the graph file is:
i /var
e /var/adm/crash
NFS mounted directories are excluded from the backup by default. If you want to include the
NFS mounted directories, use the -n option with the fbackup command.
2. Compute the space requirement for the archive.
3. Select the archive location.
The files can be archived on a tape or in a local or remote file. If the directories are archived
on a file, ensure that largefiles is supported on the file system and there is enough free
space to copy the archive.
$ fsadm <file system root directory>
$ df -k <file system root directory>
4. Run fbackup:
$ /usr/sbin/fbackup -0 \
-f <output device or file path> \
-g <graph file path> —I <index file> 2>&1 | \
tee <fbackup log file>
Some temporary files such as /var/tmp or /var/spool/sockets might appear as errors
in the log, but can be ignored.
Do not use the kill command on fbackup.
Using tar and cpio to create image of HP 9000 files
NOTE: HP 9000 Containers does not support using cpio images for creating classic containers.
When using the tar or cpio tools for creating image, ensure that the backup does not include
the “/ ” prefix. This is because, the backup is restored under an alternate root, and not at the
system root on the Integrity system.
For example,
$ cd /
$ tar –cvf archive.tar bin dev etc lib net opt sbin stand tmp usr var
3.3 Transitioning kernel tunable parameters
Kernel parameters on the target system must be altered to accommodate the requirements of the
HP 9000 server being migrated.
1. Log in to the HP 9000 server and get the parameter values:
$ kmtune >/tmp/tunables_hp9000.txt
2. Transfer the output file to the target HP-UX 11i v3 server.
18 Transition of application environments from HP 9000 server to HP 9000 container