Antw: Re: remote logging

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





>>> Wido den Hollander <wido@xxxxxxxx> schrieb am Donnerstag, 14. April
2016 um
16:02:

>> Op 14 april 2016 om 14:46 schreef Steffen Weißgerber
<WeissgerberS@xxxxxxx>:
>> 
>> 
>> Hello,
>> 
>> I tried to configure ceph logging to a remote syslog host based on
>> Sebastian Han's Blog
>> (http://www.sebastien-han.fr/blog/2013/01/07/logging-in-ceph/): 
>> 
>> ceph.conf
>> 
>> [global]
>> ...
>> log_file = none
>> log_to_syslog = true
>> err_to_syslog = true
>> 
>> [mon]
>> mon_cluster_log_to_syslog = true
>> mon_cluster_log_file = none
>> 
>> The remote logging works fine but nevertheless i find local logging
in the
>> file /none.
>> 
> 
> It has been a long time since I tried syslog. Could you try:
> 
> log_file = ""
> 
> See how that works out.
> 

Yes, that's it. First I thought a 'ceph-deploy --overwrite-conf config
push <node>'
will also notify the daemons on that host to reread the configuration
but
I had to restart the daemons so that the /none file is not used
anymore.

Thank you and regards.

> Wido
> 
>> That means:
>> 
>> monitor and osd logging on mon hosts
>> 
>> 2016-04-14 14:40:46.379376 mon.0 2.1.1.92:6789/0 2643 : cluster
[INF] pgmap
>> v39837493: 4624 pgs: 4624 active+clean; 22634 GB data, 68107 GB
used, 122 TB 
> 
>> / 189 TB avail; 36972 kB/s rd, 6561 kB/s wr, 1733 op/s
>> 2016-04-14 14:40:48.824882 7f21de1e9700  0 -- 2.1.1.138:6812/8489
>>
>> 2.1.106.116:0/1407816754 pipe(0x1b69e000 sd=182 :6812 s=0 pgs=0 cs=0
l=0
>> c=0x1bb5a2c
>> 0).accept peer addr is really 2.1.106.116:0/1407816754 (socket is
>> 2.1.106.116:60963/0)
>> 2016-04-14 14:40:47.460665 mon.0 2.1.1.92:6789/0 2644 : cluster
[INF] pgmap
>> v39837494: 4624 pgs: 4624 active+clean; 22634 GB data, 68107 GB
used, 122 TB 
> 
>> / 189 TB avail; 34412 kB/s rd, 8085 kB/s wr, 1762 op/s
>> 
>> and osd logging on non mon hosts.
>> 
>> I configured this on Giant and now migrated to Hammer (based on
Ubuntu 
> 14.04.4
>> LTS) without change.
>> 
>> What I'm doing wrong?
>> 
>> Thanks in advance.
>> 
>> 
>> Regards
>> 
>> Steffen
>> 
>> 
>> 
>> -- 
>> Klinik-Service Neubrandenburg GmbH
>> Allendestr. 30, 17036 Neubrandenburg
>> Amtsgericht Neubrandenburg, HRB 2457
>> Geschaeftsfuehrerin: Gudrun Kappich
>> _______________________________________________
>> ceph-users mailing list
>> ceph-users@xxxxxxxxxxxxxx 
>> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

-- 
Klinik-Service Neubrandenburg GmbH
Allendestr. 30, 17036 Neubrandenburg
Amtsgericht Neubrandenburg, HRB 2457
Geschaeftsfuehrerin: Gudrun Kappich
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com




[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux