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 topic, 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

  1. 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.
    WindowsC:\IBM\APM\samples
    Linux or AIX/opt/ibm/apm/agent/samples

    For information about the configuration parameters, see Configuration parameters of the agent

  2. On the command line, change the path to install_dir\bin
  3. Run the following command:
    • Windowssap_netweaver_java_stack-agent.bat config instance_name install_dir\samples\sap_netweaver_java_stack_silent_config.txt
    • Linux or AIX./sap_netweaver_java_stack-agent.sh config instance_name install_dir\samples\sap_netweaver_java_stack_silent_config.txt
  4. Start the agent.
    • WindowsIn 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
    • Linux or AIXRun the following command: ./sap_netweaver_java_stack-agent.sh start instance_name

What to do next

  • Log in to the Cloud APM console to view the resource monitoring data that is collected by the agent in the dashboards. For information about using the Cloud APM console, see Starting the Performance Management console.
  • To collect transaction tracking and diagnostics data, configure the data collector and enable data collection for transaction tracking and diagnostics.