Forums

Home / Forums

You need to log in to create posts and topics. Login · Register

Customizing BOND interfaces settings

Hi,

We are looking to change the following settings on all bond interfaces on the nodes to achieve more effective load balancing and redundancy on the nodes:

Transmit Hash Policy: layer3 + 4 (1)

We are currently changing this configuration manually, is there a way to make this change through the PetaSAN configuration?

Check the current configuration:

cat /proc/net/bonding/bond{0,1}

Change settings:

echo 1 >/sys/class/net/bond0/bonding/xmit_hash_policy

Currently we set LACP xmit_hash_policy to layer2+3

With version 2.6 (just released today), we added a custom hook script

/opt/petasan/scripts/custom/post_start_network.sh

which is called when configuring the network during the boot process, you can customise as you wish. you can upgrade online as per our guide.