[Pacemaker] How to run a set of resources on different nodes?

2012-02-13 Thread Tim Ward
an and whether they are needed and where they go, or whether the guy actually got it working in the end.) Thanks Tim Ward Brett Ward Limited - www.brettward.co.uk This message contains confidential information and may be privileged. If you are not the intended recipient, please notify the

[Pacemaker] How to stop a resource?

2012-03-15 Thread Tim Ward
p have in fact stopped by then. So, does anyone have any ideas as to what is going on here, and/or how to actually stop and then delete something? - thanks! Tim Ward Brett Ward Limited - www.brettward.co.uk This message contains confidential information and may be privileged. If you are

Re: [Pacemaker] How to stop a resource?

2012-03-15 Thread Tim Ward
27;t going to do anything as there is no such file. My resource is a resource controlled, in its entirety, by an OCF RA. Tim Ward Brett Ward Limited - www.brettward.co.uk > -Original Message- > From: Florian Crouzat [mailto:gen...@floriancrouzat.net] > Sent: 1

Re: [Pacemaker] How to stop a resource?

2012-03-15 Thread Tim Ward
direction. I'm driving this from Java and have written an interface to the "crm" command, which is how I was advised to get at Pacemaker from Java when I enquired on this list. Tim Ward Brett Ward Limited - www.brettward.co.uk This message contains confidential information

Re: [Pacemaker] How to stop a resource?

2012-03-15 Thread Tim Ward
a chance to do the delete as it won't still be there, whereas it *is* possible for a resource to kill itself it it throws everything at the crm command in one go [#] Yes yes, I know I can write an SNMP trap receiver and avoid the polling that way. It's fairly low down my list of options t

Re: [Pacemaker] How to stop a resource?

2012-03-16 Thread Tim Ward
> From: Lars Marowsky-Bree [mailto:l...@suse.com] > > crm has a synchronous mode nowadays too. How do I use that? - I haven't noticed it in any of the documentation that I've found. Tim Ward Brett Ward Limited - www.brettward.co.uk This message contains confidential

Re: [Pacemaker] How to stop a resource?

2012-03-19 Thread Tim Ward
;ve got a recent enough version. The documentation on crm that I have found is http://www.clusterlabs.org/doc/crm_cli.html and that doesn't mention -w. Should I be looking somewhere else? ("man crm" says "No manual entry for crm") Tim Ward Brett Ward Limited - www.b

[Pacemaker] Newcomer's question - API?

2011-11-01 Thread Tim Ward
d as being stable I'm (obviously) worried that it might change between versions.) Tim Ward Brett Ward Limited - www.brettward.co.uk This message contains confidential information and may be privileged. If you are not the intended recipient, please notify the sender and delete the messa

Re: [Pacemaker] Newcomer's question - API?

2011-11-01 Thread Tim Ward
have the experience (and bandwidth) to take > on the SWIG task? What is SWIG? Tim Ward Brett Ward Limited - www.brettward.co.uk > -Original Message- > From: Florian Haas [mailto:flor...@hastexo.com] > Sent: 01 November 2011 15:34 > To: The Pacemaker cluster resource manage

Re: [Pacemaker] Newcomer's question - API?

2011-11-02 Thread Tim Ward
le (or even in existence!) over new versions, or reverse engineering some human-readable text output from a human-targeted CLI and hoping that remains stable over new versions, which is clearly not an ideal position to be in. We must have missed something ... ... ... ??? Tim Ward Brett Ward Limited - www.b

Re: [Pacemaker] Newcomer's question - API?

2011-11-02 Thread Tim Ward
will quite likely be some useful error text in the standard error stream). Does that sound sensible? If so we can work out for ourselves whether to use commands that take arguments or ones that take and generate XML - there's plenty of other XML handing in our application so a

[Pacemaker] How to stop a failed resource?

2011-11-04 Thread Tim Ward
a-drbd1 ] Slaves: [ ipa-drbd2 ] drbd_fs(ocf::heartbeat:Filesystem) Started TestResource42 (ocf::ipaccess:timstest) Started (unmanaged) FAILED [root@ipa-ha1 ipaccess]# crm configure delete TestResource42 WARNING: resource TestResource42 is running, can't delete it Tim Ward Bre

Re: [Pacemaker] How to stop a failed resource?

2011-11-07 Thread Tim Ward
> From: Andreas Kurz [mailto:andr...@hastexo.com] > > and of course you did: > > crm resource cleanup TestResource42 That works, thanks. However I found no mention of it in either "Clusters from Scratch" 0r "Pacemaker Explained" ... so which document(s) ha