[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Linux-cluster] Failover network device with rgmanager



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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]