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

[Xen-users] XCP 1.0 beta : NOOB: how do i log into a newly created VM?

To: <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] XCP 1.0 beta : NOOB: how do i log into a newly created VM?
From: "Joe Linoff" <jlinoff@xxxxxxxxxx>
Date: Thu, 2 Dec 2010 21:02:12 -0800
Cc: Joe Linoff <jlinoff@xxxxxxxxxx>
Delivery-date: Thu, 02 Dec 2010 21:03:41 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcuSpz9Rxib+bj9WQJmoZfxsXL2ZIA==
Thread-topic: XCP 1.0 beta : NOOB: how do i log into a newly created VM?

Hi:

 

Sorry for the basic NOOB question but I managed to create a VM but now I am stuck. On page 26 of the XCP Virtual Machine Installation Guide it says “VNC and perform the OS installation”. I tried everything I could find (listed below) but I am stuck. Any help would be greatly appreciated. Thanks in advance.

 

Here are two questions whose answers would really help:

 

1.      What is the IP address of my VM? I tried “xe vm-list params=all” but didn’t see it.

2.      How can I log into my VM?

 

I created the VM on my XCP host using the following commands:

 

% xe template-list -s 10.45.2.100 -pw test | grep -B 1 'CentOS 5.5'

% xe vm-install template='CentOS 5.5 (64-bit)' new-name-label='vm001' -s 10.45.2.100 -pw test

% xe network-list -s 10.45.2.100 -pw test

% xe network-list bridge=xenbr0 --minimal -s 10.45.2.100 -pw test

% xe vif-create \

       network-uuid=8d77c968-f362-befa-fc57-92d63d656e1d \

       vm-uuid=0409c60f-d209-1105-e884-9a25dd238430 \

       device=0  \

       -s 10.45.2.100 -pw test

% cp -v /net-install/centos/5.5/isos.DVD/CentOS-5.5-x86_64-bin-DVD/CentOS-5.5-x86_64-bin-DVD-*.iso /opt/tcc/master/http/iso

% mkdir -p /mnt/CentOS-5.5-x86_64-bin-DVD-1of2

% mount -o loop /opt/tcc/master/http/iso/CentOS-5.5-x86_64-bin-DVD-1of2.iso /mnt/CentOS-5.5-x86_64-bin-DVD-1of2

% cp -p -r /mnt/CentOS-5.5-x86_64-bin-DVD-1of2 /opt/tcc/master/http/os

% xe vm-param-set \

       uuid=0409c60f-d209-1105-e884-9a25dd238430 \

       other-config:install-repository=http://10.45.2.1/tcc/os/CentOS-5.5-x86_64-bin-DVD-1of2 \

       -s 10.45.2.100 -pw test

% xe vm-start uuid=0409c60f-d209-1105-e884-9a25dd238430 -s 10.45.2.100 -pw test

% xe vm-list -s 10.45.2.100 -pw test

uuid ( RO)           : f32bcb5b-f55f-419a-8d08-7f9d1b3f0833

     name-label ( RW): Control domain on host: tcc-lab-2-xcp01

    power-state ( RO): running

 

uuid ( RO)           : 0409c60f-d209-1105-e884-9a25dd238430

     name-label ( RW): vm001

    power-state ( RO): running

 

At this point it appears that everything is working but I don’t know what to do next. I tried the following to access via VNC

 

% ssh -X -L 5901:127.0.0.1:5901 -L 5902:127.0.0.1:5902 -L 5999:127.0.0.1:5999 root@xxxxxxxxxxx

% xe vm-list uuid=0409c60f-d209-1105-e884-9a25dd238430 params=dom-id

% xenstore-ls /local/domain/1/serial/0

limit = "65536"

tty = "/dev/pts/2"

vncterm-pid = "19363"

vnc-port = "5901"

 

With that information I tried “vncviewer –listen 5901” and “vncviewer localhost:5901”. Neither command worked.

 

Thank you,

 

Joe

 

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users