By Honglin Su-Oracle on Nov 30, 2010
Recently Oracle Solaris 11 Express was released. I'd like to share my experience of installing Oracle Solaris 11 Express virtual machine with Oracle VM Manager. Similarly, Solaris 11 Express runs as a hardware virtual machine (HVM) which requires HVM support (Intel VT or AMD-V) on the underlying hardware platform, and Solaris 11 Express has the paravirtualized (PV) I/O drivers as part of the OS installed by default.
You need to check if the server has the HVM support. If you know the specific CPU model, you can find out if it supports HVM from Intel or AMD web site. Usually you'll need modify the system BIOS setting to enable the hardware virtual machine (HVM) feature. If you already have Oracle VM Server 2.2.1 installed, you can run xm info command to verify if HVM is enabled. For example,
# xm info
release : 2.6.18-184.108.40.206.27.el5xen
virt_caps : hvm
xen_major : 3
xen_minor : 4
xen_extra : .0
xen_caps : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64
Step 1. Set up Oracle VM Environment
First you need to set up the Oracle VM 2.2 environment, you can refer to Oracle VM 2.2 Documentation.
Step 2. Prepare Oracle Solaris 11 Express 2010.11 Install Media
Place the downloaded Oracle Solaris 11 Express 2010.11 ISO image under a sub-directory of /OVS/iso_pool. Here I'm using the LiveCD ISO image as the example.
Step 3. Create a Solaris 10 Virtual Machine
From the Virtual Machine tab of the Oracle VM Manager, you proceed to "Create Virtual Machine"; then choose "Creating a Virtual Machine From Installation Media". You can refer to Oracle VM Doumentation.
- Select Install Media
- Choose Server Pool
- Pick the Solaris 11 Express ISO file, and select the virtualization method "Fully Virtualized"
- Fill out the Solaris 11 Express virtual machine information, and select the OS type the same as Oracle Solaris 10.
- Confirm the Solaris 11 Express VM that you are going to create. Before you install the Solaris 11 Express OS, you need to confirm that the network type of the Solaris 11 Express virtual machine is set to "Paravirtualized" since the Paravirtualized I/O drivers are part of the OS and will be installed by default.
Step 4. Set the Network Type of the Solaris 11 Express Virtual Machine
From Virtual Machine tab, you need to configure the newly created Solaris 11 Express virtual machine and set the Network Type as Paravirtualized. Then the Network Interface will be shown as "netfront".
Step 5. Install Solaris 11 Express OS
Start a VNC session to connect to the console of the Solaris 11 Express guest VM. To continue Solaris 11 Express installation, you follow the regular Solaris 11 Express installation instructions and See the Getting Started With Oracle Solaris 11 Express document for more details.
Once you complete the installation, the Solaris 11 Express virtual machine will be shut down and shown as "Powered Off" status.
Step 6. Start the Solaris 11 Express Virtual Machine
You power on the Solaris 11 Express virtual machine from Oracle VM Manager and start a VNC session to connect to the console of the Solaris 11 Express virtual machine.
Log into the Solaris 11 Express virtual machine:
- The PV drivers (SUNWxvmpv) are installed by default in Oracle Solaris 11 Express, see
NAME: xVM Paravirtualized Drivers
VENDOR: Oracle Corporation
DESC: xVM Paravirtualized Drivers
INSTDATE: Nov 05 2010 08:03
HOTLINE: Please contact your local service provider
STATUS: completely installed
- Verify the network has been set up correctly:
xnf0: flags=1004843<UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4> mtu 1500 index 2
inet xx.xx.xx.xx netmask fffffc00 broadcast xx.xx.xx.255
Now you have a fully functional Solaris 11 Express virtual machine in Oracle VM.
For more information, please visit: