[Linux-HA] ID in OCF script

Zachár Balázs zachar at direkt-kfki.hu
Tue Nov 28 05:29:38 MST 2006


Hello @list!


Can I get the RA ID
 in the RA script?

e.g.

I have a resource:
<primitive class="ocf" id="smb_share_tester" provider="zachar" 
type="smb_share_tester">


In the script, I would like to use the resource ID (smb_share_tester).


I will use this script to manage many servers so I don't want to use 
constant...
I know I can use parameter section but maybe there is a simpler way...


Thx,
Balázs



More information about the Linux-HA mailing list