Information Technology Reference
In-Depth Information
# zonecfg -z WinXP
WinXP: No such zone configured
Use 'create' to begin configuring a new zone.
zonecfg:WinXP> create
zonecfg:WinXP> set zonepath=/zones/WinXP
zonecfg:WinXP> add device
zonecfg:WinXP:device> set match=/dev/vboxdrv
zonecfg:WinXP:device> end
zonecfg:WinXP> add net
zonecfg:WinXP:net> set physical=e1000g0
zonecfg:WinXP:net> set address=192.168.1.41/24
zonecfg:WinXP:net> end
zonecfg:WinXP> exit
# zoneadm -z WinXP install
Preparing to install zone <WinXP>.
Creating list of files to copy from the global zone.
Copying <35929> files to the zone.
# zoneadm -z WinXP boot
# zlogin -C WinXP
Finish the installation as you would any other Container by answering the
Solaris system identification questions. Once this step is complete, you can use
the VirtualBox graphic or command-line tools just as you would in the global zone.
Some of the host networking modes may require the use of exclusive IP for con-
figuration of the guest's virtual network interface.
Another Oracle Solaris feature that can be used by VirtualBox is ZFS. Although
VirtualBox has a host-independent disk cloning feature, it works by copying en-
tire disk images—an approach that doubles the amount of storage required for the
duplicated clone and places a heavy load on the host system during the copying op-
eration. By comparison, ZFS has a fast cloning capability that takes significantly
less time to complete; the cloned disk image needs to store only those blocks that
are different from the blocks in the original image. This strategy is very efficient
for deploying many copies of the same type of guest.
When running VirtualBox on a Solaris host that is also using ZFS, limiting the
size of the adaptive replacement cache (ARC) is recommended. By default, ZFS
can use most of the physical memory on the system: up to three-fourths on sys-
tems with 4 GB or less and up to maxphys-1 GB on larger systems. A guest may
demand memory faster than ZFS is able to free it, which would produce one of the
memory shortfall situations we are trying to prevent. The solution is to limit the
amount of memory that ZFS is able to use for the ARC. This cap can be set with
the zfs_arc_max Solaris tunable parameter, which you can set in /etc/system .
 
Search WWH ::




Custom Search