[Pacemaker] logging related information- pacemaker

Shravan Mishra shravan.mishra at gmail.com
Mon Nov 30 19:31:30 EST 2009


Thanks a lot.

On Mon, Nov 30, 2009 at 10:42 AM, Dejan Muhamedagic <dejanmm at fastmail.fm> wrote:
> Hi,
>
> On Sat, Nov 28, 2009 at 08:45:26PM -0500, Shravan Mishra wrote:
>> Hi,
>>
>> I'm using pacemaker and trying to configure logging for various
>> subsytems like pengine, attrd, crmd etc.
>>
>> On starting corosync the only logs I see are for e.g
>>
> [...]
>
>> Nothing related to stonithd or crmd etc.
>>
>> I have started /usr/lib64/heartbeat/ha_logd -d&.
>>
>> Under /etc/ha.d/shellfuncs
>>
>> I see variables which I have exported on the command line:
>>
>> HA_LOGD=yes
>> HA_LOGFILE=/tmp/corosync.log
>>
>> Am I taking a completely wrong path, am I supposed to configure just
>> using corosync.conf and use logger_subsys for the above mentioned
>> subsystems?
>
> In corosync.conf, you should set
>
> use_logd:  yes
>
> in the service section, then specify the syslog facility
> in /etc/logd.cf. A bit confusing, but openais/corosync and
> ha_logd have different configuration files.
>
> Thanks,
>
> Dejan
>
>>
>> Sincerely
>> Shravan
>>
>> _______________________________________________
>> Pacemaker mailing list
>> Pacemaker at oss.clusterlabs.org
>> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> _______________________________________________
> Pacemaker mailing list
> Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>




More information about the Pacemaker mailing list