Thanks!!!<br>I have resolved configuring correctly the rsyslog daemon in Fedora 11.<br><br>Thanks!!!<br><br><br><br><div class="gmail_quote">2009/10/5 Andrew Beekhof <span dir="ltr"><<a href="mailto:andrew@beekhof.net">andrew@beekhof.net</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">On Sun, Oct 4, 2009 at 7:19 PM, Fausto Lombardi <<a href="mailto:faulomba@gmail.com">faulomba@gmail.com</a>> wrote:<br>
> The permissions of what?<br>
><br>
> The log file that I insert in openas.conf is created and written correctly<br>
> but the logs is still written in messages file.<br>
<br>
</div>the log file directive is ignored by pacemaker.<br>
because some processes run as root and some as hacluster, the ones<br>
running as hacluster wont be able to write to the logs.<br>
<div class="im"><br>
> I would that in messages file is written only the error/warning logs.<br>
<br>
</div>you can specify this in syslog-ng.conf<br>
<div><div></div><div class="h5"><br>
><br>
> This is my openais.conf:<br>
><br>
> # Please read the openais.conf.5 manual page<br>
><br>
> aisexec {<br>
> # Run as root - this is necessary to be able to manage resources with<br>
> Pacemaker<br>
> user: root<br>
> group: root<br>
> }<br>
><br>
> service {<br>
> # Load the Pacemaker Cluster Resource Manager<br>
> ver: 0<br>
> name: pacemaker<br>
> use_mgmtd: yes<br>
> use_logd: no<br>
> }<br>
><br>
> totem {<br>
> version: 2<br>
><br>
> # How long before declaring a token lost (ms)<br>
> token: 5000<br>
><br>
> # How many token retransmits before forming a new configuration<br>
> token_retransmits_before_loss_const: 10<br>
><br>
> # How long to wait for join messages in the membership protocol (ms)<br>
> join: 1000<br>
><br>
> # How long to wait for consensus to be achieved before starting a new<br>
> round of membership configuration (ms)<br>
> consensus: 2500<br>
><br>
> # Turn off the virtual synchrony filter<br>
> vsftype: none<br>
><br>
> # Number of messages that may be sent by one processor on receipt of the<br>
> token<br>
> max_messages: 20<br>
><br>
> # Stagger sending the node join messages by 1..send_join ms<br>
> send_join: 45<br>
><br>
> # Limit generated nodeids to 31-bits (positive signed integers)<br>
> clear_node_high_bit: yes<br>
><br>
> # Disable encryption<br>
> secauth: off<br>
><br>
> # How many threads to use for encryption/decryption<br>
> threads: 0<br>
><br>
> # rrp_mode: passive<br>
><br>
> # Optionally assign a fixed node id (integer)<br>
> # nodeid: 1234<br>
><br>
> interface {<br>
> ringnumber: 0<br>
><br>
> # The following values need to be set based on your environment<br>
> bindnetaddr: 192.168.1.0<br>
> mcastaddr: 226.94.1.1<br>
> mcastport: 5405<br>
> }<br>
> # interface {<br>
> # ringnumber: 1<br>
> #<br>
> # # The following values need to be set based on your environment<br>
> # bindnetaddr: 172.16.0.0<br>
> # mcastaddr: 226.95.1.1<br>
> # mcastport: 5505<br>
> # }<br>
> }<br>
><br>
> logging {<br>
> debug: off<br>
> fileline: off<br>
> to_file: on<br>
> to_syslog: off<br>
> to_stderr: off<br>
> logfile: /var/log/openais.log<br>
> syslog_facility: daemon<br>
> timestamp: on<br>
> }<br>
><br>
> amf {<br>
> mode: disabled<br>
> }<br>
><br>
><br>
><br>
> 2009/10/4 E-Blokos <<a href="mailto:infos@e-blokos.com">infos@e-blokos.com</a>><br>
>><br>
>> did you check permissions ?<br>
>><br>
>> ----- Original Message -----<br>
>> From: Fausto Lombardi<br>
>> To: <a href="mailto:pacemaker@clusterlabs.org">pacemaker@clusterlabs.org</a><br>
>> Sent: Sunday, October 04, 2009 1:09 PM<br>
>> Subject: Re: [Pacemaker] Openais log and cpu occupation<br>
>><br>
>><br>
>> The problem fo the log??<br>
>><br>
>> Thanks.<br>
>><br>
>> --<br>
>> This message has been scanned for viruses and<br>
>> dangerous content by MailScanner, and is<br>
>> believed to be clean.<br>
>><br>
>> ________________________________<br>
>><br>
>> _______________________________________________<br>
>> Pacemaker mailing list<br>
>> <a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
>> <a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
>><br>
>> --<br>
>> This message has been scanned for viruses and<br>
>> dangerous content by MailScanner, and is<br>
>> believed to be clean.<br>
>> _______________________________________________<br>
>> Pacemaker mailing list<br>
>> <a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
>> <a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
>><br>
><br>
><br>
> _______________________________________________<br>
> Pacemaker mailing list<br>
> <a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
> <a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
><br>
><br>
<br>
_______________________________________________<br>
Pacemaker mailing list<br>
<a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
<a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
</div></div></blockquote></div><br>