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:


    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:


    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:




    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.


    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.


    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.


    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.


    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.


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


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


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


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


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