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

Re: [Xen-users] Dom0 log and disk space management



Hi,

2013/1/3 John Buchanan <John.Buchanan@xxxxxxxxxxxxxxxxxx>:
> We're running a handful of XCP 1.1 pools and have run in to situations
> wherein the local filesystem on the Dom0 control domain hits 100% capacity
> due to error logging in /var/log (daemon.log, messages, xensource.log, etc)
> thereby taking that host offline.  Twice recently we've run in to this, on
> two different pools, first due to the primary SR hitting capacity and
> secondly when memory was exhausted on the host.
>
> My question is, how do others manage logs and such under these circumstances
> on Dom0?  The first obvious answer seems to be tweaking /etc/logrotate.conf,
> but I was wondering if there are better methods seeing as this is XCP and
> not a more conventional Xen on Linux install.

Reducing useless messages is also a relevant thing to do - at least
XenServer has an option to set the loglevel. I'd assume it's in XCP
too.

And yes, monitoring is of course a necessity. ;)
Better monitoring tools can monitor the grow rate over a monthly cycle
and will as such only alert if logrotate fails it's job.

Greetings,
Florian

-- 
the purpose of libvirt is to provide an abstraction layer hiding all
xen features added since 2006 until they were finally understood and
copied by the kvm devs.

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.