博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
suse 网卡 bond
阅读量:6201 次
发布时间:2019-06-21

本文共 1028 字,大约阅读时间需要 3 分钟。

  hot3.png

 

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>

~              

转载于:https://my.oschina.net/acooly/blog/770205

你可能感兴趣的文章