[ClusterLabs] HA static route

S0ke s0ke at protonmail.com
Tue Mar 15 04:04:10 UTC 2016


So even if the default gateway is set in /etc/sysconfig/network-script/ifcfg-eth* that could cause it?


-------- Original Message --------
Subject: Re: [ClusterLabs] HA static route
Local Time: March 14, 2016 9:52 PM
UTC Time: March 15, 2016 2:52 AM
From: dennisml at conversis.de
To: s0ke at protonmail.com,users at clusterlabs.org

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/users/attachments/20160315/4d993a9f/attachment.htm>


More information about the Users mailing list