ok.
so If i wish to use 2 different ip those could be my config files:
haresources:
Quote:
lb1.mydomain.it \
ldirectord::ldirectord.cf \
LVSSyncDaemonSwap::master \
IPaddr2::192.168.0.99/24/eth1/10.14.10.255 (MySQL cluster)
IPaddr2::192.168.0.100/24/eth1/10.14.10.255 (Apache Cluster)
|
and this my ldirectord.cf file:
Quote:
# Global Directives
# checktimeout=10
checkinterval=2
autoreload=no
logfile="local0"
quiescent=yes
virtual=192.168.0.99:3306
service=mysql
real=192.168.0.92:3306 gate 50
real=192.168.0.93:3306 gate 10
checktype=negotiate
login="ldirector"
passwd="ldirectorpassword"
database="ldirectordb"
request="SELECT * FROM connectioncheck"
scheduler=wrr
virtual=192.168.0.99:80
service=http
real=192.168.0.94:3306 gate
real=192.168.0.95:3306 gate
checktype=negotiate
request="ldirector.html"
receive="Test Page"
protocol=tcp
checktype=negotiate
scheduler=wrr
|
Thats' right?
Recent comments
1 day 8 hours ago
1 day 10 hours ago
1 day 22 hours ago
2 days 1 hour ago
2 days 5 hours ago
2 days 12 hours ago
2 days 21 hours ago
2 days 23 hours ago
3 days 7 hours ago
3 days 8 hours ago