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:
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_SKELThe following table describes how to set each possible parameter:
The [confluence_table-plus] macro is a standalone macro and it cannot be used inline. Click on this message for details.
New in 20.02 Configure the following properties to use the Smart Agent capabilities.NEW IN 20.02.01
Configure the following properties to enroll the targets that are provisioned in the public cloud.
The following server properties are available out-of-the-box:
You can also define custom properties.
Example:
In the following example, CLOUD_IPV6_ADDR_CNT, CLOUD_IS_PROD, CLOUD_VOLUME_CNT, and CLOUD_HAS_PUB_IP are custom properties and remaining are the out-of-the-box properties.
WM_INTERVAL_SEC=5
TUNNEL_ENABLE=true
TUNNEL_IDLE_TIMEOUT_MIN=240
#Server properties lists
SERVER_PROP_STR="CLOUD_PROVIDER,CLOUD_ACCOUNT,CLOUD_REGION"
SERVER_PROP_INT="CLOUD_IPV6_ADDR_CNT,CLOUD_VOLUME_CNT"
SERVER_PROP_BOOL="CLOUD_IS_PROD,CLOUD_HAS_PUB_IP"
#Individual server properties values
CLOUD_PROVIDER="AWS"
CLOUD_ACCOUNT="123456789012"
CLOUD_REGION="us-east-1"
CLOUD_IPV6_ADDR_CNT=2
CLOUD_VOLUME_CNT=4
CLOUD_IS_PROD=true
CLOUD_HAS_PUB_IP=false- 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:
- (Windows) C:\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.