After installation of the WebLogic agent, you must configure it before you
start the agent. If the WebLogic agent is
installed on a local Linux® or UNIX computer, you can follow these instructions to configure it interactively
through command line prompts.
About this task
Remember: If you are reconfiguring a configured agent instance, the value that is set in
the last configuration is displayed for each setting. If you want to clear an existing value, press
the space key when the setting is displayed.
Procedure
Follow these steps to configure the WebLogic agent by running a script and responding to
prompts.
-
Run the following command.
install_dir/bin/weblogic-agent.sh
config instance_name
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.
Example
/opt/ibm/apm/agent/bin/weblogic-agent.sh config example-inst01
- Respond to the prompts to set configuration values for the
agent.
- Copy the WebLogic client library files into the WebLogic agent binary directory.
- Locate the wlclient.jar and
wljmxclient.jar files under ORACLE_HOME.
- Copy the files from step 3.a to the WebLogic agent binary directory.
where install_dir is the path where the agent
is installed.
Example
/opt/ibm/apm/agent/bin
- Run the following command to start the agent:
install_dir/bin/weblogic-agent.sh start
instance_name
where install_dir is the path where the agent
is installed and instance_name is the name of the agent instance.
Example
/opt/ibm/apm/agent/bin/weblogic-agent.sh start example-inst01