From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bogdan Dobrelya Date: Tue, 24 Dec 2013 15:36:40 +0200 Subject: [Cluster-devel] Fence agent for Tripplite PDU In-Reply-To: <52B2F537.8060002@redhat.com> References: <52A74740.8020904@redhat.com> <52A82671.1000604@mirantis.com> <52AF18ED.8090906@redhat.com> <52AF260F.6070403@mirantis.com> <52B2F537.8060002@redhat.com> Message-ID: <52B98DE8.1090803@mirantis.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On 12/19/2013 03:31 PM, Marek Grac wrote: > On 12/16/2013 05:10 PM, Bogdan Dobrelya wrote: >> >> As far as I was testing my Tripplite PDU device with standard fence >> agents, I've tried to find any suitable agent for it (fence_apc, >> fence_apc_snmp) but didn't succeed. That's why I've played with >> cmd-prompt and ssh-options of fence_apc agent mentioned above. >> >> But I've managed to succeed with customized fence_pdu_snmp (not with >> fence_pdu tho) agent I created from fence_apc_snmp with minimal >> changes (fixed OIDs and that is almost all). >> I'd like to propose this fence_pdu_snmp agent as well (tested with >> PDUMH20HVNET 12.04.0055 (snmp v1,v2c,v3) device). See a patch in >> attachement, targeted for RHEL6 branch. I believe, it might be >> compatible with any switched PDU devices, if slightly modified. >> > If the only modification was done in OIDs, I will prefer to include it > into fence_apc_snmp. We have already used a symlinks to run fence agents Done. Here are 2 patches for master and RHEL6 branches for fence_apc_snmp agent, with added Tripplite PDU support. > with different default options and I believe we can use same approach > there as well (e.g. fence_ilo3 / fence_ipmilan). Can you take a look at > current upstream version and test it there? Ideally check if it will I've tested the patch for RHEL6 branch with my Tripplite PDU. And as you could have noticed, there is no difference between the patch for RHEL6 and one for master branch, thus, you can assume tests is OK for master as well... > work without additional switches or we should implement there a variable > which will be set only for tripplite and not for apc. > > m, As you can see from fence_apc_snmp's original README, it doesn't support ganged or 'daisy-chained' switches yet, thus nothing was changed here. -- Best regards, Bogdan Dobrelya, Researcher TechLead, Mirantis, Inc. +38 (066) 051 07 53 Skype bogdando_at_yahoo.com Irc #bogdando 38, Lenina ave. Kharkov, Ukraine www.mirantis.com www.mirantis.ru bdobrelia at mirantis.com -------------- next part -------------- A non-text attachment was scrubbed... Name: 0001-MASTER-Add-Tripplite-PDU-support-to-fence_apc_snmp.patch Type: text/x-patch Size: 3044 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 0001-RHEL6-Add-Tripplite-PDU-support-to-fence_apc_snmp.patch Type: text/x-patch Size: 2807 bytes Desc: not available URL: