Configuring environment settings for using the Oracle Solaris SVR4 package installer or RPM installer

You can configure environment settings for installing the Network Shell or RSCD agent with the Oracle Solaris SVR4 package installer or RPM Package Manager (RPM) installer.

To configure packages with environment settings:

  1. 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=1
    export NSH_INSTALL_SKEL

    Note

    The nsh-install-defaults file can include the same agent settings as for silent installation of the agent. However, do not include settings for INSTALL_DIR and NSH_DIR.

    The following table describes how to set each possible variable:

    Variable

    Description

    SHARE_NSH

    Set this variable 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 variable 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 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 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 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. Set this variable to 1 to install those files.

    TMP_DIR

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

    KEEPLOCAL

    Set this variable to 1 to specify that installation is local to the computer. This setting:

    • Forces the deployment of the product into the installation directory.
    • Creates configuration files in the <installationDirectory>/conf directory, instead of /etc/rsc.
    • Creates startup files in the <installationDirectory>/conf directory.
      If you set KEEPLOCAL=1, no startup information is created in /etc by default. However, if you set AUTOSTART_AGENT=1, that setting creates startup files in /etc.

    AUTOSTART_AGENT

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

  3. Save /tmp/nsh-install-defaults.
  4. Run the installer. See Using the Solaris SVR4 package installer to install NSH and the RSCD agent or Using RPM to install NSH or the RSCD agent.
Was this page helpful? Yes No Submitting... Thank you

Comments