General Discussion

persistent IP 7-mode

david01845

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'?

 

3 REPLIES 3

Re: persistent IP 7-mode

pedro_rocha

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

 

 

Re: persistent IP 7-mode

Mjizzini

/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

 

 

View solution in original post

Re: persistent IP 7-mode

pedro_rocha

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.

Earn Rewards for Your Review!
GPI Review Banner
All Community Forums
Public