概要
この資料はプロセスを Command Line Interface (CLI)とバックアップおよびリストア操作 Unified Communications Manager on Cisco 使用する方法を(CUCM)のためにディザスタ リカバリ システム(DR)を説明したものです。
kumar アレキサンダー Levichev および Deepak によって編集される喜び友達によって作成される
前提条件
この資料のための前提条件がありません。
要件
このドキュメントに関する固有の要件はありません。
使用するコンポーネント
このドキュメントは、特定のソフトウェアやハードウェアのバージョンに限定されるものではありません。
背景説明
管理者は通常ディザスタ リカバリ System(DRS) Web グラフィカル ユーザによって Interface(GUI)リストア操作バックアップし。
管理者にネットワーク上の問題によるディザスタ リカバリ System(DRS) Webページにログインに可能性がないまたはとき Cisco Tomcat Service が実行されていない多くのケースあります。
このような場合コマンド・ライン Interface(CLI)コマンド管理者はディザスタ リカバリ System(DRS)を用いるバックアップかリストア操作を行うことができます。
バックアップ手順
1. バックアップ デバイスを追加して下さい。
構文:
utils disaster_recovery デバイスは追加しますリモート server> <username> [バックアップの数]のネットワーク <backup デバイス name> <path> <ip アドレスを
例:
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.Take バックアップ。
構文:
utils disaster_recovery バックアップ ネットワーク <featurelist> <backup デバイス name>
Featurelist -バックアップするべき機能のカンマ区切りのリスト。 登録済みの機能のリストを表示するのに「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.Check バックアップのステータス。
構文:
utils disaster_recovery ステータス バックアップ
例:
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
復元 の 手順
- 遠隔 sftp サーバのチェック バックアップ ファイル。
構文:
utils disaster_recovery show_backupfiles <backup デバイス name>
例:
admin: utils disaster_recovery show_backupfiles linux123
2017-08-18-14-45-38
2017-08-18-12-17-19
2.Restore バックアップからのシステム
前の出力からバックアップ ファイルを選択して下さい。
構文:
リモート server> <tarfilename> <backup デバイス name> の utils disaster_recovery リストア ネットワーク <ip アドレス
例:
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 ステータス復元
例:
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 ソリューションのためのコマンド ライン インターフェース レファレンスガイド
Cisco Unified Communications Manager および IM 及び存在サービスのためのディザスタ リカバリ システム管理ガイド