On 18-Sep-2007 Peter Kruse wrote: > one thing that bothered me in the old apcmastersnmp was that > one could not configure the oids, they were hardcoded > as #defines, would it be possible to change that? > (I know, configuration files end in .c)
This one has the 2.x (AP9707) and 3.x (AP7600) OIDs hard-coded. It is also possible to define OIDs via configuration directives. > why don't you use the reset as well? That is a feature of the pdu > that allows to configure the delay between off and on. I really > think you should stick to that. There are 2 reasons I didn't use the Reset command : 1- There are probably PDUs that don't have this feature. They need to be supported (via the user-defined OIDs); 2- The code is currently structured that way. It needs to see the outlet as "off" before turning it back on. cf http://www.linux-ha.org/STONITH ("It must never report false positives for reset."); Also, I'd like to point out that the delay between OFF and ON commands is user configurable. And that the default APC RESET delay isn't long enough to reboot most of the BIOSes I've tried it with. > It worked like this for some years now, and there was no problem at all with > it. apcmastersnmp is incomplete. It doesn't respect the ST_POWEROFF and ST_POWERON commands. Are there stats on the number of people who used apcmastersnmp, discovered this problem and switched to apcmaster? > Your argument that if the server needs to be resetted because > there is a problem with it, and therefore should not start > automatically I can not follow. If the server boots after > a reset what harm can it do? My understanding is that stonith is used when a node needs to be removed from the cluster, for whatever reason. Some of these reasons might be hardware failure. If it reboots right away, the hardware failure will not have been fixed. However, I am not a heartbeat guru. I can easily be convinced that there are situations this is adequate. > (Is Heartbeat going to replace the plugin with this one?) It is my hope they will. > What firmware did you test your plugin with? I have access to these PDUs : APC Web/SNMP Management Card (MB:v3.8.6 PF:v3.3.4 PN:apc_hw02_aos_334.bin AF1:v3.3.3 AN1:apc_hw02_rpdu_333.bin MN:AP7900 HR:B2 SN: ZA0722007382 MD:05/30/2007) APC Web/SNMP Management Card (MB:v3.0.5 PF:v2.0.1 PN:aos201.bin AF1:v2.0.1 AN1:ms201.bin MN: AP9606 HR: G9 SN: WA0012008696 MD: 03/15/2000) > Please have a look at this thread: > http://lists.community.tummy.com/pipermail/linux-ha-dev/2007-April/014240.html Will do. -Philip _______________________________________________________ Linux-HA-Dev: [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/
