Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Xen: API

Connecting w/ VNC for initial VM install

 

 

Xen api RSS feed   Index | Next | Previous | View Threaded


winterfi at cisco

Dec 6, 2010, 11:59 AM

Post #1 of 3 (630 views)
Permalink
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 [at] Greencity0 ~]# xe vm-install
template="6da78c63-fe86-88ba-1881-4b45947ee450"
new-name-label="CentOS_5.5_64"

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

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

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

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

[root [at] Greencity0 ~]# 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 [at] Greencity0 ~]# xe vm-cd-add
vm=879e46d5-8e5c-9f5c-7ab5-92fb59515716 cd-name="SCSI 2:0:0:0" device=3

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

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

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

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

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

[root [at] Greencity0 ~]# list_domains

id | uuid | state

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

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


alberto at pesadilla

Dec 6, 2010, 2:16 PM

Post #2 of 3 (599 views)
Permalink
Re: Connecting w/ VNC for initial VM install [In reply to]

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 [at] cisco> 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 [at] Greencity0 ~]# xe vm-install
> template="6da78c63-fe86-88ba-1881-4b45947ee450"
> new-name-label="CentOS_5.5_64"
>
> 879e46d5-8e5c-9f5c-7ab5-92fb59515716
>
> [root [at] Greencity0 ~]# xe vbd-list
> vm-uuid=879e46d5-8e5c-9f5c-7ab5-92fb59515716 userdevice=0 params=uuid
> --minimal
>
> 6691a30b-5c88-9051-69f7-965882fb1aae
>
> [root [at] Greencity0 ~]# xe vbd-param-set
> uuid=6691a30b-5c88-9051-69f7-965882fb1aae bootable=false
>
> [root [at] Greencity0 ~]# 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 [at] Greencity0 ~]# xe vm-cd-add vm=879e46d5-8e5c-9f5c-7ab5-92fb59515716
> cd-name="SCSI 2:0:0:0" device=3
>
> [root [at] Greencity0 ~]# xe vbd-list
> vm-uuid=879e46d5-8e5c-9f5c-7ab5-92fb59515716 type=CD params=uuid --minimal
>
> 06b89744-8218-393b-1a0d-30b41eda3d01
>
> [root [at] Greencity0 ~]# xe vbd-param-set
> uuid=06b89744-8218-393b-1a0d-30b41eda3d01 bootable=true
>
> [root [at] Greencity0 ~]# xe vm-param-set
> uuid=879e46d5-8e5c-9f5c-7ab5-92fb59515716
> other-config:install-repository=cdrom
>
> [root [at] Greencity0 ~]# xe vm-start
> uuid=879e46d5-8e5c-9f5c-7ab5-92fb59515716
>
> [root [at] Greencity0 ~]# 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 [at] lists
> http://lists.xensource.com/mailman/listinfo/xen-api
>
>


bquiroz.work at gmail

Dec 7, 2010, 6:48 AM

Post #3 of 3 (598 views)
Permalink
Re: Connecting w/ VNC for initial VM install [In reply to]

El día 6 de diciembre de 2010 19:16, Alberto González Rodríguez
<alberto [at] pesadilla> 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 [at] cisco> 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 [at] Greencity0 ~]#  xe vm-install
>> template="6da78c63-fe86-88ba-1881-4b45947ee450"
>> new-name-label="CentOS_5.5_64"
>>
>> 879e46d5-8e5c-9f5c-7ab5-92fb59515716
>>
>> [root [at] Greencity0 ~]# xe vbd-list
>> vm-uuid=879e46d5-8e5c-9f5c-7ab5-92fb59515716 userdevice=0 params=uuid
>> --minimal
>>
>> 6691a30b-5c88-9051-69f7-965882fb1aae
>>
>> [root [at] Greencity0 ~]# xe vbd-param-set
>> uuid=6691a30b-5c88-9051-69f7-965882fb1aae bootable=false
>>
>> [root [at] Greencity0 ~]# 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 [at] Greencity0 ~]# xe vm-cd-add vm=879e46d5-8e5c-9f5c-7ab5-92fb59515716
>> cd-name="SCSI 2:0:0:0" device=3
>>
>> [root [at] Greencity0 ~]#  xe vbd-list
>> vm-uuid=879e46d5-8e5c-9f5c-7ab5-92fb59515716 type=CD params=uuid --minimal
>>
>> 06b89744-8218-393b-1a0d-30b41eda3d01
>>
>> [root [at] Greencity0 ~]# xe vbd-param-set
>> uuid=06b89744-8218-393b-1a0d-30b41eda3d01 bootable=true
>>
>> [root [at] Greencity0 ~]# xe vm-param-set
>> uuid=879e46d5-8e5c-9f5c-7ab5-92fb59515716
>> other-config:install-repository=cdrom
>>
>> [root [at] Greencity0 ~]#  xe vm-start
>> uuid=879e46d5-8e5c-9f5c-7ab5-92fb59515716
>>
>> [root [at] Greencity0 ~]# 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 [at] lists
>> http://lists.xensource.com/mailman/listinfo/xen-api
>>
>
>
> _______________________________________________
> xen-api mailing list
> xen-api [at] lists
> 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 [at] lists
http://lists.xensource.com/mailman/listinfo/xen-api

Xen api RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.