17 pass [removed] advskew 100"
>
>
>
> Regarding dedicating a given IP to a given service, 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
s 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 wrote:
>
>> Hello Damien,
>>
>> preemption is set on both systems, so when master server goes d
ervers reply via their default gateway, 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.
>
>
,
Peter
On 15 February 2012 18:25, Damien Fleuriot 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:
> >
special example.)
Now if you want to put up after putting down one carp interface, 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
rp1.link.up && carp2.link.up"
uud ="carp0.link.up && carp1.link.up && !carp2.link.up"
ddu ="!carp0.link.up && !carp1.link.up"
dud ="!carp0.link.up && !carp2.link.up"
udd ="!carp1.link.up && !carp2.link.up&q
uot; -c /usr/local/etc/send_nsca.cfg"
> }
> if $carp_up {
> set-state primary
> }
> if $carp_down {
> set-state backup
> }
> if bce0.link.up && bce1.link.up {
> ru
testup.sh"
set-state one
}
}
When I do ifconfig carp0 down/up script run testdown.sh/testup.sh
but not valid 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).
Pe
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 wrote:
>
>
> On 2/1/12 12:12 PM, peter knezel wrote:
>> Hello all,
>>
>> I have configured devd
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
11 matches
Mail list logo