Configuring the installation parameters for the NSH or the RSCD agent


You can configure the installation parameters for the Network Shell or RSCD agent. When you run the Oracle Solaris SVR4 package or RPM Package Manager (RPM) installers, these customized parameter values are used. Configure the installation parameters in the following scenarios:

  • You want to override the default values that are used during installation.
  • You want to use the Smart Agent feature.

To configure the installation parameters

Do the following:

  1. Create a text file named nsh-install-defaults in the /tmp directory. Only root users must own this file. In the file, add an entry for each parameter that you want to set and create another entry to export it. 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 parameter:

    The [liveData] macro is a standalone macro and it cannot be used inline. Click on this message for details.

    New in 20.02Configure the following properties to use the Smart Agent capabilities.

    Example of configured Smart Agent properties
    AUTOSTART_AGENT=1
    EXPORTSFILETEXT="*rw,user=root"
    SMARTHUB_HOSTNAME="abc.bmc.com"
    SMARTHUB_PORT=10443
    ENROLL_INTERVAL_MIN=1
    ENROLL_AS="<HOSTNAME>.bmc.com<UPPER>"
    HEARTBEAT_INTERVAL_MIN=5
    SMARTAGENT_SERVICE=1
    ACCESS_KEY="azywdWJsaWNfa2V5IjoiLS0tLS1CRUdJTiBQVUJMSUMgS0VZ
    LS0tLS1cclxuTUlJQklqQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FROEFNSUlCQ
    2dLQ0FRRUExSDc5THdmcG5DNm5ZVTNHVTRFb1xyXG5qdERzQjczdzF3dEE4VmV
    CR1FZd1o0NVloK3FrRiszYmN0RDVabGQxdVA2cWRWZWppTzRXMXRTWmxRTXBLb
    tttXHJcbnJIMGdyc3dXNG91S1E2azFTdzY2SWZWTU5BKzI5Qk5oFdZYy9xbzk3
    eW5HSzJLNm41a2tzc2dCM0RONGRcclxuN1FJREFRQUJcclxuLS0tLS1FTkQgUF
    VCTElDIEtFWS0tLS0tXHJcbiIsImluZnJhX2lkIjoiQjgzMzNFQUIwQjUzM0RDR=="

    SERVER_PROP_LIST="CLOUD_PROVIDER, CLOUD_ACCOUNT, CLOUD_REGION,
    CLOUD_RESOURCE_ID, CLOUD_RESOURCE_NAME, CLOUD_VPC"

    CLOUD_PROVIDER="AWS"
    CLOUD_REGION="MUMBAI"
    CLOUD_RESOURCE_ID="123"
    CLOUD_ACCOUNT="BMC-TEST"
    CLOUD_RESOURCE_NAME=""
    CLOUD_VPC="VPC0"
    TUNNEL_ENABLE="true"
  2. Save the changes.

What's next

Run the installer. When you run the NSH and RSCD installer, the Smart Agent related configuration settings are saved in the smartagent.conf file. This file is saved at this path:

  • (WindowsC:\Windows\rsc
  • (Linux) /etc/rsc

For installation instructions, see Using-the-Solaris-SVR4-package-installer-to-install-NSH-and-the-RSCD-agent or Using-RPM-to-install-NSH-or-the-RSCD-agent.