a good idea to use different *interfaces*.
Why don't you set multiple IPs on a single carp interface instead ?
On 21 Feb 2012, at 08:29, peter knezel peter.kne...@gmail.com wrote:
Hello Damien,
preemption is set on both systems, so when master server goes down or
any CARP interface on master
, you are supposed to
do that in the service's configuration, when telling it which IP address
to bind to.
You can also use pf or ipfw to filter the services allowed on a given IP.
On 2/21/12 11:48 AM, peter knezel wrote:
Do ypu mean that only carp0 is defined on both servers and it has
three
, the CARP IP now master on host B
Host B doesn't have a state for the traffic, drops it.
To enable preemption you need to run sysctl net.inet.carp.preempt=1 and
add the corresponding line to your sysctls file in etc.
On 2/15/12 7:04 PM, peter knezel wrote:
Well,
I am not fully familiar
,
Peter
On 15 February 2012 18:25, Damien Fleuriot m...@my.gd wrote:
Sorry about the late reply, didn't see yours.
What about enabling CARP preemption to ensure that when a carp interface
goes down, the whole set does ?
On 2/7/12 9:13 PM, peter knezel wrote:
Hello Damien,
I did read your
, you fail
since it is in state twoff.
Only of you put down second carp interface it goes to state two and if you
put both up, it will go to state one.
This is where my ifstated.conf fails to work.
Kind regards,
Peter Knezel
On 7 February 2012 17:02, Damien Fleuriot m...@my.gd wrote:
On 2/7/12 3
is to synchronize file from slave server to
master if master reboots or slave becomes master due to carp problems
on the master.
Regards,
Peter
On 01/02/2012, Damien Fleuriot m...@my.gd wrote:
On 2/1/12 12:12 PM, peter knezel wrote:
Hello all,
I have configured devd and ifstated on a master FreeBSD
for carp1,carp2. It immediately brings up carp1/carp2
and runs testup.sh after executing testdown.sh if triggered with
ifconfig carp1 down (or ifconfig carp2 down).
Peter
On 02/02/2012, peter knezel peter.kne...@gmail.com wrote:
Hello Damien,
of course, the tnewpass was my copy error - newpass is OK
Hello all,
I have configured devd and ifstated on a master FreeBSD server (slave
not changed so far) on which carp was configured with three
carp0,carp1 and carp2 virtual addresses.
When I as root do ifconfig carp0 down and up, the corresponding
testdown.sh and testup.sh
scripts are run (defined
Hello all,
I have configured devd and ifstated on a master FreeBSD server (slave
not changed so far) on which carp was configured with three
carp0,carp1 and carp2 virtual addresses.
When I as root do ifconfig carp0 down and up, the corresponding
testdown.sh and testup.sh
scripts are run (defined