configureOs400WebServerDefinition コマンドは、 WebSphere Application Server またはデプロイメント・マネージャー・プロファイルで Web サーバー定義を作成します。
このコマンドを実行するには、 ユーザー・プロファイルに *ALLOBJ 権限がなければなりません。 このコマンドの実行について詳しくは、コマンド行ツールの使用の項目を参照してください。
Web サーバーがアプリケーション・サーバーまたはデプロイメント・マネージャーとは異なるノード上にある場合、http プロファイルを使用します。 HTTP プロファイルに対してこのスクリプトを実行すると、別のスクリプトが生成されます。 生成されたスクリプトを使用して、appserver-profile-dir/bin directory から生成されたスクリプトを実行して、アプリケーション・サーバーまたはデプロイメント・マネージャー・プロファイル内で Web サーバー定義を作成します。ここで、appserver-profile-dir はアプリケーション・サーバーまたはデプロイメント・マネージャーのロケーションです。 詳しくは、Web サーバーのトポロジー・ダイアグラムおよびロードマップの選択 の項を参照してください。
configureOs400WebServerDefinition -webserver.instance.name webserverInstanceName | -webserver.name webserverName [ -webserver.admin.userID userId ] [ -webserver.admin.password password ] [ -profileName profile1 ] [ -webserver.type webserverTpe ] [ -webserver.host hostName | -webserver.node webserverNode ] [ -mapType mapType ] [ -webserver.port webserverPort ] [ -webserver.admin.port adminPort ] [ -was.admin.userId wasUserId ] [ -was.admin.password wasPassword ] [ -help | -? ]
configureOs400WebServerDefinition コマンドで使用可能なオプションは、以下のとおりです。
以下は、正しい構文の例です。
configureOs400WebServerDefinition -profileName profile1.remote -webserver.instance.name WEB1 -webserver.name WEB1
profile1.remote プロファイルは、http プロファイル・テンプレートを使用して作成された http プロファイルです。
Web サーバー構成ファイル: profile_root /config/WEB1/configureWEB1 was created for remote profile profile1.remote. Web サーバー定義 "WEB1" を作成するためには、「アプリケーション・サーバー」または "dmgr" プロファイルの bin ディレクトリーに "profile_root /config/WEB1/configureWEB1" スクリプトをコピーして、実行する必要があります。 スクリプトを実行する前に「アプリケーション・サーバー」または "dmgr" が開始していることを確認してください。
profile_root/config/WEB1/configureWEB1また、 Web サーバー定義作成を完成するために必要なステップを指示しました。
非 HTTP プロファイルでの実行
configureOs400WebServerDefinition -profileName profile1 -webserver.instance.name INSTANCE1 -webserver.name SERV1
configureOs400WebServerDefinition -profileName profile1 -webserver.type DOMINO -webserver.instance.name DOMINO1