Manually unconfigure the data collector
After you manually configure the data collector for the WebSphere Applications agent, to remove data collection within the configured application server, you must manually unconfigure the data collector.
About this task
The following procedure applies only after you manually configure the data collector following the instructions in Manually configure the data collector if the configuration utilities fail. If you used the configuration utilities to configure the data collector, you must also use the unconfiguration utility to unconfigure the data collector. For instructions, see Unconfiguring the data collector interactively or Unconfiguring the data collector in silent mode.
Procedure
- To manually unconfigure the data collector for the WebSphere application server, see Manually unconfiguring the data collector for WebSphere Application Server traditional.
- To manually unconfigure the data collector for the Liberty server, see Manually unconfiguring the data collector for WebSphere Application Server Liberty.
Manually un-configuring the data collector for WebSphere Application Server traditional
- Log in to the WebSphere Administrative Console as the administrator.
- In the navigation pane, click Servers, expand Server Type and select WebSphere application servers.
- Click the name of the application server.
- Under the Server Infrastructure section in the Configuration tab, expand Java Virtual Machine and click Process Definition.
- Under the Additional Properties section, click Java Virtual Machine.
-
In the Generic JVM arguments field, remove the following entries from the content.
-agentlib:am_ibm_16=${WAS_SERVER_NAME} -Xbootclasspath/p:${ITCAMDCHOME}/toolkit/lib/bcm-bootstrap.jar -Djava.security.policy=${ITCAMDCHOME}/itcamdc/etc/datacollector.policy -verbosegc
-
Click Apply and click Save. In the Save to Master Configuration dialog box, complete the following steps:
- If you are under a Network Deployment environment, ensure that Synchronize changes with Nodes is selected and then click Save.
- If you are not under a Network Deployment environment, click Save.
-
In the navigation pane, click Servers, expand Server Types, click WebSphere application servers and then click the server name.
- In the Configuration tab, go to Server Infrastructure > Java and Process Management > Process Definition > Environment Entries.
-
Depending on the operating system, the hardware platform, and the application server JVM, remove the following environment entry.
- LIBPATH
- LD_LIBRARY_PATH
- PATH
-
In the navigation pane, click Environment > WebSphere Variables.
- Remove the ITCAMDCHOME variable if it exists.
-
Click Apply and click Save. In the Save to Master Configuration dialog box, complete the following steps:
- If you are under a Network Deployment environment, ensure that Synchronize changes with Nodes is selected and then click Save.
- If you are not under a Network Deployment environment, click Save.
-
Restart the application server instance.
-
Go to the
runtime
directory in the agent installation directory and remove theprofile_name.cell_name.node_name.server_name.manual.input.properties
file.- Linux/UNIX:
install_dir/yndchome/7.3.0.14.09/runtime/profile_name.cell_name.node_name.server_name.manual.input.properties
- Windows:
install_dir\dchome\7.3.0.14.09\runtime\profile_name.cell_name.node_name.server_name.manual.input.properties
Note: The exact version of the data collector may be updated or change. For example:
7.3.0.10
,7.3.0.14.09
- Linux/UNIX:
Manually un-configuring the data collector for WebSphere Application Server Liberty
- Navigate to the liberty server directory and open the
jvm.options
file in theserver_name
directory within the Liberty server installation directory. For example,/opt/ibm/wlp/usr/servers/defaultServer
. -
Remove the following parameters from the
jvm.options
file.-agentlib:am_ibm_16=server_name –Xbootclasspath/p:dc_home/toolkit/lib/bcm-bootstrap.jar -Djava.security.policy=dc_home/itcamdc/etc/datacollector.policy -verbosegc
where,
server_name
is the name of the Liberty server;dc_home
is the data collector home directory. -
Open the
server.xml
file and remove the following lines:<feature>webProfile-7.0</feature> <feature>monitor-1.0</feature> <feature>usr:itcam-7.3.0.14.09</feature>
-
Open the
server.env
file and remove the following entry value from the environment entry per the operating system:
Platform | Environment entry name | Environment entry value |
---|---|---|
AIX® R6.1 (64-bit JVM) | LIBPATH | /lib:dc_home/toolkit/lib/aix536 |
AIX R7.1 (64 bit JVM) | LIBPATH | /lib:dc_home/toolkit/lib/aix536 |
Linux x86_64 R2.6 (64-bit JVM) | LD_LIBRARY_PATH | /lib:dc_home/toolkit/lib/lx8266 |
Linux Intel R2.6 (32-bit JVM) | LD_LIBRARY_PATH | /lib:dc_home/toolkit/lib/li6263 |
Windows (32-bit JVM) | PATH | /lib;dc_home/toolkit/lib/win32 |
Windows (64-bit JVM) | PATH | /lib;dc_home/toolkit/lib/win64 |
- Restart the Liberty server.
-
Go to the
runtime
directory in the WebSphere Applications agent installation directory and remove thecell_name.node_name.server_name.manual.input.properties
file.- Linux/UNIX:
install_dir/yndchome/7.3.0.14.09/runtime/cell_name.node_name.server_name.manual.input.properties
- Windows:
install_dir\dchome\7.3.0.14.09\runtime\cell_name.node_name.server_name.manual.input.properties
Note: The exact version of the data collector might be updated or change. For example:
7.3.0.10
,7.3.0.14.09
. - Linux/UNIX: