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@uu.nl W: http://nmr.chem.uu.nl ============================================= _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Fri, Jan 16, 2009 at 5:56 PM, Ferreira, N.L. <N.L.Ferreira@uu.nl> wrote:> 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. >The xen guest console is a very limited console, basically a serial-style console. It only supports one virtual console. Probably the best work arounds would be to use different tools that allow for multiple consoles. For example, SSH on the domU is a good option. Hope that helps. Cheers, Todd -- Todd Deshane http://todddeshane.net http://runningxen.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi Todd Yes it helps. I was not aware of the xen domU console "only supports one virtual console". Cheers, Nuno =============================================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@uu.nl W: http://nmr.chem.uu.nl ============================================= _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
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@uu.nl > W: http://nmr.chem.uu.nl > =============================================> > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users