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] xm console domU

To: "Ferreira, N.L." <N.L.Ferreira@xxxxx>
Subject: Re: [Xen-users] xm console domU
From: christoffer@xxxxxxxxx
Date: Sun, 18 Jan 2009 17:04:09 +0100 (CET)
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sun, 18 Jan 2009 08:04:52 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
Importance: Normal
In-reply-to: <BF939566B5E30A428D214588D196C520903D0C@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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>
References: <BF939566B5E30A428D214588D196C520903D0C@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: SquirrelMail/1.4.16
Would a simple ssh to your domU do the trick?

Cheers,
/Chris

> Dear *
>
> Just starting to play a bit with this new world of virtualization.
> Installed a guest domain (Scientific Linux), either using xen-strap or
> virt-install.
> Till now, they seem to work just fine. Nevertheless, I have one question.
>
> After starting a guest domain with "xm create domainID" (see xen config
> file below), I connect to the console of domU with "xm console domainID".
> When working on linux, I usually open several console windows to perform
> different tasks. But if I try to connect to a 2nd console on the same
> domU,
> both consoles freeze. I noticed that the commands issued in one console do
> appear in the other console. A "who" command inside of the domU shows that
> only one device (port? I do know the syntax) is open (xvc0).
>
> How can I connect to  a console domU more than once,without problems?
> Probably is some variable on the xen config file, but after reading the
> manual I still could not figure it out.
>
> Cheers,
> Nuno
>
> P.S.(I) dom0 running SL 5.1, kernel 2.6.18-92.1.18.el5xen, xen hypervisor
> 3.0.3
> P.S.(II) The xen config file for a domU created with xen-strap :
>
> [root@tintin xinetd.d]# more /etc/xen/golden-client
> #
> # Configuration file for the Xen instance golden-client, created
> # by xen-strap  on Tue Dec 16 01:57:34 CET 2008 by using sample
> # Linux distribution for TARGET is sl47
> # xen-strap ver 0.10_28Aug2008
> # /opt/bin/xen-strap --swap=1024M --ntp -c --name=golden-client --dhcp
> --ssh
> #                    -g -b -i openssh-clients mc vi-minimal
> #
> --from=ftp://ftp.scientificlinux.org/linux/scientific/47/i386/SL/RPMS
> #                    --dist=sl47 lvm:enmr/golden-client:10G:ext3
> # short program name xen-strap
> #  Kernel + memory size
> #  Xen 3.0 config file
> #
> # Edited 14Jan09 by nunolf
>
> # Kernel image file and ramdisk
> kernel  = "/var/lib/xen-strap/golden-client/vmlinuz-2.6.9-78.0.1.ELxenU"
> ramdisk =
> "/var/lib/xen-strap/golden-client/initrd-2.6.9-78.0.1.ELxenU.img"
>
> # Memory size in megabytes.
> memory = 1024
> maxmem = 2048
>
> # Number of virtual CPUs.
> vcpus= 2
>
> # Disk device(s) the domain has access to
> root = "/dev/sda1 ro console=/dev/xvc0"
> disk = [ "phy:enmr/golden-client,sda1,w" ,
> "phy:enmr/golden-client-SWAP,sda2,w" ]
>
> # Domain name. All domains must have different names.
> name = "golden-client"
>
> #  Define network interfaces.
> vif = [ 'bridge=xenbr0' ]
>
>
>
>
>
> ==============================================
> Nuno Ricardo Santos Loureiro da Silva Ferreira
>
> NMR Spectroscopy Research Group
> Bijvoet Center for Biomolecular Research
> Utrecht University
> Bloembergen gebouw
> Padualaan 8, 3584 CH Utrecht
> The Netherlands
>
> P: +31.(0)30.253 9932
> F: +31.(0)30.253 2652
> E: n.l.ferreira@xxxxx
> W: http://nmr.chem.uu.nl
> ==============================================
>
> _______________________________________________
> 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

<Prev in Thread] Current Thread [Next in Thread>