Information Technology Reference
In-Depth Information
The following setting will limit the ARC to 1 GB, which is a reasonable value for a
4 GB desktop hosting several virtual machines:
set zfs:zfs_arc_max = 0x40000000
As a general rule, do not set
zfs_arc_max
equal to more than three-fourths
of the physical memory that is left after allocating memory for all of your guests.
See Chapter 8, “Applying Virtualization,” for an example of using both ZFS and
Containers for rapid provisioning of guests on an Oracle Solaris host.
The VirtualBox software can be downloaded from
http://virtualbox.org/
downloads
. The Oracle Solaris version is provided in a single SVR4 data stream
package that includes both the 32-bit and 64-bit versions of the software as well
as a
README
text file describing the installation process and a package answer file
named
autoresponse
for non-interactive installations. Because the package in-
stallation scripts load kernel modules, the installation must be done in the global
zone and carried out either by root or by a user or role that has the
Software
Installation
execution profile.
If an older version of VirtualBox is installed on the host, it must be removed
before installing the new version. For versions prior to 3.1, two packages must be
uninstalled:
SUNWbox
and
SUNWvboxkern
. Starting with version 3.1, there is just
a single package:
SUNWvbox
. It is not necessary to reboot the Solaris host after the
old version of VirtualBox is removed or the new version is installed.
In the next example, a new version of VirtualBox is installed on a system that is
already running an older release. Note the use of the included
autoresponse
file
for unattended package operations.
# ls
VirtualBox-3.1.4-57640-SunOS.tar.gz
# /usr/sfw/bin/gtar xpzf VirtualBox-3.1.4-57640-SunOS.tar.gz
# ls
ReadMe.txt
VirtualBox-3.1.4-57640-SunOS.tar.gz
VirtualBox-3.1.4-SunOS-r57640.pkg
autoresponse
# pkgrm -n -a autoresponse SUNWvbox
Removing VirtualBox drivers and services...
- Unloaded: Web service
continues
Search WWH ::
Custom Search