Configuring the Minimal Number of Required Subordinate Interfaces for Bond Load Sharing

Important - In a Cluster, you must configure all the Cluster Members in the same way.

Description

ClusterXL considers a bond in Load Sharing mode to be in the "down" state when fewer than a minimal number of required subordinate interfaces stay in the "up" state.

By default, the minimal number of required subordinate interfaces, which must stay in the "up" state in a bond of n subordinate interfaces is n-1.

If one more subordinate interface fails (when n-2 subordinate interfaces stay in the "up" state), ClusterXL considers the bond interface to be in the "down" state, even if the bond contains more than two subordinate interfaces.

If a smaller number of subordinate interfaces can pass the expected traffic, you can configure explicitly the minimal number of required subordinate interfaces.

Divide your maximal expected traffic speed by the speed of your subordinate interfaces and round up the result to find an applicable minimal number of required subordinate interfaces.

Notes:

  • Cluster Members save the configuration in the $FWDIR/conf/cpha_bond_ls_config.conf file.

  • The commands below save the changes in this file.

  • Each line in the file has this syntax:

    <Name of Bond Interface> <Minimal Number of Required Subordinate Interfaces>

In addition, see Viewing Bond Interfaces.

Syntax to add the minimal number of required subordinate interfaces for a specific Bond interface

Shell

Command

Gaia Clish

N / A

Expert mode

cphaconf bond_ls set <Name of Bond Interface> <Minimal Number of Required Subordinate Interfaces>

Syntax to remove the configured minimal number of required subordinate interfaces for a specific Bond interface

Shell

Command

Gaia Clish

N / A

Expert mode

cphaconf bond_ls remove <Name of Bond Interface>

Syntax to see the current configuration of the minimal number of required subordinate interfaces

Shell

Command

Gaia Clish

N / A

Expert mode

cat $FWDIR/conf/cpha_bond_ls_config.conf

Procedure

Step

Instructions

1

Connect to the command line on each Cluster Member.

2

Log in to the Expert mode.

3

Add or remove the minimal number of required subordinate interfaces for a specific Bond interface:

cphaconf bond_ls set <Bond> <Minimal Number of Subordinate Interfaces>

cphaconf bond_ls remove <Bond>

4

Examine the configuration:

cat $FWDIR/conf/cpha_bond_ls_config.conf

5

In SmartConsole, install the Access Control policy on this cluster object.

Example

[Expert@Member1:0]# cat $FWDIR/conf/cpha_bond_ls_config.conf
# ... (truncated for brevity) ...
# Example:
# bond0 2
 
[Expert@Member1:0]#
 
[Expert@Member1:0]# cphaconf bond_ls set bond1 2
Set operation succeeded
 
[Expert@Member1:0]# cat $FWDIR/conf/cpha_bond_ls_config.conf
# ... (truncated for brevity) ...
# Example:
# bond0 2
 
bond1 2
[Expert@Member1:0]#
 
[Expert@Member1:0]# cphaconf bond_ls remove bond1
Remove operation succeeded
 
[Expert@Member1:0]#
 
[Expert@Member1:0]# cat $FWDIR/conf/cpha_bond_ls_config.conf
# ... (truncated for brevity) ...
# Example:
# bond0 2
 
[Expert@Member1:0]#