WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Need an Idiot's Guide to Installing Xen & Libvirt on Ubu

To: xen-users@xxxxxxxxxxxxxxxxxxx, Jorge Armando Medina <jmedina@xxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] Need an Idiot's Guide to Installing Xen & Libvirt on Ubuntu 10.04
From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
Date: Tue, 4 May 2010 23:42:28 -0700 (PDT)
Cc:
Delivery-date: Tue, 04 May 2010 23:44:23 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1273041749; bh=rw1e9tLzU56QePVjwNomSSWcupnPbT+Gd+D0ZBAXeVc=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=Y4/XnG9P0HWVjJotG5ITuwFBd4DH9K2eOPrm1nHpkH1fp0JciZ4BuQMENK0GXOzGgihwwr0On+D3mpCSXD7v25dbmEusSGHUeNZmQ/mpj7GjNKlpsxbJiGD3FQ4+xNfW1B9g30YV1XU9L66WsFyfOWZa6XPC+rzbA5mhHyBoy3c=
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=roIkMFxYiibzWUsMoC43cU2RHoTFPdYWEPqawcN3nPx+vK8crUWjDkjyxZq2rQp+1nI5qD9xRhAPpYQpTB43yFCkVC17+WVMAnGscOVnCEwKlhILHYm03sLJJukdYqovfJqY0lIi3RX3G+PIn5ReXP/TLRsXQb7N2gXzqFOpbN8=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4BE091E2.6040209@xxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
> Can this be related to the fact that vnc console doesnt work?

You'll get the same on 9.10. I believe it's libvirt 0.7.5 regression.
Binary virt-viewer on 10.04 and 9.10 has exactly the same size.
Take a look a python script /usr/bin/virt-install.

Boris.

--- On Tue, 5/4/10, Jorge Armando Medina <jmedina@xxxxxxxxxxxxxxx> wrote:

From: Jorge Armando Medina <jmedina@xxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] Need an Idiot's Guide to Installing Xen & Libvirt on Ubuntu 10.04
To: xen-users@xxxxxxxxxxxxxxxxxxx
Date: Tuesday, May 4, 2010, 5:30 PM

Boris Derzhavets wrote:
> No,  virt-manager doesn't work on 10.04.
> Just virt-install works with option --connect xen:///  in command line
> , it's better than nothing. It creates proper entry in xenstore
> Variable |VIRSH_DEFAULT_CONNECT_URI|
> |    export ||VIRSH_DEFAULT_CONNECT_URI||="xen:///"|
> is understood only by virsh, so domains from "xm list" may be
> started via virsh, but "virsh list" is empty.
>
> At install :
> # virt-install --connect xen:///  -n DomName  -r 2048 .  .  .  .
> creates PV & HVM DomUs  and relaunches  VNC console.
>
> At runtime :
> # xm list
> # virsh start DomName
> # vncviewer localhost:0
>
Can this be related to the fact that vnc console doesnt work?

Tue, 04 May 2010 20:16:05 DEBUG Could not open "/etc/sysconfig/keyboard"
[Errno 2] No such file or directory: '/etc/sysconfig/keyboard'
Tue, 04 May 2010 20:16:05 DEBUG Could not open "/etc/X11/xorg.conf":
[Errno 2] No such file or directory: '/etc/X11/xorg.conf'

Best regards and thanks for your howtos :).
>
> I would remind that "xm new dom.cfg" fails on Ubuntu's.
>
> Obvious regression vs Ubuntu Server 9.10 (libvirt 0.7.0)
> Just as Solaris Nevada 3 years ago :)
>
> Boris.
> --- On *Tue, 5/4/10, listmail /<listmail@xxxxxxxxxxxx>/* wrote:
>
>
>     From: listmail <listmail@xxxxxxxxxxxx>
>     Subject: Re: [Xen-users] Need an Idiot's Guide to Installing Xen &
>     Libvirt on Ubuntu 10.04
>     To: "Boris Derzhavets" <bderzhavets@xxxxxxxxx>
>     Cc: "Xen User-List" <xen-users@xxxxxxxxxxxxxxxxxxx>
>     Date: Tuesday, May 4, 2010, 3:58 PM
>
>     This could be only partially related at best, but I think
>     virt-manager
>     also uses libvirt. I remember trying virt-manager on 10.04 and the
>     pvm
>     would disappear from the manager gui's list right after starting
>     it.  It
>     would be interesting to see if any of the steps in your guide has a
>     positive effect on that as well.
>
>     Boris Derzhavets wrote:
>     > Done on Ubuntu Server 10.04
>     >
>     >
>     http://bderzhavets.wordpress.com/2010/05/04/set-up-virt-install-to-work-with-xen-4-0-guests-on-top-of-ubuntu-10-04-server/
>     >
>     >
>     > --- On *Tue, 5/4/10, Boris Derzhavets /<bderzhavets@xxxxxxxxx
>     </mc/compose?to=bderzhavets@xxxxxxxxx>>/* wrote:
>     >
>     >
>     >     From: Boris Derzhavets <bderzhavets@xxxxxxxxx
>     </mc/compose?to=bderzhavets@xxxxxxxxx>>
>     >     Subject: Re: [Xen-users] Need an Idiot's Guide to Installing
>     Xen &
>     >     Libvirt on Ubuntu 10.04
>     >     To: "Tegger" <xen@xxxxxxxxx </mc/compose?to=xen@xxxxxxxxx>>,
>     "Fajar A. Nugraha" <fajar@xxxxxxxxx </mc/compose?to=fajar@xxxxxxxxx>>
>     >     Cc: "Xen User-List" <xen-users@xxxxxxxxxxxxxxxxxxx
>     </mc/compose?to=xen-users@xxxxxxxxxxxxxxxxxxx>>
>     >     Date: Tuesday, May 4, 2010, 5:17 AM
>     >
>     >     Sorry , right after Hardy Heron 8.04
>     >     No Xen Dom0 support in Ubuntu Servers 8.10,9.04,9.10,10.04
>     >
>     >     Regarding Libvirt&Virtinst  Xen Support :
>     >
>     >     1. Seems to be OK in 9.10
>     >     2. Seems to be broken in 10.04
>     >     View :-
>     >     http://lxer.com/module/newswire/view/135142/index.html
>     >
>     >     I might be missing something in 10.04, but virt-install fails to
>     >     launch VNC console
>     >     as it was in 9.10, regardless virt-viewer stays exactly the
>     same.
>     >     Install only (virtinst and python-virtinst)  does allow to run
>     >     virt-install for Xen 4.0 DomUs,
>     >     but vncviewer should be issued manually. DomU doesn't  restart
>     >     automatically
>     >     and requires:-
>     >     # virsh start DomainName
>     >     # vncviewer localhost:0
>     >
>     >     Submitting bug to launchpad doesn't make much sense. Xen support
>     >     dropped.
>     >     Libvirt 0.7.5 doesn't seem to  be properly working with Xen, i
>     >     mean virsh behavior
>     >     is strange. It does some things and some doesn't.
>     >
>     >
>     >     Boris.
>     >
>     >     --- On *Tue, 5/4/10, Boris Derzhavets
>     /<bderzhavets@xxxxxxxxx </mc/compose?to=bderzhavets@xxxxxxxxx>>/*
>     >     wrote:
>     >
>     >
>     >         From: Boris Derzhavets <bderzhavets@xxxxxxxxx
>     </mc/compose?to=bderzhavets@xxxxxxxxx>>
>     >         Subject: Re: [Xen-users] Need an Idiot's Guide to
>     Installing Xen
>     >         To: "Tegger" <xen@xxxxxxxxx
>     </mc/compose?to=xen@xxxxxxxxx>>, "Fajar A. Nugraha"
>     <fajar@xxxxxxxxx </mc/compose?to=fajar@xxxxxxxxx>>
>     >         Cc: "Xen User-List" <xen-users@xxxxxxxxxxxxxxxxxxx
>     </mc/compose?to=xen-users@xxxxxxxxxxxxxxxxxxx>>
>     >         Date: Tuesday, May 4, 2010, 4:57 AM
>     >
>     >         > The problem is that some versions of Ubuntu
>     >         Xen Dom0 support was dropped in 8.04 Hardy Heron.
>     >         Canonical likes KVM.
>     >
>     >         Boris.
>     >
>     >         --- On *Mon, 5/3/10, Fajar A. Nugraha /<fajar@xxxxxxxxx
>     </mc/compose?to=fajar@xxxxxxxxx>>/* wrote:
>     >
>     >
>     >             From: Fajar A. Nugraha <fajar@xxxxxxxxx
>     </mc/compose?to=fajar@xxxxxxxxx>>
>     >             Subject: Re: [Xen-users] Need an Idiot's Guide to
>     >             Installing Xen
>     >             To: "Tegger" <xen@xxxxxxxxx
>     </mc/compose?to=xen@xxxxxxxxx>>
>     >             Cc: "Xen User-List" <xen-users@xxxxxxxxxxxxxxxxxxx
>     </mc/compose?to=xen-users@xxxxxxxxxxxxxxxxxxx>>
>     >             Date: Monday, May 3, 2010, 11:07 PM
>     >
>     >             On Tue, May 4, 2010 at 5:15 AM, Tegger
>     <xen@xxxxxxxxx </mc/compose?to=xen@xxxxxxxxx>> wrote:
>     >             > whats about
>     >             >
>     >             > apt-get install xen.... ?
>     >
>     >             The problem is that some versions of Ubuntu (and
>     possibly
>     >             Debian)
>     >             doesn't have working Xen system, mainly due to lack of
>     >             working dom0
>     >             kernel. Boris' post is a good way to start on Ubuntu.
>     >
>     >             RHEL/Centos and opensuse users can simply use
>     bundled Xen
>     >             version,
>     >             which despite being not the latest, is sufficient
>     for most
>     >             server
>     >             usage scenario.
>     >
>     >             --
>     >             Fajar
>     >
>     >             _______________________________________________
>     >             Xen-users mailing list
>     >             Xen-users@xxxxxxxxxxxxxxxxxxx
>     </mc/compose?to=Xen-users@xxxxxxxxxxxxxxxxxxx>
>     >             http://lists.xensource.com/xen-users
>     >
>     >
>     >
>     >         -----Inline Attachment Follows-----
>     >
>     >         _______________________________________________
>     >         Xen-users mailing list
>     >         Xen-users@xxxxxxxxxxxxxxxxxxx
>     </mc/compose?to=Xen-users@xxxxxxxxxxxxxxxxxxx>
>     >         http://lists.xensource.com/xen-users
>     >
>     >
>     >
>     >     -----Inline Attachment Follows-----
>     >
>     >     _______________________________________________
>     >     Xen-users mailing list
>     >     Xen-users@xxxxxxxxxxxxxxxxxxx
>     </mc/compose?to=Xen-users@xxxxxxxxxxxxxxxxxxx>
>     >     </mc/compose?to=Xen-users@xxxxxxxxxxxxxxxxxxx
>     </mc/compose?to=Xen-users@xxxxxxxxxxxxxxxxxxx>>
>     >     http://lists.xensource.com/xen-users
>     >
>     >
>     >
>     ------------------------------------------------------------------------
>     >
>     > _______________________________________________
>     > Xen-users mailing list
>     > Xen-users@xxxxxxxxxxxxxxxxxxx
>     </mc/compose?to=Xen-users@xxxxxxxxxxxxxxxxxxx>
>     > http://lists.xensource.com/xen-users
>
>
>     _______________________________________________
>     Xen-users mailing list
>     Xen-users@xxxxxxxxxxxxxxxxxxx
>     </mc/compose?to=Xen-users@xxxxxxxxxxxxxxxxxxx>
>     http://lists.xensource.com/xen-users
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users


--
Jorge Armando Medina
Computación Gráfica de México
Web: http://www.e-compugraf.com
Tel: 55 51 40 72, Ext: 124
Email: jmedina@xxxxxxxxxxxxxxx
GPG Key: 1024D/28E40632 2007-07-26
GPG Fingerprint: 59E2 0C7C F128 B550 B3A6  D3AF C574 8422 28E4 0632



-----Inline Attachment Follows-----

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users