From R80.20, the Cluster Control Protocol (CCP) has four modes:
Mode |
Description |
---|---|
Automatic |
The CCP mode changes automatically between Multicast, Broadcast, and Unicast to find the optimized CCP mode according to network state. These CCP mode changes are independent for individual interfaces. This CCP mode prevents unnecessary cluster failovers and interface state changes when CCP packets are not received because of networking issues. |
Unicast |
This CCP mode is applicable to clusters of two members only. In this CCP mode, the CCP packets are sent to a unicast Layer 2 destination MAC address of a peer Cluster Member. This CCP mode decreases unneeded network traffic and overcomes network barriers (switches that does not pass multicast traffic, and so on). |
Multicast |
In this CCP mode, the CCP packets are sent to a multicast Layer 2 destination MAC address (01:00:5E:xx:yy:zz). See sk25977. This is the default CCP mode for non-Sync interfaces. |
Broadcast |
In this CCP mode, the CCP packets are sent to a broadcast Layer 2 MAC address (FF:FF:FF:FF:FF:FF). See sk25977 and sk36644. This is the default CCP mode for Sync interface. This is the only supported CCP mode on Bridge interfaces. Use this CCP mode if the connecting switches do not pass CCP multicast packets. |
To set the CCP mode:
set cluster ccp {auto | unicast | multicast | broadcast}
cphaconf set_ccp {auto | unicast | multicast | broadcast}
This configuration applies immediately and survives reboot.
To monitor the CCP mode:
show cluster members interfaces virtual
cphaprob -a if
Example output:
[Expert@Member2:0]# cphaprob -a if
CCP mode: Automatic Required interfaces: 3 Required secured interfaces: 1
eth0 UP non sync(non secured), multicast eth1 UP sync(secured), unicast eth2 UP non sync(non secured), multicast
Virtual cluster interfaces: 2
eth0 192.168.3.55 VMAC address: 00:1C:7F:00:36:70 eth2 192.250.3.55 VMAC address: 00:1C:7F:00:36:70
[Expert@Member2:0]# [Expert@Member2:0]# cphaconf set_ccp auto [Expert@Member2:0]# [Expert@Member2:0]# cat $FW_BOOT_DIR/ha_boot.conf ha_installed 1 ccp_mode automatic [Expert@Member2:0]# [Expert@Member2:0]# cphaconf set_ccp broadcast [Expert@Member2:0]# [Expert@Member2:0]# cphaprob -a if
CCP mode: Manual (Broadcast) Required interfaces: 3 Required secured interfaces: 1
eth0 UP non sync(non secured), broadcast eth1 UP sync(secured), broadcast eth2 UP non sync(non secured), broadcast
Virtual cluster interfaces: 2
eth0 192.168.3.55 VMAC address: 00:1C:7F:00:36:70 eth2 192.250.3.55 VMAC address: 00:1C:7F:00:36:70
[Expert@Member2:0]# [Expert@Member2:0]# cat $FW_BOOT_DIR/ha_boot.conf ha_installed 1 ccp_mode broadcast [Expert@Member2:0]# [Expert@Member2:0]# grep ccp /config/active cluster:ccp:broadcast t [Expert@Member2:0]# |