[Pacemaker] Stonith setup hostname params

2011-03-21 Thread cfk
Dear all, I try to setup a simple STONITH-enabled 2-node Cluster, but failed. I read the document, http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf, and execute the following CLI command crm configure primitive rsa-fencing stonith:external/ibmrsa params hostname="alpha1 alpha2" ipaddr=1

Re: [Pacemaker] Stonith setup hostname params

2011-03-22 Thread Pavel Levshin
22.03.2011 4:56, c...@itri.org.tw: > > I try to setup a simple STONITH-enabled 2-node Cluster, but failed. > > I read the document, > http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf, and execute > the following CLI command > > crm configure primitive rsa-fencing stonith:external/ibmrsa para

Re: [Pacemaker] Stonith setup hostname params

2011-03-28 Thread Dejan Muhamedagic
Hi, On Tue, Mar 22, 2011 at 12:54:28PM +0300, Pavel Levshin wrote: > 22.03.2011 4:56, c...@itri.org.tw: > > > > I try to setup a simple STONITH-enabled 2-node Cluster, but failed. > > > > I read the document, > > http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf, and execute > > the followin

Re: [Pacemaker] Stonith setup hostname params

2011-03-28 Thread Pavel Levshin
28.03.2011 18:35, Dejan Muhamedagic: Currently, crm shell cannot handle quoted parameters with spaces from the command line. Try to enter it interactively: The crm shell gets what bash (or dash) passes. The quotes are gobbled by bash in that process. Basically, what you type is not what crm see

Re: [Pacemaker] Stonith setup hostname params

2011-03-29 Thread Dejan Muhamedagic
On Mon, Mar 28, 2011 at 09:08:32PM +0400, Pavel Levshin wrote: > 28.03.2011 18:35, Dejan Muhamedagic: >>> Currently, crm shell cannot handle quoted parameters with spaces from the >>> command line. Try to enter it interactively: >> The crm shell gets what bash (or dash) passes. The quotes are >> g

Re: [Pacemaker] Stonith setup hostname params

2011-04-01 Thread Andrew Beekhof
On Tue, Mar 29, 2011 at 3:28 PM, Dejan Muhamedagic wrote: > On Mon, Mar 28, 2011 at 09:08:32PM +0400, Pavel Levshin wrote: >> 28.03.2011 18:35, Dejan Muhamedagic: Currently, crm shell cannot handle quoted parameters with spaces from the command line. Try to enter it interactively: >>> T

Re: [Pacemaker] Stonith setup hostname params

2011-04-01 Thread Dejan Muhamedagic
On Fri, Apr 01, 2011 at 09:41:26AM +0200, Andrew Beekhof wrote: > On Tue, Mar 29, 2011 at 3:28 PM, Dejan Muhamedagic > wrote: > > On Mon, Mar 28, 2011 at 09:08:32PM +0400, Pavel Levshin wrote: > >> 28.03.2011 18:35, Dejan Muhamedagic: > Currently, crm shell cannot handle quoted parameters wi

Re: [Pacemaker] Stonith setup hostname params

2011-04-01 Thread Andrew Beekhof
On Fri, Apr 1, 2011 at 10:45 AM, Dejan Muhamedagic wrote: > On Fri, Apr 01, 2011 at 09:41:26AM +0200, Andrew Beekhof wrote: >> On Tue, Mar 29, 2011 at 3:28 PM, Dejan Muhamedagic >> wrote: >> > On Mon, Mar 28, 2011 at 09:08:32PM +0400, Pavel Levshin wrote: >> >> 28.03.2011 18:35, Dejan Muhamedagi

Re: [Pacemaker] Stonith setup hostname params

2011-04-01 Thread Dejan Muhamedagic
On Fri, Apr 01, 2011 at 11:05:29AM +0200, Andrew Beekhof wrote: > On Fri, Apr 1, 2011 at 10:45 AM, Dejan Muhamedagic > wrote: > > On Fri, Apr 01, 2011 at 09:41:26AM +0200, Andrew Beekhof wrote: > >> On Tue, Mar 29, 2011 at 3:28 PM, Dejan Muhamedagic > >> wrote: > >> > On Mon, Mar 28, 2011 at 09

Re: [Pacemaker] Stonith setup hostname params

2011-04-01 Thread Pavel Levshin
29.03.2011 17:28, Dejan Muhamedagic: The fact that the shell has this feature doesn't mean that it should be misused. It was meant mainly for one-off management commands (such as "resource stop" or "node standby") and only very seldom for one-off configuration commands. Sounds reasonable. If

Re: [Pacemaker] Stonith setup hostname params

2011-04-04 Thread Dejan Muhamedagic
On Fri, Apr 01, 2011 at 11:19:59PM +0400, Pavel Levshin wrote: > 29.03.2011 17:28, Dejan Muhamedagic: > > >> The fact that the shell has this feature doesn't mean that it >> should be misused. It was meant mainly for one-off management >> commands (such as "resource stop" or "node standby") and onl