此产品的文档集力求使用非歧视性语言。在本文档集中,非歧视性语言是指不隐含针对年龄、残障、性别、种族身份、族群身份、性取向、社会经济地位和交叉性的歧视的语言。由于产品软件的用户界面中使用的硬编码语言、基于 RFP 文档使用的语言或引用的第三方产品使用的语言,文档中可能无法确保完全使用非歧视性语言。 深入了解思科如何使用包容性语言。
思科采用人工翻译与机器翻译相结合的方式将此文档翻译成不同语言,希望全球的用户都能通过各自的语言得到支持性的内容。 请注意:即使是最好的机器翻译,其准确度也不及专业翻译人员的水平。 Cisco Systems, Inc. 对于翻译的准确性不承担任何责任,并建议您总是参考英文原始文档(已提供链接)。
本文档介绍如何使用灾难恢复系统(DRS)在带命令行界面(CLI)的Cisco Unified Communications Manager(CUCM)上执行备份和恢复操作的过程。
由Joy Pal创建,由Alexander Levichev和Deepak kumar编辑
读者无需满足任何前提条件即可理解本文档内容。
本文档没有任何特定的要求。
本文档不限于特定的软件和硬件版本。
管理员通常通过灾难恢复系统(DRS)Web图形用户界面(GUI)执行备份和恢复操作。
在许多情况下,管理员由于网络问题或Cisco Tomcat服务未运行而无法登录到灾难恢复系统(DRS)网页。
在这些情况下,管理员可以使用灾难恢复系统(DRS)、命令行界面(CLI)命令执行备份或恢复操作。
1.添加备份设备。
语法:
utils disaster_recovery device add network <backup device name> <path> <ip-address of remote server> <username> [backups number of backups]
示例:
admin:utils disaster_recovery device add network linuxbox ./ 10.48.53.123 ccmadmin Please enter password to connect to network server 10.48.53.123:**** drfCliMsg: Backup Device has been saved successfully.
2.检查添加的设备。
语法:
utils disaster_recovery设备列表
示例:
admin:utils disaster_recovery device list Device Name Device Type Device Path -------------------------------------------------------------- linuxbox NETWORK ./
3.备份。
语法:
utils disaster_recovery backup network <featurelist> <backup device name>
功能列表 — 要备份的功能列表,以逗号分隔。使用“utils disaster_recovery show_registration <servername>”可显示已注册功能的列表。
示例:
admin:utils disaster_recovery backup network UCM,CDR_CAR,PLM linuxbox drfCliMsg: Backup initiated successfully. Please run 'utils disaster_recovery status backup' command to see the status
<p style="background-image: url('http://www.cisco.com/en/US/i/templates/warn.gif'); background-repeat: no-repeat; background- position: 2px 4px;
height: auto; width: auto; padding: 10px 5px 10px 35px; margin-top: 10px; margin-bottom: 10px; border-top: 1px solid #ccc; border-bottom: 1px
solid #ccc; overflow-x: hidden;"><strong>Warning</strong>: {The DRS Backup archive encryption depends on the current security password (Provided at the time of install). During a restore, you could be prompted to enter this security password if this password has been changed.}</p>
4.检查备份的状态。
语法:
utils disaster_recovery status backup
示例:
admin:utils disaster_recovery status backup Status: SUCCESS :Backup Completed... Tar Filename: 2017-08-18-12-17-19.tar Storage Location: NETWORK Operation: backup Percentage Complete: 100 PLM CUCM160 ELM-AGENT SUCCESS Fri Aug 18 12:17:19 CEST 2017 activelog/platform/drf/log/2017-08-18-12-17-19_b_cucm160_plm_elm-agent.log PLM CUCM160 ELM-SERVER SUCCESS Fri Aug 18 12:17:21 CEST 2017 activelog/platform/drf/log/2017-08-18-12-17-19_b_cucm160_plm_elm-server.log CDR_CAR CUCM160 CAR SUCCESS Fri Aug 18 12:17:27 CEST 2017 activelog/platform/drf/log/2017-08-18-12-17-19_b_cucm160_cdr_car_car.log UCM CUCM160 BAT SUCCESS Fri Aug 18 12:19:23 CEST 2017 activelog/platform/drf/log/2017-08-18-12-17-19_b_cucm160_ucm_bat.log UCM CUCM160 CCMPREFS SUCCESS Fri Aug 18 12:19:25 CEST 2017 activelog/platform/drf/log/2017-08-18-12-17-19_b_cucm160_ucm_ccmprefs.log UCM CUCM160 PLATFORM SUCCESS Fri Aug 18 12:19:30 CEST 2017 activelog/platform/drf/log/2017-08-18-12-17-19_b_cucm160_ucm_platform.log UCM CUCM160 TCT SUCCESS Fri Aug 18 12:19:34 CEST 2017 activelog/platform/drf/log/2017-08-18-12-17-19_b_cucm160_ucm_tct.log UCM CUCM160 SYSLOGAGT SUCCESS Fri Aug 18 12:19:35 CEST 2017 activelog/platform/drf/log/2017-08-18-12-17-19_b_cucm160_ucm_syslogagt.log UCM CUCM160 CDPAGT SUCCESS Fri Aug 18 12:19:36 CEST 2017 activelog/platform/drf/log/2017-08-18-12-17-19_b_cucm160_ucm_cdpagt.log UCM CUCM160 CLM SUCCESS Fri Aug 18 12:19:37 CEST 2017 activelog/platform/drf/log/2017-08-18-12-17-19_b_cucm160_ucm_clm.log UCM CUCM160 CCMDB SUCCESS Fri Aug 18 12:19:37 CEST 2017 activelog/platform/drf/log/2017-08-18-12-17-19_b_cucm160_ucm_ccmdb.log UCM CUCM160 TFTP SUCCESS Fri Aug 18 12:20:15 CEST 2017 activelog/platform/drf/log/2017-08-18-12-17-19_b_cucm160_ucm_tftp.log UCM CUCM160 ANN SUCCESS Fri Aug 18 12:21:33 CEST 2017 activelog/platform/drf/log/2017-08-18-12-17-19_b_cucm160_ucm_ann.log UCM CUCM160 MOH SUCCESS Fri Aug 18 12:21:34 CEST 2017 activelog/platform/drf/log/2017-08-18-12-17-19_b_cucm160_ucm_moh.log
语法:
utils disaster_recovery show_backupfiles <backup device name>
示例:
admin:utils disaster_recovery show_backupfiles linux123
2017-08-18-14-45-38
2017-08-18-12-17-19
2.从备份恢复系统
从上一输出中选择备份文件。
语法:
utils disaster_recovery restore network <ip-address of remote server> <tarfilename> <backup device name>
示例:
admin:utils disaster_recovery restore network 10.48.53.160 2017-08-18-14-45-38 linux123 drfCliMsg: WARNING! There are nodes in current production cluster but NOT present in the backup. These nodes will be removed if you restore the Publisher. If you want to keep these nodes, you will need to manually re-add them after the restore. Do you want DRS to perform a SHA-1 File Integrity Check of your backup archives y/n ?(n) : y Please enter the comma seperated features you wish to restore. Valid features for server CUCM160 are PLM,CDR_CAR,UCM:PLM,CDR_CAR,UCM Do you want to restore database from the subscriber y/n ?(n) : n drfCliMsg: Restore initiated successfully. Please run 'utils disaster_recovery status restore' command to see the status ALERT: Please restart the server(s) before performing the next restore for changes to take effect. In case of a cluster, restart the entire cluster.
<p style="background-image: url('http://www.cisco.com/en/US/i/templates/note.gif'); background-repeat: no-repeat; background- position: 2px 4px;
height: auto; width: auto; padding: 10px 5px 10px 35px; margin-top: 10px; margin-bottom: 10px; border-top: 1px solid #ccc; border-bottom: 1px
solid #ccc; overflow-x: hidden;"><strong>Note</strong>: {If you are restoring the system to be in FIPS mode, please note that it will be enabled during this restore, but will not take effect until the next reboot..}</p>
恢复过程可能需要时间,具体取决于数据库大小。
语法:
utils disaster_recovery status restore
示例:
admin:utils disaster_recovery status restore Status: SUCCESS :Restore Completed... Tar Filename: 2017-08-18-14-45-38.tar Storage Location: NETWORK Operation: restore Percentage Complete: 100 CDR_CAR CUCM160 CAR SUCCESS Fri Aug 18 15:20:15 CEST 2017 activelog/platform/drf/log/2017-08-18-15-20-01_r_cucm160_cdr_car_car.log PLM CUCM160 ELM-AGENT SUCCESS Fri Aug 18 15:24:34 CEST 2017 activelog/platform/drf/log/2017-08-18-15-20-01_r_cucm160_plm_elm-agent.log PLM CUCM160 ELM-SERVER SUCCESS Fri Aug 18 15:24:34 CEST 2017 activelog/platform/drf/log/2017-08-18-15-20-01_r_cucm160_plm_elm-server.log UCM CUCM160 BAT SUCCESS Fri Aug 18 15:27:06 CEST 2017 activelog/platform/drf/log/2017-08-18-15-20-01_r_cucm160_ucm_bat.log UCM CUCM160 CCMPREFS SUCCESS Fri Aug 18 15:27:06 CEST 2017 activelog/platform/drf/log/2017-08-18-15-20-01_r_cucm160_ucm_ccmprefs.log UCM CUCM160 PLATFORM SUCCESS Fri Aug 18 15:27:13 CEST 2017 activelog/platform/drf/log/2017-08-18-15-20-01_r_cucm160_ucm_platform.log UCM CUCM160 TCT SUCCESS Fri Aug 18 15:32:15 CEST 2017 activelog/platform/drf/log/2017-08-18-15-20-01_r_cucm160_ucm_tct.log UCM CUCM160 SYSLOGAGT SUCCESS Fri Aug 18 15:34:39 CEST 2017 activelog/platform/drf/log/2017-08-18-15-20-01_r_cucm160_ucm_syslogagt.log UCM CUCM160 CDPAGT SUCCESS Fri Aug 18 15:34:39 CEST 2017 activelog/platform/drf/log/2017-08-18-15-20-01_r_cucm160_ucm_cdpagt.log UCM CUCM160 CLM SUCCESS Fri Aug 18 15:37:03 CEST 2017 activelog/platform/drf/log/2017-08-18-15-20-01_r_cucm160_ucm_clm.log UCM CUCM160 CCMDB SUCCESS Fri Aug 18 15:37:05 CEST 2017 activelog/platform/drf/log/2017-08-18-15-20-01_r_cucm160_ucm_ccmdb.log UCM CUCM160 TFTP SUCCESS Fri Aug 18 15:45:12 CEST 2017 activelog/platform/drf/log/2017-08-18-15-20-01_r_cucm160_ucm_tftp.log UCM CUCM160 ANN SUCCESS Fri Aug 18 15:46:38 CEST 2017 activelog/platform/drf/log/2017-08-18-15-20-01_r_cucm160_ucm_ann.log UCM CUCM160 MOH SUCCESS Fri Aug 18 15:46:39 CEST 2017 activelog/platform/drf/log/2017-08-18-15-20-01_r_cucm160_ucm_moh.log
Cisco Unified Communications Manager和IM & Presence服务灾难恢复系统管理指南