Re: Failover network device with rgmanager

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

 



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

-- 
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster


[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux