N1 Service Provisioning System 4.1 Installation Guide

Remote Installation of Remote Agents on Windows

The Remote Agent installation script facilitates remote installation in a non-interacitve mode. The installation is accomplished by using a .wsh script used by the Windows Scripting Host. The script file contains VB script code that does the following:

ProcedureHow to Remotely Install Remote Agents on Windows

Steps
  1. On the Master Server machine, open a DOS window.

  2. Insert the N1 Service Provisioning System 4.1: IBM AIX, Redhat Linux, Windows 2000 Server/Advanced Server CD.

  3. Change to the directory on the software CD where the Windows installation script is located.


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

    path-to-CD is the path to the software CD.

  4. Copy the installation script to the Master Server.


    % cp cr_ra_win32_4.1.sh MS-machine/
    

    MS-machine is a directory on the Master Server machine.

  5. Start the installation.


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

    Hostname is the hostname of the machine on which to install the Remote Agent.

    If you do not include values for any of the following parameters on the command line, the installation program installs the Remote Agent using the default values as shown below.

    The Remote Agent non-interactive installation program accepts the parameters listed in the following table.

    Parameter 

    Description 

    Default 

    -user

    User to connect to WMI on the target machine. 

    none 

    -password

    Password to connect to the WMI on the target machine. 

    none 

    variables 

    The Windows variable for the cscript WinInstaller.wsf command found in Table 5–1. All variables and values must be contained in a string that is enclosed by quotation marks.

    none 

    -msiLocation

    Paths to the .msi/.input files to install.

    Current working directory 

    -shareLocation

    An existing directory on the target machine in which to create a temporary Windows file share. The file share directory must be at least the size of the installation script. 

    C:\WINNT\Temp

    The exit code is 0 for a successful installation and 1 for a failure.


Example 5–2 Remote Installation of a Remote Agent On Windows

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


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