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-api

Re: [Xen-API] Connecting w/ VNC for initial VM install

To: "Phil Winterfield (winterfi)" <winterfi@xxxxxxxxx>
Subject: Re: [Xen-API] Connecting w/ VNC for initial VM install
From: Alberto González Rodríguez <alberto@xxxxxxxxxxxxx>
Date: Mon, 6 Dec 2010 23:16:48 +0100
Cc: xen-api@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 06 Dec 2010 14:17:05 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <38AD81989214D54EB5F20C69477AF6C10D1DDD60@xxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
References: <38AD81989214D54EB5F20C69477AF6C10D1DDD60@xxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
You can use some client (xencenter, openxenmanager, xenwebmanager) 

Else you can do a "port forward" with ssh to connect to port 590X (you can see opened ports with netstat -lnp|grep vncterm)

On Mon, Dec 6, 2010 at 8:59 PM, Phil Winterfield (winterfi) <winterfi@xxxxxxxxx> wrote:

This is my first time attempting to install a Linux guest instance from the DVD-rom drive on an XCP-1.0 server.  My question is: what is the standard method for connecting a VNC client to the VM for the first time when doing an install from DVD?

 

Thanks,

Phil

 

[root@Greencity01 ~]#  xe vm-install template="6da78c63-fe86-88ba-1881-4b45947ee450" new-name-label="CentOS_5.5_64"

879e46d5-8e5c-9f5c-7ab5-92fb59515716

[root@Greencity01 ~]# xe vbd-list vm-uuid=879e46d5-8e5c-9f5c-7ab5-92fb59515716 userdevice=0 params=uuid --minimal

6691a30b-5c88-9051-69f7-965882fb1aae

[root@Greencity01 ~]# xe vbd-param-set uuid=6691a30b-5c88-9051-69f7-965882fb1aae bootable=false

[root@Greencity01 ~]# xe cd-list

uuid ( RO)          : b43d75b0-5bdd-4e17-9775-635f0b9e45e9

    name-label ( RW): SCSI 2:0:0:0

 

 

uuid ( RO)          : e695e98e-cf18-4982-b3e4-64f765a26cba

    name-label ( RW): xs-tools.iso

 

[root@Greencity01 ~]# xe vm-cd-add vm=879e46d5-8e5c-9f5c-7ab5-92fb59515716 cd-name="SCSI 2:0:0:0" device=3

[root@Greencity01 ~]#  xe vbd-list vm-uuid=879e46d5-8e5c-9f5c-7ab5-92fb59515716 type=CD params=uuid --minimal

06b89744-8218-393b-1a0d-30b41eda3d01

[root@Greencity01 ~]# xe vbd-param-set uuid=06b89744-8218-393b-1a0d-30b41eda3d01 bootable=true

[root@Greencity01 ~]# xe vm-param-set uuid=879e46d5-8e5c-9f5c-7ab5-92fb59515716 other-config:install-repository=cdrom

[root@Greencity01 ~]#  xe vm-start uuid=879e46d5-8e5c-9f5c-7ab5-92fb59515716

[root@Greencity01 ~]# list_domains

id |                                 uuid |  state

 0 | cf80c23f-33d0-4f81-a426-d5943e6d1804 |     R

 4 | 879e46d5-8e5c-9f5c-7ab5-92fb59515716 |    B 

 


_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api


_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api
<Prev in Thread] Current Thread [Next in Thread>