Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Fedora/Linux Management Tools (http://www.linux-archive.org/fedora-linux-management-tools/)
-   -   w2k3 on Centos5-xen (http://www.linux-archive.org/fedora-linux-management-tools/21752-w2k3-centos5-xen.html)

Tom Diehl 12-23-2007 03:53 AM

w2k3 on Centos5-xen
 
Hi,

I am trying to use virt-manager to setup a w2k3 domU. I have successfully
gotten a centos-5 domU running using cobbler and koan, but windows is not
cooperating. The windows installer boots and everything is fine up until
the point that the installer reboots the machine.

When the machine reboots into the graphical installer I get an error that
it can no longer find the media in the cdrom. Of course at that point I
have to abort the install because the only options are retry or cancel.

I do not know if it is important or not but when windows says it is going
to reboot, it actually shutsdown and I have to manually restart it.

The config file for the w2k3 domU looks like the following:

name = "w2k3"
uuid = "24375a2a-30d3-5b4e-1076-bc607f73c35e"
maxmem = 500
memory = 500
vcpus = 1
builder = "hvm"
kernel = "/usr/lib/xen/boot/hvmloader"
boot = "c"
pae = 1
acpi = 1
apic = 1
on_poweroff = "destroy"
on_reboot = "restart"
on_crash = "restart"
device_model = "/usr/lib64/xen/bin/qemu-dm"
sdl = 0
vnc = 1
vncunused = 1
disk = [ "phy:/dev/GEP0/w2k3,hda,w" ]
vif = [ "mac=00:16:3e:04:fd:03,bridge=xenbr0,type=ioem u" ]
serial = "pty"

(geppetto pts10) # rpm -qa | grep virt
libvirt-0.2.3-9.el5
libvirt-0.2.3-9.el5
virt-manager-0.4.0-3.el5
libvirt-python-0.2.3-9.el5
python-virtinst-0.103.0-3.el5.centos
(geppetto pts10) #

The above file is as created by virt-manager.

I have been looking through google for the last few hours but no joy.

Is virt-manager devel at a point where this is expected to work? If so, can
someone give me an idea what I am missing?

Regards,

--
Tom Diehl tdiehl@rogueind.com Spamtrap address mtd123@rogueind.com

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

Chris Sarginson 12-24-2007 08:18 AM

w2k3 on Centos5-xen
 
Hi Tom,

The way to resolve this is to run virsh dumpxml $id > file.xml

edit file.xml at the relevant section to add in the ISO/cdrom path and
then run


virsh create file.xml

Kind regards

Chris Sarginson
Technical Support
UKFast.Net Ltd

(t) 0870 111 8866
(f) 0870 458 4545

"The UK's Best Hosting Provider" ISPA Awards 2007, 2006 and 2005

Dedicated Servers - Managed Hosting - Domain Names- http://www.ukfast.net

UKFast.Net Ltd, City Tower, Piccadilly Plaza, Manchester, M1 4BT
Registered in England. Number 384 5616

Tom Diehl wrote:

Hi,

I am trying to use virt-manager to setup a w2k3 domU. I have successfully
gotten a centos-5 domU running using cobbler and koan, but windows is not
cooperating. The windows installer boots and everything is fine up until
the point that the installer reboots the machine.

When the machine reboots into the graphical installer I get an error that
it can no longer find the media in the cdrom. Of course at that point I
have to abort the install because the only options are retry or cancel.

I do not know if it is important or not but when windows says it is going
to reboot, it actually shutsdown and I have to manually restart it.

The config file for the w2k3 domU looks like the following:

name = "w2k3"
uuid = "24375a2a-30d3-5b4e-1076-bc607f73c35e"
maxmem = 500
memory = 500
vcpus = 1
builder = "hvm"
kernel = "/usr/lib/xen/boot/hvmloader"
boot = "c"
pae = 1
acpi = 1
apic = 1
on_poweroff = "destroy"
on_reboot = "restart"
on_crash = "restart"
device_model = "/usr/lib64/xen/bin/qemu-dm"
sdl = 0
vnc = 1
vncunused = 1
disk = [ "phy:/dev/GEP0/w2k3,hda,w" ]
vif = [ "mac=00:16:3e:04:fd:03,bridge=xenbr0,type=ioem u" ]
serial = "pty"

(geppetto pts10) # rpm -qa | grep virt
libvirt-0.2.3-9.el5
libvirt-0.2.3-9.el5
virt-manager-0.4.0-3.el5
libvirt-python-0.2.3-9.el5
python-virtinst-0.103.0-3.el5.centos
(geppetto pts10) #

The above file is as created by virt-manager.

I have been looking through google for the last few hours but no joy.

Is virt-manager devel at a point where this is expected to work? If so, can
someone give me an idea what I am missing?

Regards,



--
Kind regards

Chris Sarginson
Technical Support
UKFast.Net Ltd

(t) 0870 111 8866
(f) 0870 458 4545

"The UK's Best Hosting Provider" ISPA Awards 2007, 2006 and 2005

Dedicated Servers - Managed Hosting - Domain Names- http://www.ukfast.net

UKFast.Net Ltd, City Tower, Piccadilly Plaza, Manchester, M1 4BT
Registered in England. Number 384 5616

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

Tom Diehl 12-26-2007 02:47 PM

w2k3 on Centos5-xen
 
On Mon, 24 Dec 2007, Chris Sarginson wrote:


Hi Tom,

The way to resolve this is to run virsh dumpxml $id > file.xml

edit file.xml at the relevant section to add in the ISO/cdrom path and then
run


virsh create file.xml


Thanks Chris,

Once I found the format of that file, it worked like a champ.

Is this a bug in virt-manager, I would think virt-manager should add this info
when you create a new vm but I am new at all of this virtual stuff so I could be
wrong.

Regards,

--
Tom Diehl tdiehl@rogueind.com Spamtrap address mtd123@rogueind.com



Kind regards

Chris Sarginson
Technical Support
UKFast.Net Ltd

(t) 0870 111 8866
(f) 0870 458 4545

"The UK's Best Hosting Provider" ISPA Awards 2007, 2006 and 2005

Dedicated Servers - Managed Hosting - Domain Names- http://www.ukfast.net

UKFast.Net Ltd, City Tower, Piccadilly Plaza, Manchester, M1 4BT
Registered in England. Number 384 5616

Tom Diehl wrote:

Hi,

I am trying to use virt-manager to setup a w2k3 domU. I have successfully
gotten a centos-5 domU running using cobbler and koan, but windows is not
cooperating. The windows installer boots and everything is fine up until
the point that the installer reboots the machine.

When the machine reboots into the graphical installer I get an error that
it can no longer find the media in the cdrom. Of course at that point I
have to abort the install because the only options are retry or cancel.

I do not know if it is important or not but when windows says it is going
to reboot, it actually shutsdown and I have to manually restart it.

The config file for the w2k3 domU looks like the following:

name = "w2k3"
uuid = "24375a2a-30d3-5b4e-1076-bc607f73c35e"
maxmem = 500
memory = 500
vcpus = 1
builder = "hvm"
kernel = "/usr/lib/xen/boot/hvmloader"
boot = "c"
pae = 1
acpi = 1
apic = 1
on_poweroff = "destroy"
on_reboot = "restart"
on_crash = "restart"
device_model = "/usr/lib64/xen/bin/qemu-dm"
sdl = 0
vnc = 1
vncunused = 1
disk = [ "phy:/dev/GEP0/w2k3,hda,w" ]
vif = [ "mac=00:16:3e:04:fd:03,bridge=xenbr0,type=ioem u" ]
serial = "pty"

(geppetto pts10) # rpm -qa | grep virt
libvirt-0.2.3-9.el5
libvirt-0.2.3-9.el5
virt-manager-0.4.0-3.el5
libvirt-python-0.2.3-9.el5
python-virtinst-0.103.0-3.el5.centos
(geppetto pts10) #

The above file is as created by virt-manager.

I have been looking through google for the last few hours but no joy.

Is virt-manager devel at a point where this is expected to work? If so, can
someone give me an idea what I am missing?

Regards,






_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools


All times are GMT. The time now is 08:21 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.