
IMPORTANT:
While configuring NIC monitoring, use the same backup pairs that you used when
configuring standby nodes.
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 the 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, SMB, FTP, and HTTP clients can connect to
bond0:1
on either host. If necessary, the selected server fails over to
bond0:2
on the opposite host. HP
StoreAll 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.)
Specifying VIFs in the client configuration
As you configure clients, you may need to specify the VIF to be used for client access.
•
NFS/SMB.
Specify the VIF IP address of the servers (for example,
bond0:1
) to establish
connection. You can also configure DNS
ROUNDROBIN
to ensure NFS or SMB client-to-server
distribution. In both cases, the NFS/SMB clients cache the initial IP address that they used to
connect to the respective share, usually until the next reboot.
•
FTP.
While adding an FTP share from the
Add FTP Shares
screen or with the
ibrix_ftpshare
command, specify the VIF as the IP address that clients should use to access the share.
146
Configuring virtual IP addresses