Re: [Fedora-xen] Xen Not Displayed in Boot Menu

2012-06-27 Thread Jerry Amundson
On Sat, Jun 9, 2012 at 6:37 AM, Pasi Kärkkäinen  wrote:
> On Fri, Jun 08, 2012 at 12:00:44AM -0700, sorabh hamirwasia wrote:
>>    Hi,
>>    I have installed "Xen" on Fedora16 host using "yum install xen" command
>>    and it has been installed properly. I can see the changes in
>>    /etc/grub2.cfg file too. But when I reboot then the entry for Xen is not
>>    listed in the boot menu. On further analyzing I found that in
>>    /etc/grub.conf there is no entry related to Xen. Do we need to modify
>>    grub.conf manually ? If yes then how to do that. ?
>>    Please help me with this.
>
> You can tweak the Xen hypervisor cmdline options in:
> /etc/default/grub file, like this:
>
> GRUB_DEFAULT="Xen"

The only thing I see in fc17 (also) is a
set default="Xen"
line in /boot/grub2/grub.cfg

I've been waiting, hoping, and did a fresh install of Fedora 17, then
"yum install xen", in anticipation (again) of Fedora/Xen/dom0 boot
magic.
Disappointment.

Thanks anyway,
jerry
--
xen mailing list
xen@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/xen

Re: [Fedora-xen] Prolbem booting domU

2012-06-27 Thread Lars Bjørndal
On Sun, Jun 24, 2012 at 09:58:24PM +0100, M A Young wrote:
> On Sun, 24 Jun 2012, Lars Bjørndal wrote:
> 
> >I've installed a domU with virt-install on Fedora 16 i686. Now, maybe
> >after some yum updates on the dom0, I can't boot it. I start it with
> >`virsh start fedora --consol', and the output is as follows. What's the
> >problem here?
> 
> It looks like the Fedora 16 equivalent of bug 834671
> https://bugzilla.redhat.com/show_bug.cgi?id=834671
> 
> Try a 3.4 kernel (I think the latest Fedora 16 kernel is 3.4.2).

Yes, `uname -r' on dom0 gives 3.4.2-1.fc16.i686.PAE. However, I still
have the same issue. However, I can boot another domU, which has the
kernel 3.3.5-2.fc16.i686.PAE installed. Strange.

Lars
--
xen mailing list
xen@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/xen

Re: [Fedora-xen] provisioning virtual machines

2012-06-27 Thread Bill Davidsen

Arindam Choudhury wrote:

Hi,

I am trying to provision virtual machines  to create a virtual machine 
cluster. If I try to transfer a pre-build virtual machine, its too time 
consuming and hard on network. So the idea of using bootstrap or kickstart 
seems better. Can any body point a good tutorial how to do this?


Actually I have a master image and I have to copy it on all the nodes and 
create virtual machines. Is there any other way to do it?


Not having done such a thing with xen, I can only say that you can do it with 
kvm, starting with a base image and making multiple copy on write (COW) machines 
which pretty much create instantly and take only as much disk space as the 
changed data. I would hope the xen tools would support a similar approach, but I 
can't tell you how to do it. Roll out of a name machine is five minutes or so, 
start the new VM with a fresh MAC address so your DHCP server gives it a unique 
IP, set the name and services and go.


I present this since you asked, not as a recommendation to do it the way I do...

Regards,
Arindam


--
xen mailing list
xen@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/xen



--
Bill Davidsen 
  We are not out of the woods yet, but we know the direction and have
taken the first step. The steps are many, but finite in number, and if
we persevere we will reach our destination.  -me, 2010


--
xen mailing list
xen@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/xen

Re: [Fedora-xen] dom0 free memory and grub2

2012-06-27 Thread Konrad Rzeszutek Wilk
On Wed, Jun 27, 2012 at 06:11:39PM +0200, Arindam Choudhury wrote:
> Hi,
> I tried doing that but it failed
> #cat /etc/default/grub
>   GRUB_TIMEOUT=5
>   GRUB_DISTRIBUTOR="Fedora"
>   GRUB_DEFAULT=saved
>   GRUB_CMDLINE_LINUX="rd.md=0 rd.lvm=0 rd.dm=0 SYSFONT=True rd.luks=0
> KEYTABLE=es
>   LANG=en_US.UTF-8 rhgb"
>   GRUB_CMDLINE_XEN= "dom0_mem=2G,max:2G"
 ^
Why do you have a space there?
--
xen mailing list
xen@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/xen

Re: [Fedora-xen] dom0 free memory and grub2

2012-06-27 Thread Arindam Choudhury
Hi,
I tried doing that but it failed
#cat /etc/default/grub
  GRUB_TIMEOUT=5
  GRUB_DISTRIBUTOR="Fedora"
  GRUB_DEFAULT=saved
  GRUB_CMDLINE_LINUX="rd.md=0 rd.lvm=0 rd.dm=0 SYSFONT=True rd.luks=0
KEYTABLE=es
  LANG=en_US.UTF-8 rhgb"
  GRUB_CMDLINE_XEN= "dom0_mem=2G,max:2G"
  #GRUB_THEME="/boot/grub2/themes/system/theme.txt"
# grub2-mkconfig -o /boot/grub2/grub.cfg
  /etc/default/grub: line 5: dom0_mem=2G,max:2G: command not found


On Wed, Jun 27, 2012 at 5:56 PM, Konrad Rzeszutek Wilk <
konrad.w...@oracle.com> wrote:

> On Wed, Jun 27, 2012 at 05:58:56PM +0200, Arindam Choudhury wrote:
> > Hi,
> >
> > I have installed xen on fedora 17 using yum.
> >
> > I have the well known problem on dom0
> >
> > total_memory   : 6075
> > free_memory: 644
> >
> > I know I have to set dom0_mem=*XXX*G,max:*XXX*G and by recover the memory
> > released. link<
> http://blog.xen.org/index.php/2012/04/30/do%EF%BB%BFm0-memory-where-it-has-not-gone/
> >
> >
> > But how to do it with grub2?
>
> Edit /etc/default/grub and re-run grub-mkconfig -o /boot/grub2/grub.cfg
>
> >
> > Thanks,
> > Arindam
>
> > --
> > xen mailing list
> > xen@lists.fedoraproject.org
> > https://admin.fedoraproject.org/mailman/listinfo/xen
>
>
--
xen mailing list
xen@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/xen

Re: [Fedora-xen] dom0 free memory and grub2

2012-06-27 Thread Konrad Rzeszutek Wilk
On Wed, Jun 27, 2012 at 05:58:56PM +0200, Arindam Choudhury wrote:
> Hi,
> 
> I have installed xen on fedora 17 using yum.
> 
> I have the well known problem on dom0
> 
> total_memory   : 6075
> free_memory: 644
> 
> I know I have to set dom0_mem=*XXX*G,max:*XXX*G and by recover the memory
> released. 
> link
> 
> But how to do it with grub2?

Edit /etc/default/grub and re-run grub-mkconfig -o /boot/grub2/grub.cfg

> 
> Thanks,
> Arindam

> --
> xen mailing list
> xen@lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/xen

--
xen mailing list
xen@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/xen

[Fedora-xen] dom0 free memory and grub2

2012-06-27 Thread Arindam Choudhury
Hi,

I have installed xen on fedora 17 using yum.

I have the well known problem on dom0

total_memory   : 6075
free_memory: 644

I know I have to set dom0_mem=*XXX*G,max:*XXX*G and by recover the memory
released. 
link

But how to do it with grub2?

Thanks,
Arindam
--
xen mailing list
xen@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/xen

Re: [Fedora-xen] [Xen-users] provisioning virtual machine

2012-06-27 Thread Arindam Choudhury
I am using xen hypervisor in fedora 17. I want to use LVM storage for domU.

On Wed, Jun 27, 2012 at 5:12 PM, Joseph Hom  wrote:

>  What Xen are you using? OS? XCP? XenServer?
>
> ** **
>
> Also what storage are you using?
>
> ** **
>
> *From:* xen-users-boun...@lists.xen.org [mailto:
> xen-users-boun...@lists.xen.org] *On Behalf Of *Arindam Choudhury
> *Sent:* Wednesday, June 27, 2012 5:42 AM
> *To:* xen users
> *Subject:* [Xen-users] provisioning virtual machine
>
> ** **
>
> Hi,
>
> I am trying to provision virtual machines  to create a virtual machine
> cluster. If I try to transfer a pre-build virtual machine, its too time
> consuming and hard on network. So the idea of using bootstrap or kickstart
> seems better. Can any body point a good tutorial how to do this?
>
> Actually I have a master image and I have to copy it on all the nodes and
> create virtual machines. Is there any other way to do it?
>
> Regards,
> Arindam 
>
--
xen mailing list
xen@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/xen

Re: [Fedora-xen] provisioning virtual machines

2012-06-27 Thread Arindam Choudhury
Thanks for your kind reply.

What will be the packages I should install to create a minimal fedora
system which i will be able to run sun jdk.

I never used kick-start so a bit confused.

On Wed, Jun 27, 2012 at 1:45 PM, Pasi Kärkkäinen  wrote:

> On Wed, Jun 27, 2012 at 02:45:02PM +0300, Pasi Kärkkäinen wrote:
> > On Wed, Jun 27, 2012 at 12:41:06PM +0200, Arindam Choudhury wrote:
> > >Hi,
> > >
> > >I am trying to provision virtual machines  to create a virtual
> machine
> > >cluster. If I try to transfer a pre-build virtual machine, its too
> time
> > >consuming and hard on network. So the idea of using bootstrap or
> kickstart
> > >seems better. Can any body point a good tutorial how to do this?
> > >
> > >Actually I have a master image and I have to copy it on all the
> nodes and
> > >create virtual machines. Is there any other way to do it?
> > >
> >
> > A bit old but:
> > http://wiki.xen.org/xenwiki/Fedora13Xen4Tutorial
> >
> > The stuff about installing VMs still applies to current Fedora versions.
> >
>
> Oh, and of course you can pass a kickstart script for the domU installer
> so the installation is automatic.
>
> -- Pasi
>
>
--
xen mailing list
xen@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/xen

Re: [Fedora-xen] provisioning virtual machines

2012-06-27 Thread Pasi Kärkkäinen
On Wed, Jun 27, 2012 at 02:45:02PM +0300, Pasi Kärkkäinen wrote:
> On Wed, Jun 27, 2012 at 12:41:06PM +0200, Arindam Choudhury wrote:
> >Hi,
> > 
> >I am trying to provision virtual machines  to create a virtual machine
> >cluster. If I try to transfer a pre-build virtual machine, its too time
> >consuming and hard on network. So the idea of using bootstrap or 
> > kickstart
> >seems better. Can any body point a good tutorial how to do this?
> > 
> >Actually I have a master image and I have to copy it on all the nodes and
> >create virtual machines. Is there any other way to do it?
> > 
> 
> A bit old but:
> http://wiki.xen.org/xenwiki/Fedora13Xen4Tutorial
> 
> The stuff about installing VMs still applies to current Fedora versions.
> 

Oh, and of course you can pass a kickstart script for the domU installer so the 
installation is automatic.

-- Pasi

--
xen mailing list
xen@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/xen

Re: [Fedora-xen] provisioning virtual machines

2012-06-27 Thread Pasi Kärkkäinen
On Wed, Jun 27, 2012 at 12:41:06PM +0200, Arindam Choudhury wrote:
>Hi,
> 
>I am trying to provision virtual machines  to create a virtual machine
>cluster. If I try to transfer a pre-build virtual machine, its too time
>consuming and hard on network. So the idea of using bootstrap or kickstart
>seems better. Can any body point a good tutorial how to do this?
> 
>Actually I have a master image and I have to copy it on all the nodes and
>create virtual machines. Is there any other way to do it?
> 

A bit old but:
http://wiki.xen.org/xenwiki/Fedora13Xen4Tutorial

The stuff about installing VMs still applies to current Fedora versions.

-- Pasi

--
xen mailing list
xen@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/xen

[Fedora-xen] provisioning virtual machines

2012-06-27 Thread Arindam Choudhury
Hi,

I am trying to provision virtual machines  to create a virtual machine
cluster. If I try to transfer a pre-build virtual machine, its too time
consuming and hard on network. So the idea of using bootstrap or kickstart
seems better. Can any body point a good tutorial how to do this?

Actually I have a master image and I have to copy it on all the nodes and
create virtual machines. Is there any other way to do it?

Regards,
Arindam
--
xen mailing list
xen@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/xen