ステージング・サーバーから実動サーバーへの商品アドバイザー・データのマイグレーション

ステージング・サーバーから実動サーバーへ商品アドバイザー・データをマイグレーションするには、次のようにします。

  1. エクスポートしたいカテゴリーのメタフォーをステージング・サーバー上に作成します。 詳細については、コマンド・ユーティリティーを使ったメタフォーの作成を参照してください。
  2. 下記手順で、メタフォーをエクスポートする。
    1. 以下の情報は Windows に適用されます (301 バイト)以下の情報は AIX に適用されます (307 バイト)以下の情報は Solaris に適用されます (388 バイト)T以下の情報は Linux に適用されます (282 バイト) WebSphere Commerce Server のコマンド行で、以下のディレクトリーに変更します。
      以下の情報は Windows NT に適用されます (266 バイト) drive:\WebSphere\CommerceServer\bin
      以下の情報は Windows 2000 に適用されます(401 バイト) drive:\Program Files\WebSphere\CommerceServer\bin
      以下の情報は AIX に適用されます (307 バイト) /usr/WebSphere/CommerceServer/bin
      以下の情報は Linux に適用されます (282 バイト) /opt/WebSphere/CommerceServer/bin
    2. コマンド行から次のように入力する。
      XMLExport instance_configuration_filename store_id output_filename
      XMLExport_aix.sh instance_configuration_filename store_id output_filename
      XMLExport_sol.sh instance_configuration_filename store_id output_filename
      以下の情報は Linux に適用されます (282 バイト) XMLExport.sh instance_configuration_filename store_id output_filename
      以下の情報は iSeries 400 に適用されます (434 バイト) EXPWCSPA CONF(instance_configuration_filename) XML(output_filename)
              STOREID(store_id) HOST(host_name) PORT(WAS_port)

      ここで:
      • instance_configuration_filename はこのインスタンス (instance_name.xml) のための WebSphere Commerce 構成ファイルへの絶対パスで、次のようなものです。
        以下の情報は Windows NT に適用されます (266 バイト) drive:\WebSphere\CommerceServer\instances\instance_name\xml\instance_name.xml
        以下の情報は Windows 2000 に適用されます (401 バイト) drive:\Program Files\WebSphere\CommerceServer\instances\instance_name\xml\instance_name.xml
        以下の情報は AIX に適用されます (307 バイト) /usr/WebSphere/CommerceServer/instances/instance_name/xml/instance_name.xml
        以下の情報は Linux に適用されます (282 バイト) /opt/WebSphere/CommerceServer/instances/instance_name/xml/instance_name.xml
        以下の情報は iSeries 400 に適用されます (434 バイト) /QIBM/UserData/WebCommerce/instances/instance_name/xml/instance_name.xml
      • input_filename は、このコマンドの実行に先立って作成した XML ファイルへの絶対パスです。
      • log_file は、このコマンドからのログ・メッセージのターゲット・ファイルへの絶対パスです。
      • 以下の情報は iSeries 400 に適用されます (434 バイト) host_name は、商品アドバイザーを実行しているインスタンスの完全修飾ホスト名です。
      • 以下の情報は iSeries 400 に適用されます (434 バイト) WAS_port は、WebSphere Application Server のポート番号です。 これはオプション・パラメーターです。 デフォルトは 900 です。
  3. outputfile を実動サーバー上のある場所に移動する。
  4. 実動サーバー上に 1 つまたは複数の検索スペースを作成する。
  5. 以下の情報は Windows に適用されます (301 バイト)以下の情報は AIX に適用されます (307 バイト)以下の情報は Solaris に適用されます (388 バイト)以下の情報は Linux に適用されます (282 バイト) 実動サーバー上のコマンド・プロンプトで、現行ディレクトリーを以下に変更する。
    以下の情報は Windows NT に適用されます (266 バイト) drive:\WebSphere\CommerceServer\bin
    以下の情報は Windows 2000 に適用されます(401 バイト) drive:\Program Files\WebSphere\CommerceServer\bin
    以下の情報は AIX に適用されます (307 バイト) /usr/WebSphere/CommerceServer/bin
    以下の情報は Linux に適用されます (282 バイト) /opt/WebSphere/CommerceServer/bin
  6. 下記手順で、メタフォーを作成、更新、または削除するためにメタフォーをインポートする。
    コマンド行から次のように入力する。
    PABatchXML.cmd input_filename instance_configuration_filename
    PABatchXML.sh input_filename instance_configuration_filename
    以下の情報は Linux に適用されます (282 バイト) PABatchXML.sh input_filename instance_configuration_filename
    以下の情報は iSeries 400 に適用されます (434 バイト) IMPWCSPA CONF(instance_configuration_filename) XML(input_filename)
             LOG(log_file) HOST(host_name) PORT(WAS_port) DEBUG(debug_value)

    ここで:

関連概念 (1275 バイト)

関連タスク (1201 バイト)

関連参照

IBM 著作権