Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux-HA: Users

Antw: Re: Leave Apache running on both active and passive nodes?

 

 

Linux-HA users RSS feed   Index | Next | Previous | View Threaded


Ulrich.Windl at rz

Aug 23, 2012, 12:27 AM

Post #1 of 2 (129 views)
Permalink
Antw: Re: Leave Apache running on both active and passive nodes?

>> >>> Jon Heese <jheese [at] co> schrieb am 22.08.2012 um 23:22 in
> Nachricht
<571E3D34C35D6F419A543F2F7747EF5303BB6A8406 [at] MAILBOX
>US>:
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

Hi!

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.

Look for:
"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.

Regards,
Ulrich

>
> 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
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
>




_______________________________________________
Linux-HA mailing list
Linux-HA [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


jheese at co

Aug 23, 2012, 7:10 AM

Post #2 of 2 (119 views)
Permalink
Re: Antw: Re: Leave Apache running on both active and passive nodes? [In reply to]

> Hi!
>
> 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.
>
> Look for:
> "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.
>
> Regards,
> Ulrich

Cool, thanks. Will do.

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
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Linux-HA users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.