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.

About this task

You can use the silent response file to configure the Cassandra agent on Linux® and Windows systems. 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 silent config file that is available at the following location and specify values for all the parameters:
    Windowsinstall_dir\samples\cassandra_silent_config_windows.txt
    Linuxinstall_dir\samples\cassandra_silent_config_UNIX.txt

    WindowsC:\IBM\APM\samples

    Linux/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:
    • Windowscassandra-agent.bat config instance_name install_dir\samples\cassandra_silent_config_windows.txt
    • Linuxcassandra-agent.sh config instance_name install_dir\samples\cassandra_silent_config_UNIX.txt
  4. Start the agent.
    • WindowsIn the IBM Performance Management window, right-click the agent instance that you created, and click Start.
    • LinuxRun the following command: ./cassandra-agent.sh start instance_name

What to do next

Log in to the Cloud APM console to view data that is collected by the agent in the dashboards. For information about using the Cloud APM console, see Starting the Cloud APM console.

For help with troubleshooting, see the Troubleshooting section.