Sun N1 Service Provisioning System User's Guide for OS Provisioning Plug-In 3.0

ProcedureHow to Create the Windows Image Server (Command-Line Interface)

After you set up the Windows RIS server, you must create an component for the server in your SPS environment. Follow these steps to create the component in the SPS browser user interface.

Steps
  1. (Optional) Encrypt the RIS server access password.

    For more information about how to encrypt passwords, see Password Encryption.

  2. To create a variable set for the WindowsServer component, type a command similar to the following example:


    # 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"
    

    For information about the WindowsServer variable set, see Windows Image Server Component Variables.

  3. Create a file named /tmp/windows-bi-server that includes the following entry:


    password4user!
    

    In the previous example, password4user! specifies the Active Directory user password.

  4. To run the plan, type a command that is similar to the following example.


    # 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
    

    The plan performs the following tasks.

    • The Windows RIS server component is created on the Master Server.

    • The N1ospRisUtil directory is created on the Windows RIS server in the directory that is specified in the installPath variable. This directory contains the following subdirectories.

      • N1ospScripts

      • N1ospTemplates

      • N1ospTools

      • SampleOSCFiles

      • SampleSIFFiles