[Pacemaker] editing primitive via script

Gregg Jaskiewicz gryzman at gmail.com
Wed Aug 28 11:58:16 EDT 2013


Hi guys,

So I have to change one of the 'primitives' configuration, in this case
pgsql - to add a new node or remove it.
I'd like to script it.

Atm someone has to go in and manually run:
crm configuration edit pgsql
change the setting, and save it.

How could one do this automatically in a script ?
crm configuration edit doesn't like to be fed things from outside using
stdin pipe.

Thanks.

-- 
GJ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clusterlabs.org/pipermail/pacemaker/attachments/20130828/0d8cb97d/attachment-0002.html>


More information about the Pacemaker mailing list