Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Operations
Manager 2005
Operations Guide
Acknowledgments
Primary Reviewers: Tom Keane, Bill Hodghead, Janaina Bueno
Managing Editor: Sandra Faucett
Did you find this information useful? Please send your suggestions and comments about
the documentation to momdocs@microsoft.com.
Looking for more MOM information? Experience the power of customer communities!
MOM Community
Backup and Restore
C H A P T E R 5
This chapter provides detailed information about, and instructions for, backing up and restoring
your Microsoft® Operations Manager (MOM) 2005 environment.
In This Chapter
• What To Backup
• Causes of Failure
• Impact of Failure
• Backup Best Practices
• Backing Up MOM Data
• Restoring MOM Data
• Additional Resources
Send feedback to the MOM Documentation Team: momdocs@microsoft.com.
What To Backup
To ensure your ability to properly preserve and restore your MOM environment, you should
backup several key items. These items are the MOM (OnePoint) database and transaction logs,
the MOM Reporting (SystemCenterReporting) database and transaction logs, all of the
Management Packs you have imported or created, including all changes and customizations you
have made to them, and any files you have on the File Transfer Server.
Did you find this information useful? Please send your suggestions and comments about
the documentation to momdocs@microsoft.com.
Looking for more MOM information? Experience the power of customer communities!
MOM Community
6 Chapter 5 Backup and Restore
Important
Failure of the MOM database, without an established backup is
catastrophic. It requires the rebuilding of your entire MOM
environment, and results in the loss of almost all MOM-specific
data. Your backup plans should include the MOM database, at
a minimum.
You can use the backup and restore features in Microsoft SQL Server™ for this task.
Did you find this information useful? Please send your suggestions and comments about
the documentation to momdocs@microsoft.com.
Looking for more MOM information? Experience the power of customer communities!
MOM Community
Causes of Failure 7
existing reports. If you do not backup this database, you can recreate report definitions by re-
importing the reports, however, and cached (already-created) reports will be lost.
You can use the backup and restore features in Microsoft SQL Server for this task.
Note
This database contains task schedules that are vital to the
health of the MOM database, and should be included in your
backup plan. You only need to back up this database after you
first configure MOM, or if you change the scheduled agent
jobs.
You can use the backup and restore features in Microsoft SQL Server for this task.
Management Packs
Management Packs contain all of the data and rules for determining how MOM manages
applications, services and devices. Backing up your Management Packs is vital to restoring your
MOM environment, should circumstances require this. Although backing up the MOM
operational database also captures this information, backing up the Management Packs separately
also allows you to re-import them separately from the database, which can be useful in cases
when you must roll back the changes in one or more Management Packs. This adds an additional
layer of safety, and makes exporting Management Packs fast and easy.
You can use the export and import features in MOM to complete this task. You can export
Management Packs using either the MOM Administrator console or the
ManagementModuleUtility.exe command line utility. Using the utility, you can automate and
schedule to export of Management Packs.
Did you find this information useful? Please send your suggestions and comments about
the documentation to momdocs@microsoft.com.
Looking for more MOM information? Experience the power of customer communities!
MOM Community
8 Chapter 5 Backup and Restore
Custom Files
You might consider backing up other files that are used by MOM:
• ManualMC.txt, a custom text file that administrators can use to control which computers are
included, or excluded, in the computer discovery and agent installation processes.
If you are using this file, then it is located in the same folder where you installed
MOM 2005. The default MOM 2005 installation folder is \%SystemRoot%\Program
Files\Microsoft Operations Manager 2005.
• Custom Administrator console (*.mmc) files.
• Customized Operator console (*.omc) files.
Causes of Failure
Even with the best maintenance practices, hardware might fail, occasionally, and data might
become corrupted, causing interruption to MOM functionality. If there are any early signs of
failure, it is best to respond immediately in order to minimize the impact of a possible failure.
There are various causes for failure. Some of the most common causes of failure, and tips for
minimizing the risk of such failure, are listed below.
Disk Failure
A disk failure on a MOM server will prevent that server from providing the proper MOM
functionality. The impact of a disk failure depends on the MOM server experiencing the problem,
and on your specific MOM deployment.
You can minimize the risk of a disk failure by using RAID arrays, and by performing regular disk
checks. This is especially important for critical MOM servers, such as the MOM database server,
and also when clustering is not implemented. For more information about minimizing the risk of
a disk failure, see ‘Preparing the hard disk drives’ topic in the “Deploying MOM 2005 across
Multiple Computers” chapter of the Microsoft Operations Manager 2005 Deployment Guide.
Did you find this information useful? Please send your suggestions and comments about
the documentation to momdocs@microsoft.com.
Looking for more MOM information? Experience the power of customer communities!
MOM Community
Causes of Failure 9
Corrupted Data
Data can become corrupted for various reasons, such as software failure and human error. Also, a
MOM upgrade might fail, causing the newly-upgraded database to be corrupted. If there is no
option to reverse the changes that caused the corruption, the only way to restore MOM
functionality might be to restore the data, and then return to an earlier point, before the
corruption started
Tip
Note: Using the Repair option of momserver.msi does not
repair such problems.
Physical Disaster
In the case that a physical disaster, such as fire or flooding occurs, MOM Servers might be
physically damaged, and part, or all, of the MOM data might be lost. Restoration in these cases is
possible only if the backup of the data is available, such as if it has been previously stored off-
site.
Physically protect MOM servers in the same way that you protect other key servers in your
organization. You can minimize the impact of a physical disaster by maintaining management
groups in different geographical locations. Implement alert-forwarding and multitiered structure
in your MOM deployment, as appropriate. Also, ensure that you have a complete backup of
MOM data in different physical locations.
Did you find this information useful? Please send your suggestions and comments about
the documentation to momdocs@microsoft.com.
Looking for more MOM information? Experience the power of customer communities!
MOM Community
10 Chapter 5 Backup and Restore
Impact of Failure
Various MOM servers and components can potentially fail, because of the reasons mentioned
above, or for other reasons. The impact of each failure on MOM functionality is different, and
depends on the role of the failing server or component, and on the specific MOM deployment.
The impact of some server failures can be reduced significantly if failover, such as clustering, is
implemented. If clustering, or multiple Management Servers, are implemented in the
management group, then the urgency of restoration is greatly reduced. If, however, failover does
not exist, you might not be able to perform any MOM administrative tasks until you recover the
failing server.
The following table lists the impact of failure of the various MOM servers, and the general steps
you need to take to restore MOM functionality. In this table, the assumption is that each server
listed performs only a single role, as specified.
Table 5.1 - Impact of MOM Servers/Components Failure, and Restoration
Procedure
MOM Impact Restoration
Management
Server
Impact of Failure • Data from managed computers 1. Repair the
Without Failover is not processed, because server.
MOM agents are unable to 2. Reinstall MOM
send it to the Management Management
Server. The data is queued on Server.
the managed computers.
• Any other MOM components
(such as the Administrator
console) installed on the same
server are not accessible.
• Computers are not being
discovered.
• Agentless computers are not
managed.
• At some point, reports do not
contain up-to-date information,
because the Operational
database is not updated and
because the next scheduled
DAS job, to update the
Did you find this information useful? Please send your suggestions and comments about
the documentation to momdocs@microsoft.com.
Looking for more MOM information? Experience the power of customer communities!
MOM Community
Causes of Failure 11
Did you find this information useful? Please send your suggestions and comments about
the documentation to momdocs@microsoft.com.
Looking for more MOM information? Experience the power of customer communities!
MOM Community
12 Chapter 5 Backup and Restore
Did you find this information useful? Please send your suggestions and comments about
the documentation to momdocs@microsoft.com.
Looking for more MOM information? Experience the power of customer communities!
MOM Community
Causes of Failure 13
2. Reinstall MOM
consoles.
Did you find this information useful? Please send your suggestions and comments about
the documentation to momdocs@microsoft.com.
Looking for more MOM information? Experience the power of customer communities!
MOM Community
14 Chapter 5 Backup and Restore
1. You should backup this database after installing and configuring the MOM
Database components and after making significant changes to logons or other
security changes.
2. Only after first installing and configuring the MOM Database components.
3. Only if you change the scheduled SQL Server Agent jobs that MOM uses.
4. You can do this monthly of after significant changes to Management Packs. You
only need to backup only the changed Management Packs.
5. You can do this on a recurring basis, frequency depends on how often reports
change in your organization, or after significant changes to report definitions
(additions, changes and deletions).
Note
Although these grooming job times should be avoided, you
might also want to schedule a time for the backup that does
not overlap any of the grooming jobs.
Did you find this information useful? Please send your suggestions and comments about
the documentation to momdocs@microsoft.com.
Looking for more MOM information? Experience the power of customer communities!
MOM Community
Causes of Failure 15
Did you find this information useful? Please send your suggestions and comments about
the documentation to momdocs@microsoft.com.
Looking for more MOM information? Experience the power of customer communities!
MOM Community
16 Chapter 5 Backup and Restore
When restoring a transaction log backup, Microsoft® SQL Server™ rolls forward all changes
recorded in the transaction log. When SQL Server reaches the end of the transaction log, it has
re-created the exact state of the database at the time the backup operation started. If the database
is recovered, SQL Server then rolls back all transactions that were incomplete when the backup
operation started.
Important
The MOM Reporting Database uses a simple recovery model
which truncates all transactions after completion. This means
that backing up the log file is not useful. Perform either a
partial or complete database file backup.
Did you find this information useful? Please send your suggestions and comments about
the documentation to momdocs@microsoft.com.
Looking for more MOM information? Experience the power of customer communities!
MOM Community
Causes of Failure 17
Did you find this information useful? Please send your suggestions and comments about
the documentation to momdocs@microsoft.com.
Looking for more MOM information? Experience the power of customer communities!
MOM Community
18 Chapter 5 Backup and Restore
SQL Server allows access to the database while it is being backed up. This allows you to
continue to use MOM if you need to; however, you might notice a decrease in performance until
the backup is complete.
Note
If your backup procedure sets the MOM database to be offline
during backup, then MOM caches incoming data, and then,
after back up is complete, MOM stores that data in the
database.
Did you find this information useful? Please send your suggestions and comments about
the documentation to momdocs@microsoft.com.
Looking for more MOM information? Experience the power of customer communities!
MOM Community
Causes of Failure 19
When exporting a Management Pack, report definitions are not exported along with the other
MOM objects defined in that Management Pack. To back up report definitions, you must use
either of the following methods:
• Export report definitions using SQL utilities or the Report Utility (RptUtil.exe). For
information about this utility, see Chapter 8, ‘Tools.’
• Backup the SQL Reporting database. (ReportServer).
If, after importing reports, no changes were made to those reports, then you can later re-import
those reports in the case of a failure. However, if changes were made to the report definitions
after they were imported, then you must back up the report definitions after changes are
complete, using one of the methods mentioned above.
Did you find this information useful? Please send your suggestions and comments about
the documentation to momdocs@microsoft.com.
Looking for more MOM information? Experience the power of customer communities!
MOM Community
20 Chapter 5 Backup and Restore
See Table 5.1 for the high level restoration procedure, based on the failure scenario. Refer to the
specific restoration procedures in this section, as needed.
Did you find this information useful? Please send your suggestions and comments about
the documentation to momdocs@microsoft.com.
Looking for more MOM information? Experience the power of customer communities!
MOM Community
Causes of Failure 21
Additional Resources
For the latest information about MOM, see the product Web site at
http://go.microsoft.com/fwlink/?linkid=6727.
To access the MOM core product documentation on the Web, see the Technical Resources section
of the product Web site at http://go.microsoft.com/fwlink/?LinkId=8943.
To access the Microsoft Operations Manager 2005 Deployment Guide, see the guide on TechNet
at http://go.microsoft.com/fwlink/?linkid=33535
To access the Microsoft Operations Manager 2005 Security Guide, see the guide on TechNet at:
http://go.microsoft.com/fwlink/?linkid=33035
For more information about backup and restore using Microsoft SQL Server, see the SQL Server
Books Online.
Did you find this information useful? Please send your suggestions and comments about
the documentation to momdocs@microsoft.com.
Looking for more MOM information? Experience the power of customer communities!
MOM Community
22 Chapter 5 Backup and Restore
Did you find this information useful? Please send your suggestions and comments about
the documentation to momdocs@microsoft.com.
Looking for more MOM information? Experience the power of customer communities!
MOM Community