HP-UX Containers (SRP) A.03.01 Administrator's Guide

39
6.3 Starting and stopping a container
If a container is configured to autostart during creation, then it is automatically started at system
startup time. All the containers are automatically stopped at system shutdown time. You can use the
srp start command to start a container and the srp stop command to stop a container.
To start a container, enter:
srp -start container_name
To stop a container, enter:
srp -stop container_name
Where container_name specifies the name of the container.
An application startup and shutdown can be included in the container startup and shutdown
sequence, see
11 Container startup and shutdown.
Upon successful completion of a start, the container state will be transitioned to the started state, as
shown in Example 6.2. After successful completion of a stop, the container will be transitioned to the
stopped state, as shown in Example 6.3. See the /var/adm/syslog/syslog.log file for
errors reported by the srp command during the start or stop execution. In the case of a system
container, the container /etc/rc.log file and the container syslog.log file will contain the
startup and shutdown errors encountered inside the system container.
Example 6.2 Starting a container
# srp -start myContainer
HP-UX SRP Start-up in progress
______________________________
Setting up Containers ................................... OK
Remounting Root File System ............................. N/A
Setting hostname ........................................ OK
Start containment subsystem configuration ............... OK
Start Utmp Daemon : manages User Accounting Database .... OK
Recover editor crash files .............................. OK
List and/or clear temporary files ....................... OK
Clean up old log files .................................. OK
Start system message logging daemon ..................... OK
Checking user database .................................. OK
Configuring DHCPv6 Interfaces ........................... OK
Starting HP-UX Secure Shell ............................. OK
Start NFS core subsystem ................................ OK
Start NFS IPv6 subsystem ................................ OK
Start enhanced NFS IPv6 subsystem ....................... OK
Start NIS server subsystem .............................. OK
Start ldap client daemon ................................ N/A
Start NIS client subsystem .............................. OK
Start lock manager subsystem ............................ OK
Start NFS client subsystem .............................. OK
Start AUTOFS subsystem .................................. OK
Finish containment subsystem configuration .............. OK
Start Internet services daemon .......................... OK
Start remote system status daemon ....................... N/A
Starting sendmail [Done] Starting sm-client [Done] ...... OK
Starting the password/group assist subsystem ............ OK
Start print spooler ..................................... N/A
Start clock daemon ...................................... OK
Initialize Software Distributor agent daemon ............ OK
Starting the Winbind Daemon ............................. N/A
Starting HP-UX Apache-based Web Server .................. N/A