[Linux-cluster] Failover network device with rgmanager

Heiko Nardmann heiko.nardmann at itechnical.de
Thu Oct 4 16:22:49 UTC 2012


Isn't that a standard ip resource inside cluster.conf?

Kind regards,

    Heiko

Am 04.10.2012 17:56, schrieb Lon Hohberger:
> On 10/04/2012 09:47 AM, Bart Verwilst wrote:
>> Hi,
>>
>> I would like to make rgmanager manage a network interface i configured
>> under sysconfig ( ifcfg-ethX ). It should be brought up by the active
>> node as a resource, and ifdown'ed by the standby node. ( It's actually a
>> GRE tunnel interface ). Is there a straightforward way on how to do this
>> with CentOS 6.2 cman/rgmanager?
>>
> 'script' resource, like:
>
> #!/bin/sh
>
> case $1 in
> start)
> 	ifup ethX
> 	exit $?
> 	;;
> stop)
> 	ifdown ethX
> 	exit $?
> 	;;
> status)
>         ...
> 	;;
> esac
>
> exit 1
>
> -- Lon




More information about the Linux-cluster mailing list