Information Technology Reference
In-Depth Information
GZ# cat /tmp/sysidcfg
system_locale=C
terminal=dtterm
network_interface=NONE { hostname=web01 }
security_policy=NONE
name_service=NONE
nfs4_domain=domain.com
timezone=US/Eastern
root_password=m4qtoWN
GZ# cp /tmp/sysidcfg /zones/roots/web01/root/etc/sysidcfg
GZ# zoneadm -z web01 boot
GZ# zlogin -C web01
[Connected to zone 'web01' console]
[NOTICE: Zone booting up]
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: web01
. . .
web01 console login:
It was not necessary to log in to the Container's console, but by doing so we
were able to note that the Container was being configured with the information.
The Container can be further customized before or after its first boot.
Although the process of cloning a Container can be accomplished in as little
time as 1 or 2 minutes, this operation can be accelerated further by using ZFS.
If the original Container resides on a ZFS file system, zoneadm clone will auto-
matically make a ZFS clone of the original file system. Creating a ZFS clone takes
just a few seconds and uses almost no disk space at first. As the clone is modified,
disk space will be allocated to store the file system modifications. This method
maximizes both the time and disk savings.
6.2.5.2 Migrating Containers
Containers offer the ability to migrate a Container from one instance of Oracle
Solaris to another. In this context, an instance can be a computer running a
copy of Solaris, or it can be a VE running Solaris in a Dynamic Domain, Logical
Domain, or on another hypervisor. Two zoneadm subcommands implement this
functionality.
The detach subcommand prepares a Container for migration and removes it
from the list of Containers that can be booted. The contents of the Container, un-
derneath its zonepath , are then ready for transfer to the destination system using
common file transfer methods. If the Container's root directory resides on storage
 
Search WWH ::




Custom Search