Information Technology Reference
In-Depth Information
# /usr/sbin/mount -F nfs -o forcedirectio 217.30.123.101:/images/nfs /nfs
# /usr/bin/mkdir -p /nfs/dumps
For performance reasons, the forcedirectio option is used to disable any
buffering in the client. The NFS share /nfs will contain the guest backup data.
8.4.5 Step 3: Create an Oracle Solaris 10 HVM+PVIO Guest
The installation of a Solaris 10 HVM+PVIO guest uses an ISO image file as the
install source and the shared NFS resource /nfs as the guest image location.
The ISO image for this install s10x86.iso is located in the directory /iso .
1. Configure graphical access to HVM consoles for installs. This configuration
is needed for any server that will create HVM guests.
# /usr/sbin/svccfg -s xvm/xend setprop config/vncpasswd = astring: newroot
# /usr/sbin/svcadm refresh xvm/xend; /usr/sbin/svcadm restart xvm/xend
# /usr/sbin/svccfg -s xvm/xend setprop config/vnc-listen = astring: 0.0.0.0
# /usr/sbin/svcadm refresh xvm/xend; /usr/sbin/svcadm restart xvm/xend
The newroot string is used as the password for VNC guest console access.
Now that the VNC session used for the installation has been configured, it is
time to create and install the virtual machine. Perform the following steps on
only one server.
2. Issue the following commands:
# /usr/bin/virt-install -n solaris10HVM --hvm -r 1024 -f \
/nfs/s10hvm.img -os-type=solaris -os-variant=solaris10 -s 10
--vnc -l /iso/s10x86.iso
Options for the virt-install command include the following choices:
-n <value> Name of the guest. This is not the guest operating system
host name.
-l <value> Installation source for a guest, ISO location, or CD-ROM
path.
-r <value> Memory to allocate for the guest instance (in megabytes).
-f <value> Image file to use as the disk image location.
-s <value> The size in gigabytes of the guest disk, in raw image format.
--vnc VNC will be used for graphical access to the guest.
--hvm The guest is fully virtualized.
The installation will start and a vncviewer session will be opened.
 
 
Search WWH ::




Custom Search