この製品のマニュアルセットは、偏向のない言語を使用するように配慮されています。このマニュアルセットでの偏向のない言語とは、年齢、障害、性別、人種的アイデンティティ、民族的アイデンティティ、性的指向、社会経済的地位、およびインターセクショナリティに基づく差別を意味しない言語として定義されています。製品ソフトウェアのユーザーインターフェイスにハードコードされている言語、RFP のドキュメントに基づいて使用されている言語、または参照されているサードパーティ製品で使用されている言語によりドキュメントに例外が存在する場合があります。シスコのインクルーシブランゲージに対する取り組みの詳細は、こちらをご覧ください。
このドキュメントは、米国シスコ発行ドキュメントの参考和訳です。リンク情報につきましては、日本語版掲載時点で、英語版にアップデートがあり、リンク先のページが移動/変更されている場合がありますことをご了承ください。あくまでも参考和訳となりますので、正式な内容については米国サイトのドキュメントを参照ください。
Cisco Prime Service Catalog 製品を使用するには OLTP データベースが必要であり、このデータベースは ServiceCatalog データベースと呼ばれます。ServiceCatalog データベースは、Cisco Prime Service Catalog インストーラを実行する前にデータベース管理者が手動で作成するか、またはユーザがインストール ウィザードで [データベースを作成する(Create Database)] オプションを選択した場合は自動的に作成されます。以降の項では、Oracle および SQL Server で ServiceCatalog データベースを手動で作成する手順を説明します。
(注) Oracle テーブルスペースは、インストーラにより自動的に作成されません。インストーラは、ユーザがインストール ウィザードで指定したテーブルスペース内に、500 MB の固定サイズの ServiceCatalog スキーマを作成するだけです。したがって、インストーラにより ServiceCatalog スキーマを自動的に作成する場合でも、Cisco Prime Service Catalog インストーラを実行する前に、後続の項で説明する手順に従い、Oracle サーバで適切なテーブルスペースを準備しておくことができます。
データベースとして Oracle を使用することを選択した場合は、この項の手順に従って Oracle サーバを準備し、ServiceCatalog スキーマの所有者とするユーザを作成します。
手順 1 以下に示す Oracle パラメータの現在の値を確認するには、次のコマンドを実行します。
手順 2 CURSOR_SHARING が EXACT に設定されていない場合、次のコマンドを使用して変更します。
手順 3 OPEN_CURSORS が 1000 未満の場合、次のコマンドを使用して変更します。
手順 4 PROCESSES パラメータが 500 未満の場合、データベース管理者と協力して、Oracle データベースの PROCESS パラメータを 500 以上に変更します。
手順 5 新しいパラメータを適用するため、Oracle インスタンスを再起動します。
手順 1 次の SQL コマンドを Oracle「sys」ユーザとして実行して、catcio.sql パッケージが Oracle データベースにインストールされているかどうか確認します。
select count(*) from all_tables where owner='SYS' and table_name like 'IND_ONLINE$';
手順 2 戻り値がゼロの場合は「sys」ユーザとして Oracle データベースにログインし(「sysdba」として接続)、catcio.sql パッケージをインストールします。この操作は、Prime Service Catalog インストールの実行前に行う必要があります。catcio.sql スクリプトは通常 $ORACLE_HOME/rdbms/admin ディレクトリにあります。
Oracle に、それぞれ 200 MB のファイルを 2 つ持つ REDO ログ のグループを、少なくとも 3 つ割り当てます。
新規インストールの場合、Unicode 文字セット「AL32UTF8」または「AL16UTF16」のいずれかを使用するように Oracle データベースを設定する必要があります。
データベースの文字セットが Unicode かどうかを確認するには、次の SQL コマンドを実行します。
NLS_CHARACTERSET パラメータで返される値が「AL32UTF8」と「AL16UTF16」のいずれでもない場合は、新しい Oracle データベースを作成し、作成時に文字セットを「AL32UTF8」または「AL16UTF16」に設定する必要があります。
(注) リリース 9.x からのアップグレード インストールでは、データベースの文字セットは Unicode である必要はありません。
新規インストールの場合、Service Catalog インストーラを実行する前に、この項の説明に従ってテーブルスペースとデータベース スキーマを準備するか、またはインストール ウィザードに表示される [データベースを作成する(Create a Database)] オプションを選択して、Service Catalog インストーラによりデフォルト テーブルスペースにデータベース スキーマを自動的に作成することができます。Service Catalog インストーラの [データベースを作成する(Create Database)] オプションの詳細については、「WildFly アプリケーション サーバでの Prime Service Catalog のインストール」または「WebLogic アプリケーション サーバでの Prime Service Catalog のインストール」で説明します。
テーブルスペースとデータベース スキーマを作成するには、次の手順を実行します。
手順 1 テーブルスペース SERVICECATALOG を新規に作成し、初期サイズ 500 MB と AUTOEXTEND ON を設定します。
手順 2 一時テーブルスペース SERVICECATALOG_TEMP を新規に作成し、初期サイズ 30 MB と AUTOEXTEND ON を設定します。
手順 3 データベース ユーザ CPSCUser を作成し、デフォルト テーブルスペースを SERVICECATALOG に設定し、一時テーブルスペースを SERVICECATALOG_TEMP に設定します。CPSCUser に、SERVICECATALOG テーブルスペースに対する QUOTA UNLIMITED を付与する必要があります。
手順 4 Oracle Server に「sys」ユーザとしてログインし、次のコマンドを実行して「CPSCUser」に権限を付与します。
手順 5 上記の権限は、Service Catalog アプリケーションの正常な動作に必要です。製品のパフォーマンスに影響を及ぼす可能性がある実行時間の長いクエリをモニタし、このようなクエリから自動的に回復できるようにするには、特別な権限が必要です。これらの追加の権限が「CPSCUser」に付与されていない場合、製品では障害は発生しませんが、アプリケーション サーバのログ ファイルに次のようなエラー メッセージが出力されることがあります。
(オプション)次の特別な権限を付与するには、Oracle サーバに「sys」ユーザとしてログインし、次のコマンドを実行します。
(注) 追加の検証として、インストーラではデータベース ユーザにオプションの特権が付与されているかどうかが検証され、付与されていない場合は特権が欠落していることを示す警告メッセージが表示されます。オプションの特権なしで続行する場合は [OK] をクリックし、インストールを終了するには [キャンセル(Cancel)] をクリックします。オプションの権限がないと、アプリケーションが失敗することはありませんが、機能が制限されます。
データベース接続フェールオーバーを実行する場合は、データベースに Oracle RAC 12C を使用できます。Oracle RAC 12c のインストール手順については、Oracle のマニュアルを参照してください。
Oracle RAC を設定したら、クラスタ SCAN 名とサービス名を書き留めておきます。これらのパラメータは、Prime Service Catalog のインストール時にデータベースを設定する際に必要になります。
DNS サーバ を使用できないか、Prime Service Catalog サーバから DNS サーバにアクセスできない場合は、そのサーバにある /etc/hosts ファイルの SCAN 名に SCAN IPアドレスを手動でマッピングする必要があります。次に、この /etc/hosts ファイルへのマッピングの例を示します。
データベースとして Microsoft SQL Server を使用する場合は、この項の手順に従って SQL Server を準備し、ServiceCatalog データベースを作成します。
SQL Server は、デフォルト インスタンスまたは名前付きインスタンスとしてセットアップできます。各インスタンスのポート番号は、データベース ホストごとに固有である必要があります。
SQL Server は、混合モード認証が行えるように設定する必要があります。これは、Prime Service Catalog インストーラは Service Catalog スキーマを作成するため「sa」ユーザとして SQL Server に接続する必要があるためです。
新規インストールの場合、Service Catalog インストーラを実行する前に、この項の説明に従って ServiceCatalog データベースとログイン ユーザを準備するか、またはインストール ウィザードに表示される [データベースを作成する(Create a Database)] オプションを選択して、Service Catalog インストーラによりデータベースとログイン ユーザを自動的に作成することができます。Service Catalog インストーラの [データベースを作成する(Create Database)] オプションの詳細については、「WildFly アプリケーション サーバでの Prime Service Catalog のインストール」または「WebLogic アプリケーション サーバでの Prime Service Catalog のインストール」で説明します。
ServiceCatalog データベースとログイン ユーザを作成するには、次の手順を実行します。
手順 1 SQL Server で ServiceCatalog という名前のデータベースを作成します。データ ファイルには次の設定を使用します。
手順 2 ServiceCatalog データベースの照合順序を、大文字小文字の区別なしに設定します。
手順 3 ServiceCatalog データベースを SINGLE-USER モードに切り替え、次のコマンドを実行します。
ALTER DATABASE ServiceCatalog SET READ_COMMITTED_SNAPSHOT ON.
手順 4 ServiceCatalog データベースを MULTI-USER モードに戻します。
手順 5 SQL Server ログイン CPSCUser を作成し、[既定のデータベース(Default Database)] プロパティを「ServiceCatalog」に設定します。
(注) CPSCUser は、Windows 認証方式ではなく SQL Server 認証方式で SQL Server に対して認証される SQL Server ログイン アカウントでなければなりません。
手順 6 CPSCUser の [セキュリティ(Security)] 設定プロパティの [パスワード ポリシーを適用する(Enforce Password Policy)] オプションが選択されていないことを確認します。さらに、CPSCUser のパスワードには英数字だけを使用する必要があります。たとえば、パスワードには文字と数字だけを入力します。下線文字、アスタリスク、カッコなどの特殊文字は入力しないでください。このような特殊文字の組み合わせによっては、製品インストール中にインストーラが失敗し、「データベース接続テストが失敗しました(Database Connection Test failed)」というエラー メッセージが表示されることがあります。
手順 7 この CPSCUser を「ServiceCatalog」データベースの db_owner として割り当てます。設定を調べ、以下のようになっていることを確認します。
手順 8 製品のパフォーマンスに影響を及ぼす可能性がある実行時間の長いクエリをモニタし、このようなクエリから自動的に回復できるようにするには、特別な権限が必要です。これらの追加の権限が「CPSCUser」に付与されていない場合、製品では障害は発生しませんが、アプリケーション サーバのログ ファイルに次のようなエラー メッセージが出力されることがあります。
(オプション)次の特別な権限を付与するには、SQL Server に「sa」ユーザとしてログインし、次のコマンドを実行します。
SQL Server 2012 を再起動すると、SQL Server 2012 の再起動のたびに要求 ID の値が 1000 ずつ増えます。この問題を解決するには、SQL Server データベースのデータベース プロパティとして -T272 を追加します。これにより、SQL Server の再起動のたびに ID 列の値が 1000 ずつではなく 1 ずつ増えるようになります。
手順 1 SQL Server Configuration Manager を開きます。
手順 2 左側のペインで [SQL Server サービス(SQL Server Services)] をクリックします。
手順 3 [SQL Server(MSSQLSERVER)] を右クリックしてプロパティ ウィンドウを開きます。
手順 4 [スタートアップ パラメータ(Startup Parameters)] タブで、[スタートアップ パラメータを指定(Specify a startup parameter)] フィールドに「-T272」と入力し、[追加(Add)] をクリックします。
手順 5 [OK] をクリックして、プロパティ ウィンドウを閉じます。
手順 6 変更を反映するには、SQL Server 2012 を再起動する必要があります。