Re: [Pacemaker] crm resource restart doesn't restart the correct resource

2010-11-26 Thread Dejan Muhamedagic
Hi, On Fri, Nov 26, 2010 at 10:43:07AM +0100, Uwe Grawert wrote: > Zitat von Dejan Muhamedagic : > >crm resource restart is broken. It just won't work for groups. > >The restart is actually a stop followed by start. The start > >precludes the stop of all but the first resource. It will have to > >

Re: [Pacemaker] crm resource restart doesn't restart the correct resource

2010-11-26 Thread Uwe Grawert
Zitat von Dejan Muhamedagic : crm resource restart is broken. It just won't work for groups. The restart is actually a stop followed by start. The start precludes the stop of all but the first resource. It will have to be synchronous, that is to wait for all resources to stop first, then to start

Re: [Pacemaker] crm resource restart doesn't restart the correct resource

2010-11-26 Thread Pavlos Parissis
On 26 November 2010 10:15, Dejan Muhamedagic wrote: > Hi, > > On Thu, Nov 25, 2010 at 11:03:30PM +0100, Pavlos Parissis wrote: >> On Thu, 25 Nov 2010 07:09:28 -0500 >> Vadym Chepkov wrote: >> >> > >> > On Nov 25, 2010, at 7:01 AM, Pavlos Parissis wrote: >> > >> > > On 25 November 2010 12:44, Vady

Re: [Pacemaker] crm resource restart doesn't restart the correct resource

2010-11-26 Thread Dejan Muhamedagic
Hi, On Thu, Nov 25, 2010 at 11:03:30PM +0100, Pavlos Parissis wrote: > On Thu, 25 Nov 2010 07:09:28 -0500 > Vadym Chepkov wrote: > > > > > On Nov 25, 2010, at 7:01 AM, Pavlos Parissis wrote: > > > > > On 25 November 2010 12:44, Vadym Chepkov wrote: > > >> > > >> On Nov 25, 2010, at 6:31 AM,

Re: [Pacemaker] crm resource restart doesn't restart the correct resource

2010-11-26 Thread Pavlos Parissis
On 25 November 2010 13:09, Vadym Chepkov wrote: > > lsb script not compliant? > Yes it is, I have to hack it a bit in order to make it. See more info on that here http://www.gossamer-threads.com/lists/linuxha/pacemaker/67265?search_string=sshd;#67265 Cheers, Pavlos _

Re: [Pacemaker] crm resource restart doesn't restart the correct resource

2010-11-25 Thread Pavlos Parissis
On Thu, 25 Nov 2010 07:09:28 -0500 Vadym Chepkov wrote: > > On Nov 25, 2010, at 7:01 AM, Pavlos Parissis wrote: > > > On 25 November 2010 12:44, Vadym Chepkov wrote: > >> > >> On Nov 25, 2010, at 6:31 AM, Pavlos Parissis wrote: > >> > >>> Hi, > >>> When issue crm resource restart pbx_01 PE r

Re: [Pacemaker] crm resource restart doesn't restart the correct resource

2010-11-25 Thread Vadym Chepkov
On Nov 25, 2010, at 7:01 AM, Pavlos Parissis wrote: > On 25 November 2010 12:44, Vadym Chepkov wrote: >> >> On Nov 25, 2010, at 6:31 AM, Pavlos Parissis wrote: >> >>> Hi, >>> When issue crm resource restart pbx_01 PE restarts the wrong resource. >>> The pbx_01 belongs to a resource group and t

Re: [Pacemaker] crm resource restart doesn't restart the correct resource

2010-11-25 Thread Pavlos Parissis
On 25 November 2010 12:44, Vadym Chepkov wrote: > > On Nov 25, 2010, at 6:31 AM, Pavlos Parissis wrote: > >> Hi, >> When issue crm resource restart pbx_01 PE restarts the wrong resource. >> The pbx_01 belongs to a resource group and the last resource of that >> group is restarted. > > This is why

Re: [Pacemaker] crm resource restart doesn't restart the correct resource

2010-11-25 Thread Vadym Chepkov
On Nov 25, 2010, at 6:31 AM, Pavlos Parissis wrote: > Hi, > When issue crm resource restart pbx_01 PE restarts the wrong resource. > The pbx_01 belongs to a resource group and the last resource of that > group is restarted. This is why cluster has groups. groups define collocation/ordering, so i