Hi,

On Tue, Mar 22, 2011 at 06:39:08PM +0200, Pavlos Polianidis wrote:
> Dear all,
> 
> I am looking for a way to add/modify an op-option "op monitor 
> on-fail="restart"" through a single command besides using the crm cli. I 
> tried with crm_resource but no luck. I need the command to use it in a script 
> as a non-root user, that's why I cannot use a command such as "crm configure 
> .........". Is there a way to do that?

A non-root user? Which one? Do you then use sudo in your script?
If so, you can set the "user" option in crm (see "crm options
help user"). Now, it's going to be tricky to do what you want
from a script. Take a look here
http://marc.info/?l=linux-ha&m=130148966631607&w=2

Thanks,

Dejan

> 
> Thanks in advance
> 
> Pavlos Polianidis | Technical Support Specialist
> 
> Velti
> 44 Kifisias Ave.
> 15125 Marousi, Athens, Greece
> T   +30.210.637.8000
> F   +30.210.637.8888
> M  +30.695.506.0133
> E   [email protected]
> www.velti.com<http://www.velti.com>
> 
> Velti is a global leader in mobile marketing and advertising solutions for 
> mobile operators, ad agencies, brands and media groups.
> San Francisco | New York | Boston | Dublin | London | Paris | Madrid | Athens 
> | Sofia | Moscow | Dubai | New Delhi | Mumbai | Jakarta | Beijing | Shanghai 
> | Sydney
> 
> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
_______________________________________________
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