Index ソフト・ハード Linuxタスク | ldirectord |
機能 構成・方式 設定 |
Ldirectord機能 ・ldirectordを使い、LVSの複雑な設定を比較的容易な設定で扱えるようにする。 ・実サーバのヘルスチェックやLVSの作動管理を行うデーモン ・「LVS」によるロードバランサ上で動作するPerlスクリプト 「Ldirectord」起動時や、実サーバの故障・復旧を検出した時、 ipvsadmコマンドを内部から呼び出し、「LVS」の初期設定や設定変更を行う。Ldirectordの構成・方式 ・$ yum info ldirectord
利用可能なパッケージ
名前 :ldirectord
アーキテクチャー : x86_64
バージョン :4.1.1
リリース :1.el7
容量 :61 k
リポジトリー :linux-ha-ja-pacemaker
要約 :高可用性リソースを維持するための監視デーモン
URL : https://github.com/ClusterLabs/resource-agents
ライセンス :GPLv2+
説明 :ldirectordは、実サービスを監視するためのスタンドアロンデーモンです。
:現在、HTTP、HTTPS、およびFTPサービスがサポートされています。
:ldirectordはインストールが簡単で、Pacemakerと連携します
Ldirectordの設定 ・「/etc/ha.d/ldirectord.cf」
# Global Directives
checktimeout=5
checkinterval=10
#fallback=127.0.0.1:80
#fallback6=[::1]:80
autoreload=yes
#logfile="/var/log/ldirectord.log"
#logfile="local0"
#emailalert="[email protected]"
#emailalertfreq=3600
#emailalertstatus=all
quiescent=no
# Sample for an https virtual service
virtual=192.168.5.55:443
servicename=Web Site
comment=Test load balanced web site
real=192.168.5.33:443 gate
real=192.168.5.43:443 gate
fallback=127.0.0.1:443 gate
service=https
scheduler=rr
#persistent=600
#netmask=255.255.255.255
protocol=tcp
checktype=negotiate
checkport=443
request="haChecker/haCheck.html"
receive="up and running"
#virtualhost=www.x.y.z
virtual=192.168.5.55:80
real=192.168.5.33:80 gate
real=192.168.5.43:80 gate
service=http
scheduler=rr
protocol=tcp
checktype=negotiate
checkport=80
request="haChecker/haCheck.html"
|
All Rights Reserved. Copyright (C) ITCL |