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 connect to a VMs console

To: 'David Booher' <dbooher@xxxxxxxxx>, "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] XCP - how to connect to a VMs console
From: Dave Scott <Dave.Scott@xxxxxxxxxxxxx>
Date: Tue, 13 Apr 2010 22:50:32 +0100
Accept-language: en-US
Acceptlanguage: en-US
Cc:
Delivery-date: Tue, 13 Apr 2010 14:56:26 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <85A37FCC-96B9-438C-BE8B-C0C58F98E2B1@xxxxxxxxx>
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: <85A37FCC-96B9-438C-BE8B-C0C58F98E2B1@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcrbTsDvKiqD0Uc6Rfai1EQYdME6fwAA+L7w
Thread-topic: [Xen-users] XCP - how to connect to a VMs console
> This has probably been asked a million times.

:)

It's much harder than it needs to be. There's even a proposed Google summer of 
code project to make it simpler!

> I just installed the XCP iso image and it booted up fine.  I followed
> the Virtual Machine (pdf chapter 4) and setup a Debian Lenny vm using
> ftp.us.debian.com
>   as the repository.
> 
> All goes well, the machine is "running".  The next step says:  Connect
> to console.
> 
> Just how do you do that?  All the VM install steps just say...connect
> or VNC... How in the heck do you do this?
> 
> With xen, I would do a "xm console #" and then it would go right to
> the console.  This doesn't appear to be the case for the XCP iso.
> This is not well-documented.

You have several options:
1. install openxencenter on your workstation and point it at your XCP box
2. install xvp (www.xvpsource.org)
3. use the builtin web interface
4. use /usr/lib/xen/bin/xenconsole

For (3) there's a minor screwup in the 0.1.1 XCP dom0 filesystem. You can 
correct it by:
 mv /opt/xensource/www /opt/xensource/www.backup
 mv /opt/xensource/debug/www /opt/xensource/www
After that you can point your web-browser at your XCP's management IP address, 
login, select consoles and see consoles via the Java viewer.

For (4) [this is a bit of a hack] use 'list_domains' to find the domid of your 
debian lenny, use 'ps axf' to find the 'vncterm' process which is serving the 
console, kill the vncterm process and then use:
 /usr/lib/xen/bin/xenconsole <domid>

Cheers,
Dave

> 
> Any insight would be appreciated.
> 
> Thanks
> Dave
> 
> 
> _______________________________________________
> 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

<Prev in Thread] Current Thread [Next in Thread>