Searching ALOHA 12.0
Configuring VRRP on an ALOHA Cluster
Configuring VRRP on an ALOHA Cluster
Before you configure VRRP on an ALOHA cluster, check if VRRP is used in your network.
Browse the ALOHA WUI.
Open the DiagTools tab.
In the list, locate the capture tool.
-
Fill in the Diagnostic tool option fields as shown below:
Field 1: interface name where VRRP will be configured
Field 2: enter vrrp
Click on run.
Depending on the result:
If there is no packet captured, it means there is no VRRP running on the network. It is safe to configure VRRP on the ALOHA.
If there are packets listed, then you must watch the VRID used in your network to avoid using the same ones. In the example below, there are at least 4 different VRIDs in use: 123, 254, 200, 1.
$ sudo /usr/sbin/tcpdump -vvvenns0 -c 5 -i eth0 vrrp
tcpdump: WARNING: eth0: no IPv4 address assigned
tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes
#<snip># 10.0.0.1 > 224.0.0.18: VRRPv2, Advertisement, vrid 123, prio 211, authtype none, intvl 1s, length 16, addrs:
#<snip># 10.0.0.2 > 224.0.0.18: VRRPv2, Advertisement, vrid 254, prio 12, authtype none, intvl 1s, length 20, addrs:
#<snip># 10.0.0.3 > 224.0.0.18: VRRPv2, Advertisement, vrid 200, prio 111, authtype none, intvl 1s, length 20, addrs:
#<snip># 10.0.0.4 > 224.0.0.18: VRRPv2, Advertisement, vrid 1, prio 101, authtype none, intvl 1s, length 24, addrs:
#<snip># 10.0.0.1 > 224.0.0.18: VRRPv2, Advertisement, vrid 123, prio 211, authtype none, intvl 1s, length 20, addrs:
5 packets captured
0 packets received by filter
0 packets dropped by kernel
Configuring the ALOHA Master
Configure the VRRP daemon
Browse the ALOHA WUI.
Open the Services tab.
Scroll down to VRRP service.
-
Click Setup .
Remove the line no autostart if it exists.
If a group directive exists and the required network interface is not listed, then append it.
Otherwise, add a group directive followed by the interface name.
The configuration should look like the following:
group eth0 track_svc haproxy track_mgt sshd wui
Click ok.
Click close . The line corresponding to the VRRP daemon now appears in orange with the flag Need restart.
Click Restart .
Configure the VRRP instance
Browse the ALOHA WUI.
Open the Services tab.
Scroll down to the network interface you want to configure.
Click on Setup .
-
Add the following parameters to create a new VRRP instance:
vrrp inst default id 110
This ID must be unique and depends on your environment
vrrp inst default garp 30
vrrp inst default prio 101
ALOHA Master priority (Slave will be 100)
vrrp inst default address 10.0.32.20
the Virtual IP
vrrp inst default password aloha
recommended
vrrp inst default no-address
recommended
The configuration should look like the following:
service network eth0 ip address 10.0.32.11/24 ip route default 10.0.32.1 vrrp inst default id 110 vrrp inst default garp 30 vrrp inst default prio 101 vrrp inst default address 10.0.32.20 vrrp inst default password aloha vrrp inst default no-address
Click ok .
Click close . The line corresponding to the VRRP daemon now appears in orange with the flag Need restart.
Click Restart .
Configuring the ALOHA Slave
Configure the VRRP daemon
Browse the ALOHA WUI.
Open the Services tab.
Scroll down to VRRP service.
-
Click Setup .
Remove the line no autostart if it exists.
If a group directive exists and the required network interface is not listed, then append it.
-
Otherwise, add a group directive followed by the interface name. The configuration should look like the following:
group eth0 track_svc haproxy track_mgt sshd wui
Click ok .
Click close . The line corresponding to the VRRP daemon now appears in orange with the flag Need restart.
Click Restart .
Configure the VRRP instance
Browse the ALOHA WUI.
Open the Services tab.
Scroll down to the network interface you want to configure.
Click on Setup .
-
Add the following parameters to create a new VRRP instance:
vrrp inst default id 110
bear in mind this ID must be unique and depends on your environment
vrrp inst default garp 30
vrrp inst default prio 100
ALOHA Slave priority (Master is 101)
vrrp inst default address 10.0.32.20
the Virtual IP
vrrp inst default password aloha
recommended
vrrp inst default no-address
recommended
The configuration should look like the following:
service network eth0 ip address 10.0.32.12/24 ip route default 10.0.32.1 vrrp inst default id 110 vrrp inst default garp 30 vrrp inst default prio 100 vrrp inst default address 10.0.32.20 vrrp inst default password aloha vrrp inst default no-address
Click ok .
Click close . The line corresponding to the VRRP daemon now appears in orange with the flag Need restart.
Click Restart .
Troubleshooting
Detect duplicated IPs
To troubleshoot duplicated IPs, you can use the ARP who-has diagnostic tool.
This tool checks if the MAC address associated with the IP address is the one expected or not:
if yes, the problem may be on an upper layer
if not, the MAC address of the server has the duplicated IP
Capture VRRP packets
You can use the capture diagnostic tool for this purpose.
To capture VRRP traffic, use vrrp
as <filter>
and choose an interface:
tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes
14:12:27.936839 00:0c:49:65:47:0e > ... , proto VRRP (112), 10.9.104.253 > 224.0.0.18, ... , vrid 30, prio 35, ... , addrs: ...
14:12:28.250381 00:0c:59:20:c7:f6 > ... , proto VRRP (112), 10.9.104.241 > 224.0.0.18, ... , vrid 166, prio 133, ... , addrs: ...
14:12:28.460930 00:0d:b9:18:b9:74 > ... , proto VRRP (112), 10.9.104.253 > 224.0.0.18, ... , vrid 55, prio 70, ... , addrs: ...
14:12:28.939831 00:0c:49:65:47:0e > ... , proto VRRP (112), 10.9.104.253 > 224.0.0.18, ... , vrid 30, prio 35, ... , addrs: ...
14:12:28.250381 00:0c:59:20:c7:f6 > ... , proto VRRP (112), 10.9.104.241 > 224.0.0.18, ... , vrid 166, prio 133, ... , addrs: ...
5 packets captured
0 packets received by filter
0 packets dropped by kernel
Using the capture
diagnostic tool, you can get the following information:
source MAC and IP address
VRID
VRRP priority