fairyguo 发表于 2017-6-27 10:35:12

openstack novnc console haproxy mitaka

  ## controller setting nova.conf
  
  vncserver_listen = $my_ip
vncserver_proxyclient_address = $my_ip
  ## computer notesetting nova.conf
  
  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
balancesource
optiontcpka
#optionhttpchk
optiontcplog
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/
页: [1]
查看完整版本: openstack novnc console haproxy mitaka