Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Ubuntu Server Development (http://www.linux-archive.org/ubuntu-server-development/)
-   -   KVM pending of xen console (http://www.linux-archive.org/ubuntu-server-development/200771-kvm-pending-xen-console.html)

Lionel Porcheron 11-27-2008 10:05 AM

KVM pending of xen console
 
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I'm looking at replacing some of my Xen instance with kvm. One of the
thing I found usefull with Xen was the "xm console" commands which show
a tty console. I did not find the same feature with KVM (unless I use
virt-manager with vnc). Did I missed something or this feature is not in
KVM?

Thanks!

Lionel
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkkuftoACgkQ5DXvknyEePyUcgCgmWnH4gJFvq JExH68r1AtJxHY
IfQAoLIYwKR3VP5FCZUFAzkABHUTmGQ3
=lhCm
-----END PGP SIGNATURE-----

--
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam

Soren Hansen 11-27-2008 11:31 AM

KVM pending of xen console
 
On Thu, Nov 27, 2008 at 12:05:04PM +0100, Lionel Porcheron wrote:
> I'm looking at replacing some of my Xen instance with kvm. One of the
> thing I found usefull with Xen was the "xm console" commands which
> show a tty console. I did not find the same feature with KVM (unless I
> use virt-manager with vnc). Did I missed something or this feature is
> not in KVM?

IIRC, the version in Intrepid supports this. You need to set up a serial
console and configure the guest to use it.

http://libvirt.org/formatdomain.html#elementsConsole

--
Soren Hansen |
Virtualisation specialist | Ubuntu Server Team
Canonical Ltd. | http://www.ubuntu.com/
--
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam

Dave Walker 11-27-2008 03:33 PM

KVM pending of xen console
 
Soren Hansen wrote:
> On Thu, Nov 27, 2008 at 12:05:04PM +0100, Lionel Porcheron wrote:
>
>> I'm looking at replacing some of my Xen instance with kvm. One of the
>> thing I found usefull with Xen was the "xm console" commands which
>> show a tty console. I did not find the same feature with KVM (unless I
>> use virt-manager with vnc). Did I missed something or this feature is
>> not in KVM?
>>
>
> IIRC, the version in Intrepid supports this. You need to set up a serial
> console and configure the guest to use it.
>
> http://libvirt.org/formatdomain.html#elementsConsole
>
>
Soren is indeed correct, this does work - however you also need to setup
the guest to present a console to serial [0]. KVM's tty is displayed as
a VNC display, and Xen's is a pty. However, a serial console is
arguably as good - and I quite like having the ability to have
ssh->serial console, and the ability to VNC. You can use "screen" as a
serial console client with "$ screen /dev/pts/3" (or whatever the serial
is present as in your host).

[0] https://help.ubuntu.com/community/SerialConsoleHowto

Kind Regards,
Dave Walker

--
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam

Lionel Porcheron 11-27-2008 04:07 PM

KVM pending of xen console
 
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dave Walker a écrit :
> Soren Hansen wrote:
>> On Thu, Nov 27, 2008 at 12:05:04PM +0100, Lionel Porcheron wrote:
>>
>>> I'm looking at replacing some of my Xen instance with kvm. One of the
>>> thing I found usefull with Xen was the "xm console" commands which
>>> show a tty console. I did not find the same feature with KVM (unless I
>>> use virt-manager with vnc). Did I missed something or this feature is
>>> not in KVM?
>>>
>> IIRC, the version in Intrepid supports this. You need to set up a serial
>> console and configure the guest to use it.
>>
>> http://libvirt.org/formatdomain.html#elementsConsole
>>
>>
> Soren is indeed correct, this does work - however you also need to setup
> the guest to present a console to serial [0]. KVM's tty is displayed as
> a VNC display, and Xen's is a pty. However, a serial console is
> arguably as good - and I quite like having the ability to have
> ssh->serial console, and the ability to VNC. You can use "screen" as a
> serial console client with "$ screen /dev/pts/3" (or whatever the serial
> is present as in your host).
>
> [0] https://help.ubuntu.com/community/SerialConsoleHowto
>

Oh thanks, I was missing the whole picture and the screen hint! Thanks!
Soren, do you think it would be feasible to add the serial console
definition in xml file build with vmbuilder by default?

Cheers,

Lionel

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkku07QACgkQ5DXvknyEePynLQCcD+/sPf/iP23UHPqcrhejjN/5
HdIAn1lIqw8m2omfF//tdqe2I8xd4Dx+
=wz6e
-----END PGP SIGNATURE-----

--
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam

Nick Barcet 11-27-2008 04:42 PM

KVM pending of xen console
 
Lionel Porcheron wrote:
> Oh thanks, I was missing the whole picture and the screen hint! Thanks!
> Soren, do you think it would be feasible to add the serial console
> definition in xml file build with vmbuilder by default?

I personally think it would be a great idea. Could you open a bug for
it so that it is not forgotten?

Thanks a lot,
Nick

--
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam

Lionel Porcheron 11-27-2008 04:54 PM

KVM pending of xen console
 
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Nick,

Nick Barcet a écrit :
> Lionel Porcheron wrote:
>> Oh thanks, I was missing the whole picture and the screen hint! Thanks!
>> Soren, do you think it would be feasible to add the serial console
>> definition in xml file build with vmbuilder by default?
>
> I personally think it would be a great idea. Could you open a bug for
> it so that it is not forgotten?
>
> Thanks a lot,
> Nick
>

Reported as #302880:
https://bugs.launchpad.net/ubuntu/+source/vm-builder/+bug/302880

Cheers,

Lionel
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkku3rsACgkQ5DXvknyEePz8YwCggx55xCrq0l 236/hR6qVD2Qwl
5oEAni8iqttQbJ48s1D/P9RjtrxCZODI
=951m
-----END PGP SIGNATURE-----

--
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam


All times are GMT. The time now is 02:54 PM.

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