[root@imagine CSM_ACN]# more * :::::::::::::: cluster.ccs :::::::::::::: cluster { name = "CSM_ACN" lock_gulm { servers = ["imagine.Mines.EDU","illuminate.Mines.EDU","illusion.Mines.EDU"] heartbeat_rate = 3.0 allowed_misses = 5 } } :::::::::::::: fence.ccs :::::::::::::: fence_devices { CSMACN_fence { agent = "fence_cisco" } } :::::::::::::: nodes.ccs :::::::::::::: nodes { imagine.Mines.EDU { ip_interfaces { eth0 = "138.67.130.1" } fence { snmpfence { CSMACN_fence { port="imagine" } } } } illuminate.Mines.EDU { ip_interfaces { eth0 = "138.67.130.2" } fence { snmpfence { CSMACN_fence { port="illuminate" } } } } illusion.Mines.EDU { ip_interfaces { eth0 = "138.67.130.3" } fence { snmpfence { CSMACN_fence { port="illusion" } } } } inspire.Mines.EDU { ip_interfaces { eth0 = "138.67.130.5" } fence { snmpfence { CSMACN_fence { port="inspire" } } } } inception.Mines.EDU { ip_interfaces { eth0 = "138.67.130.4" } fence { snmpfence { CSMACN_fence { port="inception" } } } } incantation.Mines.EDU { ip_interfaces { eth0 = "138.67.130.6" } fence { snmpfence { CSMACN_fence { port="incantation" } } } } } [root@imagine CSM_ACN]#
On Tue, 2005-12-06 at 10:12, Jeff Dinisco wrote:
Matt,
This script is great. I just finished hacking on it for my own purposes and it's working well from the command line. Could you pass along your fencing section from cluster.conf as well? Thanks a million.
- Jeff DiNisco
From: linux-cluster-bounces@xxxxxxxxxx [mailto:linux-cluster-bounces@xxxxxxxxxx] On Behalf Of Matt Brookover
Sent: Wednesday, November 30, 2005 5:34 PM
To: linux clustering
Subject: Re: custom fence agent
I took the fence_apc and hacked it to do what I needed. The fence agents are perl scripts and can easily be modified to fit most any SAN.
Matt
On Wed, 2005-11-30 at 13:58, Jeff Dinisco wrote:Could someone outline the rules for creating your own fencing agent and how they're applied in cluster.conf? Or just point me to a doc? Thanks
- Jeff
-- Linux-cluster@xxxxxxxxxxhttps://www.redhat.com/mailman/listinfo/linux-cluster
-- Linux-cluster@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/linux-cluster