Tivoli Enterprise Monitoring Server "HOT" backup



Similar documents
Backing Up TestTrack Native Project Databases

MySQL Backups: From strategy to Implementation

NAS 253 Introduction to Backup Plan

DB2 backup and recovery

OPTIMIZING IBM NOTES ON CITRIX

MapGuide Open Source Repository Management Back up, restore, and recover your resource repository.

Managing ACE Software Licenses

You will be prompted for a password for the postgres user. In the example below,

Application Note - JDSU PathTrak Video Monitoring System Data Backup and Restore Process

Backup and Restore with 3 rd Party Applications

DocuShare Installation Guide

High Availability Guide for Distributed Systems

WebCT 3.7 Campus Edition System Administrator s Guide. Technical Communications

How to protect, restore and recover SQL 2005 and SQL 2008 Databases

Performing Administrative Tasks

Backup Methods for your BBB or RPi2 Node

Multiple Job Scheduling Environments.

Backup and Restore MySQL Databases

Using RMAN to restore a database to another server in an ASM environment

DS License Server V6R2013x

A Practical Guide to Backup and Recovery of IBM DB2 for Linux, UNIX and Windows in SAP Environments Part 1 Backup and Recovery Overview

DS License Server. Installation and Configuration Guide. 3DEXPERIENCE R2014x

IceWarp Server Upgrade

vcenter Configuration Manager Backup and Disaster Recovery Guide VCM 5.3

Security Correlation Server Backup and Recovery Guide

NSave Table of Contents

DocuShare Installation Guide

IBM Tivoli Monitoring Version 6.3 Fix Pack 2. Linux OS Agent Troubleshooting Guide

LAE Enterprise Server Installation Guide

Quick start guide for data backup: Backup Archive Client installation for Linux

DFW Backup Software. Whitepaper DFW Backup Agent

Last modified: September 12, 2013 This manual was updated for TeamDrive Personal Server version

Enterprise Content Management System Monitor 5.1 Agent Debugging Guide Revision CENIT AG Author: Stefan Bettighofer

Back Up and Restore the Project Center and Info Exchange Servers. Newforma Project Center Server

Windows Offline Files

Administration Guide - Documentum idataagent (DB2)

How to Backup XenServer VM with VirtualIQ

VMware vcenter Configuration Manager Backup and Disaster Recovery Guide vcenter Configuration Manager 5.4.1

Zoner Online Backup. Whitepaper Zoner Backup Agent

Module 7. Backup and Recovery

Implementing Microsoft SQL Server 2008 Exercise Guide. Database by Design

RES ONE Automation 2015 Task Overview

TSM for Windows Installation Instructions: Download the latest TSM Client Using the following link:

1. Installation Instructions - Unix & Linux

Ahsay Backup Software. Whitepaper Ahsay Backup Agent

IBM WebSphere Application Server Version 7.0

Installing IBM Websphere Application Server 7 and 8 on OS4 Enterprise Linux

UserGuide ReflectionPKIServicesManager

Connect to an SSL-Enabled Microsoft SQL Server Database from PowerCenter on UNIX/Linux

Computer Science and Engineering Linux Cisco VPN Client Installation and Setup Guide

How to Configure Double-Take on Microsoft Exchange Server

id_prob_result_coredump_aix.ppt Page 1 of 15

Radica Systems Limited RI Backup/Restore Guide Page: 1

High Availability for Exchange Server 5.5 Using Double-Take

Open Systems SnapVault (OSSV) Best Practices Guide

6. Backup and Recovery 6-1. DBA Certification Course. (Summer 2008) Recovery. Log Files. Backup. Recovery

Backup and Restore of CONFIGURATION Object on Windows 2008

Omnistar Recruiter Install User Guide (Codelock)

NPS Knowledge Transfer document:

Blaze Vault Online Backup. Whitepaper Blaze Vault Online Backup Agent

2 Installing Privileged User Manager 2.3

Using Symantec NetBackup with Symantec Security Information Manager 4.5

Backup and Recovery using PITR Mark Jones EnterpriseDB Corporation. All rights reserved. 1

This appendix describes the following procedures: Cisco ANA Registry Backup and Restore Oracle Database Backup and Restore

SQL-BackTrack the Smart DBA s Power Tool for Backup and Recovery

DataTrust Backup Software. Whitepaper DataTrust Backup Agent. Version 6.3

NetBackup Backup, Archive, and Restore Getting Started Guide

Data Stored on a Windows Computer Connected to a Network

Netezza PureData System Administration Course

SOA Software API Gateway Appliance 7.1.x Administration Guide

Tivoli Log File Agent Version Fix Pack 2. User's Guide SC

Module 5 Introduction to Processes and Controls

HP OpenView Storage Data Protector

Migrating your custom settings to version 7.6

Using MRTG to Monitor I/O

RDS Directory Synchronization

Configure Cisco Emergency Responder Disaster Recovery System

Oracle VM Server Recovery Guide. Version 8.2

How to Restore a Linux Server Using Bare Metal Restore

Changing Your Cameleon Server IP

Oracle WebCenter Sites. Backup and Recovery Guide 11g Release 1 (11.1.1)

1. Product Information

Using Depositit to Backup Microsoft Exchange Server

EMC NetWorker. Updating to NetWorker 8.2 SP1 from a Previous Release Guide. Version 8.2 SP REV 03

Online Backup Client User Manual Linux

CWMS System Backup / Oracle Backup and Recovery

An Introduction To The Web File Manager

Adaptive Server Enterprise

The Einstein Depot server

Setting Up Specify to use a Shared Workstation as a Database Server

IVUE System Administration

IBM WebSphere Application Server V8.5 lab Basic Liberty profile administration using the job manager

How To Enable A Websphere To Communicate With Ssl On An Ipad From Aaya One X Portal On A Pc Or Macbook Or Ipad (For Acedo) On A Network With A Password Protected (

IBM Tivoli Netcool Configuration Manager 6.3 Administration and Implementation

Transcription:

Tivoli Enterprise Monitoring Server "HOT" backup It may be desirable to backup the Tivoli Enterprise Monitoring Server without backing up the entire installation. This type of backup contains the monitoring server database and configuration settings. Backups of the monitoring server must be done cold, i.e. the monitoring server must be down at the time. There is an option to backup a HUB Tivoli Enterprise Monitoring Server while it is running, but a secondary Tivoli Enterprise Monitoring Server must be involved. This is termed a HOT backup. Backing up on UNIX or Linux Note: The IBM Tivoli Monitoring Server must be down at the time of a backup and no configuration changes should be allowed during the period the backup is occurring. The shutdown must complete normally to assure a consistent state of the database files. The user accounts that you use to perform these activities must have root privileges. Follow these steps to back up a IBM Tivoli Monitoring Server on UNIX or Linux : 1. Stop the IBM Tivoli Enterprise Monitoring Server on the system. 2. Use the tar command to compress the database files using a command that is similar to the following: tar -cvf /tmp/itm_server.backup.tar <ITM_Install_dir>/tables/<TEMS_Name>/QA1* 3. Add the following files to the tar file created in step 2 above: <ITM_Install_dir>/tables/<TEMS_Name>/KBBENV <ITM_Install_dir>/tables/<TEMS_Name>/glb_site.txt <ITM_Install_dir>/config/<host>_ms_<TEMS_Name>.config <ITM_Install_dir>/config/ms.ini <ITM_Install_dir>/config/kbbenv.ini Use commands similar to the following: tar -uvf /tmp/itm_server.backup.tar <path>/<file_name> 4. Add the following directories to the tar file created in step 2 above: <ITM_Install_dir>/tables/<TEMS_Name>/ATTRLIB <ITM_Install_dir>/tables/<TEMS_Name>/RKDSCATL <ITM_Install_dir>/tables/<TEMS_Name>/TECLIB Use commands similar to the following: tar -uvf /tmp/itm_server.backup.tar <path>/<dir_name> 5. Rename the compressed file if needed and store according to enterprise guidelines.

Following this procedure will backup the IBM Tivoli Monitoring Server configuration data and databases. This procedure can be run to backup any IBM Tivoli Monitoring Server that is not running. Backing up on Windows Note: The IBM Tivoli Monitoring Server must be down at the time of a backup and no configuration changes should be allowed during the period the backup is occurring. The shutdown must complete normally to assure a consistent state of the database files. The user accounts that you use to perform these activities must have administrator privileges. Follow these steps to back up an IBM Tivoli Monitoring Server on Windows. 1. Stop the IBM Tivoli Enterprise Server Monitoring on the system. 2. Use a compression command to compress the contents of the following directories (where <ITM_Install_dir> is the directory where IBM Tivoli Monitoring installed) into a single compressed file: <ITM_Install_dir>\cms\ATTRLIB <ITM_Install_dir>\cms\RKDSCATL <ITM_Install_dir>\cms\TECLIB 3. Use a compression command to add the following files to the compressed file created in the previous step: <ITM_Install_dir>\cms\glb_site.txt <ITM_Install_dir>\cms\KBBENV <ITM_Install_dir>\cms\CMSENV <ITM_Install_dir>\cms\KDSENV 4. Use a compression command to add all files whose names begin with QA1 in the <ITM_Install_dir>\cms to the compressed file created in step 2 above. 5. At a Windows command prompt, issue the following command to export the IBM Tivoli Monitoring Server registry information: reg export HKLM\Software\Candle\KMS c:\backup-name.reg 6. Use a compression command to add the.reg file to the compressed file created in step 2. 7. Rename the compressed file if needed and store according to enterprise guidelines. Following this procedure will backup the IBM Tivoli Monitoring Server configuration data and databases. This procedure can be run to backup any IBM Tivoli Monitoring Server that is not running. Performing a HOT backup A HOT backup can be used to backup the primary IBM Tivoli Monitoring Server while it remains running. A secondary IBM Tivoli Monitoring Server is required to perform this type of backup. Perform the following steps to accomplish this method of backup:

1. Configure the secondary IBM Tivoli Monitoring Server to use the FTO option. The primary IBM Tivoli Monitoring Server is designated as the secondary s peer. The primary IBM Tivoli Monitoring Server is not configured to use the FTO option. 2. Set MHM:HOTBACKUP=1 in the configuration file at the monitoring Server. This is valid for ITM 6.22 FP5 and higher. 3. Replace the database files at the secondary monitoring server with the original TEMS database files saved immediately after a TEMS install or by using the original install media to recreate the original database tables at an alternate system. This step is recommended but not required. 4. With the primary monitoring server already started, start the secondary monitoring server. As a best practice the secondary monitoring server should always be started after the primary monitoring server. 5. Look for any message similar to the following in the secondary management server s MSG2 log: KO41046 Monitoring for enterprise situation situation_name started. This message will occur only after synchronization between the primary monitoring server and the secondary monitoring server has been completed. 6. The secondary monitoring server can be shutdown at any time after the message in step 5 occurs. The shutdown must complete normally to assure a consistent state of the database files. The secondary monitoring server will continue to collect updates from the primary monitoring server if you allow it to continue running. Note: The database files are not valid for backup purposes until the secondary monitoring server has been successfully shutdown. 7. On the secondary monitoring server, use the steps described in Backing up on UNIX or Linux or Backing up on Windows to create a compressed file containing all of the files beginning with the name QA1* in the tables directory. This must occur after the secondary monitoring server has been shutdown. 8. On the primary monitoring server, use the steps described in Backing up on UNIX or Linux or Backing up on Windows to create a compressed file containing all of the other files and directories. Note: Do not backup the files beginning with the name QA1 in the tables directory on the primary monitoring server. 9. If the primary monitoring server is on a Windows system, use the steps described in Backing up on Windows to create a file containing the IBM Tivoli Monitoring Server registry information and add that file to the compressed file created in step 7 above. 10. Gather the two compressed files together (one from the secondary monitoring server and one from the primary monitoring server). Use a compression tool to combine the two files into a single backup file. Rename the file if needed and store according to enterprise guidelines. This procedure should produce a backup that can be used to restore the monitoring server that is currently the primary monitoring server. It cannot be used to restore the monitoring server that is currently the secondary monitoring server. The steps described in Restoring on UNIX or Linux and Restoring on Windows can be used to restore a HOT backup to the primary monitoring server it was created for.

Note: It is recommended that you save the monitoring server database tables after an initial install. This will avoid having to use the install media to recreate the initial monitoring server database tables. The initial monitoring server database tables are used in the backup and restore procedures. Restoring on UNIX or Linux Note: The primary IBM Tivoli Monitoring Server must be down at the time of a restore and no configuration changes should be allowed during the period the restore is occurring. The user accounts that you use to perform these activities must have root privileges. Follow these steps to restore a UNIX or Linux IBM Tivoli Monitoring Server: 1. Obtain the tar file containing the desired backup that will be used to restore the primary IBM Tivoli Enterprise Monitoring Server. 2. Obtain an initialized set of database files. These will be used to reset the database files at the primary monitoring server to an initial state. These can be obtained by saving the original database tables when the monitoring server is first installed or by using the original install media to recreate the database tables at an alternate system. The database files are all files beginning with QA1. Be sure that the version of the database files matches the version of the monitoring server. 3. Stop the primary Tivoli Enterprise Monitoring Server on the system. 4. Create a temporary backup directory that will be used to save a copy of the current files that will be replaced by the backup in step 5. These files can be used to restore the current environment if something goes wrong during the backup. 5. Save a copy of the following files to the temporary backup directory: All files beginning with the name QA1 in the <ITM_Install_dir>/tables/<TEMS_Name> directory. The files KBBENV and glb_site.txt from the <ITM_Install_dir>/tables/<TEMS_Name> directory. The files ms.ini, kbbenv.ini and <host>_ms_<tems_name>.config from the <ITM_Install_dir>/config directory. 6. Copy the ATTRLIB, RKDSCATL, and TECLIB subdirectories from the <ITM_Install_dir>/tables/<TEMS_Name> directory to the temporary backup directory. 7. Delete the ATTRLIB, RKDSCATL, and TECLIB subdirectories from the <ITM_Install_dir>/tables/<TEMS_Name> directory. 8. Create a second temporary directory. This one will be used for the planned restore of most files at the primary monitoring server. 9. Untar the backup file to the new temporary restore directory. 10. Copy the KBBENV and glb_site.txt files from the temporary restore directory to the <ITM_Install_dir>/tables/<TEMS_Name> directory. 11. Copy the ms.ini, kbbenv.ini and <hostname>_ms_<tems_name>.config files from the temporary restore directory to the <ITM_Install_dir>/config directory. 12. Copy the ATTRLIB, RKDSCATL, and TECLIB subdirectories from the temporary restore directory to the <ITM_Install_dir>/tables/<TEMS_Name> directory.

13. Reset the database files at the primary monitoring server to an initial state. These can be reset by replacing the existing database files with a set saved after a monitoring server install. The database files are all files beginning with QA1. These are located in the <ITM_Install_dir>/tables/<TEMS_Name> directory. 14. Turn on the FTO option at the primary monitoring server. 15. Create a temporary directory at the secondary monitoring server. This directory will be used to restore the database files. Note: It is important that the secondary monitoring server has the same CMS_NAME name as the secondary monitoring server that performed the backup. 16. Untar the backup file to the temporary restore directory on the secondary monitoring server. 17. Copy all files beginning with the name QA1 from the temporary restore directory at the secondary monitoring server to the <ITM_Install_dir>/tables/<TEMS_Name> directory replacing the files that are currently there. 18. Remove the MHM:HOTBACKUP keyword from the configuration files of the secondary monitoring server. 19. Start the secondary monitoring server. 20. Start the primary monitoring server after the secondary monitoring server has completed startup. 21. Shutdown the primary monitoring server after the database files have completed synchronization to the primary monitoring server. 22. Shutdown the secondary monitoring server. 23. Remove the FTO option from the primary monitoring server. 24. Restore the MHM:HOTBACKUP=1 keyword to the configuration files of the secondary monitoring server. 25. Start the primary monitoring server. You should see your normal monitoring server start up messages in the logs. Restoring on Windows Note: The primary IBM Tivoli Monitoring Server must be down at the time of a restore and no configuration changes should be allowed during the period the restore is occurring. The user accounts that you use to perform these activities must have administrator privileges. Follow these steps to restore a Windows IBM Tivoli Monitoring Server: 1. Obtain the compressed file containing the desired backup that will be used to restore the primary IBM Tivoli Enterprise Monitoring Server. Ensure you also have the corresponding.reg file that contains the backup primary IBM Tivoli Enterprise Monitoring Server registry information. 2. Obtain an initialized set of database files. These will be used to reset the database files at the primary monitoring server to an initial state. These can be obtained by saving the original database tables when the monitoring server is first installed or by using the original install media to recreate the database tables at an alternate system. The database files are all files beginning with QA1. Be sure that the version of the database files matches the version of the monitoring server. 3. Stop the primary Tivoli Enterprise Monitoring Server on the system.

4. Create a temporary backup directory that will be used to save a copy of the current files that will be replaced by the backup. These files can be used to restore the current environment if something goes wrong during the backup. 5. Save a copy of the following files to the temporary backup directory: All files beginning with the name QA1 in the <ITM_Install_dir>\cms directory The files KBBENV, CMSENV, KDSENV and glb_site.txt from the <ITM_Install_dir>\cms directory 6. Copy the ATTRLIB, RKDSCATL, and TECLIB subdirectories from the <ITM_Install_dir>\cms directory to the temporary backup directory. 7. Delete the ATTRLIB, RKDSCATL, and TECLIB subdirectories from the <ITM_Install_dir>\cms directory. 8. Create a second temporary directory. This one will be used for the planned restore of most files at the primary monitoring server. 9. Uncompress the backup file to the new temporary restore directory. 10. Copy the KBBENV, CMSENV, KDSENV and glb_site.txt files from the temporary restore directory to the <ITM_Install_dir>\cms directory 11. Copy the ATTRLIB, RKDSCATL, and TECLIB subdirectories from the temporary restore directory to the <ITM_Install_dir>\cms directory 12. At a Windows command prompt, issue the following command to delete the existing the IBM Tivoli Monitoring Server registry information: reg delete HKLM\Software\Candle\KMS 13. Using the backup-name.reg file in the temporary restore directory, issue the following command at a Windows command prompt to restore the IBM Tivoli Monitoring Server registry information: reg import c:\tmp_restore_dir\backup-name.reg 14. Reset the database files at the primary monitoring server to an initial state. These can be reset by replacing the existing database files with a set saved after a monitoring server install. The database files are all files beginning with QA1. These are located in the <ITM_Install_dir>\cms directory. 15. Turn on the FTO option at the primary monitoring server. 16. Create a temporary directory at the secondary monitoring server. This directory will be used to restore the database files. Note: It is important that the secondary monitoring server has the same CMS_NAME name as the secondary monitoring server that performed the backup. 17. Unzip the backup file to the temporary restore directory on the secondary monitoring server. 18. Copy all files beginning with the name QA1 from the temporary restore directory at the secondary monitoring server to the <ITM_Install_dir>\cms directory replacing the files that are currently there. 19. Remove the MHM:HOTBACKUP keyword from the configuration files of the secondary monitoring server. 20. Start the secondary monitoring server. 21. Start the primary monitoring server after the secondary monitoring server has completed startup.

22. Shutdown the primary monitoring server after the database files have completed synchronization to the primary monitoring server. 23. Shutdown the secondary monitoring server. 24. Remove the FTO option from the primary monitoring server. 25. Restore the MHM:HOTBACKUP=1 keyword to the configuration files of the secondary monitoring server. 26. Start the primary monitoring server. You should see your normal monitoring server start up messages in the logs.