IBM Performance Management

Configuring the agent by using the silent response file

The silent response file contains the agent configuration parameters. For some parameters, the default values are provided in comments. You can specify different values for these parameters, and remove the comment signs that are placed at the beginning of the parameters.

About this task

You can use the silent response file to configure the Hadoop agent on Linux, AIX®, and Windows systems.

Procedure

  1. Open the silent response file that is available at this path: install_dir\samples\hadoop_silent_config.txt.
  2. In the response file, complete these steps:
    1. For the JAVA_TRACE_LEVEL parameter, specify the appropriate trace level.
    2. Optional: For the JAVA_JVM_ARGS parameter, specify the arguments for the Java™ virtual machine.
    3. For the CP_PORT parameter, specify a value to change the default value of 6789.
    4. For the KH8_IP_ADDRESS.hos1 variable, specify a value.
    Important:
    • The value for the variable must have the following format:

      KH8_IP_ADDRESS.hos1.IBM.com=10.20.11.1 where "hos1.IBM.com" is the FQDN of the Hadoop cluster node that is being monitored and 10.20.11.1 is the IP address.

    • If the length of the FQDN exceeds 25 characters, specify only the host name.

      For example, if the FQDN of a host is myhadoopclustersetupnode.ibm.com, the short host name is myhadoopclustersetupnode.

    • To add more Hadoop nodes, repeat step d.
  3. Save the response file, and run the following command:
    • Linux or AIXinstall_dir/bin/hadoop-agent.sh config install_dir/samples/hadoop_silent_config.txt
    • Windowsinstall_dir/bin/hadoop-agent.bat config install_dir/samples/hadoop_silent_config.txt
  4. Start the agent:
    • Linux or AIXRun the following command: install_dir\bin\hadoop-agent.sh start
    • WindowsRight-click Monitoring Agent for Hadoop and then click Start.

What to do next

  1. Configure each Hadoop node so that the Hadoop agent can collect data. For information about the configuration settings, see Configuring Hadoop nodes.
  2. Enable the subnode events to view eventing thresholds of the Hadoop agent. For information about enabling subnode events, see Configuring the dashboard for viewing Hadoop events.
  3. Log in to the Performance Management console to view the data that is collected by the agent in the dashboards. For information about using the Performance Management console, see Starting the Performance Management console.