Version 2.0
Advanced Configuration
66
Mellanox Technologies
Example
The following is an example showing a cluster with three interfaces:
r10G(config-cluster)# cluster show
cluster configuration
-----------------------
mode : enable
loop prevention : full
priority : 100
join cluster automatically : yes
load balancing algorithm : active-active
hash table algorithm : xor-infiniband-eth
multicast ip address : 224.0.0.77
cluster id : 1
active node table
-------------------
pkey vlan master-s/n router-s/n router-prio if-name router name advertised ip
0x7fff 0 0x62880 0x62880 100 if0 sRB-20210G 192.168.2.2
0x112 112 0x62880 0x62880 100 CP1 sRB-20210G 12.11.11.11
0x75 75 0x62880 0x62880 100 net75 sRB-20210G 75.75.75.75
6.6.4
Setting sRB-20210G Algorithms
To set the 10 GbE algorithms:
Step 1
At the
10 GbE>config
cluster
prompt, enter the following commands:
Command
Description
cluster
hash-table-algorithm set
[xor-infiniband-eth,infin
iband,ethernet]
Sets the cluster hash table algorithm. In active-active
mode, the load balancing is performed according to the
hash algorithm (xor IB eth, IB, Eth):
xor IB eth (Default)
– mathematical operation
performed between InfiniBand and Ethernet IP
addresses
IB
– IP address of the InfiniBand Host for any
Ethernet address Ethernet. IP address of the
Ethernet Host for any InfiniBand address
Example:
10G(config-cluster)# cluster hash-table-algorithm set infiniband
This change will take effect after reboot.
Expected results:
10G(config-cluster)# cluster show
cluster configuration
-----------------------
state : enable
loop prevention : full
priority : 100