サーバー?

ロードバランサーを使用して WEB リクエストを振り分ける

サーバーがどちらか死んでた時のために mami に pound を入れる

vi /etc/pound.cfg
User "pound"
Group "pound"
Control "/var/lib/pound/pound.cfg"

ListenHTTP
    Address 192.168.0.9
    Port 80
End

ListenHTTPS
    Address 192.168.0.9
    Port    443
    Cert    "/etc/pki/tls/certs/pound.pem"
End

Service
    BackEnd
        Address 192.168.0.10
        Port    80
        Priority 5
    End

    BackEnd
        Address 192.168.0.8
        Port    80
        Priority 5
    End
End

今のversion だとサーバー側の生死を確認できないので update 後に Alive を追加する


トップ   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS