ONTAP Discussions

Longer messages file retention

abroadbank
3,660 Views

I have a requirement to retain more than the default six weeks worth of the messages file.  Does anyone know how to change the default?

As this is a MetroCluster, the snapshot reserve of vol0 tends to fill after one week, so increasing the length of snapshot retention, to access older messages, would not satisfy this problem.  Not too keen using the weekly manual copy workaround either.

3 REPLIES 3

rmharwood
3,660 Views

I don't think changing the log file rotation is possible. You don't need to make it a manual process to copy the messages file every week. Just script it on some client system (either over CIFS or NFS) to copy and rename the file and place it somewhere else, even back onto the filer somewhere. You do have a systems admin capable of writing and scheduling trivial scripts like this, don't you?

Richard

scottgelb
3,660 Views

You could redirect syslog.  Read through examples for /etc/syslog.conf and you can have an external log server in addition to messages.

abroadbank
3,660 Views

Many thanks for both replies, as there seems to be no option to change, I think the better solution would be to update the syslog.conf.

Public