You must install the noVNC package, which contains the nova-novncproxy
service. As root, run the following
command:
# apt-get install novnc
The service starts automatically on installation.
To restart the service, run:
# service novnc restart
The configuration option parameter should point to your
nova.conf
file, which includes the
message queue server address and credentials.
By default, nova-novncproxy
binds on
0.0.0.0:6080
.
To connect the service to your Compute deployment, add the following configuration options
to your nova.conf
file:
vncserver_listen
=0.0.0.0
Specifies the address on which the VNC service should bind. Make sure it is assigned one of the compute node interfaces. This address is the one used by your domain file.
<graphics type="vnc" autoport="yes" keymap="en-us" listen="0.0.0.0"/>
Note To use live migration, use the
0.0.0.0
address.vncserver_proxyclient_address
=127.0.0.1
The address of the compute host that Compute instructs proxies to use when connecting to instance
vncservers
.