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
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
Configure the WebLogic agent in the silent mode by completing the
following steps.
-
In a text editor, open the weblogic_silent_config.txt file that is
available at the following path:
- install_dir/samples/weblogic_silent_config.txt
- install_dir\samples\weblogic_silent_config.txt
where install_dir is the path where the agent
is installed.
Example
- /opt/ibm/apm/agent/samples/weblogic_silent_config.txt
- C:\IBM\APM\samples\weblogic_silent_config.txt
- In the weblogic_silent_config.txt file,
specify values for all mandatory parameters. You can also modify the default values of other
parameters.
- Save and close the weblogic_silent_config.txt file, and run the
following command:
install_dir/bin/weblogic-agent.sh config instance_name
install_dir/samples/weblogic_silent_config.txt
install_dir\bin\weblogic-agent.bat config instance_name
install_dir\samples\weblogic_silent_config.txt
where install_dir is the path where the agent
is installed and instance_name is the name that you want to give to the agent
instance.
The default
install_dir paths are listed here:
- /opt/ibm/apm/agent
- C:\IBM\APM\TMAITM6_x64
Important: Ensure that you include the absolute path to the silent response file.
Otherwise, the agent data is not shown in the dashboards.
Example
/opt/ibm/apm/agent/bin/weblogic-agent.sh config example-inst01
/opt/ibm/apm/agent/samples/weblogic_silent_config.txt
C:\IBM\APM\bin\weblogic-agent.bat config example-inst01
C:\IBM\APM\samples\weblogic_silent_config.txt
- Copy the WebLogic client libraries into the WebLogic agent binary directory.
- Locate the wlclient.jar and
wljmxclient.jar files under ORACLE_HOME.
- Copy the files from step 5.a to the WebLogic agent
binary directory.
- install_dir/bin.
- install_dir\TMAITM6_x64
where
install_dir is the path where the agent
is installed. The default
install_dir paths are
listed here:
- /opt/ibm/apm/agent
- C:\IBM\APM\TMAITM6_x64
- Run the following command to start the agent:
install_dir/bin/weblogic-agent.sh start instance_name
install_dir\bin\weblogic-agent.bat start instance_name
where install_dir is the path where the agent
is installed and instance_name is the name of the agent instance.
The default
install_dir paths are listed here:
- /opt/ibm/apm/agent
- C:\IBM\APM\TMAITM6_x64
Example
/opt/ibm/apm/agent/bin/weblogic-agent.sh start
example-inst01
C:\IBM\APM\bin\weblogic-agent.bat start example-inst01