General Discussion
General Discussion
I have a 7-mode HA pair: nodeA and node B. I want to configure an IP on nodeA but nodeB does not require an IP in the same same subnet. However, I want the IP to failover when nodeA goes down and I want it to be persistent when nodeA reboots.
ifgroup: data
Vlan Interface: data-172
Do I just add line below to '/etc/rc' in nodeA:
ifconfig data-172 partner 172.28.172.100 netmask 255.255.255.0 mtusize 1500 up
Do I also need to create the vlan on the partner 'nodeB'?
Solved! See The Solution
/etc/rc of node A
...
vlan add data 172
ifconfig data-172 <ip_of_nodeA> netmask 255.255.255.0 mtusize 1500 up partner data-172
...
etc/rc of node B
vlan add data 172
ifconfig data-172 partner data-172
hello
yes you do. Check below
nodeA
ifconfig data-172 IP172_NODE_A netmask 255.255.255.0 mtusize 1500 partner INTERFACE172_NODE_B up
/etc/rc of node A
...
vlan add data 172
ifconfig data-172 <ip_of_nodeA> netmask 255.255.255.0 mtusize 1500 up partner data-172
...
etc/rc of node B
vlan add data 172
ifconfig data-172 partner data-172
Yes, that's correct. Although the second ifconfig (nodeB) is not mandatory since there is no IP address.
Even though seems ok, perform takeover/giveback tests to ensure you have what you want.