[ClusterLabs] trouble with IPaddr2
Valentin Vidic
Valentin.Vidic at CARNet.hr
Thu Oct 12 05:53:41 EDT 2017
On Wed, Oct 11, 2017 at 02:36:24PM +0200, Valentin Vidic wrote:
> AFAICT, it found a better interface with that subnet and tried
> to use it instead of the one specified in the parameters :)
>
> But maybe IPaddr2 should just skip interface auto-detection
> if an explicit interface was given in the parameters?
Oh it seems you specified nic only for the monitor operation so
it would fallback to auto-detect for start and stop actions:
primitive HA_IP-Serv1 IPaddr2 \
params ip=172.16.101.70 cidr_netmask=16 \
op monitor interval=20 timeout=30 on-fail=restart nic=bond0 \
meta target-role=Started
So you probably wanted this instead:
primitive HA_IP-Serv1 IPaddr2 \
params ip=172.16.101.70 cidr_netmask=16 nic=bond0 \
op monitor interval=20 timeout=30 on-fail=restart \
meta target-role=Started
--
Valentin
More information about the Users
mailing list