ADSM-L

Re: Actlog & the database

2003-07-03 10:22:54
Subject: Re: Actlog & the database
From: Ben Bullock <bbullock AT MICRON DOT COM>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Thu, 3 Jul 2003 08:22:24 -0600
        At our site, we run our TSM servers with a 7 day activity log 
retention. However, we run our TSM servers on AIX and when we start them up we 
use the nohup command ( nohup dsmserv </dev/null & ). This redirects the 
activity log out to a "nohup.out" file. 

        The downside to doing it this way is that each entry in the nohup.out 
file is not date or time stamped. We compensate for this by inserting a time 
into the nohup.out file every 15 minutes with a simple cron entry. We also 
rotate out and date the nohup.out file every time we restart a server. 

        We seem to restart our TSM servers every few months, so that keeps the 
logs small. 6 months down the road, if I can tell what happened to a tape 
within a 15 minute window, that's close enough. It works for us.

Thanks,
Ben

-----Original Message-----
From: Richard Sims [mailto:rbs AT BU DOT EDU]
Sent: Thursday, July 03, 2003 6:21 AM
To: ADSM-L AT VM.MARIST DOT EDU
Subject: Re: Actlog & the database


>I have some ideas about the questions I'm about to ask but I need some other
>opinions. What is the relationship between the activity log retention period
>and the size of the TSM database. For example, the production database that I
>work with has a size of 52 GB and the actlog retention period is 90 days. Would
>the size of the database noticably decrease if the actlog retention was set to
>7 days? (Extraneous info: I piped the output from "q actlog
>begindate=01/01/2003" to file and the file is about 500 MB.)

You've answered your own question as to space usage, via the astute 'q actlog'
experiment.  The Activity Log impact on the database is usually modest,
depending upon how busy your server is.

>Is there a way to "archive" the activity log so that it could be "imported"
>later?

There's no reason to import it - it's just text.  What I - and probably other
shops - do is leave about 30 days worth in the db for convenience, but via
'q actlog' capture period images, redirected to an OS file, which is then
retained somewhere.  In this way I keep five years of server activity logs as
individual day files, in HSM.  These I can inspect with customary Unix commands:
grep, less, etc.

As always, I urge sites to retain activity logs for about as long as your oldest
still-filled tapes, as your reference for inevitable research into how any given
tape ended up the way it is.  Your auditors may impose such requirements.

  Richard Sims, BU

<Prev in Thread] Current Thread [Next in Thread>