[one-users] how to control VM when it is running.
Khoa Nguyen
vankhoa011 at gmail.com
Thu Mar 3 20:13:29 PST 2011
Hj Zaina AFOULKI
I can't ping VM from the node and the frontend.
I don't understand. I just create a vitual network, after deploy a VM on
host.
Let me try your way.
Thanks.
On Thu, Mar 3, 2011 at 6:47 PM, Zaina AFOULKI <zaina.afoulki at ensi-bourges.fr
> wrote:
> Hi Khoa,
>
> I had the same issues sometime back, so I have a hole list of things you
> could try out (it should keep you busy for some time) :
>
> - Are you able to ping the VM from the node? the frontend?
>
> - Your eth0 inet addr is 172.29.70.137, so could you try adding another
> vnet in which the leases are some free addresses within the same C class
> LEASES=[ IP=172.29.70.138 ]
> LEASES=[ IP=172.29.70.139 ]
> then run a VM on this new VNet...
>
> - Just to make sure that your network setup is correct, could you try
> following this guide [2] to create a bridge interface over eth0, then
> create another vnet in which BRIDGE = br0.
>
> - Also, try installing virt-manager[1] on the node computer, and add
> this to your VM template
> RAW = [ type = "kvm",
> data = "<devices><serial type=\"pty\"><source
> path=\"/dev/pts/5\"/><target port=\"0\"/></serial><console type=\"pty\"
> tty=\"/dev/pts/5\"><source path=\"/dev/pts/5\"/><target
> port=\"0\"/></console><graphics type=\"vnc\" port=\"5901\"
> autoport=\"yes\"/></devices>" ]
>
> virt-manager will list any running VMs and will let you open a console
> on the VM to make sure it was assigned the correct IP address.
>
> Oh, and though I like the name "Open netbula" and find it hilarious :) I
> think it's rather called OpenNebula [3]
>
> [1] http://virt-manager.et.redhat.com/screenshots.html
> [2] http://wiki.libvirt.org/page/Networking#Debian.2FUbuntu_Bridging
> [3] http://www.opennebula.org/about:referencing
>
> Regards,
>
> --
> Zaina
>
> On 03/03/2011 03:43 AM, Khoa Nguyen wrote:
> > 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
> >>>
> >>>
> >>
> >
> >
> >
> > _______________________________________________
> > Users mailing list
> > Users at lists.opennebula.org
> > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
> --
> Zaina
> _______________________________________________
> 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/20110304/cfba52a9/attachment-0003.htm>
More information about the Users
mailing list