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@lists.xensource.com http://lists.xensource.com/xen-users
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). 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). 24.05.10, 12:16, "YAMAMOTO Takashi" <yamamoto@valinux.co.jp>:> 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@lists.xensource.com > http://lists.xensource.com/xen-users > >-- wBR,George. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
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@valinux.co.jp>: > >> 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@lists.xensource.com >> http://lists.xensource.com/xen-users >> >> > > -- > wBR,George. > > _______________________________________________ > 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
Or you could just point your web browser at the XCP host and access the console through the developer's page :). Vern Sent from my BlackBerry® wireless device from U.S. Cellular -----Original Message----- From: yamamoto@valinux.co.jp (YAMAMOTO Takashi) Date: Tue, 25 May 2010 10:13:56 To: <nge@narod.ru> Cc: <xen-users@lists.xensource.com> 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@valinux.co.jp>: > >> 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@lists.xensource.com >> http://lists.xensource.com/xen-users >> >> > > -- > wBR,George. > > _______________________________________________ > 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 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
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> > Vern > Sent from my BlackBerryI. wireless device from U.S. Cellular > > -----Original Message----- > From: yamamoto@valinux.co.jp (YAMAMOTO Takashi) > Date: Tue, 25 May 2010 10:13:56 > To: <nge@narod.ru> > Cc: <xen-users@lists.xensource.com> > 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@valinux.co.jp>: >> >>> 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@lists.xensource.com >>> http://lists.xensource.com/xen-users >>> >>> >> >> -- >> wBR,George. >> >> _______________________________________________ >> 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_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
2010/5/24 YAMAMOTO Takashi <yamamoto@valinux.co.jp>> 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 > >yes with some quick modifications it does work, looking for the email that explained it now> > > > Vern > > Sent from my BlackBerryョ wireless device from U.S. Cellular > > > > -----Original Message----- > > From: yamamoto@valinux.co.jp (YAMAMOTO Takashi) > > Date: Tue, 25 May 2010 10:13:56 > > To: <nge@narod.ru> > > Cc: <xen-users@lists.xensource.com> > > 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@valinux.co.jp>: > >> > >>> 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@lists.xensource.com > >>> http://lists.xensource.com/xen-users > >>> > >>> > >> > >> -- > >> wBR,George. > >> > >> _______________________________________________ > >> 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 > > _______________________________________________ > 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
2010/5/24 YAMAMOTO Takashi <yamamoto@valinux.co.jp>> 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 rightplace. 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@valinux.co.jp (YAMAMOTO Takashi) > > Date: Tue, 25 May 2010 10:13:56 > > To: <nge@narod.ru> > > Cc: <xen-users@lists.xensource.com> > > 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@valinux.co.jp>: > >> > >>> 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@lists.xensource.com > >>> http://lists.xensource.com/xen-users > >>> > >>> > >> > >> -- > >> wBR,George. > >> > >> _______________________________________________ > >> 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 > > _______________________________________________ > 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
On Mon, May 24, 2010 at 9:41 PM, Outback Dingo <outbackdingo@gmail.com>wrote:> > > 2010/5/24 YAMAMOTO Takashi <yamamoto@valinux.co.jp> > >> 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 >You could also install openxencenter, it provides for console also> >> > >> > Vern >> > Sent from my BlackBerryョ wireless device from U.S. Cellular >> > >> > -----Original Message----- >> > From: yamamoto@valinux.co.jp (YAMAMOTO Takashi) >> > Date: Tue, 25 May 2010 10:13:56 >> > To: <nge@narod.ru> >> > Cc: <xen-users@lists.xensource.com> >> > 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@valinux.co.jp>: >> >> >> >>> 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@lists.xensource.com >> >>> http://lists.xensource.com/xen-users >> >>> >> >>> >> >> >> >> -- >> >> wBR,George. >> >> >> >> _______________________________________________ >> >> 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 >> >> _______________________________________________ >> 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
Under 0.1.1, the web page stuff is in the wrong place, you have to copy it to the right directory for the developer's page to work. I don't have the info right in front of me, I'll look it up when I get to the office in the morning. Vern Sent from my BlackBerry® wireless device from U.S. Cellular _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
hi,> On Mon, May 24, 2010 at 9:41 PM, Outback Dingo <outbackdingo@gmail.com>wrote: > >> >> >> 2010/5/24 YAMAMOTO Takashi <yamamoto@valinux.co.jp> >> >>> 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/wwwthanks, it seems to work.> You could also install openxencenter, it provides for console alsoi''ve tried openxencenter but no luck. i got only the black console. it might or might not be related to our network configuration, which uses static nat between xcp and openxencenter. i guess i''ll try to avoid java/javascript/etc and stick with ssh+vncviewer. anyway, thanks! YAMAMOTO Takashi>> > >>> > Vern >>> > Sent from my BlackBerryI. wireless device from U.S. Cellular >>> > >>> > -----Original Message----- >>> > From: yamamoto@valinux.co.jp (YAMAMOTO Takashi) >>> > Date: Tue, 25 May 2010 10:13:56 >>> > To: <nge@narod.ru> >>> > Cc: <xen-users@lists.xensource.com> >>> > 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@valinux.co.jp>: >>> >> >>> >>> 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@lists.xensource.com >>> >>> http://lists.xensource.com/xen-users >>> >>> >>> >>> >>> >> >>> >> -- >>> >> wBR,George. >>> >> >>> >> _______________________________________________ >>> >> 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 >>> >>> _______________________________________________ >>> 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
2010/5/24 YAMAMOTO Takashi <yamamoto@valinux.co.jp>> hi, > > > On Mon, May 24, 2010 at 9:41 PM, Outback Dingo <outbackdingo@gmail.com > >wrote: > > > >> > >> > >> 2010/5/24 YAMAMOTO Takashi <yamamoto@valinux.co.jp> > >> > >>> 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 > > thanks, it seems to work. > > > You could also install openxencenter, it provides for console also > > i''ve tried openxencenter but no luck. i got only the black console. > it might or might not be related to our network configuration, which > uses static nat between xcp and openxencenter. > >and your sure you have all the python gtk and vnc modules, i used to get a black screen before they fixed it for ubuntu 10.4 was a gtk issue> i guess i''ll try to avoid java/javascript/etc and stick with ssh+vncviewer. > anyway, thanks! > > YAMAMOTO Takashi > > >> > > >>> > Vern > >>> > Sent from my BlackBerryョ wireless device from U.S. Cellular > >>> > > >>> > -----Original Message----- > >>> > From: yamamoto@valinux.co.jp (YAMAMOTO Takashi) > >>> > Date: Tue, 25 May 2010 10:13:56 > >>> > To: <nge@narod.ru> > >>> > Cc: <xen-users@lists.xensource.com> > >>> > 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@valinux.co.jp>: > >>> >> > >>> >>> 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@lists.xensource.com > >>> >>> http://lists.xensource.com/xen-users > >>> >>> > >>> >>> > >>> >> > >>> >> -- > >>> >> wBR,George. > >>> >> > >>> >> _______________________________________________ > >>> >> 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 > >>> > >>> _______________________________________________ > >>> 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
This is strange. I saw _at_least_ 5 vm at same time on VNC consoles (I am lazy and do not set up more then 5 tunneling). Check if all VM are running on same VM (use xe vm-start on=`hostname`), if VM is running on other VM (or started on other VM) it ''console'' avaible on other server. Note: When you using a xe vm-start without option ''on'', vm starting on any avaible host. [I don''t know how it selecting, I think, it''s a round robin or some kind of primitive load ballancing]. 25.05.10, 05:13, "YAMAMOTO Takashi" <yamamoto@valinux.co.jp>:> 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" : > > > >> 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@lists.xensource.com > >> http://lists.xensource.com/xen-users > >> > >> > > > > -- > > wBR,George. > > > > _______________________________________________ > > 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 > >-- wBR,George. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users