1.
Add the VIF:
# ibrix_nic –a -n bond0:2 –h node1,node2,node3,node4
2.
Set up a standby server for each VIF:
# ibrix_nic –b –H node1/bond0:1,node2/bond0:2
# ibrix_nic –b –H node2/bond0:1,node1/bond0:2
# ibrix_nic –b –H node3/bond0:1,node4/bond0:2
# ibrix_nic –b –H node4/bond0:1,node3/bond0:2
Configuring NIC failover
NIC monitoring should be configured on VIFs that will be used by NFS, CIFS, FTP, or HTTP.
IMPORTANT:
When configuring NIC monitoring, use the same backup pairs that you used when
configuring standby servers.
For example:
# ibric_nic –m -h node1 -A node2/bond0:1
# ibric_nic –m -h node2 -A node1/bond0:1
# ibric_nic –m -h node3 -A node4/bond0:1
# ibric_nic –m -h node4 -A node3/bond0:1
Configuring automated failover
To enable automated failover for your file serving nodes, execute the following command:
ibrix_server —m [-h SERVERNAME]
Example configuration
This example uses two nodes,
ib50-81
and
ib50-82
. These nodes are backups for each other,
forming a backup pair.
[root@ib50-80 ~]# ibrix_server -l
Segment Servers
===============
SERVER_NAME BACKUP STATE HA ID GROUP
----------- ------- ------------ --- ------------------------------------ -----
ib50-81 ib50-82 Up on 132cf61a-d25b-40f8-890e-e97363ae0d0b servers
ib50-82 ib50-81 Up on 7d258451-4455-484d-bf80-75c94d17121d servers
All VIFs on
ib50-81
have backup (standby) VIFs on
ib50-82
. Similarly, all VIFs on
ib50-82
have backup (standby) VIFs on
ib50-81
. NFS, CIFS, FTP, and HTTP clients can connect to
bond0:1
on either host. If necessary, the selected server will fail over to
bond0:2
on the opposite host.
X9000 clients could connect to
bond1
on either host, as these clients do not support or require
NIC failover. (The following sample output shows only the relevant fields.)
Configuring NIC failover
81