vi /etc/sysconfig/network/ifcfg-bond0
BOOTPROTO='static'
BROADCAST=''
IPADDR='192.168.5.181'
MTU='1500'
NETMASK='255.255.0.0'
NETWORK='192.168.5.1'
REMOTE_IPADDR=''
STARTMODE='onboot'
BONDING_MASTER='yes'
BONDING_MODULE_OPTS='miimon=100 mode=6 use_carrier=0'
BONDING_SLAVE0='eth2'
BONDING_SLAVE1='eth5'
<IfModule ssl_module>
#SSLRandomSeed startup builtin
#SSLRandomSeed connect builtin
ProxyPass / balancer://myclustertest/ stickysession=jsessionid nofailover=Off
ProxyPassReverse / balancer://myclustertest/
</IfModule>
ProxyRequests Off
ProxyPreserveHost on
<Proxy balancer://myclustertest>
BalancerMember http://10.10.10.181:8013 loadfactor=5 retry=10
BalancerMember http://10.10.10.182:8013 loadfactor=5 retry=10
ProxySet lbmethod=bybusyness
</Proxy>
<VirtualHost *:80>
ServerAdmin hs.com
ServerName 10.10.10.181
ServerAlias 10.10.10.181
ProxyPass / balancer://myclustertest/ stickysession=jsessionid nofailover=Off
ProxyPassReverse / balancer://myclustertest/
</VirtualHost>
~