テスト・ステージング環境をセットアップするためのトポロジーおよびマッピング・ファイル
このトピックでは、サーバー名前変更を使用して、実際の実動データでテスト・ステージング環境をセットアップするためのサンプル・トポロジー・ダイアグラムとマッピング・ファイルを示します。 ステージング環境とは、実稼働環境から切り離された実動データのスナップショットが含まれたテスト・サンドボックスです。
テストステージング環境を計画する際には、本番データを汚染しないように特に注意する必要がある。 これは、マッピング・ファイルで実動サーバーをマスキングすることによって実現します。 本番サーバーに接続されている可能性のある、追加のIBM® Engineering Lifecycle Managementサーバー、または統合サーバーを必ず考慮してください。
出発点1 - シングルサーバーのEngineering Lifecycle Managementの本番展開
次のトポロジー図は、名前を変更する前の単一サーバーのEngineering Lifecycle Management配備を示している。 この例では、Jazz® TeamServerとEngineering Lifecycle Managementアプリケーションはすべて同じホストシステム上に存在します。

実稼働環境のコピー
本番環境のデプロイをステージング環境にコピーし、サーバー名変更を実行して結果を評価するには、「 本番データを使用したテスト用ステージング環境のセットアップ 」の手順に従ってください。 次の図は、Engineering Lifecycle Managementアプリケーションがすべて同じステージング・サーバー(「staging.example.org)に配置されている場合の、名前の変更後のトポロジーを示しています。

このシナリオは、簡易マッピング・ファイルの要求を満たします。 作成されるマッピング・ファイルに含める必要があるマッピングは 1 つのみです。 簡易マッピングはこのトポロジー内のすべての URL をカバーするため、ダミー・マッピングは不要です。 詳しくは「簡易マッピングファイルの使用」を参照。
# Simplified mapping
source=https://production.example.org:9443
target=https://staging.example.org:9443以下のように、実動 URL を偽の IP アドレスにリダイレクトするようにホスト・ファイルを編集することをお勧めします。
# 10.10.10.10 refers to an IP address that does not host a clm application.
10.10.10.10 production.example.org出発点2 - 2つのEngineering Lifecycle Managementをリンクさせた本番環境
次のトポロジー図は、リンクされた2つのEngineering Lifecycle ManagementJTS、CCM、QM、RM、Jazz Reporting Service)のデプロイメントを示しています。 それぞれのEngineering Lifecycle Managementのデプロイは分散され、Jazz TeamServerと各アプリケーションは別々のホスト上で実行されます。 どちらの導入もJazz Reporting Service と統合し、一方の導入はClearQuest®および DevOpsCodeClearCase® と統合します。

ステージング環境への単一の分散デプロイメントのコピー
本番環境のデプロイをステージング環境にコピーし、サーバー名変更を実行して結果を評価するには、「 本番データを使用したテスト用ステージング環境のセットアップ 」の手順に従ってください。 このシナリオでは、1 つのデプロイメントをステージング・エリアに移行させるだけです。 以下のダイアグラムは、ステージング環境で名前変更の後にトポロジーがどのようになるかを示しています。 ClearQuestと DevOpsCodeClearCaseはステージング環境ではサポートされておらず、2 つ目のデプロイメントがグレーアウトしていることに注意してください。

マッピング・ファイルを生成して編集した後は、以下のようになります。 ステージング環境と実稼働環境が混合しないようにするために、ステージングされていない実動サーバーの URL について、ダミー・マッピングがマッピング・ファイルに追加されています。
#/jts
source=https://jts1.production.example.org:9443/jts
target=https://jts1.staging.example.org:9443/jts
#Additional Urls included in rename by /jts
#(CLM Help URL)
source=https://jts1.production.example.org:9443/clmhelp
target=https://jts1.staging.example.org:9443/clmhelp
#(The URL to the JAZZ Reporting Service)
#This URL was also contributed by "/ccm"
#This URL was also contributed by "/qm"
source=https://jrs.production.example.org:9082/rs
target=https://jrs.staging.example.org:9082/rs
#/ccm
source=https://ccm1.production.example.org:9443/ccm
target=https://ccm1.staging.example.org:9443/ccm
#/qm
source=https://qm1.production.example.org:9443/qm
target=https://qm1.staging.example.org:9443/qm
#/rm
source=https://rm1.production.example.org:9443/rm
target=https://rm1.staging.example.org:9443/rm
#Additional Urls included in rename by /rm
#(The address of the application used to generate images for graphical artifacts.)
source=https://rm1.production.example.org:9443/converter/htmlgen
target=https://rm1.staging.example.org:9443/converter/htmlgen
#The following list of URLs represent external servers that integrate with this Jazz Team Server or with applications registered to it.
#Do not uncomment these lines as they are for reference purposes only.
# source=https://cqwebhost.production.example.org:9443/cqweb/oslc
# target=https://cqwebhost.production.example.org:9443/cqweb/oslc
# source=https://cqsynchhost.production.example.org:8444/cqconnector/gateway
# target=https://cqsynchhost.production.example.org:8444/cqconnector/gateway
# Dummy mappings for affected URLs
source=https://cqwebhost.production.example.org:9443
target=https://dummyhost1.example.org:9443
source=https://cqsynchhost.production.example.org:8444
target=https://dummyhost2.example.org:8444
# Dummy mappings for the second CLM deployment
#/jts
source=https://jts2.production.example.org:9443/jts
target=https://jts2.dummyhost.example.org:9443/jts
#Additional Urls included in rename by /jts
#(CLM Help URL)
source=https://jts2.production.example.org:9443/clmhelp
target=https://jts2.dummyhost.example.org:9443/clmhelp
#/ccm
source=https://ccm2.production.example.org:9443/ccm
target=https://ccm2.dummyhost.example.org:9443/ccm
#/qm
source=https://qm2.production.example.org:9443/qm
target=https://qm2.dummyhost.example.org:9443/qm
#/rm
source=https://rm2.production.example.org:9443/rm
target=https://rm2.dummyhost.example.org:9443/rm
#(The address of the application used to generate images for graphical artifacts.)
source=https://rm2.production.example.org:9443/converter/htmlgen
target=https://rm2.dummyhost.example.org:9443/converter/htmlgenすべての実動 URL を偽の IP アドレスにリダイレクトするようにホスト・ファイルを編集することをお勧めします。
# 10.10.10.10 refers to an IP address that does not host a clm application.
10.10.10.10 cqwebhost.production.example.org
10.10.10.10 cqsynchhost.production.example.org
10.10.10.10 jts2.production.example.org
10.10.10.10 ccm2.production.example.org
10.10.10.10 qm2.production.example.org
10.10.10.10 rm2.production.example.orgステージング環境への両方の分散デプロイメントのコピー
本番環境のデプロイをステージング環境にコピーし、サーバー名変更を実行して結果を評価するには、「 本番データを使用したテスト用ステージング環境のセットアップ 」の手順に従ってください。 デプロイメントがリンクされているため、両方のデプロイメントの URL は各データベースに存在します。 この例では、2つのEngineering Lifecycle Managementのデプロイメントごとに、別々のマップファイルが用意されている。 importURLMappingsコマンドはそれぞれのJazz Team Server上で 2 回実行する必要があります - 1 回はJazz Team Server のマッピングファイルに対して、もう 1 回は他のJazz Team Server が生成したマッピングファイルに対してです。 以下のダイアグラムは、ステージング環境で名前変更の後にトポロジーがどのようになるかを示しています。 ステージング環境では、ClearQuestと DevOpsCodeClearCaseはサポートされていません。

最初のデプロイメントのマッピング・ファイルを生成して編集した後は、以下のようになります。 ステージング環境と実稼働環境が混合しないようにするために、ダミー・マッピングがマッピング・ファイルに追加されています。
#/jts
source=https://jts1.production.example.org:9443/jts
target=https://jts1.staging.example.org:9443/jts
#Additional Urls included in rename by /jts
#(CLM Help URL)
source=https://jts1.production.example.org:9443/clmhelp
target=https://jts1.staging.example.org:9443/clmhelp
#The URL to the Jazz Reporting Service
#This URL was also contributed by "/ccm"
#This URL was also contributed by "/qm"
source=https://jrs.production.example.org:9082/rs
target=https://jrs.staging.example.org:9082/rs
#/ccm
source=https://ccm1.production.example.org:9443/ccm
target=https://ccm1.staging.example.org:9443/ccm
#/qm
source=https://qm1.production.example.org:9443/qm
target=https://qm1.staging.example.org:9443/qm
#/rm
source=https://rm1.production.example.org:9443/rm
target=https://rm1.staging.example.org:9443/rm
#Additional Urls included in rename by /rm
#(The address of the application used to generate images for graphical artifacts.)
source=https://rm1.production.example.org:9443/converter/htmlgen
target=https://rm1.staging.example.org:9443/converter/htmlgen
#The following list of URLs represent external servers that integrate with this Jazz Team Server or with applications registered to it.
#source=https://cqwebhost.production.example.org:9443/cqweb/oslc
#target=https://cqwebhost.production.example.org:9443/cqweb/oslc
#source=https://cqsynchhost.production.example.org:8444/cqconnector/gateway
#target=https://cqsynchhost.production.example.org:8444/cqconnector/gateway
# Dummy mappings
source=https://cqwebhost.example.org:9443
target=https://dummyhost1.example.org:9443
source=https://cqsynchhost.production.example.org:8444
target=https://dummyhost2.example.org:94432 番目のデプロイメントのマッピング・ファイルを生成して編集した後は、以下のようになります。 ステージング環境と実稼働環境が混合しないようにするために、ダミー・マッピングがマッピング・ファイルに追加されています。 同じJazz Reporting Serviceマッピングが、1番目と2番目のマッピングファイルに含まれていることに注意してください。 importURLMappings コマンドは、これが同じであることを検出し、2 回目はノーオペレーションになります。
#/jts
source=https://jts2.production.example.org:9443/jts
target=https://jts2.staging.example.org:9443/jts
#Additional Urls included in rename by /jts
#(CLM Help URL)
source=https://jts2.production.example.org:9443/clmhelp
target=https://jts2.staging.example.org:9443/clmhelp
#The URL to the Jazz Reporting Service
#This URL was also contributed by "/ccm"
#This URL was also contributed by "/qm"
source=https://jrs.production.example.org:9082/rs
target=https://jrs.staging.example.org:9082/rs
#/ccm
source=https://ccm2.production.example.org:9443/ccm
target=https://ccm2.staging.example.org:9443/ccm
#/qm
source=https://qm2.production.example.org:9443/qm
target=https://qm2.staging.example.org:9443/qm
#/rm
source=https://rm2.production.example.org:9443/rm
target=https://rm2.staging.example.org:9443/rm
#Additional Urls included in rename by /rm
#(The address of the application used to generate images for graphical artifacts.)
source=https://rm2.production.example.org:9443/converter/htmlgen
target=https://rm2.staging.example.org:9443/converter/htmlgen
# Dummy mappings
source=https://cqwebhost.production.example.org:9443
target=https://dummyhost1.example.org:9443
source=https://cqsynchhost.production.example.org:8444
target=https://dummyhost2.example.org:9443実動 URL を偽の IP アドレスにリダイレクトするようにホスト・ファイルを編集することをお勧めします。
# 10.10.10.10 refers to an IP address that does not host a clm application.
10.10.10.10 cqwebhost.production.example.org
10.10.10.10 cqsynchhost.production.example.org
10.10.10.10 jts2.production.example.org
10.10.10.10 ccm2.production.example.org
10.10.10.10 qm2.production.example.org
10.10.10.10 rm2.production.example.org