Ulrich.Windl at rz
Aug 23, 2012, 12:27 AM
Post #1 of 2
>> >>> Jon Heese <jheese [at] co> schrieb am 22.08.2012 um 23:22 in
Antw: Re: Leave Apache running on both active and passive nodes?
<571E3D34C35D6F419A543F2F7747EF5303BB6A8406 [at] MAILBOX
Can you talk them into buying a couple of SSDs? That should cut down the
> > startup time -- provided it's apache, not pacemaker, that's actually
> > slow?
> That won't work, and here's why:
> 1. No (zero, zilch, nada) budget for this project.
> 2. The two nodes are both VMs (i.e. nowhere to put the SSDs)
> 3. Apache starts in <1 second when started manually, so the delay *is*
> Pacemaker, not Apache
Another low-budget solution would be examining the syslog. There you should see the times when some bad thing is detected, the time when CRM makes an "execution plan", the time when LRM starts an action, the time when the action completed. In summary you could see where your time is lost.
"crmd: [#]: info: do_lrm_rsc_op: Performing key="
"crmd: [#]: info: te_rsc_command: Initiating action"
"lrmd: [#]: info: operation"
"pengine: [#]: notice: LogActions:"
Maybe your configuration could be tuned.
> Thanks for the suggestion though. :)
> Jon Heese
> Systems Administrator
> Weld County Computer Services
> ACS Government Systems, Inc., A Xerox Company
> tel: 970-304-6570 x2552
> jheese [at] co
> Confidentiality Notice: This electronic transmission and any attached
> documents or other writings are intended only for the person or entity to
> which it is addressed and may contain information that is privileged,
> confidential or otherwise protected from disclosure. If you have received
> this communication in error, please immediately notify sender by return e-mail
> and destroy the communication. Any disclosure, copying, distribution or the
> taking of any action concerning the contents of this communication or any
> attachments by anyone other than the named recipient is strictly prohibited.
> Linux-HA mailing list
> Linux-HA [at] lists
> See also: http://linux-ha.org/ReportingProblems
Linux-HA mailing list
Linux-HA [at] lists
See also: http://linux-ha.org/ReportingProblems