Talk:Xen 3.1 On SLES 10 SP1

From CoolSolutionsWiki

xen-tool-domU...x86_64.rpm was not installed regardless "rpm -ivh --force" option.
Failed dependencies:
xen-tools conflicts with xen-tools-domU
Executed
1. "rpm2cpio xen-tools-3.1.0-0.1.x86_64.rpm | cpio -i --make-directories"
2. "rpm2cpio xen-tools-domU-3.1.0-0.1.x86_64.rpm | cpio -i --make-directories"
each one in it's own directory to compare outputs.

Output for 2:-
ServerTestLabs:/Xen31SLS/x86_64/xen-tools-domU/bin # ls -l
total 120
-rwxr-xr-x 1 root root 18512 Aug 3 06:22 xenstore-chmod
-rwxr-xr-x 1 root root 17360 Aug 3 06:22 xenstore-exists
-rwxr-xr-x 1 root root 18280 Aug 3 06:22 xenstore-list
-rwxr-xr-x 1 root root 18312 Aug 3 06:22 xenstore-read
-rwxr-xr-x 1 root root 17960 Aug 3 06:22 xenstore-rm
-rwxr-xr-x 1 root root 17616 Aug 3 06:22 xenstore-write

Corresponding part of output for 1:-
ServerTestLabs:/Xen31SLS/x86_64/xen-tools/usr/bin # ls -l
total 132
-rwxr-xr-x 1 root root 9760 Aug 3 06:25 lomount
-rwxr-xr-x 1 root root 7185 Aug 3 06:25 vm-install
-rwxr-xr-x 1 root root 1933 Aug 3 06:25 vm-install-jobs
-rwxr-xr-x 1 root root 5864 Aug 3 06:25 xen-detect
-rwxr-xr-x 1 root root 2517 Aug 3 06:25 xencons
-rwxr-xr-x 1 root root 8224 Aug 3 06:25 xenstore-chmod
-rwxr-xr-x 1 root root 5632 Aug 3 06:25 xenstore-control
-rwxr-xr-x 1 root root 7328 Aug 3 06:25 xenstore-exists
-rwxr-xr-x 1 root root 7680 Aug 3 06:25 xenstore-list
-rwxr-xr-x 1 root root 8184 Aug 3 06:25 xenstore-ls
-rwxr-xr-x 1 root root 7712 Aug 3 06:25 xenstore-read
-rwxr-xr-x 1 root root 7712 Aug 3 06:25 xenstore-rm
-rwxr-xr-x 1 root root 7328 Aug 3 06:25 xenstore-write
-rwxr-xr-x 1 root root 12680 Aug 3 06:25 xentrace
-rwxr-xr-x 1 root root 3940 Aug 3 06:25 xentrace_format
-rwxr-xr-x 1 root root 6344 Aug 3 06:25 xentrace_setsize

Due to uninstalled xen-tool-domU...x86_64.rpm corresponding
files (output 1) haven't been copied to /bin.

My first question is it OK ?

Finally, when vmlinuz-2.6.42-12-xen and initrd-2.6.42-12-xen have been
created with YaST->Software Management using distribution CD
and system loaded OK,referencing new xen.gz (3.1) in grub.conf.
Attempt to create new HVM VMS causes scripts:
/usr/lib64/python2.4/site-packages/xen/xm/main.py
/usr/lib64/python2.4/site-packages/xen/xm/new.py
/usr/lib64/python2.4/site-packages/xen/xm/xenapi_create.py
generate errors.
Actually, instructions from [1] to install all rpms from
/coolsolutions/tools/downloads/XEN-3.1-x86_64.tar.gz
with --force option doesn't look to be sufficient to get Xen 3.1 installed on SLES 10 SP1
I am not sure , that kernel and initrd were created in proper way,
however just rpms install creates only new xen-3.1.0.1.gz.
command:- # ls /lib/modules
doesn't show any new kernel
My second question is:-
How new Xen's kernel is supposed to be built after rpm's install is done ?
References
1. http://www.novell.com/coolsolutions/tools/19338.html

Contents

Analyzing rpms content with rpm2cpio

Executed
1. "rpm2cpio xen-tools-3.1.0-0.1.x86_64.rpm | cpio -i --make-directories"
2. "rpm2cpio xen-tools-domU-3.1.0-0.1.x86_64.rpm | cpio -i --make-directories"
each one in it's own directory to compare outputs.

Output for 2:-
ServerTestLabs:/Xen31SLS/x86_64/xen-tools-domU/bin # ls -l
total 120
-rwxr-xr-x 1 root root 18512 Aug 3 06:22 xenstore-chmod
-rwxr-xr-x 1 root root 17360 Aug 3 06:22 xenstore-exists
-rwxr-xr-x 1 root root 18280 Aug 3 06:22 xenstore-list
-rwxr-xr-x 1 root root 18312 Aug 3 06:22 xenstore-read
-rwxr-xr-x 1 root root 17960 Aug 3 06:22 xenstore-rm
-rwxr-xr-x 1 root root 17616 Aug 3 06:22 xenstore-write

Corresponding part of output for 1:-
ServerTestLabs:/Xen31SLS/x86_64/xen-tools/usr/bin # ls -l
total 132
-rwxr-xr-x 1 root root 9760 Aug 3 06:25 lomount
-rwxr-xr-x 1 root root 7185 Aug 3 06:25 vm-install
-rwxr-xr-x 1 root root 1933 Aug 3 06:25 vm-install-jobs
-rwxr-xr-x 1 root root 5864 Aug 3 06:25 xen-detect
-rwxr-xr-x 1 root root 2517 Aug 3 06:25 xencons
-rwxr-xr-x 1 root root 8224 Aug 3 06:25 xenstore-chmod
-rwxr-xr-x 1 root root 5632 Aug 3 06:25 xenstore-control
-rwxr-xr-x 1 root root 7328 Aug 3 06:25 xenstore-exists
-rwxr-xr-x 1 root root 7680 Aug 3 06:25 xenstore-list
-rwxr-xr-x 1 root root 8184 Aug 3 06:25 xenstore-ls
-rwxr-xr-x 1 root root 7712 Aug 3 06:25 xenstore-read
-rwxr-xr-x 1 root root 7712 Aug 3 06:25 xenstore-rm
-rwxr-xr-x 1 root root 7328 Aug 3 06:25 xenstore-write
-rwxr-xr-x 1 root root 12680 Aug 3 06:25 xentrace
-rwxr-xr-x 1 root root 3940 Aug 3 06:25 xentrace_format
-rwxr-xr-x 1 root root 6344 Aug 3 06:25 xentrace_setsize

Due to uninstalled xen-tools-domU...x86-64.rpm
Corresponding file have not been copied to /bin

Xen 3.1 HVM on SLES 10 SP1

Please , view:- http://lxer.com/module/newswire/view/90738/index.html

Xen Network Interface Configuration for randomly generated VM's MAC address

Xen Network Interface Configuration for randomly generated HVM VM's MAC address seems to be a next issue in regards of both mentioned postings.

Xen 3.1 HVM VMs Networking on SLES 10 SP1

Issue is already addressed. View:- http://bderzhavets.blogspot.com/2007/08/xen-3_08.html

Is it possible to install xen 3.1 on update SLES 10 SP1? My kernel is 2.6.16.53-0.16-xen, but the xen packages are for 2.6.16.46-12.