Install OpenSuse 11 DomU at Xen 3.3 CentOS 5.2 Dom0 via local HTTP Server (all 64-bit)

The procedure down here has been developed due to virt-install failure to handle OpenSuse 11 PV DomU
install at Xen 3.3 (3.2),(3.1) CentOS 5.2 Dom0 either via NFS or HTTP shared directory.
Perform initial connect to Apache Server running at Dom0 , deployment and configuration (until first DomU
reboot) via profile openSUSE11PV.cfg.

# cat openSUSE11PV.cfg
name=”OpenSuse11PV”
memory=2048
disk = [‘file:/etc/xen/isos/suse11.iso,xvdb:cdrom,r’,
‘phy:/dev/sdb14,xvda,w’ ]
vif = [ ‘mac=00:16:3e:4a:f5:00, bridge=eth0’, ]
vfb = [ ‘type=vnc,vncunused=1’ ]
bootloader = “/usr/bin/pygrub”
kernel = “/boot/x86_64/vmlinuz-xen”
ramdisk = “/boot/x86_64/initrd-xen”
vcpus=1
on_reboot = ‘restart’
on_crash = ‘restart’

# xm create openSUSE11PV.cfg
# vncviewer localhost:0
Press “Back” button on startup screen , then select system original setup via HTTP and point installer to Dom0’s IP as IP of HTTP Server, providing URL /suse/ corresponding directory /var/www/html/suse .
ISO image should be previously loop mounted as follows bellow:-
# mount -o loop suse11.iso /var/www/html/suse
Sequence of snapshots is actually step by step installation instruction.





















When OpenSuse DomU first time goes down for reboot, shutdown Suse DomU via “xm” and switch to profile:-
*******************************************************
Final configuration phase & runtime profile
*******************************************************
name=”OpenSuse11PV”
memory=2048

disk = [‘phy:/dev/sdb14,xvda,w’]
vif =[ ‘mac=00:16:3e:4a:f5:00, bridge=eth0’]
vfb = [ ‘type=vnc,vncunused=1’ ]
bootloader = “/usr/bin/pygrub”
kernel = “/boot/vmlinuz-2.6.25.5-1.1-xen”
ramdisk = “/boot/initrd-2.6.25.5-1.1-xen”
vcpus=1
on_reboot = ‘restart’
on_crash = ‘restart’

Run:-
# xm create openSUSE11PV.run
# vncviewer localhost:0
To commit final configuration phase and load PV DomU.







Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: