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

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

To: <xen-api@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-API] Connecting w/ VNC for initial VM install
From: "Phil Winterfield (winterfi)" <winterfi@xxxxxxxxx>
Date: Mon, 6 Dec 2010 11:59:45 -0800
Authentication-results: sj-iport-2.cisco.com; dkim=neutral (message not signed) header.i=none
Cc: "Phil Winterfield \(winterfi\)" <winterfi@xxxxxxxxx>
Delivery-date: Mon, 06 Dec 2010 12:00:28 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
Importance: low
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>
Priority: Non-Urgent
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcuVgCDjNBYH/RzIQs2BBEiQEBXCvg==
Thread-topic: Connecting w/ VNC for initial VM install

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
<Prev in Thread] Current Thread [Next in Thread>