Hi!

As I've written my first OCF RA, I want to install it to test it in the =
"real life". I wonder: How does crm locate the existing RAs ("crm ra =
classes", "crm ra info ocf:IPaddr2")? I found that most RAs are installed =
in /usr/lib/ocf/resource.d/heartbeat, very few in /usr/lib/ocf/resource.d/p=
acemaker/. So where should by RA go?
I'm not good in reading Python code, but it seems crm uses "lrmadmin" to =
build the list. Unfortunately the manual page for lrmadmin is very poor:

LRMADMIN(8)             System Administration Utilities            =
LRMADMIN(8)



NAME
       lrmadmin - Part of the Linux-HA project

DESCRIPTION
       lrmadmin -d,--daemon

       -A,--add <rscid> <raclass> <ratype> <provider|NULL> [<rsc_params_lis=
t>]

       -D,--delete <rscid>

       -F,--flush <rscid>

       -X,--fail <rscid> [<fail_rc> [<fail_reason>]]

       -E,--execute <rscid> <operator> <timeout> <interval>  <target_rc|EVE=
RY-
              TIME|CHANGED> [<operator_parameters_list>]

       -S,--state <rscid> [-n <fake_name>]

       -L,--listall

       -I,--information <rsc_id>

       -C,--raclass_supported

       -T,--ratype_supported <raclass>

       -O,--all metadata of this class <raclass>

       -M,--metadata <raclass> <ratype> <provider|NULL>

       -P,--provider <raclass> <ratype>

       -p,--set_lrmd_param <name> <value>

       -g,--get_lrmd_param <name>

       -v,--version

       -h,--help



lrmadmin 1.0.7                     May 2011                        =
LRMADMIN(8)

Also for updates, should the RA be versioned?

Regards,
Ulrich


_______________________________________________
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to