23.07.2014 Views

Lustre 1.6 Operations Manual

Lustre 1.6 Operations Manual

Lustre 1.6 Operations Manual

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

12.4 Bonding Module Parameters<br />

Bonding module parameters control various aspects of bonding.<br />

Outgoing traffic is mapped across the slave interfaces according to the transmit hash<br />

policy. For <strong>Lustre</strong>, we recommend that you set the xmit_hash_policy option to the<br />

layer3+4 option for bonding. This policy uses upper layer protocol information if<br />

available to generate the hash. This allows traffic to a particular network peer to<br />

span multiple slaves, although a single connection does not span multiple slaves.<br />

$ xmit_hash_policy=layer3+4<br />

The miimon option enables users to monitor the link status. (The parameter is a time<br />

interval in milliseconds.) It makes an interface failure transparent to avoid serious<br />

network degradation during link failures. A reasonable default setting is 100<br />

milliseconds; run:<br />

$ miimon=100<br />

For a busy network, increase the timeout.<br />

12.5 Setting Up Bonding<br />

To set up bonding:<br />

1. Create a virtual 'bond' interface by creating a configuration file in:<br />

/etc/sysconfig/network-scripts/ # vi /etc/sysconfig/ \<br />

network-scripts/ifcfg-bond0<br />

2. Append the following lines to the file.<br />

DEVICE=bond0<br />

IPADDR=192.168.10.79 # Use the free IP Address of your network<br />

NETWORK=192.168.10.0<br />

NETMASK=255.255.255.0<br />

USERCTL=no<br />

BOOTPROTO=none<br />

ONBOOT=yes<br />

Chapter 12 Bonding 12-5

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!