Sun N1 Service Provisioning System 5.1 Installation Guide

Non-Interactive Installation of a Remote Agent on Windows

You can install the Remote Agent by using variables on a command line to indicate your configuration selections. The non-interactive installation for Remote Agents is accomplished by using the msiexec command that is installed as part of the Windows Installer Service.

ProcedureHow to Non-Interactively Install Remote Agents on Windows

Before You Begin

Ensure that you have write permissions on the folder in which the MSI packages are saved.

Steps
  1. On the machine where you want to install the Remote Agent, open a Command Prompt window.

  2. Insert the Sun N1 Service Provisioning System 5.1: Windows CD.

  3. Change to the directory where the MSI package is located, either on the software CD or from the directory where you saved the downloaded image.

  4. Copy the installation MSI package to the machine on which you want to install the Remote Agent.


    % copy cr_ra_win32_5.1.msi RA-machine\
    

    RA-machine is a directory on the machine on which you want to install the Remote Agent.

  5. Start the installation.


    C:RA-machine\>  msiexec /i cr_ra_win32_5.1.msi /qn
    RA_PARENT_CONNECTION=value CR_RA_CTYPE_CONFIRM=value VARIABLE=value[ALLOWFORWARDVERSION=true]
    

    You may include as many variables as necessary. Variable values that contain spaces, such as directory names, must be included in quotation marks. For the variables and values accepted by the non-interactive installation program, refer to Table 5–1. For variables for which you do not specify a value, the installation program installs the Remote Agent using the default value.


    Caution – Caution –

    You must set a value for the RA_PARENT_CONNECTION variable or the installation script will abort. Also, if you choose to use an insecure connection type, such as raw or SSL encryption with no authentication, you must set the CR_RA_CTYPE_CONFIRM variable value to true.


    The ALLOWFORWARDVERSION=true option enables you to install an N1 Service Provisioning System 5.1 Remote Agent on a version of an operating system that is numerically higher than the highest version the N1 Service Provisioning System 5.1 supports for that operating system. If you use the ALLOWFORWARDVERSION=true option, the installation program does not verify that the operating system on which you are installing the Remote Agent is supported. There is no standard Sun Services support for use of the N1 Service Provisioning System 5.1 on unsupported operating systems.


    Caution – Caution –

    Installing the N1 Service Provisioning System 5.1 on unsupported operating systems might result in undefined and unexpected behavior. Install the N1 Service Provisioning System 5.1 on unsupported operating systems only for testing purposes. Do not use the N1 Service Provisioning System 5.1 on unsupported operating systems in a production environment.



Example 5–1 Non-Interactive Installation of a Remote Agent on Windows

The following example is a sample of the command to install the Remote Agent non-interactively on Windows.


C:\> msiexec /i cr_ra_win32_5.1.msi /qn
INSTALLDIR=“C:\Program Files\N1 Service Provisioning System\”
RA_PARENT_CONNECTION=false CR_RA_CTYPE_CONFIRM=true