In the message dated: Tue, 06 Sep 2016 20:36:53 +0200,
The pithy ruminations from Jan =?utf-8?Q?Pokorn=C3=BD?= on 
<Re: [ClusterLabs] [rgmanager] generic 'initscript' resource agent that passes 
arguments?> were:

=> On 29/08/16 13:41 -0400, [email protected] wrote:
=> > I've got a number of scripts that are based on LSB compliant scripts,
=> > but which also accept arguments & values. For example, a script to manage
=> > multiple virtual machines has a command-line in the form:
=> > 
=> >    vbox_init --vmname $VMNAME [-d|--debug] [start|stop|status|restart]
=> > 

[SNIP!]

=> 
=> 
=> Adapting script.sh to scriptArgs.sh working as desired should not
=> be a hard task, though.  Once you add such custom RA to the system
=> (i.e., across all nodes), supposing you have adapted produced

OK.

Will ccs look for resource scripts anywhere other than
"/usr/share/cluster"? Does it use a search path, such as:

        /usr/share/cluster:/usr/local/share/cluster

or is there a way to specify alternative locations for local resource
files?

I truly hate putting local files in directories that are managed by
external packages -- it will surely be a source of future confusion and
management difficulty.


=> meta-data respectively, you should remember to run "ccs_update_schema"
=> so that any subsequent start of the cluster stack on the node or
=> modification via ccs utility will not fail due to unrecognized RA
=> if present in the to-apply configuration.

Got it.

=> 
=> Note that the new agent will not get reflected in luci web UI
=> automatically, you would have to add a support on your own.
=> 

No problem, I do most cluster configuration via the command line.

Thanks,

Mark


=> -- 
=> Jan (Poki)

-- 
Mark Bergman 

_______________________________________________
Users mailing list: [email protected]
http://clusterlabs.org/mailman/listinfo/users

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org

Reply via email to