To: | "'nv-l@lists.us.ibm.com'" <nv-l@lists.us.ibm.com> |
---|---|
Subject: | RE: [nv-l] Netview Maint. |
From: | "Evans, Bill" <Bill.Evans@hq.doe.gov> |
Date: | Wed, 29 Dec 2004 09:19:28 -0500 |
Delivery-date: | Wed, 29 Dec 2004 14:20:17 +0000 |
Envelope-to: | nv-l-archive@lists.skills-1st.co.uk |
Reply-to: | nv-l@lists.us.ibm.com |
Sender: | owner-nv-l@lists.us.ibm.com |
Here's what I do. I wrote a version which also transfers the backups to another NetView system and synchronizes the two using traps. This is an outgrowth of the class exercises used when we taught "NetView for Unix for Administrators". The addition of /usr/OV/www/conf/* covers the new Web Client configuration which didn't exist then. Some low activity databases and the SNMP data collections are not backed up. #!/bin/ksh
date_qual=`date | awk '{print $2 $3 }'` # Derive a unique date qualifier
# Create a file to use as a lockout; if this file is present CRON process
# do some periodic maintenance on the databases so we save clean ones
# Copy the content of the configuration and databases into a unique file
/bin/tar -cvf /usr/OV/backups/${date_qual}_ovdb.tar /usr/OV/databases/openview/* | tee -a /usr/OV/log/WVE_nvmaint.log echo "Restarting daemons"
# Compress the files so they take up less space.
# Check for trapd.log overflow and process the archive
# Display the available storage and prompt the user to verify there is enough.
rm /opt/webmon/netview.maint
Bill Evans
-----Original Message-----
Hello List... I believe I've posted this before but can not find the answer in the
I need to figure a way to automate database maint. Does anyone have a
I know ovtopofix is one command . What other commands are part of
Any suggestions (Netview 7.1.4 AIX 5.2) Thanks
|
<Prev in Thread] | Current Thread | [Next in Thread> |
---|---|---|
|
Previous by Date: | [nv-l] Netview Maint., Catalina Martinez |
---|---|
Next by Date: | [nv-l] Formating trap message, Demis Gonçalves |
Previous by Thread: | [nv-l] Netview Maint., Catalina Martinez |
Next by Thread: | [nv-l] Formating trap message, Demis Gonçalves |
Indexes: | [Date] [Thread] [Top] [All Lists] |
Archive operated by Skills 1st Ltd
See also: The NetView Web