HPE IMC Automatic Database Backup and Restoration in

HPE IMC Automatic Database Backup and Restoration in
HPE IMC
Automatic Database Backup and Restoration
in IMC Stateless Failover Configuration
Examples
Part number: 5200-1341
Software version: IMC PLAT 7.2 (E0403)
The information in this document is subject to change without notice.
© Copyright 2016 Hewlett Packard Enterprise Development LP
Contents
Introduction ·····················································································1
Configuration restrictions and guidelines ···············································1
Example: Backing up and restoring IMC databases in stateless failover ·······1
Network requirements ··················································································································· 1
Configuring automatic backup on the primary server ··········································································· 2
Configuring automatic restoration on the backup server ······································································ 5
Related documentation ······································································6
i
Introduction
This document provides examples for using DBMan to configure automatic database backup and
restoration in IMC stateless failover.
DBMan is integrated within the Intelligent Deployment Monitoring Agent to provide database backup and
restoration for the IMC Platform and service components.
In stateless failover, you can configure the primary IMC system to automatically back up database files to
the backup IMC system. You can also configure database restoration on the backup IMC system to
automatically replace database files with new files transferred from the primary IMC system. When the
primary IMC system is faulty, the backup IMC system can continue to provide services with the minimal
data loss.
Configuration restrictions and guidelines
Before you configure database backup and restoration in a stateless failover scenario, follow these
restrictions and guidelines:

The primary and backup servers must be installed and deployed with the same set of IMC
components with identical versions.

If IMC systems are deployed in distributed mode, configure the same automatic backup time setting
on the master and all subordinate servers.

DBMan cannot back up or restore configuration files. If the configuration files on the primary server
are changed, you must manually copy the configuration files from the primary server to the backup
server. Configuration files of an IMC server include authserver.conf that contains operator and
authentication server settings and deviceAppendDef.xml that contains additional information
customized for devices. Both files are located in the \client\conf directory of the IMC installation
path.

When restoring databases of the IMC system, make sure you restore databases of all deployed
components. If you restore only some of them, data loss might occur.

If you do not want to back up database files of a specific service component of the IMC system,
create a .skip file in the \dbman\etc directory of the IMC installation path. DBMan does not back up
the database files that are included in the .skip file. The file contents vary with the database type
and component name. For example, to skip NTA database files when SQL Server databases are
used, add the following statement to the .skip file:
dbName=nta_db
To skip NTA database files when Oracle databases are used, add the following statement to the
.skip file:
dbUserName=imc_nta
Example: Backing up and restoring IMC
databases in stateless failover
Network requirements
Two servers, 192.168.1.200 and 192.168.1.202, are deployed with the same set of IMC systems. You
are required to set server 192.168.1.200 as the primary server and server 192.168.1.202 as the backup
server to implement stateless failover between the two servers.
1
Configure automatic database backup on the primary server and automatic database restoration on the
backup server.
Configuring automatic backup on the primary server
1.
Start the Intelligent Deployment Monitoring Agent on the primary server.
2.
Click the Environment tab.
As shown in Figure 1, the tab displays the following information:

Software and hardware information of the server is on the left.

User database file and log file usage is on the right.

The DBMan database backup and restoration configuration area is at the bottom.
Figure 1 Environment tab
3.
Click Configure.
The Auto Backup and Recovery Settings dialog box appears.
2
Figure 2 Auto backup and recovery settings
4.
Select Auto Backup Mode.
A page for configuring auto backup settings appears.
5.
On the Basic Configuration tab, do the following, as shown in Figure 3:
a. Enter the time at which the automatic backup operation starts every day in the Daily Backup
Time (HH:mm) field. This example uses the default setting of 04:00.
b. Enter how many days an automatic backup file can be kept in the Backup File Lifetime (days)
field. Expired files are automatically removed. This example uses the default setting of 7.
c. Enter the IP address of the master server of the backup system in the Master Server IP of
Backup System. This example uses the backup server IP address of 192.168.1.202.
d. Specify the path where backup files are located in the Backup Path field. This example uses
C:\dbmanbak.
e. Select components to be automatically backed up. By default, no components are selected.
Select or clear Local Backup to configure all components.
f. Select components to be automatically uploaded to the backup system. By default, no
components are selected. Select or clear Upload To Backup System to configure all
components. Selecting the checkbox in the Upload To Backup System column for a
component also selects the checkbox in the Local Backup column for the component.
3
Figure 3 Auto backup settings in the Basic Configuration tab
6.
On the Advanced Configuration tab, select Delete local files after upload even if upload fails,
as shown in Figure 4.
4
Figure 4 Auto backup settings on the Advanced Configuration tab
7.
Click OK.
DBMan automatically backs up the databases on the primary IMC server at the specified time and
uploads the backup database files to the FTP server.
Configuring automatic restoration on the backup
server
1.
Start the Intelligent Deployment Monitoring Agent on the backup server.
2.
Click the Environment tab.
3.
Click Configure.
The Auto Backup and Recovery Settings dialog box appears.
4.
Select Auto Restore Mode.
A page for configuring auto restore settings appears.
5.
Do the following, as shown in Figure 5:
5
a. Specify the path in the Backup Files Location field to locate the files to be restored. The path
is the target location for the backup files transferred from the primary server.
b. Select components to be automatically restored. By default, all components are selected.
Select or clear Restore to configure all components.
Figure 5 Auto restore settings
6.
Click OK.
When new backup database files are uploaded from the primary server, the backup server
immediately replaces existing database files with the new files.
Related documentation
HPE IMC deployment guides
6
Was this manual useful for you? yes no
Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Download PDF

advertising