<b>Hi All,<br><br></b>I have been able to create host, vnet and VM, using CLI using attached template files. But I don't know how to access VMs.<br><br>I tried pinging ip address assigned to VM - 10.112.10.52. But, was not able to get any reply.<br>
Then I tried using vncviewer. <br><br>oneadmin@cadlab:~/Templates/vm_templates/Used> vncviewer 10.112.10.52<br>vncviewer: ConnectToTcpAddr: connect: No route to host<br>Unable to connect to VNC server<br><br><br>oneadmin@cadlab:~/Templates/vm_templates/Used> onehost list<br>
ID NAME RVM TCPU FCPU ACPU TMEM FMEM AMEM STAT<br> 0 cadlab 2 800 795 600 8G 3.4G 4G on<br><br>oneadmin@cadlab:~/Templates/vm_templates/Used> onevm list<br>
ID USER GROUP NAME STAT CPU MEM HOSTNAME TIME<br> 0 oneadmin oneadmin SUSEVM-2 runn 0 2G cadlab 00 07:21:04<br> 1 oneadmin oneadmin SUSEVM-2 runn 0 2G cadlab 00 02:34:05<br>
<br>oneadmin@cadlab:~/Templates/vm_templates/Used> onevnet list<br> ID USER GROUP NAME TYPE BRIDGE LEASES<br> 0 oneadmin oneadmin Public F eth0 2<br><br>oneadmin@cadlab:~/Templates/vm_templates/Used> onevm show 1<br>
VIRTUAL MACHINE 1 INFORMATION <br>ID : 1 <br>NAME : SUSEVM-2 <br>USER : oneadmin <br>
GROUP : oneadmin <br>STATE : ACTIVE <br>LCM_STATE : RUNNING <br>HOSTNAME : cadlab <br>START TIME : 01/18 19:24:13 <br>
END TIME : - <br>DEPLOY ID : one-1 <br><br>VIRTUAL MACHINE MONITORING <br>NET_TX : 3 <br>
NET_RX : 0 <br>USED MEMORY : 2097152 <br>USED CPU : 0 <br><br>PERMISSIONS <br>
OWNER : um- <br>GROUP : --- <br>OTHER : --- <br><br>VIRTUAL MACHINE TEMPLATE <br>
CONTEXT=[<br> HOSTNAME=SUSEVM-2,<br> TARGET=hdb ]<br>CPU=1<br>DISK=[<br> CLONE=YES,<br> DISK_ID=0,<br> IMAGE="SUSE 11.4",<br> IMAGE_ID=0,<br> READONLY=NO,<br> SAVE=NO,<br> SOURCE=/srv/cloud_3_2/one/var/images/ce4d6171723f9b1d0b0b49bafde1133e,<br>
TARGET=hda,<br> TYPE=DISK ]<br>FEATURES=[<br> ACPI=no ]<br>GRAPHICS=[<br> LISTEN=0.0.0.0,<br> PORT=5902,<br> TYPE=vnc ]<br>MEMORY=2048<br>NAME=one-1<br>NIC=[<br> BRIDGE=eth0,<br> IP=10.112.10.52,<br> MAC=02:00:0a:70:0a:34,<br>
NETWORK=Public,<br> NETWORK_ID=0,<br> VLAN=NO ]<br>OS=[<br> INITRD=/boot/initrd-xen,<br> KERNEL=/boot/vmlinuz-xen,<br> KERNEL_CMD="xencons=tty console=tty1",<br> ROOT=xvda2 ]<br>VMID=1<br><br>Am I doing something wrong?<br>
<br><b><br clear="all"></b><b><div><b>---------------------------- <br></b></div>Thanks & Regards<br><font color="#888888">Mohit Dhingra <br>+919611190435</font></b><br>