N1 Service Provisioning System 4.1 インストールガイド

ProcedureWindows へ Remote Agent をリモートインストールする

手順
  1. Master Server マシンで、DOS ウィンドウを開きます。

  2. N1 Service Provisioning System 4.1: IBM AIX, Redhat Linux, Windows 2000 Server/Advanced Server CD を挿入します。

  3. ソフトウェア CD の挿入後、Windows のインストールスクリプトが格納されているディレクトリに移動します。


    C:\> cd path-to-CD/windows
    

    path-to-CD には、ソフトウェア CD のパスを指定します。

  4. インストールスクリプトを Master Server にコピーします。


    % cp cr_ra_win32_4.1.sh MS-machine/
    

    MS-machine には、Master Server マシン上のディレクトリを指定します。

  5. インストールを開始します。


    C:\MS-machine> cscript WinInstaller.wsf 
    parameters Hostname
    

    Hostname には、Remote Agent のインストールマシンのホスト名を指定します。

    コマンド行の parameters の位置に何も値を指定しない場合、Remote Agent は次に示すデフォルトの構成値でインストールされます。

    Remote Agent の非対話型インストールプログラムは、次の表のパラメータを受け付けます。

    パラメータ 

    説明 

    デフォルト 

    -user

    ターゲットマシンの WMI に接続するユーザー 

    なし 

    -password

    ターゲットマシンの WMI に接続するときのパスワード 

    なし 

    変数 

    cscript WinInstaller.wsf コマンドの Windows 変数。表 5–1 を参照。 すべての変数、すべての値は、途中で改行しないで入力し、文字列全体を引用符で囲む

    なし 

    -msiLocation

    インストールする .msi/.input ファイルのパス

    現在の作業ディレクトリ 

    -shareLocation

    ターゲットマシン上の既存のディレクトリ。一時的な Windows ファイル共有は、このディレクトリに作成される。 少なくとも、インストールスクリプトを格納できるディレクトリ容量が必要 

    C:\WINNT\Temp

    終了コード 0 は正常なインストールの完了、終了コード 1 はインストールの失敗を表します。


例 5–2 Windows への Remote Agent のリモートインストール

Windows へ Remote Agent をリモートインストールする場合は、次の例のように入力します。


C:\> cscript WinInstaller.wsf -sharelocation C:\installs -options 
"INSTALLDIR='C:\Program Files\N1 Service Provisioning System'" targetHost