On Wed, Jun 23, 2010 at 1:52 PM, Dejan Muhamedagic <[email protected]> wrote: > On Tue, Jun 22, 2010 at 09:56:42PM +0200, Andrew Beekhof wrote: >> On Tue, Jun 22, 2010 at 9:50 PM, Andrew Beekhof <[email protected]> wrote: >> > On Tue, Jun 22, 2010 at 5:04 PM, Dejan Muhamedagic <[email protected]> >> > wrote: >> >> Hi, >> >> >> >> On Tue, Jun 22, 2010 at 04:02:10PM +0200, Andrew Beekhof wrote: >> >>> On Tue, Jun 22, 2010 at 4:01 PM, Alain.Moulle <[email protected]> >> >>> wrote: >> >>> > Ooops, sorry again, it seems that the rpm with RH fence methods was >> >>> > not installed ... >> >>> >> >>> You'll also need different parameters. >> >>> >> >>> Try: >> >>> stonith_admin --metadata --agent fence_ipmilan >> >>> >> >>> (Seems "crm ra info stonith:fence_ipmilan" isn't working for some reason) >> >> >> >> With or without lrmd running? >> > >> > Actually it wasn't. That would probably explain it. >> > I'm reasonably certain I had this working in the past. >> >> providers seems not to be working... could that be in the shell itself? > >> [09:50 PM] r...@f12 ~ # crm ra providers stonith > > Providers is a list for a type and class: > > # crm ra providers Dummy > > But the shell defaults to the class "ocf" here and there's no way > to supply a class. Fixed now. Don't know how's lrmadmin dealing > with it. Can you test this again?
perfect [08:44 AM] r...@f12 ~ # crm ra providers fence_ipmilan stonith redhat [08:45 AM] r...@f12 ~ # crm ra providers external/sbd stonith heartbeat > > # crm ra providers fence_ilo stonith > # crm ra providers ipmilan stonith > >> But list works >> >> [09:51 PM] r...@f12 ~ # crm ra list stonith >> apcmaster apcmastersnmp apcsmart >> baytech cyclades drac3 >> external/drac5 external/dracmc-telnet >> external/hmchttp external/ibmrsa external/ibmrsa-telnet >> external/ipmi external/ippower9258 external/kdumpcheck >> external/rackpdu external/riloe >> external/sbd external/ssh external/vmware >> external/xen0 external/xen0-ha fence_ack_manual >> fence_alom fence_apc >> fence_apc_snmp fence_baytech fence_bladecenter >> fence_brocade fence_bullpap fence_cisco_mds >> fence_cpint fence_drac >> fence_drac5 fence_egenera fence_eps >> fence_ibmblade fence_ifmib fence_ilo >> fence_ilo_mp fence_intelmodular >> fence_ipmilan fence_ldom fence_legacy >> fence_legacy~ fence_lpar fence_mcdata >> fence_node fence_nss_wrapper >> fence_rackswitch fence_rsa fence_rsb >> fence_sanbox2 fence_scsi fence_tool >> fence_virsh fence_virt >> fence_virtd fence_vixel fence_vmware >> fence_vmware_helper fence_wti fence_xcat >> fence_xvm fence_xvmd >> fence_zvm ibmhmc meatware >> null nw_rpc100s rcd_serial >> rps10 ssh >> suicide wti_mpc wti_nps >> >> >> How are you grabbing the metadata? > > With lrmadmin. > >> Because if I call lrmadmin myself I get a valid response. >> >> [09:51 PM] r...@f12 ~ # crm ra info fence_ipmilan >> lrmadmin[11352]: 2010/06/22_21:51:45 ERROR: >> lrm_get_rsc_type_metadata(578): got a return code HA_FAIL from a reply >> message of rmetadata with function get_ret_from_msg. >> ERROR: ocf:heartbeat:fence_ipmilan: could not parse meta-data: > ^^^ Yeah, but I wasn't getting the error when invoking lrmadmin directly. In any case, it seems to work now. Thanks! [08:46 AM] r...@f12 ~ # crm ra info stonith:fence_ipmilan IPMI Lan Auth type (md5, password, or none) (stonith:fence_ipmilan) fence_ipmilan is an I/O Fencing agent which can be used with machines controlled by IPMI. This agent calls support software using ipmitool (http://ipmitool.sf.net/). Parameters (* denotes required, [] the default): auth (string): IPMI Lan Auth type (md5, password, or none) ipaddr (string): IPMI Lan IP to talk to passwd (string): Password (if required) to control power on IPMI device passwd_script (string): Script to retrieve password (if required) lanplus (boolean): Use Lanplus login (string): Username/Login (if required) to control power on IPMI device action (string, [reboot]): Operation to perform. Valid operations: on, off, reboot, status, list, monitor or metadata timeout (string): Timeout (sec) for IPMI operation cipher (string): Ciphersuite to use (same as ipmitool -C parameter) method (string, [onoff]): Method to fence (onoff or cycle) verbose (boolean): Verbose mode stonith-timeout (time, [60s]): How long to wait for the STONITH action to complete. Overrides the stonith-timeout cluster property priority (integer, [0]): The priority of the stonith resource. The lower the number, the higher the priority. Operations' defaults (advisory minimum): on off reboot status list monitor_0 metadata > > Hope that this works: > > # crm ra info stonith:fence_ipmilan > > Thanks, > > Dejan > _______________________________________________ > Linux-HA mailing list > [email protected] > http://lists.linux-ha.org/mailman/listinfo/linux-ha > See also: http://linux-ha.org/ReportingProblems > _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
