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] XCP: how to use console?

To: YAMAMOTO Takashi <yamamoto@xxxxxxxxxxxxx>
Subject: Re: [Xen-users] XCP: how to use console?
From: Outback Dingo <outbackdingo@xxxxxxxxx>
Date: Mon, 24 May 2010 21:41:11 -0400
Cc: nge@xxxxxxxx, vburke@xxxxxxxx, xen-users@xxxxxxxxxxxxxxxxxxx, xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 24 May 2010 18:43:28 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=gWFSBWut4HuB6omN5K+N0+HezsbL981WuJhVSU8+0Wo=; b=Ojn08ZRtkAGJipTAj+JLu/KtYlcJBJjkyLD1n3zOkgScU83UWmvI5NIuptHuJLtYyj EzAeKBC++HmHX6KLiUIUOoSqzSepHr8YZ0sHbwvm7PDz72z4ynmgMVe/lpjaZMHCzkZM Zy8mGFCwVPwmqC8REbgkir+ttTRQ4KGWV5LGk=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=EOGSXM/yu1be919VCuHAgJhrwzHcGUL+ez09cda8ejhTwofP2QSyGMxqmLkM21CzFs O7R8+6V7ERCT8gZoS4p1Y3/QKWDDeQB9Or1BoVxMO5zTL9bBJSAETTy+76Q+yGaJSPac U1sHc637x7ohluyqK/qkKqLcGp40rCXGcLNvg=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20100525013255.B73E671910@xxxxxxxxxxxxxxxx>
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: <677935377-1274750644-cardhu_decombobulator_blackberry.rim.net-84725345-@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <20100525013255.B73E671910@xxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx


2010/5/24 YAMAMOTO Takashi <yamamoto@xxxxxxxxxxxxx>
hi,

> Or you could just point your web browser at the XCP host and access the console through the developer's page :).

i heard that it used to work with the previous versions.
does it work with xcp 0.1.1 as well?  as far as i tried, it didn't.

YAMAMOTO Takashi

5. XCP  0.1.1 doesn't put the host's debug web site stuff back in the right place. If you install or upgrade to 0.1.1 and connect to the host, you get a page with two XenServer links and nothing else. To restore the debug stuff so you can use the virtual machine console functionality, do the following:

mv /opt/xensource/www /opt/xensource/www.old
ln -s /opt/xensource/debug/www /opt/xensource/www

 
>
> Vern
> Sent from my BlackBerryョ wireless device from U.S. Cellular
>
> -----Original Message-----
> From: yamamoto@xxxxxxxxxxxxx (YAMAMOTO Takashi)
> Date: Tue, 25 May 2010 10:13:56
> To: <nge@xxxxxxxx>
> Cc: <xen-users@xxxxxxxxxxxxxxxxxxx>
> Subject: Re: [Xen-users] XCP: how to use console?
>
> hi,
>
>> You need use an ssh tunneling from localhost to you machine.
>>
>> When VM starts it's serial console binding by vncterm to localhost:590X port (you can see it by netstat -l). If you tunnels those ports you can access it by VNC client (n.b. not all vnc displays data correctly, in my case I use tkvnc).
>
> thanks, it seems to work in some extent.  (i tried with vncviewer)
>
> a question; i see only 2 listening ports while i have 3 vm running
> on the host.  is it normal?
>
> another question; which port is for which vm?
>
> [root@s1 ~]# xe vm-list|grep running
>     power-state ( RO): running
>     power-state ( RO): running
>     power-state ( RO): running
> [root@s1 ~]# netstat -l|grep 590
> tcp        0      0 localhost:5900              *:*                         LISTEN
> tcp        0      0 localhost:5901              *:*                         LISTEN
> [root@s1 ~]#
>
>>
>> As alternative you can use /usr/lib/xen/bin/xenconsole X from xcp host shell, but it really buggly. (X is 0, 1,2,3,...etc).
>
> it segfaulted for me, sure. :-)
>
> YAMAMOTO Takashi
>
>>
>> 24.05.10, 12:16, "YAMAMOTO Takashi" <yamamoto@xxxxxxxxxxxxx>:
>>
>>> hi,
>>>
>>>  i'm trying to create a Debian Lenny 5.0 vm.
>>>  after i run xe vm-install and xe vm-start,
>>>  the vm is shown as "running" by xe vm-list.
>>>  now i have a question; how can i use its console?
>>>
>>>  https://thehost/console doesn't seem to work.  (it says "not found".)
>>>  i'm using xcp 0.1.1 (build20719)
>>>
>>>  if it matters, the following is the exact commands i executed.
>>>
>>>  [root@s1 ~]# xe vm-install template="Debian Lenny 5.0" new-name-label=xxx sr-uuid=ce71910c-c34a-e5fb-e911-c08c633d5406
>>>  4f92b7db-2596-cb95-d585-654a4c545ddd
>>>  [root@s1 ~]# xe vm-param-set uuid=4f92b7db-2596-cb95-d585-654a4c545ddd other-config:install-repository=http://ftp.debian.org/debian
>>>  [root@s1 ~]# xe vm-start uuid=4f92b7db-2596-cb95-d585-654a4c545ddd
>>>  [root@s1 ~]#
>>>
>>>  YAMAMOTO Takashi
>>>
>>>  _______________________________________________
>>>  Xen-users mailing list
>>>  Xen-users@xxxxxxxxxxxxxxxxxxx
>>>  http://lists.xensource.com/xen-users
>>>
>>>
>>
>> --
>> wBR,George.
>>
>> _______________________________________________
>> 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

_______________________________________________
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