Page tree

Use this command to delete duplicate instances of components displayed on the Administration > Components tab.

This command only deletes 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> [-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:

ParameterDescription
-t

Identifier type used for selecting component types to delete.

The identifier can be one of the following:

  • NAME
  • TYPE

Examples:

  • -t NAME
  • -t TYPE
-n

Identifier used as a criterion to delete components.

The identifier can be either the component name or type as displayed in the Name or Type columns on the Administration > Components tab, as follows:

  • -n <List-Of-Component-Names>
  • -n <List-Of-Component-Types>

To delete multiple components, you need to specify a comma-separated list of items.

Example:

  • -n COLLECTION_STATION-clm-18.clm-mgmt.clm.bmc.com-8080,
    COLLECTION_STATION-clm-19.clm-mgmt.clm.bmc.com-8080
  • -n COLLECTION_STATION, INDEXER

Note: If you specify the component type only, then all the components with the same type are deleted. For example, -n INDEXER.

-d
MultiExcerpt named host was not found -- Please check the page name and MultiExcerpt name used in the MultiExcerpt-Include macro
-p
MultiExcerpt named port was not found -- Please check the page name and MultiExcerpt name used in the MultiExcerpt-Include macro
-u
MultiExcerpt named username was not found -- Please check the page name and MultiExcerpt name used in the MultiExcerpt-Include macro
-w
MultiExcerpt named password was not found -- Please check the page name and MultiExcerpt name used in the MultiExcerpt-Include macro
-v
MultiExcerpt named version was not found -- Please check the page name and MultiExcerpt name used in the MultiExcerpt-Include macro
-s
MultiExcerpt named ssl was not found -- Please check the page name and MultiExcerpt name used in the MultiExcerpt-Include macro

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 admin

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

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

 

 

  • No labels