Hello, Testing an XCP system on CentOS from the iso installer. The CentOS has no GUI, and I cannot seem to connect to an HVM over VNC. Any suggestions? _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
Hello. El 03/01/13 11:54, Casey DeLorme escribió:> Testing an XCP system on CentOS from the iso installer. > > The CentOS has no GUI, and I cannot seem to connect to an HVM over VNC. > > Any suggestions?XenCenter executed on a separated machine is a good start. -- Alexandre Kouznetsov
On Thu, 3 Jan 2013 12:54:02 -0500 Casey DeLorme <cdelorme@gmail.com> wrote:> Hello, > > Testing an XCP system on CentOS from the iso installer. > > The CentOS has no GUI, and I cannot seem to connect to an HVM over VNC. > > Any suggestions?Hello, You should download the XenCenter client to connect to the server. Regards, Mark
Download the latest XenServer ISO and grab the latest XenCenter installer off of that. Then install XenCenter onto a Windows computer. On 1/3/2013 11:54 AM, Casey DeLorme wrote:> > Hello, > > Testing an XCP system on CentOS from the iso installer. > > The CentOS has no GUI, and I cannot seem to connect to an HVM over VNC. > > Any suggestions? > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xen.org > http://lists.xen.org/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
I have configured a virtual machine, and it boots but I cannot connect to it. I was specifically looking for something that didn''t rely on XenCenter. I tried openxenmanager but that doesn''t appear to work with the new XCP system. Are there any known workarounds. I know XCP is effectively XenServer "Free", but I want a method that uses linux utilities or at least doesn''t tie me to a GUI. On Thu, Jan 3, 2013 at 1:13 PM, admin@xenhive.com <admin@xenhive.com> wrote:> Download the latest XenServer ISO and grab the latest XenCenter > installer off of that. Then install XenCenter onto a Windows computer. > > > On 1/3/2013 11:54 AM, Casey DeLorme wrote: > > > Hello, > > Testing an XCP system on CentOS from the iso installer. > > The CentOS has no GUI, and I cannot seem to connect to an HVM over VNC. > > Any suggestions? > > > _______________________________________________ > Xen-users mailing listXen-users@lists.xen.orghttp://lists.xen.org/xen-users > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xen.org > http://lists.xen.org/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
There is the xe command line interface as well as a terminal menu system. I would recommend that you setup XenCenter first, just to get an idea of what is going on. Then look for another option. From: xen-users-bounces@lists.xen.org [mailto:xen-users-bounces@lists.xen.org] On Behalf Of Casey DeLorme Sent: Thursday, January 03, 2013 10:31 AM To: admin@xenhive.com Cc: xen-users@lists.xen.org Subject: Re: [Xen-users] XCP Question I have configured a virtual machine, and it boots but I cannot connect to it. I was specifically looking for something that didn't rely on XenCenter. I tried openxenmanager but that doesn't appear to work with the new XCP system. Are there any known workarounds. I know XCP is effectively XenServer "Free", but I want a method that uses linux utilities or at least doesn't tie me to a GUI. On Thu, Jan 3, 2013 at 1:13 PM, admin@xenhive.com <admin@xenhive.com> wrote: Download the latest XenServer ISO and grab the latest XenCenter installer off of that. Then install XenCenter onto a Windows computer. On 1/3/2013 11:54 AM, Casey DeLorme wrote: Hello, Testing an XCP system on CentOS from the iso installer. The CentOS has no GUI, and I cannot seem to connect to an HVM over VNC. Any suggestions? _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
Hello. El 03/01/13 12:30, Casey DeLorme escribió:> Are there any known workarounds. I know XCP is effectively XenServer > "Free", but I want a method that uses linux utilities or at least > doesn''t tie me to a GUI.I tried to use the same approach at first, but had to roll back to XenCenter. So far, every operation i had to perform in XenCenter seems to have it''s equivalence via command line. Right now I''m trying to create my own reference in form of a catalog of the common basic operations, and how to perform them from a console. If I can make a good cheatsheet form it, I''ll try to publish it on xen''s wiki. Around a year ago I''ve tried some "cloud orchestration" systems, CloudStack between others. Unsuccessful then. (BTW, my cluster ended up running Proxmox. Great stuff, but OpenVZ does not plays nice with Java. I miss Xen, looking forward to move back). Check http://wiki.xen.org/wiki/XCP_Management_Tools and http://wiki.xen.org/wiki/XCP_Projects , try things. Even if the don''t work, the developers need our feedback. I would definitely agree with Todd, XenCenter seems to be a very good start, at least to see what XCP can do and what it can''t. After a while, you will have a good notion of what to ask from a "bigger" management system. Greetings.
Many XCP folks hang out on the (badly named) xen-api@ list. On Thu, 2013-01-03 at 17:54 +0000, Casey DeLorme wrote:> The CentOS has no GUI, and I cannot seem to connect to an HVM over > VNC.The VNC server only listens on localhost for security reasons. http://wiki.xen.org/wiki/Xen_Cloud_Platform:_Access_to_VM_console (first hit on google for xcp console) Or you can find a vncproxy utility on the host somewhere (it used to be under /opt/xenserver/debug or something like that) which will proxy the vnc connection over the authenticate XenAPI channel. Ian.
I am not having any problems configuring the machines, the toolstack makes plenty of sense. The only problem I am facing is connecting a console to a running VM. For me the only gain of using XenCenter is that it would handle that connection. I am quite sure that it won''t provide me the information I need to connect to a VM without it, especially not for another platform like Linux or OS X (since XenCenter is a Windows application). I had spent a good number of hours on Google, and I had read that it was locked down, and was hoping there was a way to unlock it. I had read a guide for an older XCP version that mentioned modifying the listening address in a file in the /opt/xensource path, but after making that change and rebooting connections still did not work. The XCP platform installed without a GUI environment so connecting from localhost would involve adding a large number of software packages. I was hoping for another solution before I clobber the current environment trying to get Gnome or another Desktop Environment installed and running. I had read posts about the VNC being locked down, but I was hoping it was just a simple matter of adjusting a setting on the machine, such as changing the listening port. Supposedly older XCP versions allowed this by modifying the VNC configuration file in the /opt/xensource path, but I tried making that change and rebooting to no avail. I downloaded and have been reading the administration PDF''s from Citrix, so I am plenty familiar with the command line options. Sadly the term "VNC" only appears twice in that entire document. Thanks for the suggestions so far, and please keep me posted if anyone comes across a solution for opening up VNC to the outside. On Fri, Jan 4, 2013 at 4:14 AM, Ian Campbell <Ian.Campbell@citrix.com>wrote:> Many XCP folks hang out on the (badly named) xen-api@ list. > > On Thu, 2013-01-03 at 17:54 +0000, Casey DeLorme wrote: > > > > The CentOS has no GUI, and I cannot seem to connect to an HVM over > > VNC. > > The VNC server only listens on localhost for security reasons. > > http://wiki.xen.org/wiki/Xen_Cloud_Platform:_Access_to_VM_console > (first hit on google for xcp console) > > Or you can find a vncproxy utility on the host somewhere (it used to be > under /opt/xenserver/debug or something like that) which will proxy the > vnc connection over the authenticate XenAPI channel. > > Ian. > >_______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
> The XCP platform installed without a GUI environment so connecting > from localhost would involve adding a large number of software > packages.[...] I didn''t suggest you connect from localhost.> Thanks for the suggestions so far, and please keep me posted if anyone > comes across a solution for opening up VNC to the outside.Did you read the link I provided? It describes how to tunnel the VNC port to another machine using SSH (so no GUI or anything on the XCP host). Likewise vncproxy proxies the VNC port from your XCP machine to another one.> http://wiki.xen.org/wiki/Xen_Cloud_Platform:_Access_to_VM_console > (first hit on google for xcp console) > > Or you can find a vncproxy utility on the host somewhere (it > used to be > under /opt/xenserver/debug or something like that) which will > proxy the > vnc connection over the authenticate XenAPI channel. > > Ian. > > >
On Fri, Jan 4, 2013 at 6:54 AM, Ian Campbell <Ian.Campbell@citrix.com>wrote:> > The XCP platform installed without a GUI environment so connecting > > from localhost would involve adding a large number of software > > packages. > [...] > > I didn''t suggest you connect from localhost. > > Sorry, misled by my limited understanding of SSH.> Thanks for the suggestions so far, and please keep me posted if anyone > > comes across a solution for opening up VNC to the outside. > > Did you read the link I provided? It describes how to tunnel the VNC > port to another machine using SSH (so no GUI or anything on the XCP > host). Likewise vncproxy proxies the VNC port from your XCP machine to > another one. > > Forgive me, I had read that page before but did not understand the SSHcommand examples and since they contained 127.0.0.1 my immediate assumption was they are doing something on the localhost. Can you clarify this for me? If I run the following command (adjusting the port to match the dom-id off the 5900 range) from the machine I want to connect from it opens and forwards traffic from the XCP Server to the machine I am using? ssh -L 5901:127.0.0.1:5901 user@xcpserver-ip As for the VNC Proxy am I to understand it is a package? I had never heard of it before and the wording "Xen VNC Proxy" led me to believe it was a configuration option or utility that came with Xen and I had not found it yet. Thanks again, please let me know if I got that right. I will give both a try when I can access the system again.> http://wiki.xen.org/wiki/Xen_Cloud_Platform:_Access_to_VM_console > > (first hit on google for xcp console) > > > > Or you can find a vncproxy utility on the host somewhere (it > > used to be > > under /opt/xenserver/debug or something like that) which will > > proxy the > > vnc connection over the authenticate XenAPI channel. > > > > Ian. > > > > > > > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
On Fri, 2013-01-04 at 12:21 +0000, Casey DeLorme wrote:> > Can you clarify this for me? If I run the following command > (adjusting the port to match the dom-id off the 5900 range) from the > machine I want to connect from it opens and forwards traffic from the > XCP Server to the machine I am using? > > > ssh -L 5901:127.0.0.1:5901 user@xcpserver-ipThis is described in ssh(1). It will login to xcpserver-ip and bind 127.0.0.1:5901 (where 127.0.0.1 is resolved on xcpserver-ip) to 5091 on the client machine (the one you ran ssh on). Ian.
On Fri, Jan 4, 2013 at 4:31 AM, Ian Campbell <Ian.Campbell@citrix.com>wrote:> On Fri, 2013-01-04 at 12:21 +0000, Casey DeLorme wrote: > > > > > Can you clarify this for me? If I run the following command > > (adjusting the port to match the dom-id off the 5900 range) from the > > machine I want to connect from it opens and forwards traffic from the > > XCP Server to the machine I am using? > > > > > > ssh -L 5901:127.0.0.1:5901 user@xcpserver-ip > > This is described in ssh(1). It will login to xcpserver-ip and bind > 127.0.0.1:5901 (where 127.0.0.1 is resolved on xcpserver-ip) to 5091 on > the client machine (the one you ran ssh on). > > Ian. > >Another quick and easy way to have console access to your VMs is to download the XVP VM and import it. Start it up, run the configure and then browse to that IP with a web browser. I don''t use it for a lot but it''s solid code.> Grant McWilliams > http://grantmcwilliams.com/ > > Some people, when confronted with a problem, think "I know, I''ll use > Windows." > Now they have two problems. >_______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users