この製品のマニュアルセットは、偏向のない言語を使用するように配慮されています。このマニュアルセットでの偏向のない言語とは、年齢、障害、性別、人種的アイデンティティ、民族的アイデンティティ、性的指向、社会経済的地位、およびインターセクショナリティに基づく差別を意味しない言語として定義されています。製品ソフトウェアのユーザーインターフェイスにハードコードされている言語、RFP のドキュメントに基づいて使用されている言語、または参照されているサードパーティ製品で使用されている言語によりドキュメントに例外が存在する場合があります。シスコのインクルーシブランゲージに対する取り組みの詳細は、こちらをご覧ください。
このドキュメントは、米国シスコ発行ドキュメントの参考和訳です。リンク情報につきましては、日本語版掲載時点で、英語版にアップデートがあり、リンク先のページが移動/変更されている場合がありますことをご了承ください。あくまでも参考和訳となりますので、正式な内容については米国サイトのドキュメントを参照ください。
この章では、Cisco Unified Communications Manager IM and Presence サービス機能からの情報を保存するように外部データベースを設定する方法について説明します。次の IM and Presence サービスの機能では、外部データベースが必要になります。
シスコでは、認定された PostgreSQL、Oracle、または Microsoft SQL Server の管理者が、外部データベースからの情報を保守および取得することを提案しています。
PostgreSQL、Oracle、または Microsoft SQL データベースをインストールするリモート サーバ。
IM and Presence サービス、現在のリリース
外部データベース
データベース |
サポートされるバージョン |
---|---|
PostgreSQL |
8.3.x ~ 9.4.1 の多数のバージョンがテスト済みです。IM and Presence サービスの機能は共通の PostgreSQL 機能を使用しているため、PostgreSQL 8.3.x ~ 9.x はすべてサポートされています。 |
Oracle |
複数の Oracle バージョンがテスト済みです。9g、10g、11g、12c が含まれます。IM and Presence の機能は、基本の SQL ステートメント、ストアド プロシージャおよび基本のインデックスなど、非常に一般的な Oracle 機能を使用しています。将来のバージョンは互換性が維持され、サポートされることが見込まれます。シスコは、今後のメジャーな IM and Presence のリリースで、新しい主要な Oracle DB リリースの互換性テストを実施する予定です。 |
Microsoft SQL Server |
テストは、MS SQL 2012 SP3 および 2014 SP1 バージョンを使用して実行されました。IM and Presence 機能は一般的な MS SQL 機能を使用しており、今後のリリースとパッチでは互換性が保たれることが見込まれます。IM and Presence サービス リリース 11.5(1) SU1 以降では、MS SQL をサポートする必要があります。 |
Linux オペレーティング システムで Oracle または Postgres データベースを、または Windows オペレーティング システムで Microsoft SQL Server をインストールできます。サポートされるオペレーティング システムとプラットフォームの要件の詳細については、該当するデータベースのマニュアルを参照してください。
IPv4 と IPv6 は、外部データベースへの IM and Presence 接続によってサポートされています。
外部データベース要件は、IM and Presence サービス上で展開する機能によって異なります。
機能 |
要件 |
||
---|---|---|---|
持続グループ チャット機能 |
IM and Presence サービスのクラスタ間全体には、少なくとも 1 つの一意の論理外部データベース インスタンス(テーブルスペース)が必要です。IM and Presence サービス クラスタ内の各 IM and Presence サービス ノードまたは冗長グループの一意の論理外部データベース インスタンスでは、最適なパフォーマンスとスケーラビリティが提供されますが、必須ではありません。 サポート: |
||
持続チャット機能の高可用性 |
高可用性と持続チャットを有効にする必要があります。両方のプレゼンス冗長グループ ノードが同じ一意の論理外部データベース インスタンスに割り当てられていることを確認します。 Oracle と PostgreSQL は持続チャットの高可用性で使用できます。しかし、PostgreSQL には、自動冗長性を備えた高可用性データベースにするためのいくつかの重要な課題があります。 サポート: |
||
メッセージ アーカイバ(コンプライアンス)機能 |
各 IM and Presence サービス クラスタに対して最低 1 つの外部データベースを設定することを強くお勧めします。データベース サーバの容量に応じて、クラスタに複数の外部データベースが必要となる場合があります。 サポート: |
||
マネージド ファイル転送機能 |
IM and Presence サービス クラスタ内の各 IM and Presence サービス ノードに対して 1 つの固有の論理外部データベース インスタンスが必要です。
サポート: |
(注) | IM and Presence サービス ノード上の持続グループ チャット、メッセージ アーカイバ(コンプライアンス)、およびマネージド ファイル転送機能の任意の組み合わせを展開すると、各機能が個別のデータ テーブルを使用するときに、同じ一意の論理外部データベース インスタンス(テーブルスペース)を機能間で共有できます。これは、データベース インスタンスの容量に依存します。 |
この手順では、IM and Presence サービスで外部データベースを設定する方法のみを説明しています。外部データベースが必要な機能を完全に設定する方法については説明しません。完全に設定するには、展開している機能に固有な次のマニュアルを参照してください。
IM and Presence サービスでのメッセージ アーカイバ(コンプライアンス)機能の設定方法については、『Instant Messaging Compliance for IM and Presence Service on Cisco Unified Communications Manager』を参照してください。
IM and Presence サービスでの永続的グループ チャット機能の設定方法については、『Configuration and Administration of IM and Presence Service on Cisco Unified Communications Manager』を参照してください。
IM and Presence サービスでのマネージド ファイル転送機能の設定方法については、『Configuration and Administration of IM and Presence Service on Cisco Unified Communications Manager』を参照してください。
IM and Presence サービスで外部データベースをインストールし、設定する前に、次のタスクを実行します。
『Installing Cisco Unified Communications Manager』での説明に従って、IM and Presence サービス ノードをインストールします。
『Configuration and Administration of IM and Presence Service on Cisco Unified Communications Manager』での説明に従って、IM and Presence サービス ノードを設定します。
注意 | IM and Presence サービスを IPv6 を使用して外部データベース サーバに接続する場合は、エンタープライズ パラメータが IPv6 に設定されており、その Eth0 が展開内の各ノードで IPv6 に設定されていることを確認します。そうしないと、外部データベース サーバへの接続に失敗します。メッセージ アーカイバと Cisco XCP Text Conference Manager は、外部データベースへの接続に失敗します。IM and Presence Service での IPv6 の設定の詳細については、『Configuration and Administration of IM and Presence Service on Cisco Unified Communications Manager』を参照してください。 |
IM and Presence サービスで外部データベースを設定する場合は、次の推奨事項を考慮する必要があります。
外部データベースと IM and Presence サービス ノードの両方で、同じようなハードウェアを使用することを推奨します。
製品マニュアルで説明されているベスト プラクティスのガイドラインに従って、外部データベースを維持することを推奨します。外部データベースを適切に維持せずに、外部データベースが満杯になり得るようにしてしまうと、IM and Presence サービス クラスタでパフォーマンスの問題が発生します。
(注) | 遅延とパフォーマンスへの悪影響を最小限に抑えるには、外部データベース サーバを IM and Presence サービスのデータベース パブリッシャ ノードのできるだけ近くに配置します。 |
(注) | ユーザのログイン パフォーマンスが非常に遅い場合、またはログインがハングしている場合は、そのサーバのデータベースのパフォーマンス情報を確認してください。 |
IM and Presence サービスは、Oracle または Microsoft SQL Server がデータベース タイプとして選択されている場合にのみ、外部データベースへのセキュアな TLS/SSL 接続を提供します。IM and Presence サービスの展開を計画する場合にこのセキュリティ制限およびこのトピックに関する Cisco の推奨事項を考慮することをお勧めします。
外部データベースへの最大接続許可数を制限することで、セキュリティを強化できます。ここで説明するガイドラインを使用して、展開に適したデータベースの接続数を計算します。この項の設定はオプションです。ガイドラインの前提条件は次のとおりです。
IM and Presence サービスで、マネージド ファイル転送、メッセージ アーカイバ(コンプライアンス)、および永続的グループ チャットの各機能を実行している。
Cisco Unified CM IM and Presence Administration インターフェイスで、永続的グループ チャット機能にデータベースへのデフォルトの接続数を設定する。
PostgreSQL:max_connections = (N ×15) + 追加の接続数
Oracle:QUEUESIZE = (N ×15) + 追加の接続数
Microsoft SQL Server:最大同時接続数 = (N x15) + 追加の接続数
N は IM and Presence サービス クラスタ内のノード数です。
15 は IM and Presence サービス上のデータベースへのデフォルトの接続数、つまり、マネージド ファイル転送機能用の 5 接続、メッセージ アーカイバ機能用の 5 接続、および永続的グループ チャット機能用の 5 接続です。
追加接続とは、データベース サーバへの個別の管理またはデータベース管理者(DBA)の接続のことです。
PostgreSQL データベースの接続数を制限するには、install_dir/data ディレクトリにある postgresql.conf ファイルで max_connections の値を設定します。max_connections パラメータの値を上記ガイドラインと同じ値またはわずかに大きな値に設定することをお勧めします。
たとえば、IM and Presence サービス クラスタに 6 個のノードがあり、3 個の DBA 接続がさらに必要な場合、上記のガイドラインを使用して、max_connections の値を 93 に設定します。
Oracle データベースの接続数を制限するには、install_dir/data ディレクトリにある listener.ora ファイルで QUEUESIZE パラメータを設定します。QUEUESIZE パラメータの値を上記ガイドラインと同じに設定することをお勧めします。
たとえば、IM and Presence サービス クラスタに 4 つのノードがあり、1 つの DBA 接続がさらに必要な場合は、上記ガイドラインを使用して、QUEUESIZE の値を 61 に設定します。
MS SQL Server データベースの同時接続数を制限するには、次の手順を実行します。キューのサイズは上記のガイドラインと同じに設定することをお勧めします。
(注) | この項の設定はオプションです。 |
セキュリティを強化するには、必要に応じて PostgreSQL サーバでデフォルトのリスニング ポートを変更できます。<install_dir>/data ディレクトリにある postgresql.conf ファイルで、デフォルトのリスニング ポートを設定できます。
Oracle サーバでデフォルトのリスナー ポートを変更するには、listener.ora 設定ファイルを編集します。
デフォルトのポート リスナーとして SQL Server データベース エンジンに TCP/IP ポート番号を割り当てる方法の詳細については、「Microsoft SQL Server のデフォルトのポート リスナー設定」を参照してください。