deletecomponents


Use this command to delete duplicate instances of components that are displayed on the Administration > Components tab. You can also use this command to delete instances of components that are uninstalled or removed from the deployment.

This command only removes the component from the database; it does not uninstall the component. So if you restart the service for the BMC TrueSight IT Data Analytics Server, the deleted component is again visible on the product UI.

To understand the syntax and examples, see:

Related topics

Syntax

Note

Prefix this command with the following, as appropriate:

  • For Windows: itda.bat
  • For Linux: ./itda.sh

deletecomponents -t <Identifier-Type> -n <Identifier> -d <hostName> -p <portNumber> -u <userName>
 -w <password> [-l <locale>] [-v] [-s]

  • Angle brackets (< >) indicate a variable value that needs to be user defined.
  • Square brackets ([ ]) indicate optional parameters.

The following table describes the parameters used in the syntax:

Example inputs

The following example provides the input for deleting all instances of the Indexer component:

deleteComponents -t TYPE -n INDEXER –d localhost –p 9797 –u admin –w admin12345

The following example provides the input for deleting the specified component names:

deleteComponents -t NAME -n COLLECTION_STATION-clm-005518.bmc.com-8080,
SEARCH-clm-005518.bmc.com-9797 –d localhost –p 9797 –u admin –w admin12345

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*