6 NNM Maintenance

You might also like

Download as ppt, pdf, or txt
Download as ppt, pdf, or txt
You are on page 1of 8

NNM Maintenance

ca.com
Object DB Update

 #To update object DB


– ovstop -c netmon
– ovw -mapcount -rRvD
– ovtopofix -a
– xnmsnmpconf -clearC
– ovstart -c netmon

Slide I - 2 ca.com
Trim event database

 # to test no of rows that will be deleted


(Date Format: YYYY-MM-DD
HH:MM:SS)
– ovdwevent -trimpriorto 2007-06-01
-trimnodelete
 # to Delete the rows prior to YYYY-
MM-DD
– ovdwevent -trimpriorto 2007-06-01

Slide I - 3 ca.com
Backup

 Automated backup
– ovbackup.ovpl script uses commands and
scripts to backup NNM databases
– backup placed in $OV_TMP\ovbackup
– script customizable for private data
– can be integrated with other backup
storage utilities
– automatically scheduled to be run daily

Slide I - 4 ca.com
To stop default automated backup
 Edit \install_dir\analysis\default\solid.ini file
 Comment out the following line
;At=01;00 backup
 Save the file
 Stop and restart the database
ovstop ovdbcheck
ovstart ovdbcheck
 Embedded database is now backup up only
ovbackup.ovpl is run
 To keep transaction logs from growing too large, run
you backup frequently

Slide I - 5 ca.com
Performing backups
 2 types of data that are backed up
– operational
– analytical
ovbackup.ovpl [-operational] [-analytical] [-d destination_dir]
3. backup script looks into \install_dir\conf\ovbackup\pre_pause for any
scripts to be run before ovpause
4. backup script pauses appropriate NNM processes using ovpause
5. backup script looks into checkpoint\operational folder for scripts to
run for backing operational data
6. operational data is backed up to tmp\ovbackup directory
7. backup script resumes NNM processes using ovresume
8. backup script looks into ovbackup\post_resume dir for scripts to be
run after resume
9. backup script looks into checkpoint\analytical folder for scripts to run
for backing analytical data

Slide I - 6 ca.com
Effects of pausing NNM
 The following actions of NNM are suspended
– Discovery and Monitoring
– Synchronization between collection and management
stations
– Data collector configuration checks
– ovw sessions
 The following actions are not suspended
– Reception of SNMP events
– SNMP data collection
– Displaying of alarms
– Event-triggered actions
– SNMP commands

Slide I - 7 ca.com
Restoring a backup

 ovrestore.ovpl
 Copy backup to \install_dir\tmp\ovbackup
folder
 Shut down all NNM processes using ovstop
ovrestore.ovpl [-operational] [-analytical] [-d source_dir]
 restore script looks in the following
folders for scripts to run
– \install_dir\conf\ovbackup\restore\operational
– \install_dir\conf\ovbackup\restore\analytical

Slide I - 8 ca.com

You might also like