HP 9000 Containers A.03.01 on HP Integrity Server Administrator Guide HP-UX 11i v3 (5900-3112, June 2013)
/var/opt/HP9000-Containers/deleted_services
/usr/lbin/sw/post_session/hp9000_replace_cmds
/var/opt/HP9000-Containers/hp9000sys_delete_commands
8.11 Run level support
This section describes the run level support for HP 9000 system and classic container types.
Table 4 (page 56) lists the differences between the two types.
Table 4 Comparison of run level support between HP 9000 system container and HP 9000 classic
container
HP 9000 classic containerHP 9000 system container
HP 9000 classic container provides only partial support
for run levels. It does not support any system daemon other
than cron. Application services are supported and the
processing of RC directories follows the same order as on
a physical server. However, switching run level inside the
container is not supported.
The srp_init daemon in the container is the equivalent
of the system srp_init(IM) daemon. It is the first process
started in the container and spawns and monitors the
process based on the /etc/inittab file.
The srp_init command can be run inside the container
to communicate with the srp_init daemon and change
the run level:
$ /sbin/srp_init 0|1|2|3|4|5|6|Q|q
Examine the /srp.log file inside the container for
messages from the srp_init daemon.
For information about srp_init, see srp_init(1M).
8.12 Backing up and cloning a container
This section describes various aspects for backing up and cloning a container by HP 9000 container.
Backup is discussed for both HP 9000 system and classic containers. Cloning is currently supported
only by HP 9000 system containers.
8.12.1 Exporting and importing an HP 9000 system container
To backup only the container configuration:
$ srp –export <srp_name> -b
To backup the container configuration and the file system:
$ srp –export <srp_name> ok_export_dirs=yes
To delete the container configuration and restore from backup:
$ srp –delete <srp_name> -b
$ srp –import –xfile <name of configuration export file>
To delete the container completely (including file system) and restore from backup:
$ srp –delete <srp_name> delete_changes_ok=yes
$ mv /var/hpsrp/<srp_name> <some backup location>
$ srp –import –xfile <path of export file>
NOTE: A known issue with HP-UX Containers A.03.01 is that the ownership of imported files
changes if the same users are configured on the Integrity host system with different UIDs (or same
groups with different GIDs). Therefore, do not configure users or groups in the global container or
use the same IDs (by using LDAP or NIS) in both the global container and all the containers.
56 Administration of HP 9000 Containers