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?

# 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:
         ^^^

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

Reply via email to