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:

    Parameter

    Description

    SHARE_NSH

    Set this parameter value to 1 to enable the use of the nsh command to start NSH from any command line. This setting puts a link to a Network Shell start script in the /bin directory.

    IS_SECURE_AGENT_LOGS

    Set this parameter value to 1 to enable secure agent logging. When secure agent logging is enabled, agent logs are periodically rolled and digitally signed as they are rolled.

    IS_KEYSTROKE_LOGS

    Set this parameter value to 1 to enable keystroke (nexec) logging on an agent. When keystroke logging is enabled on an agent, remote commands run against the agent using nexec are captured and logged in an encrypted manner in keystroke logs. These logs are also periodically rolled and digitally signed as they are rolled.

    INSTALL_BLPRNG

    Set this parameter value to 1 to install the BladeLogic Pseudo Random Number Generator Daemon (PRNGD). TrueSight Server Automation uses random data to encrypt communication securely. Most systems already have a random number generator device; you might not need this setting. However, if a server on which you are performing a silent installation does not include a hardware device for generating random numbers, the installation program installs the PRNGD.

    NSH_ROOT_HOST

    Set this parameter value to identify a client on which users are granted root privileges for this server. This option sets the root= flag in the exports configuration file. By default, no clients are specified.

    NSH_USER_FROM NSH_USER_TO

    Set these values to configure a default user mapping in the users.local file. By default, no users are mapped. The values set with this parameter create an entry in the users.local file that says:
    NSH_USER_FROM rw,map=NSH_USER_TO
    For example, by defining values for these parameters, you could create an entry in users.local similar to the following example:
    betty rw,map=root
    For information about the users.local file, see Configuring the users or users.local files.

    NSH_INSTALL_SKEL

    By default, a silent installation does not include the .nsh/etc/skel files. Set this parameter to 1 to install those files.

    TMP_DIR

    (For the RSCD agent) Specifies a location where the installer should uncompress the sysinfo installation file before the file copy.

    AUTOSTART_AGENT

    Set this parameter to 1 to restart the RSCD agent automatically when the system is rebooted. (This setting creates agent start-up files in /etc.)

    NEW IN 20.02EXPORTSFILETEXT

    Set this parameter to modify the exports file content.
    For example, to allow user access only from appserver1 and appserver2 hosts, use this value:
    "appserver1,appserver2 rw"
    For more information about configuring the Exports file, see Configuring the exports file.

  4. Save /tmp/nsh-install-defaults.
  5. To run the installer, enter the following command:
    sh <RSCDversion-platform> -silent
    For example:
    sh RSCD89-SOL10-SPARC.sh -silent

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).

Was this page helpful? Yes No Submitting... Thank you

Comments