From 43214c6e99bb010b781e17b9c3acbe2c12f29672 Mon Sep 17 00:00:00 2001 From: Ewan Mellor Date: Sun, 27 Nov 2011 14:48:37 -0800 Subject: Bug #896997: nova-vncproxy's flash socket policy port is not configurable Add flags called vncproxy_flash_socket_policy_port and vncproxy_flash_socket_policy_host, to allow the admin to configure the Flash socket policy listener. Change-Id: If42839ccd86f1c8723221049d7c76b6f5ad0aa2d --- doc/source/runnova/index.rst | 1 + doc/source/runnova/vncconsole.rst | 20 +++++++++++++------- 2 files changed, 14 insertions(+), 7 deletions(-) (limited to 'doc/source') diff --git a/doc/source/runnova/index.rst b/doc/source/runnova/index.rst index 68da288ae..fb423be77 100644 --- a/doc/source/runnova/index.rst +++ b/doc/source/runnova/index.rst @@ -87,4 +87,5 @@ Advanced Topics flags monitoring + vncconsole diff --git a/doc/source/runnova/vncconsole.rst b/doc/source/runnova/vncconsole.rst index c1fe9be39..8bef4eb37 100644 --- a/doc/source/runnova/vncconsole.rst +++ b/doc/source/runnova/vncconsole.rst @@ -46,8 +46,14 @@ is properly installed. By default, nova-vncproxy binds 0.0.0.0:6080. This can be configured with: -* --vncproxy_port=[port] -* --vncproxy_host=[host] +* :option:`--vncproxy_port=[port]` +* :option:`--vncproxy_host=[host]` + +It also binds a separate Flash socket policy listener on 0.0.0.0:843. This +can be configured with: + +* :option:`--vncproxy_flash_socket_policy_port=[port]` +* :option:`--vncproxy_flash_socket_policy_host=[host]` Enabling VNC Consoles in Nova @@ -55,10 +61,10 @@ Enabling VNC Consoles in Nova At the moment, VNC support is supported only when using libvirt. To enable VNC Console, configure the following flags: -* --vnc_console_proxy_url=http://[proxy_host]:[proxy_port] - proxy_port - defaults to 6080. This url must point to nova-vncproxy -* --vnc_enabled=[True|False] - defaults to True. If this flag is not set your - instances will launch without vnc support. +* :option:`--vnc_console_proxy_url=http://[proxy_host]:[proxy_port]` - + proxy_port defaults to 6080. This url must point to nova-vncproxy +* :option:`--vnc_enabled=[True|False]` - defaults to True. If this flag is + not set your instances will launch without vnc support. Getting an instance's VNC Console @@ -66,7 +72,7 @@ Getting an instance's VNC Console You can access an instance's VNC Console url in the following methods: * Using the direct api: - eg: 'stack --user=admin --project=admin compute get_vnc_console instance_id=1' + eg: '``stack --user=admin --project=admin compute get_vnc_console instance_id=1``' * Support for Dashboard, and the Openstack API will be forthcoming -- cgit