[Linux-cluster] Failover network device with rgmanager

Lon Hohberger lhh at redhat.com
Thu Oct 4 15:56:52 UTC 2012


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