Virtualization: August 2009 Archives

newhardware.png
After having installed Windows 2003 Enterprise Server in a Sun xVM (Xen 3.4.2-rc1-pre-xvm)-Environment, performance was slow due to qemu-dm's tremendous task to emulate ATA/IDE disk access and the Realtek 8139 network chipset.

Xen Block and network drivers however for Windows seemed to exist only in commercial binary-only form supplied from some of the Xen vendors. After googling around, I found the Xen Wiki which included an article about GPL PV drivers for Windows:

http://wiki.xensource.com/xenwiki/XenWindowsGplPv

Inside this article there is a link where these drivers can be downloaded in binary form:

http://www.meadowcourt.org/downloads/

For Windows 2003 Server the driver binary Microsoft Installer Archive (msi) is "wnet".
For my 3.4.2-xen-Setp (Sun xVM with OpenSolaris snv_121 as Dom0) I had to use gplpv_fre_wnet_x86_0.10.0.98-dontuse.msi. The other two versions did not work (resulting in a bluescreening windows...). I did not take "dontuse" literally...



Windows Server 2003 in Sun xVM domU

| | Comments (0) | TrackBacks (0)
w2k3_sun_xvm_domu.png
Using OpenSolaris (BFU't to snv_121) and xvm-3.4.2-rc1-pre-xvm (cloned from hg.opensolaris.org) I am able to install Windows 2003 Server using VNC. Neat.

The problem remains that the "qm-demu" daemon running on the Dom0 side to emulate ATAPI disks and a RTL8139 network connection is quite resource consuming. Running online update on a Suse Linux HVM DomU results in qm-demu eating up a whole CPU. With Windows, the same.
First, a paravirtualized example: Solaris Express CE 121 in a pv DomU:

I did little screen films to show you how easy it is to install operating systems in virtual xen domains using Sun xVM:



Solaris Express CE as DomU on xVM/Xen

| | Comments (0) | TrackBacks (0)
Just as a side note:
solexpress_domU.png
The (now dying) Solaris Express editions are perfectly installable and bootable in a paravirtualized Xen DomU, so it is very easy to install Solaris Express as a onnv build environment on an Open Solaris xVM server. First I created a zfs block device named "sol-nv-b119.zvol" on my zpool "xvm" and then I'll use it as a block device for the "disk":

pascal@schall:~# zfs create -b 128k -V 30G xvm/sol-nv-b119.zvol
pascal@schall:~# virt-install --ram 1024 --disk path=/dev/zvol/dsk/xvm/sol-nv-b119.zvol --paravirt --location=/xvm/ISO/sol-nv-b119-x86-dvd.iso  --name "Solaris_Express"


Starting install...
Retrieving file unix...   100% |=========================| 1.5 MB    00:00
Retrieving file x86.minir 100% |=========================| 103 MB    00:04
Creating domain...                                                 0 B 00:02
Connected to domain 3
Escape character is '^]'
v3.3.2-rc1-xvm-debu chgset 'Wed Aug 26 08:49:47 2009 +0200 18433:443f5f51ca41'
SunOS Release 5.11 Version snv_119 32-bit
Copyright 1983-2009 Sun Microsystems, Inc.  All rights reserved.
Use is subject to license terms.
NOTICE: Invalid iBFT table 0x1
Configuring /dev
/

    1.     Solaris Interactive Text (Console session) (default)
    2.     Apply driver updates
    3.     Single user shell

Enter the number of your choice.




Xen 3.3.2/xVM: OpenSolaris snv_121

| | Comments (2) | TrackBacks (0)
After having passed some hours to

  • Install OpenSolaris 09.06 ( snv_111)
  • image-update it to snv_118 (pkg.opensolaris.org/dev/)
  • BFU it to snv_121
I am now able to use the Xen Version of OpenSolaris (named Sun xVM) and OpenSolaris as Dom0.

(NB: if you're looking for a DomU install example, here's one:
Installing SLES 11 in a xVM/Xen DomU
and here is another.
Installing Redhat Enterprise Server 5 in a xVM/Xen DomU).

Beginning with Build 121, the xen Version has been taken from 3.1.4 to 3.3.2. Hardware virtualization (HVM) has got some performance gains and paravirtualized machines are much simplier to install.

If you want to try it out, here are the steps to get a working test and play setup:

August 2012

Sun Mon Tue Wed Thu Fri Sat
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31  

About

This blog is owned by:

Pascal Gienger
Jägerstrasse 77
8406 Winterthur
Switzerland


Google+: Profile
YouTube Channel: pascalgienger