外部データベースクリーンアップユーティリティ
外部データベースのクリーンアップユーティリティを使用すると、管理者は外部データベースの拡張を容易に管理できるようになり、システムのパフォーマンスが最適化レベルで継続されます。このユーティリティを使用すると、外部データベースを継続的に監視するジョブを作成して、古いレコードを期限切れになったときに自動的に削除できます。これにより、外部データベースには十分なスペースがあることになり、システムパフォーマンスがデータベースの未チェックには影響を受けないことが保証されます。
外部データベースクリーンアップユーティリティを使用すると、次の IM とプレゼンスサービス機能の外部データベースの拡張を管理できます。各機能は外部データベースに依存しています。
-
常設チャットのハイ アベイラビリティ
-
マネージド ファイル転送
-
メッセージ アーカイバ
連携動作
には、次のインタラクションがあります。
-
データベースから削除されたレコードは、アーカイブされずに削除されます。
-
オフラインモードでデータベースのクリーンアップユーティリティを実行できます。
-
永続チャットルームの設定オプションを使用して、保存期間のクラスタ全体の設定を無効にすることができます。これにより、チャットルームの所有者は、制御された範囲内の設定をカスタマイズできます。これは Jabber のクライアントの変更に依存して、このメニューオプションを有効にします。
ストアド プロシージャ
外部データベースクリーンアップユーティリティは、次のストアドプロシージャを使用してレコードを削除します。
-
tc_msgarchive_auto_cleanup
-
tc_timelog_auto_cleanup
-
aft_log_auto_cleanup
-
im_auto_cleanup
外部データベース クリーンアップ ユーティリティの実行
外部データベース クリーンアップ ユーティリティを実行して、期限切れのレコードを外部データベースから削除するには、この手順を使用します。手動クリーンアップを実行して、1 回限りのデータベースからのレコード 削除を実行したり、外部データベースからレコードを自動的に監視および削除するようにシステムを設定することもできます。
手順
ステップ 1 |
データベース パブリッシャ ノードで Cisco Unified CM IM and Presence Administration にログインします。 |
||
ステップ 2 |
を選択します。 |
||
ステップ 3 |
外部 DB のクリアをクリックします。 |
||
ステップ 4 |
次のいずれかを実行します。
|
||
ステップ 5 |
いつまでさかのぼってファイル削除をするかの日数を設定します。たとえば、90 を入力した場合、システムは 90 日前以前の古いレコードを削除します。 |
||
ステップ 6 |
データベースのインデックスとストアドプロシージャを作成するには、スキーマの更新 をクリックします。
|
||
ステップ 7 |
いつまでさかのぼってファイル削除をするかの日数を設定します。たとえば、90 を入力した場合、システムは 90 日より前の古いレコードを削除します。 |
||
ステップ 8 |
機能テーブル セクションで、レコードをクリーンアップする各機能を選択します。
|
||
ステップ 9 |
ClearExtDBをクリックします。
|
次のタスク
手動クリーンアップを実行したばかりの場合は、この手順を繰り返して、自動クリーンアップを選択して、レコードを自動的に監視して削除するようにユーティリティを設定します。
外部データベースのクリーンアップユーティリティのトラブルシューティング
外部データベースユーティリティを使用して問題が発生した場合は、次のようになります。
-
データベースパブリッシャーノードが外部データベースに接続できることと、データベースがプロビジョニングされていることを確認します。
を選択すると、データベースパブリッシャノードでこれを確認できます。 -
PostgreSQL データベースでは、IM およびプレゼンスデータベース発行者ノードが、他のすべての外部データベースに対してフルアクセス許可を持っていることを確認します。
外部データベースクリーンアップツールのログは、[管理ログ (/var/log/active/tomcat/logs/cupadmin/log4j/)] で使用できます。