[Pacemaker] [Fwd: Re: [RfC] Redesigned Debian HA packages, try 2 (was: try 1)]]

Andrew Beekhof andrew at beekhof.net
Tue May 26 19:36:53 UTC 2009


On Tue, May 26, 2009 at 6:11 PM, Raoul Bhatia [IPAX] <r.bhatia at ipax.at> wrote:
> Raoul Bhatia [IPAX] wrote:
>> 8. q. should pacemaker-openais add the service definition for pacemaker
>> to /etc/init.d/openais.conf?
>>
>> e.g.:
>>
>>> service {
>>>      # Load the Pacemaker Cluster Resource Manager
>>>      ver:       0
>>>      name:      pacemaker
>>>      use_mgmtd: yes
>>> }
>
> 10. and i would add this to /etc/openais/openais.conf
>> diff -r b3473a1f4ebf openais/openais.conf
>> --- a/openais/openais.conf      Tue May 26 18:01:52 2009 +0200
>> +++ b/openais/openais.conf      Tue May 26 18:10:23 2009 +0200
>> @@ -48,8 +48,10 @@
>>
>>  logging {
>>         to_stderr: no
>>         to_file: yes
>>         logfile: /var/log/openais/openais.log
>> +       to_syslog: no
>> +       syslog_facility: daemon
>>         debug: off
>>         timestamp: on
>>  }

I'd have to advise against this change.
Logging to a file is not supportable - the first daemons to start run
as root, which prevents those running as haclient from writing out any
logs later on.

the options should be set as:

to_file: no
to_syslog: yes
syslog_facility: daemon




More information about the Pacemaker mailing list