Vous êtes sur la page 1sur 5

DISASTER RECOVERY FOR HP NNM PLATFORM

Backup of NNM Platform


HP NNM platform consists of 5 databases residing on different servers. These 5 databases have to be
backed up frequently along with NNMi configuration, NNMi topology and NNMi Events. Figure-1 shows
databases residing on different servers.

Figure-1
Backup of Server 1
This server consists of Postgres database supporting NNMi Platform. Postgres DB stores data related to
the NNM configuration, events and topology.

Backup of NNMI configuration, events, topology and Postgres DB


Things to backup:
I. Configuration
II. Topology
III. Events
IV. Database
Back up All Data Periodically (Online backup)
Command:
nnmbackup.ovpl -force -type online -scope all -archive \ -target nnmi_backup\periodic

force: This option is used to back up nnm while running


type: This option is to specify if it is online backup or offline backup
scope: This is used to specify if scope of bacup. (i.e. Topology, event, config or all)
archive: This option is used to backup archive files.
Target: Specify target directory.

Backup of Server 2
This server consists of SYBASE IQ database supporting NNMi Platform. SYBASE IQ DB stores device data
collected by NNM and its iSPI’s.

Backup of Sybase Database:


Command:
backup.ovpl –b <backup directory path>

Note: If no backup flags (-c, -d, -f) are given then all default to true.

SYNOPSIS
backup.ovpl [-h] [-b dir] [-c] [-d] [-f]

where:
-h displays this text
-b dir specifies backup directory
Note: If this directory exists it is removed.
-c backup contentstore
-d backup database
-f backup files
-v verbose mode
Note: If no backup flags (-c, -d, -f) are given then all default to true
Backup of Server 3
This server consists of SYBASE database for OVPI. It stores the data collected from NNMi. This database
is backed up every day at 7:59PM and stored in E:\Sybase_Backups\current\ folder. This backup can be
copied and to the backup location.

Restore of the entire Module


1> Restore of NNMI
a> Same system Restore
The following items must not have changed between the time of the backup and time to
restore:
 NNMi version(including any patches)
 Operating system type and version
 Character set (language)
 Hostname
 Domain
Command to restore:
nnmrestore.ovpl -force -lic \-source nnmi_backups\periodic\newest_backup

b> Different System Restore


The following items must be identical to the old system
 NNMi version (including any patches)
 Operating system type and version
 Character set
The following items can differ between the two systems:
 Hostname
 Domain
Command to restore:
nnmrestore.ovpl -force \ -source nnmi_backups\periodic\newest_backup

Note: when performing restore on different system update the license.

2> Restore of SYBASE IQ


a) Same system Restore
The following items must not have changed between the time of the backup and time to
restore:
 NNMi version(including any patches)
 Operating system type and version
 Character set (language)
 Hostname
 Domain
Command to restore:
Restore.ovpl -b <backup file>

SYNOPSIS

restore.ovpl [-h] [-b file] [-l] [-v] [-s]

where:
-h displays this text
-b file specifies backup file
-l lists file content without restoring
-v verbose (default)
-s silent

b) Different System Restore


The following items must be identical to the old system
 NNMi version (including any patches)
 Operating system type and version
 Character set
The following items can differ between the two systems:
 Hostname
 Domain
Command to restore:
restore.ovpl [-h] [-b file] [-l] [-v] [-s]

Note: when performing restore on different system update the license.


3> Restore of OVPI
Install OVPI and update the patches and restore the database as mentioned in the
PerVigil_PVLadmin_v4.3_PVLbackup_Sybase_UsersGuide.pdf document stored in
\\ffd-bkup-01\IS Users Group\HP NNM\OVPI\Pervigil_Installs\
PVLInstalls\Backup_and_Monitoring\ PerVigil_PVLadmin_v4.3 .

Updating of license (Required if different system restore)


 Go to http://www.webware.hp.com
 Click Manage Licenses.
 Log in; then obtain your new license key by following the procedure to complete the
move process
 Configure the DNS servers to recognize the new IP address of the NNMi management
server.
 Reboot the nnmi management server.
 Enter the command in command prompt:
Nnmlicense.ovpl NNM -g
 Specify the location to the obtained license file.
(Note: OVPI does not have license).