Cucm - Guía de Restauración
Cucm - Guía de Restauración
Cucm - Guía de Restauración
Restore Overview
The Disaster Recovery System (DRS) provides a wizard to walk you through the process of restoring your
system.
The backup files are encrypted and only the DRS system can open them to restore the data. The Disaster
Recovery System includes the following capabilities:
• A user interface for performing restore tasks.
• A distributed system architecture for performing restore functions.
Master Agent
The system automatically starts the Master Agent service on each node of the cluster, but the Master Agent
is functional only on the publisher node. The Master Agents on the subscriber nodes do not perform any
functions.
Local Agents
The server has a Local Agent to perform backup and restore functions.
Each node in a Cisco Unified Communications Manager cluster, including the node that contains the Master
Agent, must have its own Local Agent to perform backup and restore functions.
Note By default, a Local Agent automatically gets started on each node of the cluster, including IM and Presence
nodes.
Restore Prerequisites
• Make sure that you meet the version requirements:
• All Cisco Unified Communications Manager cluster nodes must be running the same version of the
Cisco Unified Communications Manager application.
• All IM and Presence Service cluster nodes must be running the same version of the IM and Presence
Service application.
• The version saved in the backup file must match the version that is running on the cluster nodes.
The entire version string must match. For example, if the IM and Presence database publisher node is at
version 11.5.1.10000-1, then all IM and Presence subscriber nodes must be 11.5.1.10000-1, and the
backup file must also be must be 11.5.1.10000-1. If you try to restore the system from a backup file that
does not match the current version, the restore will fail.
• Make sure that the IP address, hostname, DNS configuration and deployment type for the server matches
the IP address, hostname, DNS configuration and deployment type that are stored on the backup file.
• If you have changed the cluster security password since the backup was run, make sure that you have a
record of the old password, or the restore will fail.
Procedure
Step 4 Restore Entire Cluster, on page 7 (Optional) Use this procedure to restore all
nodes in the cluster, including the publisher
node. If a major hard drive failure or upgrade
Step 5 Restore Node Or Cluster to Last Known Good (Optional) Use this procedure only if you are
Configuration, on page 9 restoring a node to a last known good
configuration. Do not use this after a hard drive
failure or other hardware failure.
Step 7 Check Restore Job Status, on page 10 (Optional) Use this procedure to check the
restore job status.
Step 8 View Restore History, on page 10 (Optional) Use this procedure to view the
restore history.
Procedure
Step 1 From the Disaster Recovery System, choose Restore > Restore Wizard.
Step 2 In the Restore Wizard Step 1 window, Select Backup Device area, select the appropriate backup device to
restore.
Step 3 Click Next.
Step 4 In the Restore Wizard Step 2 window, select the backup file you want to restore.
Note The backup filename indicates the date and time that the system created the backup file.
Note The file integrity check is optional and is only needed in the case of SFTP backups.
Be aware that the file integrity check process consumes a significant amount of CPU and network
bandwidth, which slows down the restore process.
Step 14 (Optional) From the Select Server Name drop-down list, select the subscriber node from which you want to
restore the publisher database. Ensure that the subscriber node that you chose is in-service and connected to
the cluster.
The Disaster Recovery System restores all non database information from the backup file and pulls the latest
database from the chosen subscriber node.
Note This option appears only if the backup file that you selected includes the CCMDB database
component. Initially, only the publisher node is fully restored, but when you perform Step 14 and
restart the subsequent cluster nodes, the Disaster Recovery System performs database replication
and fully synchronizes all cluster node databases. This ensures that all cluster nodes are using current
data.
Step 17 When the Percentage Complete field on the Restore Status window, shows 100%, restart the server. Restart
of all the nodes in the cluster is required in case of restoring only to the first node. Ensure that you restart the
first node before you restart the subsequent nodes. For information about how to restart the server, see the
What to Do Next section.
Note If you are restoring a Cisco Unified Communications Manager node only, the Cisco Unified
Communications Manager and IM and Presence Service cluster must be restarted.
If you are restoring an IM and Presence Service Publisher node only, the IM and Presence Service
cluster must be restarted.
What to do next
• (Optional) To view the status of the restore, see Check Restore Job Status, on page 10
• To restart a node, see Restart a Node, on page 9
Procedure
Step 1 From the Disaster Recovery System, select Restore > Restore Wizard.
Step 2 In the Restore Wizard Step 1 window, Select Backup Device area, choose the backup device from which
to restore.
Step 3 Click Next.
Step 4 In the Restore Wizard Step 2 window, select the backup file that you want to restore.
Step 5 Click Next.
Step 6 In the Restore Wizard Step 3 window, select the features that you want to restore.
Note Only the features that were backed up to the file that you chose display.
Step 11 When the Percentage Complete field on the Restore Status window shows 100%, restart the secondary
servers you just restored. Restart of all the nodes in the cluster is required in case of restoring only to the first
node. Ensure that you restart the first node before you restart the subsequent nodes. For information about
how to restart the server, see the What to Do Next section.
Note If the IM and Presence Service first node is restored. Ensure to restart the IM and Presence Service
first node before you restart the IM and Presence Service subsequent nodes.
What to do next
• (Optional) To view the status of the restore, see Check Restore Job Status, on page 10
• To restart a node, see Restart a Node, on page 9
Procedure
Step 1 From the Disaster Recovery System, select Restore > Restore Wizard.
Step 2 In the Restore Wizard Step 1 window Select Backup Device area, choose the backup device from which to
restore.
Step 3 Click Next.
Step 4 In the Restore Wizard Step 2 window, select the backup file that you want to restore.
The backup filename indicates the date and time that the system created the backup file.
Choose only the backup file of the cluster from which you want to restore the entire cluster.
Step 5 Click Next.
Step 6 In the Restore Wizard Step 3 window, select the features that you want to restore.
The screen displays only those features that were saved to the backup file.
Note If a status message indicates that Publisher has failed to become cluster aware. Cannot start one-step
restore, you need to restore the publisher node and then the subscriber node. See the Related topics
for more information.
This option allows the publisher to become cluster aware and will take five minutes to do so. Once
you click on this option, a status message displays as “Please wait for 5 minutes until Publisher
becomes cluster aware and do not start any backup or restore activity in this time period”.
After the delay, if the publisher becomes cluster aware, a status message displays as “Publisher has
become cluster aware. Please select the servers and click on Restore to start the restore of entire
cluster”.
After the delay, if the publisher has not become cluster aware, a status message displays as "Publisher
has failed to become cluster aware. Cannot start one-step restore. Please go ahead and do a normal
two-step restore." To restore the whole cluster in two-step (publisher and then subscriber), perform
the steps mentioned in Restore the First Node Only, on page 3 and Restore Subsequent Cluster
Node, on page 5.
Step 9 When you are prompted to choose the nodes to restore, choose all the nodes in the cluster.
The Disaster Recovery System restores the Cisco Unified Communications Manager database (CCMDB) on
subsequent nodes automatically when you restore a first node. This may take up to several hours based on
number of nodes and size of that database that is being restored.
What to do next
• (Optional) To view the status of the restore, see Check Restore Job Status, on page 10
• To restart a node, see Restart a Node, on page 9
Related Topics
Restore the First Node Only, on page 3
Restore Subsequent Cluster Node, on page 5
Procedure
Step 1 From Disaster Recovery System, select Restore > Restore Wizard.
Step 2 In the Select Backup Device area, select the appropriate backup device to restore.
Step 3 Click Next.
Step 4 In the Restore Wizard Step 2 window, select the backup file you want to restore.
Note The backup filename indicates the date and time that the system created the backup file.
Step 9 Restart the server once the restoration process is completed. See the What to Do Next section for more
information about how to restart the server.
Note Make sure that you restart the first node before you restart the subsequent nodes.
After the first node has restarted and is running the restored version of Cisco Unified Communications
Manager, restart the subsequent nodes.
Step 10 Replication will be setup automatically after cluster reboot. Check the Replication Status value on all nodes
by using the “utils dbreplication runtimestate” CLI command as described in the Command Line Interface
Reference Guide for Cisco Unified Communications Solutions. The value on each node should equal 2.
Note Database replication on the subsequent nodes may take enough time to complete after the subsequent
node restarts, depending on the size of the cluster.
Tip If replication does not set up properly, use the "utils dbreplication rebuild" CLI command as described
in the Command Line Interface Reference Guide for Cisco Unified Communications Solutions.
What to do next
• (Optional) To view the status of the restore, see Check Restore Job Status, on page 10
• To restart a node, see Restart a Node, on page 9
Procedure
Step 1 From the Disaster Recovery System, choose Restore > Restore Wizard.
Step 2 In the Select Backup Device area, select the appropriate backup device to restore.
Step 3 Click Next.
Step 4 In the Restore Wizard Step 2 window, select the backup file you want to restore.
Note The backup filename indicates the date and time that the system created the backup file.
Restart a Node
You must restart a node after you restore data.
If you are restoring a publisher node (first node), you must restart the publisher node first. Restart subscriber
nodes only after the publisher node has restarted and is successfully running the restored version of the
software.
Note Do not restart IM and Presence subscriber nodes if the CUCM publisher node is offline. In such cases, the
node services will fail to start because the subscriber node is unable to connect to the CUCM publisher.
Caution This procedure causes the system to restart and become temporarily out of service.
Perform this procedure on every node in the cluster that you need to restart.
Procedure
What to do next
(Optional) To view the status of the restore, see Check Restore Job Status, on page 10.
Related Topics
Cisco Unified Communications Manager (CallManager) Command References
Procedure
Step 1 From the Disaster Recovery System, select Restore > Current Status.
Step 2 In the Restore Status window, click the log filename link to view the restore status.
Procedure
Data Authentication
Trace Files
The following trace file locations are used during troubleshooting or while collecting the logs.
Trace files for the Master Agent, the GUI, each Local Agent, and the JSch library get written to the following
locations:
• For the Master Agent, find the trace file at platform/drf/trace/drfMA0*
• For each Local Agent, find the trace file at platform/drf/trace/drfLA0*
• For the GUI, find the trace file at platform/drf/trace/drfConfLib0*
• For the JSch, find the trace file at platform/drf/trace/drfJSch*
For more information, see the Command Line Interface Reference Guide for Cisco Unified Communications
Solutions at http://www.cisco.com/c/en/us/support/unified-communications/
unified-communications-manager-callmanager/products-command-reference-list.html.
Command Description
utils disaster_recovery backup Starts a manual backup by using the features that are
configured in the Disaster Recovery System interface
Command Description
utils disaster_recovery restore Starts a restore and requires parameters for backup
location, filename, features, and nodes to restore
utils disaster_recovery status Displays the status of ongoing backup or restore job
utils disaster_recovery backup Starts a manual backup by using the features that are
configured in the Disaster Recovery System interface.
utils disaster_recovery restore Starts a restore and requires parameters for backup
location, filename, features, and nodes to restore.
utils disaster_recovery status Displays the status of ongoing backup or restore job.
DRFBackupDeviceError DRF backup process has problems DRS backup process encountered
accessing device. errors while it was accessing
device.
DRFBackupFailure Cisco DRF Backup process failed. DRS backup process encountered
errors.
DRFBackupInProgress New backup cannot start while DRS cannot start new backup while
another backup is still running another backup is still running.
DRFLA2MAFailure DRF Local Agent cannot connect DRS Local Agent cannot connect
to Master Agent. to Master Agent.
DRFLocalAgentStartFailure DRF Local Agent does not start. DRS Local Agent might be down.
DRFMA2LAFailure DRF Master Agent does not DRS Master Agent cannot connect
connect to Local Agent. to Local Agent.
DRFMABackupNodeDisconnect The node that is being backed up While the DRS Master Agent was
disconnected from the Master running a backup operation on a
Agent prior to being fully backed Cisco Unified Communications
up. Manager node, the node
disconnected before the backup
operation completed.
DRFMARestoreNodeDisconnect The node that is being restored While the DRS Master Agent was
disconnected from the Master running a restore operation on a
Agent prior to being fully restored. Cisco Unified Communications
Manager node, the node
disconnected before the restore
operation completed.
DRFMasterAgentStartFailure DRF Master Agent did not start. DRS Master Agent might be down.
DRFNoRegisteredFeature No feature got selected for backup. No feature got selected for backup.
DRFRestoreDeviceError DRF restore process has problems DRS restore process cannot read
accessing device. from device.
DRFSftpFailure DRF SFTP operation has errors. Errors exist in DRS SFTP
operation.
DRFUnknownClient DRF Master Agent on the Pub The DRF Master Agent on the Pub
received a Client connection received a Client connection
request from an unknown server request from an unknown server
outside the cluster. The request has outside the cluster. The request has
been rejected. been rejected.
DRFNoBackupTaken DRF did not find a valid backup of DRF did not find a valid backup of
the current system. the current system after an
Upgrade/Migration or Fresh Install.
DRFLogDirAccessFailure DRF could not access the log DRF could not access the log
directory. directory.
Restriction Description
Export Restricted You can restore the DRS backup from a restricted version only to a restricted
version and the backup from an unrestricted version can be restored only to an
unrestricted version. Note that if you upgrade to the U.S. export unrestricted
version of Cisco Unified Communications Manager, you will not be able to later
upgrade to or be able to perform a fresh install of the U.S. export restricted version
of this software
Restriction Description
Platform Migrations You cannot use the Disaster Recovery System to migrate data between platforms
(for example, from Windows to Linux or from Linux to Windows). A restore
must run on the same product version as the backup. For information on data
migration from a Windows-based platform to a Linux-based platform, see the
Data Migration Assistant User Guide.
HW Replacement and When you perform a DRS restore to migrate data to a new server, you must assign
Migrations the new server the identical IP address and hostname that the old server used.
Additionally, if DNS was configured when the backup was taken, then the same
DNS configuration must be present prior to performing a restore.
For more information about replacing a server, refer to the Replacing a Single
Server or Cluster for Cisco Unified Communications Manager guide.
In addition, you must run the Certificate Trust List (CTL) client after a hardware
replacement. You must run the CTL client if you do not restore the subsequent
node (subscriber) servers. In other cases, DRS backs up the certificates that you
need. For more information, see the “Installing the CTL Client” and “Configuring
the CTL Client ” procedures in the Cisco Unified Communications Manager
Security Guide.
Extension Mobility Cross Extension Mobility Cross Cluster users who are logged in to a remote cluster at
Cluster backup shall remain logged in after restore.
Note DRS backup/restore is a high CPU-oriented process. Smart Licence Manager is one of the components that
are backed-up and restored. During this process Smart License Manger service is restarted. You can expect
high resource utilization so recommended to schedule the process during maintenance period.
After successfully restoring the Cisco Unified Communications server components, register the Cisco Unified
Communications Manager with Cisco Smart Software Manager or Cisco Smart Software Manager satellite.
If the product is already registered before taking the backup, then reregister the product for updating the license
information.
For more information on how to register the product with Cisco Smart Software Manager or Cisco Smart
Software Manager satellite, see the System Configuration Guide for Cisco Unified Communications Manager
for your release.
Troubleshooting
DRS Restore to Smaller Virtual Machine Fails
Problem
A database restore may fail if you restore an IM and Presence Service node to a VM with smaller disks.
Cause
This failure occurs when you migrate from a larger disk size to a smaller disk size.
Solution
Deploy a VM for the restore from an OVA template that has 2 virtual disks.