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: Alberto González Rodríguez <alberto@xxxxxxxxxxxxx>
Subject: Re: [Xen-API] Connecting w/ VNC for initial VM install
From: Boris Quiroz <bquiroz.work@xxxxxxxxx>
Date: Tue, 7 Dec 2010 11:48:11 -0300
Cc: "Phil Winterfield \(winterfi\)" <winterfi@xxxxxxxxx>, xen-api@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 07 Dec 2010 07:17:27 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=bugo75XMONozjyHDC/lX6NU3izNaKtYnJde/bczry7M=; b=vU9NT5f+2fXj9wGpcjQcPAUYUfT5OEtDsBtNvsis0Ju+K/qovYpqiv9oe4GNqIVhPP tIvHhupQZodxrHes7ol9t4oOIKuzsyzN/wV6y0MHVjIzFBN08viMespJHnayiQmW3X+z Uuy3W8av1j25hbl06VOAdDiml3kB6JmqmqWas=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=clbhCSpb7/I4bxjLiYGQmcJFct8cCm9RWjJcmnlceJUGx11VmORI2iw6KO7on24gEi HwrHxRZhHgVJOnfTaTkIcSzdJ3pwt1YtwAiJhFTVp1B9MAk2l+4w0pFU42XVe/GZ9fCp KaIYmWCvBRTVj89H2NNZUe7FrGJm6+CCAF1/w=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTi=RmEyeoQeB+OTVuy2vRAruyessscjwUc50eWov@xxxxxxxxxxxxxx>
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> <AANLkTi=RmEyeoQeB+OTVuy2vRAruyessscjwUc50eWov@xxxxxxxxxxxxxx>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
El día 6 de diciembre de 2010 19:16, Alberto González Rodríguez
<alberto@xxxxxxxxxxxxx> escribió:
> 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
>
>

Maybe this link could be useful to you. It's in Spanish but explain
the process of vnc connection using port forwarding. Could not be the
best way but it works.

http://tinyurl.com/2526wry

Cheers.

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

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