Sun N1 Service Provisioning System 5.1 Installation Guide

Non-Interactive Installation of a Remote Agent on Linux and UNIX Systems

You can install the Remote Agent non-interactively by providing a parameters file to indicate your configuration selections. When you provide a parameters file to the installation program, the installation program does not prompt you for configuration selections during the installation. Instead, the installation program uses the configuration information that is provided in the parameters file.

ProcedureHow to Non-Interactively Install a Remote Agent on Linux and UNIX Systems

Before You Begin

You must install a Master Server before you install a Remote Agent. The Master Server does not need to be installed on the machine on which you want to install the Remote Agent.

Steps
  1. On the machine where you want to install the Remote Agent, log in as the user that you want to own the Remote Agent.

    You can log in as root and install the software as the root user. If necessary, the installation program prompts you for information about which user should own the software.

  2. Access the installation scripts.

    • If you are installing from a CD, insert the appropriate CD:

      • To install the Remote Agent on a Solaris OS, SPARC server, insert the Sun N1 Service Provisioning System 5.1: Solaris, SPARC CD.

      • To install the Remote Agent on a Solaris OS, x86 server, insert the Sun N1 Service Provisioning System 5.1: Solaris, x86 CD.

      • To install the Remote Agent on Red Hat Linux or SUSE Linux, insert the Sun N1 Service Provisioning System 5.1: Red Hat Linux, SUSE Linux CD.

      • To install the Remote Agent on HP-UX, insert the Sun N1 Service Provisioning System 5.1: HP-UX (CD 1 of 2) CD.

      • To install the Remote Agent on IBM AIX, insert the Sun N1 Service Provisioning System 5.1: HP-UX (CD 2 of 2), IBM-AIX CD.

    • If you are installing from the image that you downloaded, change to the directory where you saved the downloaded image.

  3. Change to the directory on the software CD or within the downloaded image where the installation script is located.


    % cd /script-directory
    

    script-directory is one of the following values:

    • solaris_sparc

    • solaris_x86

    • aix

    • linux

    • hpux_risc

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


    % cp cr_ra_opsystem_5.1.sh RA-machine/
    

    RA-machine is a directory on the machine on which you want to install the Remote Agent. opsystem is one of the following values:

    • solaris_sparc – installs the Remote Agent on SPARC based hardware running the Solaris OS

    • solaris_x86 – installs the Remote Agent on x86 based hardware running the Solaris OS

    • aix – installs the Remote Agent on IBM AIX

    • linux – installs the Remote Agent on Red Hat Linux and SUSE Linux Enterprise Server

    • hpux_risc – installs the application on PA-RISC based systems that are running HP-UX

  5. Copy a parameters file into the same directory as the installation script.

    A sample parameters file is installed on the Master Server in the N1SPS5.1-MasterServer-home/server/bin directory when you install the Master Server. You can use the default values that are provided in this file or edit the file and add your custom values. The contents of the cr_ra_remote_params.sh sample parameters file and descriptions of the variables that you can set are in Sample Remote Agent Parameters File for Linux and UNIX Systems.

    You can also create a new parameters file to use. The parameters file must be an executable file.

    N1SPS5.1-MasterServer-home is the directory where you installed the Master Server.


    Caution – Caution –

    The values for the CR_RA_SUID and CR_RA_CTYPE variables are not set in the sample parameters file. You must set values for these variables 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.


  6. Start the installation script.


    % cr_ra_opsystem_5.1.sh -paramfile parameters-file.sh [-allowForwardVersion]
    

    opsystem is one of the following values:

    • solaris_sparc – installs the Remote Agent on SPARC based hardware running the Solaris OS

    • solaris_x86 – installs the Remote Agent on x86 based hardware running the Solaris OS

    • aix – installs the Remote Agent on IBM AIX

    • linux – installs the Remote Agent on Red Hat Linux and SUSE Linux Enterprise Server

    • hpux_risc – installs the application on PA-RISC based systems that are running HP-UX

    parameters-file is the name of the parameters file that you want the installation program to use to obtain the configuration information. The parameters file must be an executable file.

    The -allowForwardVersion 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 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.