Windows RIS サーバーを設定したあとには、SPS 環境内にそのサーバー用のコンポーネントを作成する必要があります。次の手順に従い、SPS ブラウザユーザーインタフェースでコンポーネントを作成します。
(省略可能) RIS サーバーへのアクセスパスワードを暗号化します。
パスワードを暗号化する方法の詳細については、「パスワードの暗号化」を参照してください。
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 イメージサーバーのコンポーネント変数」を参照してください。
次のエントリからなる、/tmp/windows-bi-server という名前のファイルを作成します。
password4user! |
上記例では、password4user! には、Active Directory ユーザーのパスワードを指定します。
プランを実行するには、次の例のようなコマンドを入力します。
# 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 |
プランは、次の処理を行います。