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