LoginSignup
0
1

More than 5 years have passed since last update.

bondingのpolicyを変更する

Last updated at Posted at 2015-07-20

ああああああああ\(^o^)/オワタ

trafficの偏りを避けるために事前にbondingの設定を変更しておこうと思ったら、
サーバが帰らぬ人となったので一応メモ

注意点

途中でbonding moduleをアンロードするタイミングでnetworkの疎通がバチコーンってとれなくなるので、Script組んで実行しましょうってだけ。

実行command

$ cat << EOF >> bonding.sh
echo "alias bond0 bonding" > /etc/modprobe.d/bonding.conf
echo "options bond0 mode=4 lacp_rate=0 miimon=200 xmit_hash_policy=layer2+3" >> /etc/modprobe.d/bonding.conf
modprobe -r bonding
service network restart
EOF
$ sudo sh bonding.sh

それだけ、アタリマエのことだけど注意深くオペレーションしないとね、、、
特にリモートでやってたりするとね、、、

おしまい

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1