Pros and Cons of using logrot.pl over Solaris logadm utility for LMS v3.2
I've been going back and forth with development on a way of best leveraging a log rotation capability in our newly deployed LMS 3.2 rollout on Solaris 10.
As of now, we use the services facility built into Solaris to start/stop the syslog service and logrotate (via logadm) our LMS log file (syslog_info) on a weekly basis. I added an argument in logadm to HUP the syslogd service which I think resets the file pointer and/or forces syslogd service to re-read the syslog.conf file. The problem with this setup is that in order for me to logrotate, I additionally have to stop and start a whole chain of processes so that the LMS application can carry on its duties of collecting and analyzing this data. So what I would have to do without drilling down a lenghty process dependencies is to stop/restart LMS which I really dislike doing for a small part of the entire application suite.
Cisco TAC recommends that insead of using logadm, that we should use logrot.pl which I have used in the past on a limited basis. TAC informs me that this will essentially logrotate and stop/start the LMS as well but what I haven't been able to get out of them is how this script deals with the syslog service. I looked over the code but didn't see any reference to the actual syslog service.
Re: Pros and Cons of using logrot.pl over Solaris logadm utility
The main advantage of logrot is that it rotates the file in place without modifying the inode number. It also hass some Daemon Manager knowledge built in. With syslog_info, logadm is perfectly fine provided you use the "-c" argument to logadm. This will do an in-place rotation, and no daemons will need to be restarted.
We are pleased to announce availability of Beta software for 16.6.3.
16.6.3 will be the second rebuild on the 16.6 release train targeted
towards Catalyst 9500/9400/9300/3850/3650 switching platforms. We are
looking for early feedback from customers befor...
Introduction Featured Speakers Luis Espejel is the Telecommunications
Manager of IENova, an Oil & Gas company. Currently he works with Cisco
IOS® and Cisco IOS XE platforms, and NX to some extent. He has also
worked as a Senior Engineer with the Routing P...
In this session you can learn more about Layer 3 multicast and the best
practices to identify possible threats and take security measures. It
provides an overview of basic multicast, the best security practices for
use of this technology, and recommendati...