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


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM