[Linux-cluster] custom fence agent
Matt Brookover
mbrookov at mines.edu
Tue Dec 6 18:00:12 UTC 2005
I am currently using GFS 6.0, so there is no cluster.conf. I have
included all three files, cluster.css, fence.css and nodes.css.
[root at 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 at 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 at redhat.com
> [mailto:linux-cluster-bounces at redhat.com] On Behalf Of Matt Brookover
> Sent: Wednesday, November 30, 2005 5:34 PM
> To: linux clustering
> Subject: Re: [Linux-cluster] 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 mailing list
> > Linux-cluster at redhat.com
> > https://www.redhat.com/mailman/listinfo/linux-cluster
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-cluster/attachments/20051206/f5ef80ec/attachment.htm>
More information about the Linux-cluster
mailing list