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

Manually unconfiguring the data collector for WebSphere Application Server traditional

Procedure

  1. Log in to the WebSphere Administrative Console as the administrator.
  2. In the navigation pane, click Servers, expand Server Type and select WebSphere application servers.
  3. Click the name of the application server.
  4. Under the Server Infrastructure section in the Configuration tab, expand Java Virtual Machine and click Process Definition.
  5. Under the Additional Properties section, click Java Virtual Machine.
  6. 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
    
  7. 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.
  8. In the navigation pane, click Servers, expand Server Types, click WebSphere application servers and then click the server name.
  9. In the Configuration tab, go to Server Infrastructure > Java and Process Management > Process Definition > Environment Entries.
  10. Depending on the operating system, the hardware platform, and the application server JVM, remove the following environment entry.
    • Operating systems such as UNIXLIBPATH
    • LinuxLD_LIBRARY_PATH
    • WindowsPATH
  11. In the navigation pane, click Environment > WebSphere Variables.
  12. Remove the ITCAMDCHOME variable if it exists.
  13. 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.
  14. Restart the application server instance.
  15. Go to the runtime directory in the agent installation directory and remove the profile_name.cell_name.node_name.server_name.manual.input.properties file.
    • Linux or AIXinstall_dir/yndchome/7.3.0.14.08/runtime/profile_name.cell_name.node_name.server_name.manual.input.properties
    • Windowsinstall_dir\dchome\7.3.0.14.08\runtime\profile_name.cell_name.node_name.server_name.manual.input.properties

Manually unconfiguring the data collector for WebSphere Application Server Liberty

Procedure

  1. Navigate to the liberty server directory and open the jvm.options file in the server_name directory within the Liberty server installation directory. For example, /opt/ibm/wlp/usr/servers/defaultServer.
  2. 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.
  3. Open the server.xml file and remove the following lines:
    <feature>webProfile-7.0</feature>
    <feature>monitor-1.0</feature>
    <feature>usr:itcam-730.140</feature>
    
  4. Open the server.env file and remove the following entry value from the environment entry per the operating system:
    Table 1. Environment entry
    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
    Solaris 10 (64-bit JVM) LIBPATH /lib:dc_home/toolkit/lib/sol296
    Solaris 11 (64-bit JVM) LIBPATH /lib:dc_home/toolkit/lib/sol296
    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
  5. Restart the Liberty server.
  6. Go to the runtime directory in the WebSphere Applications agent installation directory and remove the cell_name.node_name.server_name.manual.input.properties file.
    • Linux or AIXinstall_dir/yndchome/7.3.0.14.08/runtime/cell_name.node_name.server_name.manual.input.properties
    • Windowsinstall_dir\dchome\7.3.0.14.08\runtime\cell_name.node_name.server_name.manual.input.properties