[one-users] ping between VMs on different hosts ?

Valerio Schiavoni valerio.schiavoni at gmail.com
Wed Apr 25 01:54:55 PDT 2012


Hello Justin,


On Wed, Apr 25, 2012 at 1:36 AM, Justin Cinkelj <justin.cinkelj at xlab.si>wrote:

>  You can still connect to VNC console (kvm ... -vnc 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           0.0.0.0:*               LISTEN
     -
tcp        0      0 0.0.0.0:10000           0.0.0.0:*               LISTEN
     3123/kvm
tcp        0      0 192.168.122.1:53        0.0.0.0:*               LISTEN
     -
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN
     -
tcp6       0      0 :::22                   :::*                    LISTEN
     -
udp        0      0 192.168.122.1:53        0.0.0.0:*
    -
udp        0      0 0.0.0.0:67              0.0.0.0:*
    -
udp        0      0 0.0.0.0:68              0.0.0.0:*
    -
udp        0      0 0.0.0.0:68              0.0.0.0:*
    -
udp        0      0 0.0.0.0:68              0.0.0.0:*
    -
udp        0      0 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/5831be95/attachment-0003.htm>


More information about the Users mailing list