Removing instrumentation using the command prompt
Before you uninstall the data collection infrastructure, you must remove instrumentation from all application servers that were instrumented to work with the data collection infrastructure.
Before you begin
Instrumented servers are listed in
the file InstrumentationRegistry.xml. After you
have removed instrumentation from a server, the InstrumentationRegistry.xml file will be empty of references to any application server. If you
uninstall an application server before you have removed instrumentation,
to uninstall the data collection infrastructure you must edit InstrumentationRegistry.xml to remove the applicationServer
element for the application server that you uninstalled.
Procedure
To remove instrumentation from application servers:
- Open a command prompt, and change directories to the instrument_comp folder in the data collection infrastructure installation directory. By default, on Microsoft™ Windows™ this directory is C:\Program Files\HCL\HCLOneTest\DCI\rapa_prod\instrument_comp. On Linux™ and IBM® AIX®, this directory is /opt/HCL/HCLOneTest/DCI/rapa_prod/instrument_comp.
- Type the command name with the -uninstall argument and all of the other arguments that you used when instrumenting
the server.The instrumentation utility, which is also used to remove instrumentation from servers, is instrumentServer.sh on AIX® and Linux™ systems and instrumentServer.bat on Windows™ systems. Enter the command name with no arguments to see the syntax details for the command.
- Restart the server if prompted to do so.