Hi Dejan
I tried to reproduce the latency pb between commands, bt with only
some Dummy resources :
Resource Group: group-dummy1
resname1 (ocf::pacemaker:Dummy): Started chili2
resname2 (ocf::pacemaker:Dummy): Started chili2
resname3 (ocf::pacemaker:Dummy): Started chili2
resname4 (ocf::pacemaker:Dummy): Started chili2
Resource Group: group-dummy2
resname5 (ocf::pacemaker:Dummy): Started chili2
resname6 (ocf::pacemaker:Dummy): Started chili2
and in fact when using crm to start /stop for example :
crm resource start group-dummy1
(this one is instantaneously taken in account)
then just after the first one, I do : crm resource start group-dummy2
there is a latency of 10 to 14 s before the resource
is displayed "started" via crm_mon
So that is the basic cause of my latency problem when I
execute all the needed crm commands in my scripts to
address many HA clusters from a central management node.
I know that I can gather as much as possible crm commands
in a file on remote node and ask crm to take the file as input,
but within my scripts, I can't do that for all crm commands,
so would it be possible to reduce these 10 to 14s via a pacemaker
parameter tuning ?
Thanks
Alain
Dejan Muhamedagic a écrit :
> On Tue, Mar 01, 2011 at 04:29:26PM +0100, Alain.Moulle wrote:
>
>> Hi Dejan,
>> whatever command , i.e a crm start on a resource, an then a start or on
>> another
>> resource, the first one is instaneously taken in account, the second one
>> takes
>> around 45/50s . Or a start on a resource and just after the start, a crm
>> resource
>> stop on the same resource, the command returns, but crm_mon displays the
>> resource stopped 45/50s after the command.
>>
>
> No way to figure out what's going on without the logs and your
> configuration. Please open a bugzilla with hb_report attached.
>
> Thanks,
>
> Dejan
>
>
>> Alain
>>
>>> Hi,
>>>
>>> On Tue, Mar 01, 2011 at 03:15:10PM +0100, Alain.Moulle wrote:
>>>
>>>
>>>> Hi,
>>>>
>>>> Suppose we execute a crm command on a resource, it is quickly taken in
>>>> account.
>>>> Now, we execute a new crm command, there is a delay of around 40 to 60s
>>>> before this new command is taken in account in Pacemaker.
>>>>
>>>> I wonder why this delay?
>>>>
>>>>
>>> /me too. Where does it occur (the crm shell waits or something
>>> else)? Which exact commands, logs.
>>>
>>> Cheers,
>>>
>>> Dejan
>>>
>>>
>>>
>>>> And if it is possible to reduce it so that all commands could be taken in
>>>> account in a few seconds ?
>>>>
>>>> Thanks a lot
>>>> Alain
>>>> _______________________________________________
>>>> 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
>>>
>>>
>>>
>>>
>> _______________________________________________
>> 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
>
>
>
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems