Openstack的HA解决方案【替换原有的dashboard】
发布日期:2025-04-29 07:05:16 浏览次数:15 分类:精选文章

本文共 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?????????????????????????????????????

    上一篇:OpenStack的基本概念与架构详解
    下一篇:OpenStack版本升级与故障排查实战

    发表评论

    最新留言

    路过,博主的博客真漂亮。。
    [***.116.15.85]2026年06月09日 02时19分12秒