Monday, May 10, 2010

CentOS DomU on Debian

http://www.grantmcwilliams.com/tech/virtualization/xen-howtos/410-centos-5-virtual-machine-64-bit-installation-on-xen

http://wiki.centos.org/HowTos/Xen/InstallingCentOSDomU
Discussion going on here
http://markmail.org/thread/h7rooucvlhnivibd

and here nothing came till now
http://markmail.org/thread/ltl2faagvqdl4coh


Some one mentioned to do it
http://markmail.org/thread/hhdh3ifcxhn22tq4

A relevant thread is
http://markmail.org/thread/cvu56ik7n3kplisw

Another installation method which seems not to give error
http://www.cmdln.org/2008/04/25/xen-installing-centos-5-domu-inside-debian-etch-dom0-with-xen-tools-and-rinse/

xen-create-image --hostname=ocw --size=96GB --swap=2048 Mb --ip=172.21.100.196 --memory=1024 --arch=amd64 --role=udev --force --install-method=rinse --install-source=/root/inscd/
Most probably when you delete an existing VM and create a new with same name LVM shows that it is no more infact that is what is causing problems.So to my surprise change of name had worked.

Problem in configuring VNC
http://www.virtuatopia.com/index.php/Configuring_a_VNC_based_Graphical_Console_for_a_Xen_Paravirtualized_domainU_Guest

http://hub.opensolaris.org/bin/view/Community+Group+xen/setupvnc

http://www.intelligentedu.com/blogs/post/free_computer_books/4241/xen-virtualization-online-book


Now finally we are moving to QEMU vnc thing had failed
http://www.virtuatopia.com/index.php/Building_a_Xen_Guest_Domain_using_Xen-Tools
using QEMU and pygrub etc etc
http://www.virtuatopia.com/index.php/Using_QEMU_Disk_Images_for_Xen_DomainU_Systems

These are snapshots of running QEMU
http://www.flickr.com/photos/48996087@N07/
http://markmail.org/thread/swek2xhvhzeb6sjs

The installation was very slow so I had to finally kill because in 2 hours only 20% of it was installed some one suggested to use kqemu.

This article http://www.debian-administration.org/articles/545
did not worked for me.
Trying this one

http://www.illuminatedvirtual.com/node/14


Some snapshots of all the process.












Finally to be able to boot from QEMU on SSH
I did
qemu-system-x86_64  -hda /dev/virtualization/centos5-disk -hdb
/dev/virtualization/centos5-swap -m 1024 -boot c -net nic -net tap



http://www.open.hr/~dpavlin/debian-amd64.html#ToC4
http://www.weiqigao.com/blog/2007/11/27qemu_the_open_source_virtualizer.html
http://www.debian-administration.org/article/Running_Microsoft_Windows_inside_Debian_qemu

http://snippets.dzone.com/posts/show/689



http://wiki.debian.org/QEMU

http://www.debianhelp.co.uk/qemu.htm

http://www.howtoforge.com/virtualization-with-kvm-on-ubuntu-9.10

http://www.novell.com/coolsolutions/feature/14951.html                          
http://how2forge.org/how-to-convert-a-xen-virtual-machine-to-vmware

http://warpedtimes.wordpress.com/2010/01/06/hardware-accelerated-virtualization-with-qemu-and-kvm/ 

http://www.google.co.in/search?hl=en&source=hp&q=vmware+to+xen+converter&aq=0&aqi=g2&aql=&oq=vmware+to+xen+c&gs_rfai= 


http://unixfoo.blogspot.com/2008/12/vmware-to-xen-conversion.html



http://www.novell.com/coolsolutions/feature/14951.html


A strange problem using QEMU



--------------------------------------------------------------------------------------------
I am facing one more problem during the installation.If I press a key
once after some time I see the effect in QEMU screen there is some
delay and after this delay the effect of pressing the key is as if I
have clicked multiple times.Say
I have to enter the gateway address 192.168.1.2
If I press 9 or any of the above digit once
rather than typing
192.
it types
199999999999999999 and then after some time it releases the cursor to
type any thing.
to choose between two menu
---> press cancel
           |
           |
 yes  no
If I choose yes it clicks many times automatically yes and goes back
to previous menu and then comes again to forward menu so back and
forth switching between menus.
Which makes it very difficult to move ahead it has been two hours but
I could not proceed at all with this.
More over the response is coming very slow if pressing any key stroke
from my laptop because of which I have to wait for a long time to get
the response and move to another menu.

I am not using the GUI based installer it is a text based install.If I
use a GUI  it is very very slow and have to wait for a very long time
for the response to come.
For example clicking on License agreement you agree yes
to do so it takes a very long time which it is not taking in text mode
but the above problem of seeing the effect multiple times in an
undesired way and slow response is there.
This is not a consistent situation but occurring at irregular
intervals.This has made my work very slow.
Is there any way to get rid of this?

--------------------------------------------------------------------------------------------
~                                                           
~
Did this with KQEMU
https://help.ubuntu.com/community/WindowsXPUnderQemuHowTo
After all the above experiments failed we finally moved to virsh
http://edin.no-ip.com/content/virt-manager-libvirt-kvm-debian-mini-howto

Now a nonsense blog made my work difficult.Later on problem was resolved.

No comments: