[ClusterLabs] HA static route

Dennis Jacobfeuerborn dennisml at conversis.de
Tue Mar 15 02:52:16 UTC 2016


On 15.03.2016 02:25, S0ke wrote:
> Trying to do HA for a static route. The resource is fine on HA1. But when I try to failover to HA2 it does not seem to add the route.
> 
> Operation start for p_src_eth0DEF (ocf:heartbeat:Route) returned 1
>> stderr: RTNETLINK answers: File exists
>> stderr: ERROR: p_src_eth0DEF Failed to add network route: to default dev eth0 src 10.10.5.1
>> stderr: DEBUG: p_src_eth0DEF start returned 1
> 
> Is there way to overwrite the route? As it seems to be failing because the route exists already?

The question is why does the route exist already? I you want it to be
managed by Pacemaker then you need to remove it from any other startup
scripts that create that route.

Regards,
  Dennis





More information about the Users mailing list