Setup VNC at Ubuntu Jaunty Server PV DomU at Xen 3.4 Dom0 (kernel 2.6.30-rc1-tip) via IP6v

April 19, 2009

Well known schema ([1]) tuning gdm.conf and running Xvnc via xinetd worked fine for Ubuntu Hardy and Intrepid PV DomUs fails for Ubuntu 9.04 Server PV DomU . Setup vncserver to start via /etc/rc.local and /usr/bin/gnome-session via ~/.vnc/xstartup known as a way to manage on Debian Etch. I’ve also noticed :-
Remote Desktop Viewer VNC over IPv6: works on Ubuntu 9.04 Jaunty (Alpha 6)
Yes IPv6 works:-



Auto detection Ubuntu Jaunty PV DomU from another remote Intrepid Server on the same LAN :-





************************
UPDATE on 04/21/2009
************************
Activation Remote Desktop access causes vino-server to start up
automatically. As appears it’s PPID is PID of /usr/bin/gnome-session. Vino-server stop/start via command line :-

gconftool-2 -s -t bool /desktop/gnome/remote_access/enabled false
gconftool-2 -s -t bool /desktop/gnome/remote_access/enabled true




Activating remote access to Jaunty Server PV DomU via old fashioned vnc connection ( still required).







Runtime DomU profile

root@ServerXen331:/home/boris/vm# cat jaunty.py
memory = 6000
name = "Ubuntu9.04PV"
vcpus = 2
vif = [ 'bridge=eth0' ]
disk = [ 'phy:/dev/sdb7,xvda,w']

Start DomU via serial console

root@ServerXen331:~# xm create -c jaunty.py

Running Domains

root@ServerXen331:~# xm list
Name ID Mem VCPUs State Time(s)
Domain-0 0 2066 2 r----- 146.2
Ubuntu9.04PV 6 6000 2 -b---- 6.8
root@ServerXen331:~# xm list -l Ubuntu9.04PV
(domain
(domid 6)
(on_crash restart)
(uuid 371dd6fe-6889-20ff-bb73-c5f1645ee327)
(bootloader_args )
(vcpus 2)
(name Ubuntu9.04PV)
(on_poweroff destroy)
(on_reboot restart)
(cpus (() ()))
(bootloader )
(maxmem 6000)
(memory 6000)
(shadow_memory 0)
(features )
(on_xend_start ignore)
(on_xend_stop ignore)
(start_time 1240169415.16)
(cpu_time 6.849031651)
(online_vcpus 2)
(image
(linux
(kernel )
(videoram 4)
(notes
(HV_START_LOW 18446603336221196288)
(FEATURES '!writable_page_tables|pae_pgdir_above_4gb')
(VIRT_BASE 18446744071562067968)
(GUEST_VERSION 2.6)
(PADDR_OFFSET 0)
(GUEST_OS linux)
(HYPERCALL_PAGE 18446744071564201984)
(LOADER generic)
(SUSPEND_CANCEL 1)
(PAE_MODE yes)
(ENTRY 18446744071572460032)
(XEN_VERSION xen-3.0)
)
)
)
(status 2)
(state -b----)
(store_mfn 2205277)
(console_mfn 2205276)
(device
(vif
(bridge eth0)
(mac 00:16:3e:0d:87:be)
(script /etc/xen/scripts/vif-bridge)
(uuid 3ada5fb8-8a16-56a7-f340-4b2a23e27ce5)
(backend 0)
)
)
(device
(vbd
(protocol x86_64-abi)
(uuid 22c30913-ceff-e564-31a5-317fce8fbd17)
(bootable 1)
(dev xvda:disk)
(uname phy:/dev/sdb7)
(mode w)
(backend 0)
(bootable 1)
(VDI )
)
)
(device
(console
(protocol vt100)
(location 2)
(uuid 78e4902a-46b0-11a2-2065-6b17231c4327)
)
)
)







VNC setup at Ubuntu Jaunty Server DomU

ServerU904 login: root
Password:
Last login: Sun Apr 19 15:08:25 EDT 2009 on hvc0
Linux ServerU904 2.6.28-11-server #41-Ubuntu SMP Wed Apr 8 05:29:01 UTC 2009 x86_64
The programs included with the Ubuntu system are free software;the exact distribution terms for each program are described in theindividual files in /usr/share/doc/*/copyright.
Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law.
To access official Ubuntu documentation, please visit:
http://help.ubuntu.com/
1 failure since last login.
Last was Sun 19 Apr 2009 03:30:40 PM EDT on hvc0.

Tuning /etc/rc.local

root@ServerU904:~# cat /etc/rc.local
#!/bin/sh -e
# rc.local
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
# In order to enable or disable this script just change the #execution bits.
# By default this script does nothing.
export HOME=/root
vncserver :1 -geometry 1280x1024 -depth 16
exit 0
root@ServerU904:~# cd .vnc
root@ServerU904:~/.vnc# pwd
/root/.vnc

Tuning ~/.vnc/xstartup file to start gnome-session immediately
at remote vncviewer’s login to Ubuntu Jaunty PV DomU.

root@ServerU904:~/.vnc# cat xstartup
#!/bin/sh
# Uncomment the following two lines for normal desktop:
unset SESSION_MANAGER
# exec /etc/X11/xinit/xinitrc
/usr/bin/gnome-session &
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
twm &

Another version of ~/.vnc/xstartup :-

# Uncomment the following two lines for normal desktop:
# unset SESSION_MANAGER
# exec /etc/X11/xinit/xinitrc
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
/usr/bin/gnome-session &
# twm &
root@ServerU904:~/.vnc#












References
1.Setup Xen Unstable Dom0 with 2.6.29-tip pvops enabled kernel on top Ubuntu Intrepid Server (64 bit)
2.GDM and VNC with xinetd in Jaunty


Setup Xen 3.4 Dom0 on CentOS 5.3 (64 bit)

April 17, 2009

In general, port goes as usual . However, attempt to create
initial ramdisk for 2.6.18.8-xen kernel fails due to known bug for mkinitrd. Undocumented option –allow-missing provides
a workaround to succeed with mkinitrd for xen-ified kernel
To port Xen 3.4-rc3-pre to xen disabled CentOS 5.3 instance (64 bit) install the most recent version of git and mercurial (hg).

# cd /usr/src/
# hg clone http://xenbits.xensource.com/xen-unstable.hg
# cd xen-unstable.hg
# make world
# make install

Determine the name of the Xen Linux kernel version that was installed.

# ls /lib/modules

There should be a directory for the Xen Linux kernel (e.g.2.6.18.8-xen)
Generate the module dependency list and map files

# /sbin/depmod 2.6.18.8-xen

Create the Xen initial ramdisk image.
Per Bug 488991 - mkinitrd erroneously inserts dependencies to dm-mem-cache

# /sbin/mkinitrd --allow-missing /boot/initrd-2.6.18.8-xen.img 2.6.18.8-xen

Disable tls

# mv /usr/lib64/tls /usr/lib64/tls.disabled

Set xend service to start

# /sbin/chkconfig –add xend
# /sbin/chkconfig xend on

Install bridge-utils:-

# yum install bridge-utils

**************************************************************
Edit /boot/grub/grub.conf and copy one of the existing boot entries to make the required changes for Xen and reboot into new kernel.
**************************************************************

title Xen-3.4 CentOS 5.3 x86_64 (2.6.18.8-xen) (/dev/sda5)
root (hd0,4)
kernel /xen-3.4.gz
module /vmlinuz-2.6.18.8-xen ro root=/dev/VolGroup01/LogVol00 rhgb quiet
module /initrd-2.6.18.8-xen.img

Reboot

[root@ServerXen ~]# xm info
host : ServerXen
release : 2.6.18.8-xen
version : #1 SMP Fri Apr 17 15:13:17 MSD 2009
machine : x86_64
nr_cpus : 4
nr_nodes : 1
cores_per_socket : 4
threads_per_core : 1
cpu_mhz : 2833
hw_caps : bfebfbff:20100800:00000000:00000140:0408e3fd:00000000:00000001:00000000
virt_caps : hvm
total_memory : 8191
free_memory : 1
node_to_cpu : node0:0-3
node_to_memory : node0:1
xen_major : 3
xen_minor : 4
xen_extra : .0-rc3-pre
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
xen_scheduler : credit
xen_pagesize : 4096
platform_params : virt_start=0xffff800000000000
xen_changeset : unavailable
cc_compiler : gcc version 4.1.2 20080704 (Red Hat 4.1.2-44)
cc_compile_by : root
cc_compile_domain : (none)
cc_compile_date : Fri Apr 17 16:12:58 MSD 2009
xend_config_format : 4

Setup CentOS 5.3 stub domain.







Setup OpenSolaris0811 PV domain.







Port Xen 3.3.1 to CentOS 5.3 via http://gitco.de

April 4, 2009

This posting follows up recent discussion at xen-users mailing list regarding functionality of virt-install and virt-manager after Gitco’s Xen 3.3.1 Hypervisor Upgrade on CentOS 5.3(2). Via the posting bellow i try to demonstrate that Gitco’s upgrade of libvirt-python, python-virtinst,qemu packages and Xen Hypervisor itself seems to be a nice job with no serious issues keeping libvirt and virt-install (virt-manager) utility pretty stable at runtime. I also state that suggestion of use xen-tools & rinse on Xen Systems with libvirt abilities ([1]) doesn’t look to me right way to manage vs utilizing debootstrap on Debian and Ubuntu Xen hosts, providing libvirt for the KVM only.
Current port has obvious advantages as significantly more stable VNC connections to DomUs, virt-manager utility providing option of install PV DomUs via local HTTP mirror and managing DomUs been created via virt-install or via virt-manager.Occasionally vnc sessions gets crashed, however reconnection to DomU works pretty stable,requiring just one attempt.
I was able successfully tested CentOS 5.2(3) and F10 PV DomU installs via virt-manager utilizing as source local Apache Mirror, created via loop mounting ISO image to /var/www/html/corresponding_folder
Original download been done from http://gitco.de/repo/xen3.3.1 :-

[root@dhcppc1 xen-rpms]# ls -l
total 50224
-rw-r--r-- 1 root root 355799 Apr 3 13:32 gtkglext-debuginfo-1.2.0-6.x86_64.rpm
-rw-r--r-- 1 root root 161634 Apr 3 13:32 gtkglext-devel-1.2.0-6.x86_64.rpm
-rw-r--r-- 1 root root 146052 Apr 3 13:32 gtkglext-libs-1.2.0-6.x86_64.rpm
-rw-r--r-- 1 root root 80216 Apr 3 13:32 gtk-vnc-0.3.7-2.x86_64.rpm
-rw-r--r-- 1 root root 165124 Apr 3 13:32 gtk-vnc-debuginfo-0.3.7-2.x86_64.rpm
-rw-r--r-- 1 root root 10421 Apr 3 13:32 gtk-vnc-devel-0.3.7-2.x86_64.rpm
-rw-r--r-- 1 root root 13479 Apr 3 13:32 gtk-vnc-python-0.3.7-2.x86_64.rpm
-rwxr--r-- 1 root root 759 Apr 3 13:37 install.sh
-rw-r--r-- 1 root root 1841193 Apr 3 13:20 libvirt-0.4.4-3.x86_64.rpm
-rw-r--r-- 1 root root 196006 Apr 3 13:20 libvirt-devel-0.4.4-3.x86_64.rpm
-rw-r--r-- 1 root root 113567 Apr 3 13:20 libvirt-python-0.4.4-3.x86_64.rpm
-rw-r--r-- 1 root root 14384 Apr 3 13:20 pypxeboot-0.0.2-2.noarch.rpm
-rw-r--r-- 1 root root 340597 Apr 3 13:20 python-virtinst-0.400.0-5.noarch.rpm
-rw-r--r-- 1 root root 11954599 Apr 3 13:22 qemu-0.9.1-10.x86_64.rpm
-rw-r--r-- 1 root root 24421993 Apr 3 13:26 qemu-debuginfo-0.9.1-10.x86_64.rpm
-rw-r--r-- 1 root root 77372 Apr 3 13:26 qemu-img-0.9.1-10.x86_64.rpm
-rw-r--r-- 1 root root 1364938 Apr 3 13:36 virt-manager-0.6.0-1.x86_64.rpm
-rw-r--r-- 1 root root 49973 Apr 3 13:36 virt-manager-debuginfo-0.6.0-1.x86_64.rpm
-rw-r--r-- 1 root root 28711 Apr 3 13:36 virt-viewer-0.0.3-3.x86_64.rpm
-rw-r--r-- 1 root root 9271929 Apr 3 13:18 xen-3.3.1-0.x86_64.rpm
-rw-r--r-- 1 root root 229074 Apr 3 13:19 xen-debuginfo-3.3.1-0.x86_64.rpm
-rw-r--r-- 1 root root 260471 Apr 3 13:19 xen-devel-3.3.1-0.x86_64.rpm
-rw-r--r-- 1 root root 162412 Apr 3 13:19 xen-libs-3.3.1-0.x86_64.rpm

Installation script:-

[root@dhcppc1 xen-rpms]# cat install.sh
yum install xen-3.3.1-0.x86_64.rpm \
xen-debuginfo-3.3.1-0.x86_64.rpm \
xen-devel-3.3.1-0.x86_64.rpm \
xen-libs-3.3.1-0.x86_64.rpm \
libvirt-0.4.4-3.x86_64.rpm \
libvirt-devel-0.4.4-3.x86_64.rpm \
libvirt-python-0.4.4-3.x86_64.rpm \
python-virtinst-0.400.0-5.noarch.rpm \
pypxeboot-0.0.2-2.noarch.rpm \
qemu-0.9.1-10.x86_64.rpm \
qemu-debuginfo-0.9.1-10.x86_64.rpm \
qemu-img-0.9.1-10.x86_64.rpm \
gtk-vnc-0.3.7-2.x86_64.rpm \
gtk-vnc-debuginfo-0.3.7-2.x86_64.rpm \
gtk-vnc-devel-0.3.7-2.x86_64.rpm \
gtk-vnc-python-0.3.7-2.x86_64.rpm \
gtkglext-debuginfo-1.2.0-6.x86_64.rpm \
gtkglext-devel-1.2.0-6.x86_64.rpm \
gtkglext-libs-1.2.0-6.x86_64.rpm \
virt-manager-0.6.0-1.x86_64.rpm \
virt-manager-debuginfo-0.6.0-1.x86_64.rpm \
virt-viewer-0.0.3-3.x86_64.rpm

[root@dhcppc1 xen-rpms]# ./install.sh

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.yandex.ru
* updates: mirror.yandex.ru
* addons: mirror.yandex.ru
* extras: mirror.yandex.ru
xen | 951 B 00:00
primary.xml.gz | 8.5 kB 00:00
xen 25/25
base | 1.1 kB 00:00
updates | 951 B 00:00
addons | 951 B 00:00
extras | 951 B 00:00
Setting up Install Process
Parsing package install arguments
Examining xen-3.3.1-0.x86_64.rpm: xen-3.3.1-0.x86_64
Marking xen-3.3.1-0.x86_64.rpm to be installed
Examining xen-debuginfo-3.3.1-0.x86_64.rpm: xen-debuginfo-3.3.1-0.x86_64
Marking xen-debuginfo-3.3.1-0.x86_64.rpm to be installed
Examining xen-devel-3.3.1-0.x86_64.rpm: xen-devel-3.3.1-0.x86_64
Marking xen-devel-3.3.1-0.x86_64.rpm to be installed
Examining xen-libs-3.3.1-0.x86_64.rpm: xen-libs-3.3.1-0.x86_64
Marking xen-libs-3.3.1-0.x86_64.rpm to be installed
Examining libvirt-0.4.4-3.x86_64.rpm: libvirt-0.4.4-3.x86_64
Marking libvirt-0.4.4-3.x86_64.rpm to be installed
Examining libvirt-devel-0.4.4-3.x86_64.rpm: libvirt-devel-0.4.4-3.x86_64
Marking libvirt-devel-0.4.4-3.x86_64.rpm to be installed
Examining libvirt-python-0.4.4-3.x86_64.rpm: libvirt-python-0.4.4-3.x86_64
Marking libvirt-python-0.4.4-3.x86_64.rpm to be installed
Examining python-virtinst-0.400.0-5.noarch.rpm: python-virtinst-0.400.0-5.noarch
Marking python-virtinst-0.400.0-5.noarch.rpm to be installed
Examining pypxeboot-0.0.2-2.noarch.rpm: pypxeboot-0.0.2-2.noarch
Marking pypxeboot-0.0.2-2.noarch.rpm to be installed
Examining qemu-0.9.1-10.x86_64.rpm: qemu-0.9.1-10.x86_64
Marking qemu-0.9.1-10.x86_64.rpm to be installed
Examining qemu-debuginfo-0.9.1-10.x86_64.rpm: qemu-debuginfo-0.9.1-10.x86_64
Marking qemu-debuginfo-0.9.1-10.x86_64.rpm to be installed
Examining qemu-img-0.9.1-10.x86_64.rpm: qemu-img-0.9.1-10.x86_64
Marking qemu-img-0.9.1-10.x86_64.rpm to be installed
Examining gtk-vnc-0.3.7-2.x86_64.rpm: gtk-vnc-0.3.7-2.x86_64
Marking gtk-vnc-0.3.7-2.x86_64.rpm to be installed
Examining gtk-vnc-debuginfo-0.3.7-2.x86_64.rpm: gtk-vnc-debuginfo-0.3.7-2.x86_64
Marking gtk-vnc-debuginfo-0.3.7-2.x86_64.rpm to be installed
Examining gtk-vnc-devel-0.3.7-2.x86_64.rpm: gtk-vnc-devel-0.3.7-2.x86_64
Marking gtk-vnc-devel-0.3.7-2.x86_64.rpm to be installed
Examining gtk-vnc-python-0.3.7-2.x86_64.rpm: gtk-vnc-python-0.3.7-2.x86_64
Marking gtk-vnc-python-0.3.7-2.x86_64.rpm to be installed
Examining gtkglext-debuginfo-1.2.0-6.x86_64.rpm: gtkglext-debuginfo-1.2.0-6.x86_64
Marking gtkglext-debuginfo-1.2.0-6.x86_64.rpm to be installed
Examining gtkglext-devel-1.2.0-6.x86_64.rpm: gtkglext-devel-1.2.0-6.x86_64
Marking gtkglext-devel-1.2.0-6.x86_64.rpm to be installed
Examining gtkglext-libs-1.2.0-6.x86_64.rpm: gtkglext-libs-1.2.0-6.x86_64
Marking gtkglext-libs-1.2.0-6.x86_64.rpm to be installed
Examining virt-manager-0.6.0-1.x86_64.rpm: virt-manager-0.6.0-1.x86_64
Marking virt-manager-0.6.0-1.x86_64.rpm to be installed
Examining virt-manager-debuginfo-0.6.0-1.x86_64.rpm: virt-manager-debuginfo-0.6.0-1.x86_64
Marking virt-manager-debuginfo-0.6.0-1.x86_64.rpm to be installed
Examining virt-viewer-0.0.3-3.x86_64.rpm: virt-viewer-0.0.3-3.x86_64
Marking virt-viewer-0.0.3-3.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package gtk-vnc-python.x86_64 0:0.3.7-2 set to be updated
---> Package gtk-vnc.x86_64 0:0.3.7-2 set to be updated
---> Package pypxeboot.noarch 0:0.0.2-2 set to be updated
--> Processing Dependency: udhcp = 0.9.8-1usermac for package: pypxeboot
--> Processing Dependency: tftp >= 0.39 for package: pypxeboot
---> Package libvirt.x86_64 0:0.4.4-3 set to be updated
--> Processing Dependency: bridge-utils for package: libvirt
--> Processing Dependency: cyrus-sasl-md5 for package: libvirt
--> Processing Dependency: iscsi-initiator-utils for package: libvirt
---> Package virt-manager.x86_64 0:0.6.0-1 set to be updated
--> Processing Dependency: gnome-python2-gnomekeyring >= 2.15.4 for package: virt-manager
---> Package xen-libs.x86_64 0:3.3.1-0 set to be updated
---> Package xen-devel.x86_64 0:3.3.1-0 set to be updated
---> Package libvirt-devel.x86_64 0:0.4.4-3 set to be updated
---> Package xen.x86_64 0:3.3.1-0 set to be updated
--> Processing Dependency: xen-hypervisor-abi = 3.1 for package: xen
---> Package libvirt-python.x86_64 0:0.4.4-3 set to be updated
---> Package qemu-debuginfo.x86_64 0:0.9.1-10 set to be updated
---> Package gtkglext-libs.x86_64 0:1.2.0-6 set to be updated
---> Package virt-manager-debuginfo.x86_64 0:0.6.0-1 set to be updated
---> Package virt-viewer.x86_64 0:0.0.3-3 set to be updated
---> Package gtkglext-devel.x86_64 0:1.2.0-6 set to be updated
---> Package python-virtinst.noarch 0:0.400.0-5 set to be updated
---> Package qemu-img.x86_64 0:0.9.1-10 set to be updated
---> Package gtkglext-debuginfo.x86_64 0:1.2.0-6 set to be updated
---> Package gtk-vnc-devel.x86_64 0:0.3.7-2 set to be updated
---> Package qemu.x86_64 0:0.9.1-10 set to be updated
---> Package xen-debuginfo.x86_64 0:3.3.1-0 set to be updated
---> Package gtk-vnc-debuginfo.x86_64 0:0.3.7-2 set to be updated
--> Running transaction check
---> Package kernel-xen.x86_64 0:2.6.18-128.el5 set to be installed
---> Package iscsi-initiator-utils.x86_64 0:6.2.0.868-0.18.el5 set to be updated
---> Package bridge-utils.x86_64 0:1.1-2 set to be updated
---> Package udhcp.x86_64 0:0.9.8-1usermac set to be updated
---> Package gnome-python2-gnomekeyring.x86_64 0:2.16.0-2.el5 set to be updated
---> Package cyrus-sasl-md5.x86_64 0:2.1.22-4 set to be updated
---> Package tftp.x86_64 0:0.42-3.1.el5.centos set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
=================================================================================================
Package Arch Version Repository Size
=================================================================================================
Installing:
gtk-vnc x86_64 0.3.7-2 gtk-vnc-0.3.7-2.x86_64.rpm 78 k
gtk-vnc-debuginfo x86_64 0.3.7-2 gtk-vnc-debuginfo-0.3.7-2.x86_64.rpm 161 k
gtk-vnc-devel x86_64 0.3.7-2 gtk-vnc-devel-0.3.7-2.x86_64.rpm 10 k
gtk-vnc-python x86_64 0.3.7-2 gtk-vnc-python-0.3.7-2.x86_64.rpm 13 k
gtkglext-debuginfo x86_64 1.2.0-6 gtkglext-debuginfo-1.2.0-6.x86_64.rpm 347 k
gtkglext-devel x86_64 1.2.0-6 gtkglext-devel-1.2.0-6.x86_64.rpm 158 k
gtkglext-libs x86_64 1.2.0-6 gtkglext-libs-1.2.0-6.x86_64.rpm 143 k
libvirt x86_64 0.4.4-3 libvirt-0.4.4-3.x86_64.rpm 1.8 M
libvirt-devel x86_64 0.4.4-3 libvirt-devel-0.4.4-3.x86_64.rpm 191 k
libvirt-python x86_64 0.4.4-3 libvirt-python-0.4.4-3.x86_64.rpm 111 k
pypxeboot noarch 0.0.2-2 pypxeboot-0.0.2-2.noarch.rpm 14 k
python-virtinst noarch 0.400.0-5 python-virtinst-0.400.0-5.noarch.rpm 333 k
qemu x86_64 0.9.1-10 qemu-0.9.1-10.x86_64.rpm 11 M
qemu-debuginfo x86_64 0.9.1-10 qemu-debuginfo-0.9.1-10.x86_64.rpm 23 M
qemu-img x86_64 0.9.1-10 qemu-img-0.9.1-10.x86_64.rpm 76 k
virt-manager x86_64 0.6.0-1 virt-manager-0.6.0-1.x86_64.rpm 1.3 M
virt-manager-debuginfo
x86_64 0.6.0-1 virt-manager-debuginfo-0.6.0-1.x86_64.rpm 49 k
virt-viewer x86_64 0.0.3-3 virt-viewer-0.0.3-3.x86_64.rpm 28 k
xen x86_64 3.3.1-0 xen-3.3.1-0.x86_64.rpm 8.8 M
xen-debuginfo x86_64 3.3.1-0 xen-debuginfo-3.3.1-0.x86_64.rpm 224 k
xen-devel x86_64 3.3.1-0 xen-devel-3.3.1-0.x86_64.rpm 254 k
xen-libs x86_64 3.3.1-0 xen-libs-3.3.1-0.x86_64.rpm 159 k
Installing for dependencies:
bridge-utils x86_64 1.1-2 base 28 k
cyrus-sasl-md5 x86_64 2.1.22-4 base 46 k
gnome-python2-gnomekeyring
x86_64 2.16.0-2.el5 base 17 k
iscsi-initiator-utils x86_64 6.2.0.868-0.18.el5 base 591 k
kernel-xen x86_64 2.6.18-128.el5 base 17 M
tftp x86_64 0.42-3.1.el5.centos
base 21 k
udhcp x86_64 0.9.8-1usermac xen 28 k
Transaction Summary
=================================================================================================
Install 29 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 67 M
Is this ok [y/N]: y
Downloading Packages:
(1/7): gnome-python2-gnomekeyring-2.16.0-2.el5.x86_64.rpm | 17 kB 00:24
(2/7): tftp-0.42-3.1.el5.centos.x86_64.rpm | 21 kB 00:14
(3/7): bridge-utils-1.1-2.x86_64.rpm | 28 kB 00:26
(4/7): udhcp-0.9.8-1usermac.x86_64.rpm | 28 kB 00:00
(5/7): cyrus-sasl-md5-2.1.22-4.x86_64.rpm | 46 kB 00:51
(6/7): iscsi-initiator-utils-6.2.0.868-0.18.el5.x86_64.rpm | 591 kB 02:26
(7/7): kernel-xen-2.6.18-128.el5.x86_64.rpm | 17 MB 06:04
-------------------------------------------------------------------------------------------------
Total 25 kB/s | 18 MB 12:00
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID e8562897
Importing GPG key 0xE8562897 "CentOS-5 Key (CentOS 5 Official Signing Key) " from /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
Is this ok [y/N]: y
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : xen-libs [ 1/29]
Installing : bridge-utils [ 2/29]
Installing : gtkglext-libs [ 3/29]
Installing : gtk-vnc [ 4/29]
Installing : qemu-img [ 5/29]
Installing : gtk-vnc-python [ 6/29]
Installing : cyrus-sasl-md5 [ 7/29]
Installing : udhcp [ 8/29]
Installing : tftp [ 9/29]
Installing : gnome-python2-gnomekeyring [10/29]
Installing : iscsi-initiator-utils [11/29]
Installing : libvirt [12/29]
Installing : libvirt-python [13/29]
Installing : virt-viewer [14/29]
Installing : qemu [15/29]
Installing : virt-manager-debuginfo [16/29]
Installing : gtkglext-debuginfo [17/29]
Installing : xen-debuginfo [18/29]
Installing : gtk-vnc-debuginfo [19/29]
Installing : python-virtinst [20/29]
Installing : xen-devel [21/29]
Installing : kernel-xen [22/29]
Installing : gtkglext-devel [23/29]
Installing : gtk-vnc-devel [24/29]
Installing : virt-manager [25/29]
Installing : libvirt-devel [26/29]
Installing : pypxeboot [27/29]
Installing : qemu-debuginfo [28/29]
Installing : xen [29/29]
Installed: gtk-vnc.x86_64 0:0.3.7-2 gtk-vnc-debuginfo.x86_64 0:0.3.7-2 gtk-vnc-devel.x86_64 0:0.3.7-2 gtk-vnc-python.x86_64 0:0.3.7-2 gtkglext-debuginfo.x86_64 0:1.2.0-6 gtkglext-devel.x86_64 0:1.2.0-6 gtkglext-libs.x86_64 0:1.2.0-6 libvirt.x86_64 0:0.4.4-3 libvirt-devel.x86_64 0:0.4.4-3 libvirt-python.x86_64 0:0.4.4-3 pypxeboot.noarch 0:0.0.2-2 python-virtinst.noarch 0:0.400.0-5 qemu.x86_64 0:0.9.1-10 qemu-debuginfo.x86_64 0:0.9.1-10 qemu-img.x86_64 0:0.9.1-10 virt-manager.x86_64 0:0.6.0-1 virt-manager-debuginfo.x86_64 0:0.6.0-1 virt-viewer.x86_64 0:0.0.3-3 xen.x86_64 0:3.3.1-0 xen-debuginfo.x86_64 0:3.3.1-0 xen-devel.x86_64 0:3.3.1-0 xen-libs.x86_64 0:3.3.1-0
Dependency Installed: bridge-utils.x86_64 0:1.1-2 cyrus-sasl-md5.x86_64 0:2.1.22-4 gnome-python2-gnomekeyring.x86_64 0:2.16.0-2.el5 iscsi-initiator-utils.x86_64 0:6.2.0.868-0.18.el5 kernel-xen.x86_64 0:2.6.18-128.el5 tftp.x86_64 0:0.42-3.1.el5.centos udhcp.x86_64 0:0.9.8-1usermac
Complete!

# virt-install -n CentOS5PV -r 1024 -p –vnc \
-f /etc/xen/images/CentOS5.img -l nfs:192.168.1.34:/mnt/tmp







To get network running at CentOS 5.2 DomU, installed via NFS share, i had to disable checksum offloading at DomU:

/usr/local/sbin/ethtool -K eth0 tx off

Virt-manger install via HTTP local mirror built up same DomU with no network issues.



Install PV DomU via virt-manager:-





















Install Fedora 10 PV DomU via virt-manager:-

# chkconfig httpd on
# mkdir -p /var/www/html/f10
# mount -o loop /etc/xen/isos/f10.iso /var/www/html/f10

Submit http://IP-Dom0/f10 as installation source to virt-manager and proceed
as normal :-











References.
1.RE: [Xen-users] Problems installing guest domains