You can use the silent response file to configure the Sterling File Gateway
agent without responding to
prompts when you run the configuration script. You can configure the agent that uses the silent
response file on both Windows and Linux® systems. The silent response file contains the agent configuration
parameters. You can edit the silent response file to modify the values of these parameters, and run
the configuration script to create an instance and update the agent configuration values. This mode
of configuration is called the silent mode.
About this task
The silent response file contains the agent configuration parameters with default values that are
defined for some parameters. You can edit the silent response file to specify different values for
the configuration parameters.
After you update the configuration values in the silent response file, you must run the
configuration script to configure the agent with these updated values.
Procedure
To configure the Sterling File Gateway
agent in the silent mode,
complete the following steps:
-
In a text editor, open the sterling_file_gatway_silent_config.txt file
that is available at the following path:
-
In the sterling_file_gateway_silent_config.txt file, specify values for
all the mandatory parameters. You can also modify the default values of other parameters.
For more information about the configuration parameters, see the following topics:
-
Save and close the sterling_file_gateway_silent_config.txt file, and run
the following command:
install_dir/bin/sterling_file_gateway-agent.sh config instance_name
install_dir/samples/sterling_file_gateway_silent_config.txt
Example /opt/ibm/apm/agent/bin/sterling_file_gateway-agent.sh config instance_name
/opt/ibm/apm/agent/samples/sterling_file_gateway_silent_config.txt
install_dir/bin/sterling_file_gateway-agent.bat config instance_name
install_dir/samples/sterling_file_gateway_silent_config.txt
Example
C:\IBM\APM\bin\sterling_file_gateway-agent.bat config instance_name
C:\IBM\APM\samples\sterling_file_gateway_silent_config.txt
Where
instance_name is the name that you want to give to the instance and
install_dir is the path where the agent is installed.
Important: Ensure that you include the absolute path to the silent response file.
Otherwise, the agent data is not shown in the dashboards.
-
Run the following command to start the agent: