Tuesday Nov 30, 2010

Installing Oracle Solaris 11 Express Virtual Machine with Oracle VM Manager

Installing Oracle Solaris 11 Express Virtual Machine with Oracle VM ManagerIn my previous blog, I talked about Installing Solaris 10 Virtual Machine with Oracle VM Manager. Oracle Solaris 10 support under Oracle VM begins with Solaris 10 10/09, and it's documented in the Oracle VM Server 2.2.1 Release Note.

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.

Prerequisite
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-128.2.1.4.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.
  • /OVS/iso_pool/Solaris11Express/sol-11-exp-201011-live-x86.iso
You import the ISO file from Oracle VM Manager and approve the imported ISO image. The status of the ISO image will be changed from "Pending" to "Active". See Documentation of how to managing ISO files. Now you are ready to create a Solaris 11 Express virtual machine.
Import the ISO Image from Oracle VM Manager

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.
Create Virtual Machine
    • 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".
Configure Network

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.
Solaris 11 Express Installation

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:        
Oracle Solaris 11 Express Login
  • The PV drivers (SUNWxvmpv) are installed by default in Oracle Solaris 11 Express, see        
# pkginfo -l SUNWxvmpv
   PKGINST:  SUNWxvmpv
      NAME:  xVM Paravirtualized Drivers
  CATEGORY:  system
      ARCH:  i386
   VERSION:  11.11,REV=2009.11.11
   BASEDIR:  /
    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:    
# ifconfig xnf0
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:
About

Get the latest scoop on products, strategy, events, news, and more, from Oracle's virtualization experts

Twitter

Facebook

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
5
6
7
8
9
10
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today