Sun N1 Service Provisioning System ユーザーズガイド (OS Provisioning Plug-In 3.0)

ProcedureWindows イメージサーバーを作成する (コマンド行インタフェース)

Windows RIS サーバーを設定したあとには、SPS 環境内にそのサーバー用のコンポーネントを作成する必要があります。次の手順に従い、SPS ブラウザユーザーインタフェースでコンポーネントを作成します。

  1. (省略可能) RIS サーバーへのアクセスパスワードを暗号化します。

    パスワードを暗号化する方法の詳細については、「パスワードの暗号化」を参照してください。

  2. WindowsServer コンポーネントの変数セットを作成するには、次の例のようなコマンドを入力します。


    # cr_cli -cmd cdb.vs.add -comp NM:/com/sun/n1osp/untyped/WindowsServer \
    -name "winRisServer" -u admin -p admin -vars "installPath=C:\\\\N1 ISP\\\\IspScripts; \
    boot_server_domain_name=n1lab.west.example.com;active_directory_userid=n1ospadmin; \
    boot_server_access_protocol=ssh;boot_server_access_userid=Administrator; \
    boot_server_access_password=yf7813jWUweB4SXBe0JIlw==; \
    ris_share_directory=D:\\\\RemoteInstall"
    

    WindowsServer 変数セットについては、「Windows イメージサーバーのコンポーネント変数」を参照してください。

  3. 次のエントリからなる、/tmp/windows-bi-server という名前のファイルを作成します。


    password4user!
    

    上記例では、password4user! には、Active Directory ユーザーのパスワードを指定します。

  4. プランを実行するには、次の例のようなコマンドを入力します。


    # cr_cli -cmd pe.p.run -u admin -p admin \
    -PID NM:/com/sun/n1osp/untyped/WindowsServer-create -tar H:NM:risserver \
    -comp - -vs winRisServer -pto 30 -nto 10 -f /tmp/windows-bi-server
    

    プランは、次の処理を行います。

    • マスターサーバーに Windows RIS サーバーコンポーネントを作成する。

    • Windows RIS サーバー上の、installPath 変数に指定されているディレクトリに N1ospRisUtil ディレクトリを作成します。このディレクトリには、次のサブディレクトリが含まれます。

      • N1ospScripts

      • N1ospTemplates

      • N1ospTools

      • SampleOSCFiles

      • SampleSIFFiles