Configuring the agent by using the silent response file
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.
Before you begin
Ensure that the files, which are listed in the “Before you begin” section of the Configuring SAP NetWeaver Java Stack monitoring are available in the bin
directory.
About this task
The silent response file contains the agent configuration parameters with default values 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
-
In a text editor, open the
sap_netweaver_java_stack_silent_config.txt
file that is available at the following path, and specify values for the configuration parameters.-
For Windows:
C:\IBM\APM\samples
-
For Linux
/opt/ibm/apm/agent``/samples
For information about the configuration parameters, see Configuration parameters of the agent.
-
-
On the command line, change the path to
install_dir\bin
-
Run the following command:
- For Windows
sap_netweaver_java_stack-agent.bat config instance_name install_dir\samples\sap_netweaver_java_stack_silent_config.txt
- For Linux
./sap_netweaver_java_stack-agent.sh config instance_name install_dir\samples\sap_netweaver_java_stack_silent_config.txt
- For Windows
-
Start the agent.
- In the IBM® Cloud Application Performance Management window, right-click the agent instance that you created, and click Start. Alternatively, you can also run the following command:
sap_netweaver_java_stack-agent.bat start instance_name
- Run the following command:
./sap_netweaver_java_stack-agent.sh start instance_name
- In the IBM® Cloud Application Performance Management window, right-click the agent instance that you created, and click Start. Alternatively, you can also run the following command:
What to do next
Log in to the IBM Cloud Pak console}to view the data that is collected by the agent in the dashboards. For more information about using the console, see Starting the Cloud App Management UI.