[one-users] ping between VMs on different hosts ?
Justin Cinkelj
justin.cinkelj at xlab.si
Wed Apr 25 04:22:52 PDT 2012
Hi
Can you connect to the kvm virtual console with virtviewer (e.g., not
with sunstone)?
On 04/25/2012 10:54 AM, Valerio Schiavoni wrote:
> Hello Justin,
>
>
> On Wed, Apr 25, 2012 at 1:36 AM, Justin Cinkelj
> <justin.cinkelj at xlab.si <mailto:justin.cinkelj at xlab.si>> wrote:
>
> You can still connect to VNC console (kvm ... -vnc 0.0.0.0:34100
> <http://0.0.0.0:34100> ...).
> Something like 'vncviewer 192.168.128.100::34100'. Or maybe is
> port 34100+5900. Check with netstat on which ports does kvm proces
> listen.
>
>
> On sunstone.log I see:
>
> Wed Apr 25 10:47:15 2012 [I]: Starting vnc proxy:
> /usr/share/one/noVNC/utils/websockify 39876 newcluster-0:10000
> Wed Apr 25 10:47:15 2012 [I]: 130.125.11.252 - - [25/Apr/2012
> 10:47:15] "POST /vm/50/startvnc HTTP/1.1" 200 30 0.0111
> Wed Apr 25 10:47:23 2012 [I]: 130.125.11.252 - - [25/Apr/2012
> 10:47:23] "GET /acl?timeout=true HTTP/1.1" 200 377 0.0055
> Wed Apr 25 10:47:23 2012 [I]: 130.125.11.252 - - [25/Apr/2012
> 10:47:23] "GET /image?timeout=true HTTP/1.1" 200 2902 0.0070
>
> but the web interface shows "Server disconnected (code: 1006)"
>
> On the machine newcluster-0 (where I try to vnc into) i see:
>
> newcluster-0:~$ lsof -i :10000
> COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
> kvm 3123 oneadmin 11u IPv4 121082 0t0 TCP *:webmin (LISTEN)
>
>
> newcluster-0:~$ netstat -nlp
> (Not all processes could be identified, non-owned process info
> will not be shown, you would have to be root to see it all.)
> Active Internet connections (only servers)
> Proto Recv-Q Send-Q Local Address Foreign Address
> State PID/Program name
> tcp 0 0 0.0.0.0:16509 <http://0.0.0.0:16509>
> 0.0.0.0:* LISTEN -
> tcp 0 0 0.0.0.0:10000 <http://0.0.0.0:10000>
> 0.0.0.0:* LISTEN 3123/kvm
> tcp 0 0 192.168.122.1:53 <http://192.168.122.1:53>
> 0.0.0.0:* LISTEN -
> tcp 0 0 0.0.0.0:22 <http://0.0.0.0:22>
> 0.0.0.0:* LISTEN -
> tcp6 0 0 :::22 :::*
> LISTEN -
> udp 0 0 192.168.122.1:53 <http://192.168.122.1:53>
> 0.0.0.0:* -
> udp 0 0 0.0.0.0:67 <http://0.0.0.0:67>
> 0.0.0.0:* -
> udp 0 0 0.0.0.0:68 <http://0.0.0.0:68>
> 0.0.0.0:* -
> udp 0 0 0.0.0.0:68 <http://0.0.0.0:68>
> 0.0.0.0:* -
> udp 0 0 0.0.0.0:68 <http://0.0.0.0:68>
> 0.0.0.0:* -
> udp 0 0 0.0.0.0:68 <http://0.0.0.0:68>
> 0.0.0.0:* -
> Active UNIX domain sockets (only servers)
> Proto RefCnt Flags Type State I-Node PID/Program
> name Path
> unix 2 [ ACC ] STREAM LISTENING 6331 -
> @/com/ubuntu/upstart
> unix 2 [ ACC ] STREAM LISTENING 316 -
> /var/run/dbus/system_bus_socket
> unix 2 [ ACC ] STREAM LISTENING 9547 -
> /var/run/libvirt/libvirt-sock
> unix 2 [ ACC ] STREAM LISTENING 9549 -
> /var/run/libvirt/libvirt-sock-ro
> unix 2 [ ACC ] SEQPACKET LISTENING 1893 -
> @/org/kernel/udev/udevd
> unix 2 [ ACC ] STREAM LISTENING 117431 3123/kvm
> /var/lib/libvirt/qemu/one-50.monitor
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20120425/775b2da2/attachment-0002.htm>
More information about the Users
mailing list