Information Technology Reference
In-Depth Information
System identification is completed.
rebooting system due to change(s) in /etc/default/init
[NOTICE: Zone rebooting]
SunOS Release 5.10 Version Generic_141445-09 64-bit
Copyright 1983-2009 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
Hostname: myzone
Reading ZFS config: done.
myzone console login:
Instead of providing the system configuration information manually, you can
use the method used by Solaris administrators for years: place the information in
the
/etc/sysidcfg
file. The difference in these two approaches relates to the lo-
cation of that file: It must be the
Container's
/etc/sysidcfg
file, not the
system's
/etc/sysidcfg
file. Extending the earlier examples, the Container's file is lo-
cated at
/zones/roots/myzone/root/etc/sysidcfg
. You can use this method
to completely automate the creation of Containers. If the necessary information
resides in the Container's
sysidcfg
file, the Container will use it before complet-
ing the boot process.
6.2.1.4 Halting a Container
Not only does the
zoneadm
command install and boot Containers, but it also halts
them.
The
halt
subcommand simply kills the processes in the Container. It does not
run scripts that gracefully shut down the Container. As you might suspect, how-
ever, it is faster.
GZ#
zoneadm -z myzone halt
Usually, however, you should gracefully stop a Container by using the
zlogin
command to run the
shutdown
program in the Container.
GZ#
zlogin myzone shutdown -i 0
Shutdown started. Fri Oct 30 15:00:52 EDT 2009
Do you want to continue? (y or n):
y
Changing to init state s - please wait
Standard input not a tty line
Search WWH ::
Custom Search