noVNC配置小结

nova-vncproxy 是nova中一个单独的服务组件,需要一个noVNC来实现虚拟机vnc代理到websock,从而实现在浏览器使用vnc。

安装服务

nova-novncproxy

nova-consoleauth

相关配置项

controller节点

#novncproxy lisnten port
novncproxy_port=6080

#bind ip  如果想让别人访问就要用公网IP
novncproxy_host=0.0.0.0

compute节点

#start to use vnc
vnc_enabled=true

#location of vnc console proxy, in the form of http://127.0.0.1:6080
novncproxy_base_url=http://controller_ip:6080/vnc_auto.html

#Ip address on which instance vncserversshould listen
vncserver_listen=0.0.0.0 
#如果要想使用虚拟机在线迁移,必须监听所有地址 #the address to which proxy clients should connect vncserver_proxyclient_address=compute_node_ip
原文地址:https://www.cnblogs.com/yuxc/p/2795947.html