[Linux-cluster] Failover network device with rgmanager

Bart Verwilst lists at verwilst.be
Thu Nov 8 18:43:00 UTC 2012


Thanks a lot for the tip!

Kind regards,

Bart

Lon Hohberger schreef op 04.10.2012 17:56:
> 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