Fence na.conf

From Alteeve Wiki
Revision as of 06:42, 5 March 2010 by Digimer (talk | contribs) (Created page with '{{na_header}} '''NOTE''': The comments in this file need to be update, please don't trust them. This is the common Node Assassin configuration file that exists in <span class="…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

 Node Assassin :: Fence na.conf

NOTE: The comments in this file need to be update, please don't trust them.

This is the common Node Assassin configuration file that exists in /etc/na/.

# This is the main configuration file for the Node Assassin fence device.
# 
# This can support one or more fence devices.
#
# Node Assassin - Fence Agent
# Digimer; digimer@alteeve.com
# Mar. 05, 2010.
# Version: 0.1.003


###############################################################################
# System:                                                                     #
# - Here you setup general values for the fence agent and any/all nodes.      #
###############################################################################

# This must be set to the number of Node Assassin devices you are using. It
# must be a positive integer. 
#system::nodes		=	1
system::nodes		=	1

# Version
system::agent_version	=	0.1.003

# This is the log file. If unset, no logging will occur. If using '/var/log/',
# be sure that this agent is able to create or edit the file. The default is to
# write to '/tmp' to prevent accidental failure of the agent due to
# misconfiguration.
#system::log		=	/var/log/fence_na.log
system::log		=	/tmp/fence_na.log

# If set to '1', messages to STDOUT will be surpressed except in the event of
# errors. This can be overridden at the command line with the '-q' switch.
system::quiet		=	0

# This is the authentication information... It is currently a simple plain text
# compare, but this will change prior to first release.
system::username	=	ariel
system::password	=	gr0tt0


###############################################################################
# Devices:                                                                    #
# - Here you setup each fence device. There must be a corresponding           #
#   'node::X::var' for each node where 'X' is between 1 and 'system::nodes'.  #
###############################################################################

### Define values for Node 1.

# The nodes name. This must match exactly with the name set in the given node.
node::1::name		=	Ariel
# This is the IP address and port where I will connect to this node at.
# NOTE: THIS MUST MATCH THE VALUE USED IN '/etc/cluster.conf'! If you used a
# resolvable name there, use the same name here. Vice versa for IP addresses.
# If this doesn't match the 'ipaddr' argument sent by the 'fenced' daemon the
# fence will not work properly!
node::1::ipaddr		=	ariel.alteeve.com
node::1::tcp_port	=	238
# This is the number of nodes supported by this Node Assassin
# (1 node = 2 ports; odd # = reset, even # = power)
node::1::ports		=	4
# These values are set when the node assassin program switch is run.
node::1::mac		=	00:09:30:ff:f0:8a
node::1::netmask	=	255.255.255.0
node::1::gateway	=	192.168.1.1

 

Input, advice, complaints and meanderings all welcome!
Digimer digimer@alteeve.ca https://alteeve.ca/w legal stuff:  
All info is provided "As-Is". Do not use anything here unless you are willing and able to take resposibility for your own actions. © 1997-2013
Naming credits go to Christopher Olah!
In memory of Kettle, Tonia, Josh, Leah and Harvey. In special memory of Hannah, Jack and Riley.