manageindexblock CLI command
Use this command to add or delete index blocks.
Before running the command, ensure that the following components are up and running:
- Configuration Database
- Console Server
- Indexer (all instances)
After running this command, ensure that all the product components are up and running. To understand the status of each of the components, navigate to the Administration > Components page. For more information, see Viewing component status and associated properties.
Before you run the command, note the following points:
- Set up the CLI. For more information, see Managing the product from the command line interface.
- Prefix this command with the following, as appropriate:
- For Windows: itda.bat
- For Linux: ./itda.sh
- 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:
|Host name of the Console Server.|
|Port number of the Console Server.|
|User name to use to connect with the Console Server.|
|Password corresponding to the user name to use to connect with the Console Server.|
(Optional) Indicates the locale in which you want to display messages when the command is run.
You can set one of the following locales:
By default, the messages are displayed in the locale of the system on which the CLI is run.
The value can be set to one of the following depending on the locale you choose:
Example: If you want to set the locale as Simplified Chinese, you need to specify,
(Optional) Indicates an HTTPS connection.
Name of the index block that you are creating.
Note: The name of the index block cannot be left blank.
It can take the values of alphabets, numerics and blank spaces. The name of the index block cannot be more than a 100 characters long.
The operation that you want to perform.
You can choose to create a new index block or delete an existing one. It takes the values of:
Note: An index block, which is associated with a data collector or a collection profile, does not get deleted if you use the
The number of retention days that you want to associate with the index block that you are creating.
Note: The maximum number of retention days that you can specify should not be greater than the maximum limit set in olasearchserviceconfig.properties file located in the %BMC_ITDA_HOME%/conf/server folder.
The archive status that you want to set for the index block that you are creating.
It takes the following values:
Shows a preview of the collections profiles and data collectors associated with an Index block.
It takes the following value:
The following example provides the input for creating an index block:
The following example provides the input for previewing an index block:
The following example provides the input for deleting an index block: