RE: [Fedora-xen] Running FC4 Guest on FC5
by In-Tuition Xen
Robert Mortimer scribbled on 13 April 2006 16:21:
>> Robert Mortimer scribbled on 13 April 2006 11:31:
>>> I can set up and run FC5 guests on FC5 but I want to run a FC4 guest
>>> under FC5 to trial zimbra. I have tried the FC4 howto and made a FC4
>>> image but I can't get to boot.
>>>
>>> The new xen config file seems to use a python bootloader and the old
>>> system references a kernel to use.
>>>
>>> Does the boot kernel for the guest have to reside on the host as
>>> well as the guest? Are there docs on the Python boot system?
>>
>> I'm currently doing this. I've got a couple of FC4 domU's running
>> on a FC5 dom0. You need the kernel image on the host (dom0) and the
>> guest (domU), and obviously entered in the xen config file.
>>
>> My domU's were actually built on a FC4 dom0 and then transferred
>> across once my FC5 dom0 was built so I don't know if the build
>> process is what's causing your problem.
>>
>> Matt.
>>
> Thanks Matt.
>
> I think I need to move the FC4 kernel image to the host (dom0) and
> then I will
> try the standard FC4 xen config (no pyboot). The new FC5 script is
> good because
> it lets you install live into a virtual machine rather than make an
> image and
> hope that it starts!.
>
> Robert
> PS are your images file based or partitions?
Hi Robert,
I've only been using xen in FC5 for a few days and haven't had time to
play around much so I'm not familiar with the new scripts. I created my
config files manually and just copied the domU's across along with the
kernel image.
My DomU's are file based because they do little IO and I find them
easier to manage this way. I did convert one to LVM just to check it
worked, and if I ever need the IO performance I'll take this route.
In case it helps, my domU xen configs look like (I've got two bridged
nics setup):
kernel ="/boot/vmlinuz-2.6.12.6-xen3_12.1_fc4"
memory = 128
name = "xendev"
vcpus = 2
vif = [ 'mac=FE:FD:25:63:74:49,bridge=xenbr0',
'mac=FE:FD:3D:49:28:26,bridge=xenbr1' ]
disk = ['file:/xenimages/xendev.img,sda1,w']
root = "/dev/sda1"
extra = "ro selinux=0 3"
Matt.
18 years, 1 month
RE: [Fedora-xen] Running FC4 Guest on FC5
by In-Tuition Xen
Robert Mortimer scribbled on 13 April 2006 11:31:
> I can set up and run FC5 guests on FC5 but I want to run a FC4 guest
> under FC5 to trial zimbra. I have tried the FC4 howto and made a FC4
> image but I can't get to boot.
>
> The new xen config file seems to use a python bootloader and the old
> system references a kernel to use.
>
> Does the boot kernel for the guest have to reside on the host as well
> as the guest?
> Are there docs on the Python boot system?
I'm currently doing this. I've got a couple of FC4 domU's running on a
FC5 dom0. You need the kernel image on the host (dom0) and the guest
(domU), and obviously entered in the xen config file.
My domU's were actually built on a FC4 dom0 and then transferred across
once my FC5 dom0 was built so I don't know if the build process is
what's causing your problem.
Matt.
18 years, 1 month
How to configure eth0 via xen config files
by Walter Souto
Hi,
I have one host with two guests. All of them are FC5 and working just
fine (since I don't have firewall enabled at the host). So, I was
wondering if there is a method to give the guest the IP (and
gateway/dns) when Xen boot the virtual machine. And if there's a way
to do this, how can I configure the guests to take the IP (and
gateway/dns)?
TIA,
--
Walter.
18 years, 1 month
Running FC4 Guest on FC5
by Robert Mortimer
I can set up and run FC5 guests on FC5 but I want to run a FC4 guest under
FC5 to trial zimbra. I have tried the FC4 howto and made a FC4 image but I
can't get to boot.
The new xen config file seems to use a python bootloader and the old system
references a kernel to use.
Does the boot kernel for the guest have to reside on the host as well as the
guest?
Are there docs on the Python boot system?
Any pointers welcome
Robert
18 years, 1 month
RE: [Fedora-xen] two fully virtualized systems crashing
by You, Yongkang
Em~. Sounds true.
"xm info" can show how large the memory Xen can recognize (total_memory) and how many free memory is left (free_memory) . I think the total_memory of your machine is only 2.5G. It means Xen can only know there is 2.5G memory, except you run a PAE enabled Xen.
Xen0 usually doesn't need too much memory. I suggest you can use 512M or 1024M.
Best Regards,
Yongkang (Kangkang) 永康
>-----Original Message-----
>From: Matthias Bayer [mailto:matbayer.web@web.de]
>Sent: 2006年4月13日 16:03
>To: sct(a)redhat.com; You, Yongkang
>Cc: fedora-xen(a)redhat.com
>Subject: RE: [Fedora-xen] two fully virtualized systems crashing
>
>OK - found the problem !
>setting my Dom0 memory with dom0_mem=2G as kernel parameter fixed the
>problem !!
>before i haven't specified anything - so if i understand it right all the memory
>would belong to Dom0 and every DomU that starts 'grabs' a bit until
>Dom0-min-mem is reached.
>so does this behaviour then indicate that something with balooning is
>buggy ??
>
>thanks Stephen and Yongkang for the help so far !
>Matthias
>
>> -----Ursprüngliche Nachricht-----
>> Von: "You, Yongkang" <yongkang.you(a)intel.com>
>> Gesendet: 13.04.06 09:35:54
>> An: "Stephen C. Tweedie" <sct(a)redhat.com>
>> CC: <fedora-xen(a)redhat.com>
>> Betreff: RE: [Fedora-xen] two fully virtualized systems crashing
>
>
>> Hi Matthias,
>>
>> >Mem: 3501056 684452 2816604 0 69520
>> I am not quite clear about the dom0 memory. Is it 3.5G?
>>
>> How large the memory apply to dom0? I mean how about dom0_mem=.
>>
>> Best Regards,
>> Yongkang (Kangkang) ÓÀ¿µ
>>
>> >-----Original Message-----
>> >From: fedora-xen-bounces(a)redhat.com
>> >[mailto:fedora-xen-bounces@redhat.com] On Behalf Of Matthias Bayer
>> >Sent: 2006Äê4ÔÂ13ÈÕ 15:30
>> >To: Stephen C. Tweedie
>> >Cc: fedora-xen(a)redhat.com
>> >Subject: RE: [Fedora-xen] two fully virtualized systems crashing
>> >
>> >
>> >
>> >I have 4 GB of RAM, each DomU has 512 MB and i only try to run 2
>> >windows DomU's !
>> >
>> > total used free shared buffers
>> >cached
>> >Mem: 3501056 684452 2816604 0 69520
>> >347260
>> >-/+ buffers/cache: 267672 3233384
>> >Swap: 2096440 0 2096440
>> >
>> >do i need to configure something elswhere to give the hypervisor more
>> >memory ?
>> >can i create any other debugs that may be helpful to find the problem ?
>> >
>> >regards,
>> >Matthias
>> >
>> >> Hi,
>> >>
>> >> On Wed, 2006-04-12 at 17:29 +0200, Matthias Bayer wrote:
>> >> >
>> >> > (0 of 1)XEN) DOM
>> >> > (XEN) Couldn't alloc shadow page! dom3 count=893o map I/O space
>> >> > 000f03
>> >> > (XEN) Shadow table counts: l1=0 l2=0 hl2=0
>> >>
>> >> This looks like the hypervisor ran out of memory. How much memory do
>> >> you have, and how much is being given to each domain?
>> >>
>> >> --Stephen
>> >>
>> >>
>> >
>> >
>>
>>____________________________________________________________
>__
>> >_
>> >SMS schreiben mit WEB.DE FreeMail - einfach, schnell und
>> >kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192
>> >
>> >--
>> >Fedora-xen mailing list
>> >Fedora-xen(a)redhat.com
>> >https://www.redhat.com/mailman/listinfo/fedora-xen
>
>
>______________________________________________________________
>_
>SMS schreiben mit WEB.DE FreeMail - einfach, schnell und
>kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192
18 years, 1 month
RE: [Fedora-xen] two fully virtualized systems crashing
by You, Yongkang
Hi Matthias,
>Mem: 3501056 684452 2816604 0 69520
I am not quite clear about the dom0 memory. Is it 3.5G?
How large the memory apply to dom0? I mean how about dom0_mem=.
Best Regards,
Yongkang (Kangkang) 永康
>-----Original Message-----
>From: fedora-xen-bounces(a)redhat.com
>[mailto:fedora-xen-bounces@redhat.com] On Behalf Of Matthias Bayer
>Sent: 2006年4月13日 15:30
>To: Stephen C. Tweedie
>Cc: fedora-xen(a)redhat.com
>Subject: RE: [Fedora-xen] two fully virtualized systems crashing
>
>
>
>I have 4 GB of RAM, each DomU has 512 MB and i only try to run 2
>windows DomU's !
>
> total used free shared buffers
>cached
>Mem: 3501056 684452 2816604 0 69520
>347260
>-/+ buffers/cache: 267672 3233384
>Swap: 2096440 0 2096440
>
>do i need to configure something elswhere to give the hypervisor more
>memory ?
>can i create any other debugs that may be helpful to find the problem ?
>
>regards,
>Matthias
>
>> Hi,
>>
>> On Wed, 2006-04-12 at 17:29 +0200, Matthias Bayer wrote:
>> >
>> > (0 of 1)XEN) DOM
>> > (XEN) Couldn't alloc shadow page! dom3 count=893o map I/O space
>> > 000f03
>> > (XEN) Shadow table counts: l1=0 l2=0 hl2=0
>>
>> This looks like the hypervisor ran out of memory. How much memory do
>> you have, and how much is being given to each domain?
>>
>> --Stephen
>>
>>
>
>
>______________________________________________________________
>_
>SMS schreiben mit WEB.DE FreeMail - einfach, schnell und
>kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192
>
>--
>Fedora-xen mailing list
>Fedora-xen(a)redhat.com
>https://www.redhat.com/mailman/listinfo/fedora-xen
18 years, 1 month
RE: [Fedora-xen] two fully virtualized systems crashing
by Matthias Bayer
I have 4 GB of RAM, each DomU has 512 MB and i only try to run 2 windows DomU's !
total used free shared buffers cached
Mem: 3501056 684452 2816604 0 69520 347260
-/+ buffers/cache: 267672 3233384
Swap: 2096440 0 2096440
do i need to configure something elswhere to give the hypervisor more memory ?
can i create any other debugs that may be helpful to find the problem ?
regards,
Matthias
> Hi,
>
> On Wed, 2006-04-12 at 17:29 +0200, Matthias Bayer wrote:
> >
> > (0 of 1)XEN) DOM
> > (XEN) Couldn't alloc shadow page! dom3 count=893o map I/O space
> > 000f03
> > (XEN) Shadow table counts: l1=0 l2=0 hl2=0
>
> This looks like the hypervisor ran out of memory. How much memory do
> you have, and how much is being given to each domain?
>
> --Stephen
>
>
_______________________________________________________________
SMS schreiben mit WEB.DE FreeMail - einfach, schnell und
kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192
18 years, 1 month
RE: [Fedora-xen] two fully virtualized systems crashing
by Matthias Bayer
Hi,
ok , now setup for serial console works fine, now here comes the output, hope somebody can help in interpreting ....
see attached xendebug.txt file.
hope for any help or suggestions!
regards,
Matthias
> -----Ursprüngliche Nachricht-----
> Von: "Stephen C. Tweedie" <sct(a)redhat.com>
> Gesendet: 12.04.06 17:02:39
> An: Alex.Upton(a)instinet.com
> CC: fedora-xen(a)redhat.com
> Betreff: RE: [Fedora-xen] two fully virtualized systems crashing
> Hi,
>
> On Wed, 2006-04-12 at 10:48 -0400, Alex.Upton(a)instinet.com wrote:
>
> > Most appreciated, Thanks!
> >
> > Don't suppose you have any docs or know where I can read up on multi-nic
> > setup? The documentaton on the official xen wiki leaves much to be
> > desired.
>
> Not offhand, sorry.
>
> --Stephen
>
> --
> Fedora-xen mailing list
> Fedora-xen(a)redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-xen
_______________________________________________________________
SMS schreiben mit WEB.DE FreeMail - einfach, schnell und
kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192
18 years, 1 month
... Please... Help Me!!
by Victor Mihalik
Hi People,
I've problems when I want to use a pci device within a guest machine. I
try modify grub.conf and put physdev_dom0_hide and pciback.hide in the
line of kernel and module but it does not happen anything.
Somebody knows the way to make this?
Thanks a lot
Victor
18 years, 1 month
How to use xenguest-install.py to install to LVM?
by Gregor Pirnaver
This is what I am doing:
# lvcreate -L32768 -nroot.webserver VolGroup00
# mkfs -t ext3 /dev/VolGroup00/root.webserver
# xenguest-install.py
What is the name of your virtual machine? webserver
How much RAM should be allocated (in megabytes)? 512
What would you like to use as the disk (path)? /dev/VolGroup00/root.webserver
What is the install location?
http://download.fedora.redhat.com/pub/fedora/linux/core/5/i386/os/
The problem is that Fedora installation doesn't treat
/dev/VolGroup00/root.webserver as a partion but like a whole disk. How can I
change this? Or how else should I do it?
BTW is there a way to mount "xvda" paritions?
____________________
http://www.email.si/
18 years, 1 month