[one-users] how to control VM when it is running.

Khoa Nguyen vankhoa011 at gmail.com
Wed Mar 2 18:43:41 PST 2011


Hi
I create VM follow the link:
http://opennebula.org/documentation:rel2.0:vmg

Some imformation about KVM computer
eth0      Link encap:Ethernet  HWaddr 00:25:b3:ca:c5:c7
          inet addr:172.29.70.137  Bcast:172.29.70.255  Mask:255.255.255.0
          inet6 addr: fe80::7859:25ff:fefb:fdd8/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:7403 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4109 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:10418270 (10.4 MB)  TX bytes:348200 (348.2 KB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:118 errors:0 dropped:0 overruns:0 frame:0
          TX packets:118 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:10156 (10.1 KB)  TX bytes:10156 (10.1 KB)

peth0     Link encap:Ethernet  HWaddr 00:25:b3:ca:c5:c7
          inet6 addr: fe80::225:b3ff:feca:c5c7/64 Scope:Link
          UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
          RX packets:7440 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4072 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:10525578 (10.5 MB)  TX bytes:343196 (343.1 KB)
          Interrupt:26 Base address:0x2000

vnet0     Link encap:Ethernet  HWaddr 46:ba:de:6d:d3:f5
          inet6 addr: fe80::44ba:deff:fe6d:d3f5/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:500
          RX bytes:0 (0.0 B)  TX bytes:2314 (2.3 KB)

Open netbula:

oneadmin1 at oneadmin-desktop:/home/oneadmin$ onevm show 0
VIRTUAL MACHINE 0
INFORMATION
ID             : 0
NAME           : ttylinux
STATE          : ACTIVE
LCM_STATE      : RUNNING
START TIME     : 02/26 04:43:44
END TIME       : -
DEPLOY ID:     : one-0

VIRTUAL MACHINE
MONITORING
NET_TX         : 0
NET_RX         : 0
USED MEMORY    : 65536
USED CPU       : 0

VIRTUAL MACHINE
TEMPLATE
CPU=0.1
DISK=[
  DISK_ID=0,
  READONLY=no,
  SOURCE=/srv/cloud/ttylinux/ttylinux.img,
  TARGET=hda ]
FEATURES=[
  ACPI=no ]
MEMORY=64
NAME=ttylinux
NIC=[
  BRIDGE=eth0,
  IP=192.168.0.5,
  MAC=02:00:c0:a8:00:05,
  NETWORK=Small network,
  NETWORK_ID=0 ]
VMID=0

Vitual network

oneadmin1 at oneadmin-desktop:/home/oneadmin$ onevnet show 0
VIRTUAL NETWORK 0
INFORMATION
ID:       : 0
UID:      : 0
PUBLIC    : N

VIRTUAL NETWORK
TEMPLATE
BRIDGE=eth0
LEASES=[ IP=192.168.0.5 ]
LEASES=[ IP=192.168.0.6 ]
LEASES=[ IP=192.168.0.7 ]
NAME=Small network
TYPE=FIXED

LEASES
INFORMATION
LEASE=[ IP=192.168.0.5, MAC=02:00:c0:a8:00:05, USED=1, VID=0 ]
LEASE=[ IP=192.168.0.6, MAC=02:00:c0:a8:00:06, USED=0, VID=-1 ]
LEASE=[ IP=192.168.0.7, MAC=02:00:c0:a8:00:07, USED=0, VID=-1 ]



I try ssh 192.168.0.5 from open netbula but don't access. What's wrong?
Thanks.
On Wed, Mar 2, 2011 at 10:29 PM, Tino Vazquez <tinova79 at gmail.com> wrote:

> Hi,
>
> Please read the question "My VM is running but I get no answer from
> pings, what's wrong?" at the community FAQ [1].
>
> Regards,
>
> -Tino
>
> [1] http://opennebula.org/documentation:community:faq
>
> --
> Constantino Vázquez Blanco | dsa-research.org/tinova
> Virtualization Technology Engineer / Researcher
> OpenNebula Toolkit | opennebula.org
>
>
>
> On Wed, Mar 2, 2011 at 4:18 PM, Khoa Nguyen <vankhoa011 at gmail.com> wrote:
> > Hi guys!
> >
> > I have two computer.
> >
> > The computer is installed open netbula. IP address: 172.29.70.136
> >
> > The computer is installed Kvm . Ip address: 172.29.30.137
> >
> > I have deploy a VM . It 's running state.Ip address 192.168.0.5
> >
> > Vitual network:
> > Lease : 192.168.0.5
> > Lease : 192.168.0.6
> > Lease : 192.168.0.7
> >
> > How to control VM . I try to access VM by ssh from computer install open
> > netbula but don't success . Help me??
> > Thank for advance.^^
> >
> > _______________________________________________
> > Users mailing list
> > Users at lists.opennebula.org
> > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20110303/e065397c/attachment-0003.htm>


More information about the Users mailing list