博客
关于我
Openstack的HA解决方案【替换原有的dashboard】
阅读量:792 次
发布时间:2023-02-24

本文共 963 字,大约阅读时间需要 3 分钟。

haproxy???????????

haproxy??

?haproxy???????????????????????????haproxy????????????

  • ???????

    mv 015-horizon.cfg 150-timaiaas.cfg

  • ??haproxy?

    listen timaiaas
    bind 172.17.46.2:80
    balance source
    capture cookie vgnvisitor len 32
    cookie SERVERID insert indirect nocache
    mode http
    option forwardfor
    option httpclose
    option httplog
    rspidel ^Set-cookie:\ IP=
    server node-5 172.17.47.3:8081 cookie node-5 check inter 2000 fall 3
    server node-9 172.17.47.4:8081 cookie node-9 check inter 2000 fall 3
    server node-10 172.17.47.5:8081 cookie node-10 check inter 2000 fall 3

  • iptables??

    ????haproxy?????????????iptables?

  • ??iptables?????

    vi /etc/sysconfig/iptables

  • ?????

    -A INPUT -p tcp -m multiport --ports 8081 -m comment --comment "timaIaas" -j ACCEPT

    ?????TCP??????8081????????????????

  • timacloud??

    ?????????????????timacloud?

  • ??timacloud???
    chkconfig timacloud on
  • httpd??

    ?????????httpd???

  • ??httpd???
    chkconfig httpd off
  • ?????????????haproxy?????????????????????????????????????

    转载地址:http://pnpfk.baihongyu.com/

    你可能感兴趣的文章
    openlayers 入门教程(三):view 篇
    查看>>
    openlayers 入门教程(九):overlay 篇
    查看>>
    openlayers 入门教程(二):map 篇
    查看>>
    openlayers 入门教程(五):sources 篇
    查看>>
    openlayers 入门教程(八):Geoms 篇
    查看>>
    openlayers 入门教程(六):controls 篇
    查看>>
    openlayers 入门教程(十三):动画
    查看>>
    openlayers 入门教程(十二):定位与轨迹
    查看>>
    openlayers 入门教程(十五):与 canvas、echart,turf 等交互
    查看>>
    openlayers 入门教程(十四):第三方插件
    查看>>
    openlayers 入门教程(四):layers 篇
    查看>>
    OpenLayers 项目分析(三)-OpenLayers中定制JavaScript内置类
    查看>>
    Openlayers下载与加载geoserver的wms服务显示地图
    查看>>
    Openlayers中使用Cluster+Overlay实现点击单个要素和聚合要素时显示不同弹窗
    查看>>
    Openlayers中使用Cluster实现点位元素重合时动态聚合与取消聚合
    查看>>
    Openlayers中使用Cluster实现缩放地图时图层聚合与取消聚合
    查看>>
    Openlayers中使用Image的rotation实现车辆定位导航带转角(判断车辆图片旋转角度)
    查看>>
    Openlayers中加载Geoserver切割的EPSG:900913离线瓦片图层组
    查看>>
    Openlayers中多图层遮挡时调整图层上下顺序
    查看>>
    Openlayers中将某个feature置于最上层
    查看>>