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
- Open the silent response file that is available at this path: install_dir\samples\hadoop_silent_config.txt.
- In the response file, complete these steps:
- For the JAVA_TRACE_LEVEL parameter, specify the appropriate trace
level.
- Optional: For the JAVA_JVM_ARGS parameter, specify the arguments for the Java™ virtual machine.
- For the CP_PORT parameter, specify a value to change the default value of
6789.
- 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.
- Save the response file, and run the following command:
- install_dir/bin/hadoop-agent.sh config install_dir/samples/hadoop_silent_config.txt
- install_dir/bin/hadoop-agent.bat config install_dir/samples/hadoop_silent_config.txt
- Start the agent:
- Run the following command: install_dir\bin\hadoop-agent.sh start
- Right-click Monitoring Agent for Hadoop and then
click Start.
What to do next
- Configure each Hadoop node so that the Hadoop agent can collect data. For information about
the configuration settings, see Configuring Hadoop nodes.
- 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.
- 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.