Mark Schneider
2011-Oct-10 23:51 UTC
[Xen-users] XCP 1.1.0 - how to use VNC for installing guest domains?
Hello,
Is it required to install an additional VNC server on XCP 1.1.0 dom0 box
(ip 192.168.1.50)to get access to VNC-windows for installing domU guests?
As I don''t use m$ / XenCenter so I need VNC for installation of new
guests.
The VM is running (s. below) *but* I was not able to open VNC window to
continue the installation (s. error message further below)
# ---
uuid ( RO) : 491d40ac-6b71-03db-f7c8-0d9b05124808
name-label ( RW): ubuntu
power-state ( RO): running
Error message
# ---
ironm@debian:~$ vncviewer 192.168.1.50
VNC Viewer Free Edition 4.1.1 for X - built Mar 10 2010 22:31:05
Copyright (C) 2002-2005 RealVNC Ltd.
See http://www.realvnc.com for information on VNC.
Tue Oct 11 01:36:37 2011
main: unable to connect to host: No route to host (113)
Open ports
# ---
m@debian:~$ nmap 192.168.1.50
Starting Nmap 5.00 ( http://nmap.org ) at 2011-10-11 01:30 CEST
Interesting ports on 192.168.1.50:
Not shown: 996 filtered ports
PORT STATE SERVICE
22/tcp open ssh
80/tcp open http
443/tcp open https
631/tcp closed ipp
# ---
What do I miss? Thank you in advance for any hints.
regards, Mark
ps. my steps for creating of the new VM
# ---
xe vm-list
xe template-list
xe vm-install new-name-label=ubuntu
template-uuid=19435692-4c50-928b-f92b-ff893a7e4c14
xe vm-param-set uuid=491d40ac-6b71-03db-f7c8-0d9b05124808
name-description="Ubuntu-test-VM"
other-config:install-repository="http://archive.ubuntu.com/ubuntu/"
xe vm-param-add uuid=491d40ac-6b71-03db-f7c8-0d9b05124808
param-name=other-config ''auto_poweron: true''
xe vm-start uuid=491d40ac-6b71-03db-f7c8-0d9b05124808
--
ms@it-infrastrukturen.org
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
Todd Deshane
2011-Oct-11 03:26 UTC
Re: [Xen-users] XCP 1.1.0 - how to use VNC for installing guest domains?
On Mon, Oct 10, 2011 at 7:51 PM, Mark Schneider <ms@it-infrastrukturen.org> wrote:> Hello, > > Is it required to install an additional VNC server on XCP 1.1.0 dom0 box (ip > 192.168.1.50)to get access to VNC-windows for installing domU guests? >See: http://wiki.xen.org/xenwiki/Xen_Cloud_Platform%3A_Access_to_VM_console> As I don''t use m$ / XenCenter so I need VNC for installation of new guests. >See also: http://wiki.xen.org/xenwiki/XCP_Projects (maybe OpenXenManager could work for you?) Hope that helps. Thanks, Todd -- Todd Deshane http://www.linkedin.com/in/deshantm http://www.xen.org/products/cloudxen.html http://runningxen.com/ _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Mike McClurg
2011-Oct-11 12:49 UTC
Re: [Xen-users] XCP 1.1.0 - how to use VNC for installing guest domains?
On 11/10/11 00:51, Mark Schneider wrote:> Hello, > > Is it required to install an additional VNC server on XCP 1.1.0 dom0 box > (ip 192.168.1.50)to get access to VNC-windows for installing domU guests? >No, it''s not necessary. XCP starts vncservers for each running VM (including domain 0). I''ve attached a script that I use for attaching vnc clients to VMs. The script assumes that you have root ssh access to the host. I''ll upload this script to the wiki page that Todd pointed you to earlier. Mike _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
M. Schneider
2011-Oct-11 19:27 UTC
Re: [Xen-users] XCP 1.1.0 - how to use VNC for installing guest domains?
Am 11.10.2011 05:26, schrieb Todd Deshane:> On Mon, Oct 10, 2011 at 7:51 PM, Mark Schneider > <ms@it-infrastrukturen.org> wrote: > >> Is it required to install an additional VNC server on XCP 1.1.0 dom0 box (ip >> 192.168.1.50)to get access to VNC-windows for installing domU guests? >> > See: > http://wiki.xen.org/xenwiki/Xen_Cloud_Platform%3A_Access_to_VM_console > > >> As I don''t use m$ / XenCenter so I need VNC for installation of new guests. >> > See also: > > http://wiki.xen.org/xenwiki/XCP_Projects > (maybe OpenXenManager could work for you?) > > > Hope that helps. > > Thanks, > Todd >Thank you very much Todd. I can open now vncviewer window according to wiki pages or a script from Mike McClurg. I have some other issues like troubles with recognizing of network interface (I use bonded interfaces in dom0) during trial net-install of ubuntu however I should address them separately on the xen-users list. Regards, Mark _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
M. Schneider
2011-Oct-11 19:35 UTC
Re: [Xen-users] XCP 1.1.0 - how to use VNC for installing guest domains?
Am 11.10.2011 14:49, schrieb Mike McClurg:> On 11/10/11 00:51, Mark Schneider wrote: > >> Is it required to install an additional VNC server on XCP 1.1.0 dom0 box >> (ip 192.168.1.50)to get access to VNC-windows for installing domU guests? >> > No, it''s not necessary. XCP starts vncservers for each running VM > (including domain 0). I''ve attached a script that I use for attaching > vnc clients to VMs. The script assumes that you have root ssh access to > the host. > > I''ll upload this script to the wiki page that Todd pointed you to earlier. > > Mike >Thank you very much Mike. Your script is working perfectly. I have some other issues, however I will report them separately to the xen-users list. E.g. when I try to start the same VM again (after breaking the first try to install) I am getting the following error (even it is a net-install and there shouldn''t be any disk image due to my understanding): # --- [root@xcp-dev01 ~]# xe vm-start uuid=462614f1-5a4d-6fe2-6e74-141c2a9c3721 Error code: WARNING: /dev/xvda is not a disk image Error parameters: Traceback (most recent call last):, File "/usr/bin/pygrub", line 746, in ?, raise RuntimeError, "Unable to find partition containing kernel", RuntimeError: Unable to find partition containing kernel, Regards, Mark _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users