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