エンドポイント・プロパティー・ファイルの使用

プロパティー・ファイルを使用して、サーバーのエンドポイントの変更を行えます。

始める前に

エンドポイント構成に行う変更を決定します。

wsadmin スクリプト・ツールを開始します。 Jython 言語を使用して wsadmin を開始する場合は、サーバー・プロファイルの bin ディレクトリーから wsadmin -lang jython コマンドを実行します。

このタスクについて

プロパティー・ファイルを使用して、エンドポイント・プロパティーの変更を行えます。

wsadmin を使用して管理コマンドを実行し、 エンドポイント・プロパティー・ファイルの抽出、プロパティーの検証、プロパティーの構成への適用を行います。

表 1. エンドポイント・プロパティー・ファイルのアクション. エンドポイント・プロパティーは変更できます。
アクション 手順
作成 使用不可
modify プロパティーを編集し、applyConfigProperties コマンドを実行します。
delete 使用不可

オプションで、以下のコマンドを使用して、対話モードを使用することができます。

AdminTask.command_name('-interactive')

手順

  1. サーバーの下のエンドポイント・プロパティーを編集します。

    エディターでプロパティー・ファイルを開きます。 以下は、サーバー下の EndPoint のプロパティーの例です。 この例では、環境変数セクションで異なる 3 つのホスト名 myHostName*、および localhost を指定します。 このプロパティーの例をエディターにコピーして、それを状況に応じて変更できます。

    #
    # Header
    #
    ResourceType=EndPoint
    ImplementingResourceType=Server
    ResourceId=Cell=!{cellName}:Node=!{nodeName}:Server=!{serverName}
    #
    #
    #Properties
    #
    SOAP_CONNECTOR_ADDRESS=8888:!{hostName} # integer
    SIP_DEFAULTHOST_SECURE=5067:!{hostName1} # integer
    SIP_DEFAULTHOST=5066:!{hostName1} # integer
    SIB_ENDPOINT_ADDRESS=7283:!{hostName1} # integer
    WC_defaulthost_secure=9447:!{hostName1} # integer
    DCS_UNICAST_ADDRESS=9364:!{hostName1} # integer
    SIB_MQ_ENDPOINT_SECURE_ADDRESS=5582:!{hostName1} # integer
    WC_adminhost_secure=9052:!{hostName1} # integer
    CSIV2_SSL_MUTUALAUTH_LISTENER_ADDRESS=9424:!{hostName} # integer
    ORB_LISTENER_ADDRESS=0:!{hostName} # integer
    BOOTSTRAP_ADDRESS=2813:!{hostName} # integer
    CSIV2_SSL_SERVERAUTH_LISTENER_ADDRESS=9423:!{hostName} # integer
    IPC_CONNECTOR_ADDRESS=9634:!{hostName2} # integer
    SIB_ENDPOINT_SECURE_ADDRESS=7291:!{hostName1} # integer
    WC_defaulthost=9084:!{hostName1} # integer
    SIB_MQ_ENDPOINT_ADDRESS=5562:!{hostName1} # integer
    SAS_SSL_SERVERAUTH_LISTENER_ADDRESS=9422:!{hostName} # integer
    WC_adminhost=9069:!{hostName1} # integer
    #
    EnvironmentVariablesSection
    #
    #Environment Variables
    hostName2=localhost
    hostName1=*
    hostName=myHostName
    cellName=WASCell06
    serverName=myServer
    nodeName=WASNode04
  2. applyConfigProperties コマンドを実行します。

    applyConfigProperties コマンドを実行すると、構成にプロパティー・ファイルが適用されます。以下の Jython の例では、オプションの -reportFileName パラメーターによって report.txt という名前のレポートが作成されます。

    AdminTask.applyConfigProperties(['-propertiesFileName myObjectType.props -reportFileName report.txt '])

タスクの結果

プロパティー・ファイルを使用して、エンドポイント・プロパティーを構成および管理することができます。

次のタスク

構成の変更を保存します。


トピックのタイプを示すアイコン タスク・トピック



タイム・スタンプ・アイコン 最終更新: last_date
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-mp&topic=txml_config_prop_endpoint
ファイル名:txml_config_prop_endpoint.html