Re: IP standby query



issinoho wrote:
My question is: what constitutes the 'something'? What needs to happen on
Node A such that node B gets the live IP address?


Second question: is there any way of stimulating this swap from either of
the nodes?


For TCPIP services with just the alias strategy (no failsafe process),
it is a simple clusterwide lock. First node that gets the lock gets to
make the alias IP active. When that node goes out, the lock becomes free
and the next node then takes the lock and activates its alias.

To simulate it, upi use the IFCONFIG

I think it is

$ifconfig WE0 -alias 10.0.0.50 which will disable the alias on that
node and let the next node take it.

$ifconfig WE0 alias 10.0.0.50/16 ipmtu 1500 will re-activate the alias
on that node (will go on stand by mode if another node already has it).

WE0 is the interface name (IFCONFIG -a to get the list of interfaces on
that node)

.



Relevant Pages

  • Re: IP standby query
    ... For TCPIP services with just the alias strategy, ... First node that gets the lock gets to ... To simulate it, upi use the IFCONFIG ... WE0 is the interface name (IFCONFIG -a to get the list of interfaces on ...
    (comp.os.vms)
  • re: [trouble] restart network & vlan`s interface (if_vlan / conf/63700 redux)
    ... interface management with rc.d/netif, but problems still remain. ... Change it to include a second alias without a reboot, ... % ifconfig vlan14 ... Even if you explicitly pass your VLAN interface to rc.d/netif, ...
    (freebsd-net)
  • Restarting network & vlan interface = kernel memory corruption (if_vlan / conf/63700 redux)
    ... interface management with rc.d/netif, ... Change it to include a second alias without a reboot, ... % ifconfig vlan14 ... Even if you explicitly pass your VLAN interface to rc.d/netif, ...
    (freebsd-questions)
  • Re: kern/87506 : [PATCH] Fix alias support on vr interfaces
    ... >> setting an alias on a vr device with ifconfig the alias address ... Without the patch I ... > did just reproduce this on my laptop's rlinterface though. ...
    (freebsd-current)
  • Re: ip addr add vs. interface alias
    ... The label does not exist for kernel networking functions such as routing, ... Only the real interface and its addresses exist. ... I have not seen any operational difference between aliases created by ifconfig and addresses added by "ip addr". ... Also, alias handling in ifconfig is somehow inconsistant: you set the label DOWN to delete it. ...
    (comp.os.linux.networking)