Using silent mode to install the RSCD agent (Linux and UNIX)


You can perform an unattended (silent) installation of the RSCD agent on a Linux or UNIX computer. The silent installation obtains the required inputs from the nsh-install-defaults file.

Before you begin

  • Optionally, set the INSTALL_FILES_TEMP environment variable to a valid, writable directory. If this variable is set, the installer files are stored in that location, thereby reducing the disk space requirements for /tmp during the installation. At the operating system command line, enter the following commands:

    INSTALL_FILES_TEMP=<temporaryDirLocation>
    export INSTALL_FILES_TEMP

    For more information, see Methods for reducing installation space on Linux and UNIX.

  • For information about installing an agent on a VMware ESX server, see Adding-and-configuring-an-agent-based-vCenter-server
    As of vSphere 5.0, VMware supports only installation of ESXi, which is an appliance OS, and does not support installing an RSCD agent. All management of ESXi must be done via an RSCD agent on the vCenter Control server, as described in Setting-up-a-VMware-vSphere-environment.
  • If you want to use the Smart Agent capabilities such as auto enrollment, use the Linux RPM installer. For details, see Using-RPM-to-install-NSH-or-the-RSCD-agent.

To install the RSCD agent in silent mode

  1. Log in to the Linux system (as a root user) where you want to install the RSCD Agent.
  2. Create a text file named nsh-install-defaults in the /tmp directory. The file must belong to root.
  3. In the file, create an entry for each property that you want to set. Then for each property you enter in the file, create another entry to export the variable. For example:
    NSH_INSTALL_SKEL=yes
    export NSH_INSTALL_SKEL

    Note

    Ensure that the file is in UNIX format (a format in which a line feed, not a carriage return, specifies the end of a line). Otherwise, installation fails.

    The following table describes how to set each property:

  4. Save /tmp/nsh-install-defaults.
  5. To run the silent installation and generate the artifacts like the install log file in the /tmp directory, enter the following command:

    sh <RSCDversion-platform> -silent
    For example:
    sh RSCD89-SOL10-SPARC.sh -silent

    To run the silent installation and generate the artifacts like the install log file in an accessible temporary directory (for example, /var/tmp), when the /tmp directory is not accessible, enter the following command:

    sh <RSCDversion-platform> -silentlog /var/tmp/<logfilename>.log -silent
    For example:
    sh RSCD<version>-SOL10-SPARC.sh -silentlog /var/tmp/rscdinstallation.log -silent

    Important

    The -silentlog option is essential for the silent installation to create the installation log file.

Where to go from here

To use the BLCLI or the blcred utility, you must install the TrueSight Server Automation Console. For information, see Using-silent-mode-to-install-the-TrueSight-Server-Automation-Console-Linux-and-UNIX.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*