General Discussion

persistent IP 7-mode

david01845
1,604 Views

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

 

1 ACCEPTED SOLUTION

Mjizzini
1,577 Views

/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

3 REPLIES 3

pedro_rocha
1,582 Views

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

 

 

Mjizzini
1,578 Views

/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

 

 

pedro_rocha
1,575 Views

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.

Public