OpenStack Horizon 使用VNC

关于vnc部分的配置


Control_Nodenova.conf配置


allow_resize_to_same_host=True

novncproxy_base_url= http://Control_Node_IP:6080/vnc_auto.html

xvpvncproxy_base_url= http:// Control_Node_IP:6081/console

resume_guests_state_on_host_boot=true


Compute Node上的nova.conf配置

vnc_enabled=true

novnc_enabled=true

novncproxy_base_url=http://Control_Node_IP:6080/vnc_auto.html

vncserver_proxyclient_address=Compute_Node_IP

xvpvncproxy_base_url=http://Control_Node_IP:6081/console

vncserver_listen=Compute_Node_IP

resume_guests_state_on_host_boot=true

处理流程

get-vnc-console的流程如下图所示,摘自社区的admin文档, 需要放大看下。

OpenStack Horizon 使用VNC_第1张图片

命令行使用

在命令行中我们可使用

novaget-vnc-console <server> <console-type>

来获取vncconsole

其中

<server>vmid

<console-type>包括novncxcpvnc,我们这主要使用novnc



用户使用

登陆Horizonhttp://Control_Node_IP/dashboard

点击“instance”可见实例列表

OpenStack Horizon 使用VNC_第2张图片

点击“VNCConsole”

OpenStack Horizon 使用VNC_第3张图片

结果为:

OpenStack Horizon 使用VNC_第4张图片

你可能感兴趣的:(console,openstack,vnc,vnc,horizon)