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

You can perform an unattended (silent) installation of the RSCD agent on a Linux or UNIX computer. This topic contains the following sections:

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.

  • Create a file of installation defaults (variables that control how a silent installation on Linux or UNIX behaves).
  • 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.

To install the RSCD agent in silent mode

  1. Using any server, create a text file named nsh-install-defaults in the /tmp directory. The file must belong to root.
  2. In the file, create an entry for each variable you want to set. Then for each variable 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 possible variable:

    Variable

    Explanation

    INSTALL_DIR

    Set this variable to choose an installation directory other than the default installation directory of /opt/bmc/bladelogic.

    COMPONENT_CHECKED

    By default, running a silent installation installs all possible components in the installation. To override the default, set the COMPONENT_CHECKED variable. In an RSCD agent only silent installation, the agent is the only possible component for installation. The COMPONENT_CHECKED variable can have only this value:
    1 — RSCD agent. When using the file with the Bulk RSCD Agent Installer, set the value to 1 (one).

    IS_SECURE_AGENT_LOGS

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

    IS_KEYSTROKE_LOGS

    Set this variable 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 variable to 1 to install the BladeLogic Pseudo Random Number Generator Daemon (PRNGD). BMC Server Automation uses random data to encrypt communication securely. Most systems already have a random number generator device; you may 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 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 variable 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 variables, 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. To install those files, set this variable to 1.

    TMP_DIR

    Specifies a location where the installer should uncompress the sysinfo installation file before the file copy.

    STARTUP_AIX

    Specifies the type of startup script used for silent installation of the RSCD agent on AIX. You can specify these values:
    1 --At system bootup, use the /etc/rc.tcpip file
    2 -- Manually (I will do it myself)
    3 --At system backup, use the /etc/rc.d/init.d/rscd file

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

Where to go from here

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


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

Comments