| 1 |
This is an snmp based fence agent for APC power switches to be used |
| 2 |
with RHEL4 Red Hat Cluster Suite. |
| 3 |
|
| 4 |
The reasons to use this agent rather than the current fence_apc agent are: |
| 5 |
1) This script has been tested with EVERY powerswitch that APC currently |
| 6 |
makes. |
| 7 |
2) It will work on many older models that are no longer supported by APC. |
| 8 |
I have been told that it even works with the AP9200 switch. Older switches |
| 9 |
usually don't do well with the fence_apc script. |
| 10 |
3) This agent works with large power switches that have more than 8 outlets. |
| 11 |
The fence_apc script will also, in the next update -- this script will work for you now. |
| 12 |
|
| 13 |
If feedback on this beta version of the agent is good, and if ganged switches |
| 14 |
can be supported, then this agent may replace fence_apc. |
| 15 |
|
| 16 |
In order to use this agent, you will need to have net-snmp-utils installed |
| 17 |
on every node in your cluster. net-snmp-utils is scheduled for inclusion |
| 18 |
in the base RHEL distribution for Update 4, and is yummable in FC5. |
| 19 |
|
| 20 |
After net-snmp-utils is installed, there will be a directory named: |
| 21 |
/usr/share/snmp/mibs/ |
| 22 |
|
| 23 |
Place the accompanying powernet369.mib file in this directory. |
| 24 |
|
| 25 |
To use the agent, cp the agent to the /sbin directory on every |
| 26 |
cluster node. The interface for the fence_apc_snmp agent is identical to |
| 27 |
the existing fence_apc agent, so if you are using APC for fencing in |
| 28 |
your cluster, you *could* backup your current fence_apc agent, and |
| 29 |
rename this agent from fence_apc_snmp to fence_apc, and it should just work. |
| 30 |
|
| 31 |
NOTE: The fence_apc_snmp agent does not yet support ganged or 'daisy-chained' |
| 32 |
APC switches. |
| 33 |
|
| 34 |
If you would rather not copy over your fence_apc agent, you can still use |
| 35 |
the fence_apc_snmp agent by dropping it into /sbin on every node, and then |
| 36 |
defining a <fencedevice> in the cluster.conf file with agent="fence_apc_snmp" |
| 37 |
as an attribute, and use it that way. Note, please, that the GUI does |
| 38 |
not support this agent yet, and you will have to edit your cluster.conf |
| 39 |
by hand and then propagate it yourself. If you need help with this, email |
| 40 |
me on linux-cluster or at the address below. |
| 41 |
|
| 42 |
Big thanks to Nate Straz who laid the foundation for this agent. |
| 43 |
|
| 44 |
Please let me know how this agent works. |
| 45 |
--Jim Parsons - [email protected] |