I think ifstated is what you want to use.
--
Composed on a phone.
On Jan 13, 2012 2:07 AM, "PP;QQ P(P8P?P8QP8P="
wrote:
> Hello!
>
>
> I'm running OpenBSD with CARP (and because of CARP), 10 servers in total.
> Some of them preemt=1, some with preemt=0
> I'd like to know that spare CARP serv
I would still consider using ifstated to signal to the network monitor the
state of the interface.
An alternative that may be better though is to use SNMP.
--
Composed on a phone.
both
links are down, ifstated will have no way of pinging google and they
will remain down.) That is why I have chosen to ping the gateways of
my WAN links instead. I have been toying around with the idea of a
multistage check that first pings the gateway, then google but I have
not tested it yet.
Ho
4. I do not see how the alternate script provided by that page can
automatically recover from a situation where both WAN links are down
since a multistage ping check is not being employed either.
Regards,
--
Justin Jereza
LPIC-2
_route $WAN2_GW;
fi
;;
WAN1)
if ! in_table $WAN1_GW; then
add_route $WAN1_GW;
fi
if in_table $WAN2_GW; then
delete_route $WAN2_GW;
fi
;;
WAN2)
if in_table $WAN1_GW; then
delete_route $WAN1_GW;
fi
if ! in_table $WAN2_GW; then
add_route $WAN2_GW;
fi
;;
NONE)
if in_table $WAN1_GW; then
delete_route $WAN1_GW;
fi
if in_table $WAN2_GW; then
delete_route $WAN2_GW;
fi
;;
*)
help;
exit 1;
;;
esac
Regards,
--
Justin Jereza
LPIC-2
> I'm not expert here but atoms from supermicro are nice,
> you get IPMI too. Also henning@ said good words about it :)
I second this. Been using two
http://www.supermicro.com.tw/products/system/1U/5015/SYS-5015A-EHF-D525.cfm
for the past 8 months now for load balancing, LACP, VLANs, failover,
and
ions: 0 ]
pass out on vlan3 inet from to ! flags S/SA keep
state nat-to 124.107.174.137
[ Evaluations: 3235 Packets: 0 Bytes: 0 States: 0 ]
[ Inserted: uid 0 pid 27150 State Creations: 0 ]
Thanks and regards,
--
Justin Jereza
7 matches
Mail list logo