openstack novnc console haproxy mitaka

## controller setting nova.conf

[vnc]

vncserver_listen = $my_ip
vncserver_proxyclient_address = $my_ip

 

 ## computer note  setting nova.conf

[vnc]

enabled = True
vncserver_listen = 0.0.0.0
vncserver_proxyclient_address = $my_ip
novncproxy_base_url = http://193.168.11.80:6080/vnc_auto.html #193.168.11.80 is haproxy's ip

 

## haproxy setting


listen novnc_api
bind 0.0.0.0:6080
balance source
option tcpka
#option httpchk
option tcplog
server controller1 193.168.11.81:6080 check inter 2000 rise 2 fall 5
server controller4 193.168.11.84:6080 check inter 2000 rise 2 fall 5

 

## 1006 error while using active/actvice nova-novncproxy (refer links are unconfirmed!!)

https://ask.openstack.org/en/question/61506/round-robin-nova-novncproxy-problem/

 

posted @ 2016-08-31 13:22  萧何9527  阅读(504)  评论(0编辑  收藏  举报