movecomponents CLI command
Use this command to move a Collection Station in or out of the pool (ITDAPool).
To understand the syntax and examples, see:
Syntax
Note
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
movecomponents -d <hostName> -p <portNumber> -u <userName> -w <password> -name <collectionStationName> -pool <targetPoolName> [-scope <scopeOfMovement>] [-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:
Parameter | Description |
---|---|
-d | Host name of the Console Server. |
-p | Port number of the Console Server. |
-u | User name to use to connect with the Console Server. |
-w | Password corresponding to the user name to use to connect with the Console Server. |
-name | Name of the Collection Station to be moved in or out of the pool. This is the name that you specified while installing that Collection Station. |
-pool | Name of the pool where the Collection Station needs to be moved. This value will always be ITDAPool. Notes:
|
-scope | (Optional) This parameter decides whether you want to move the Collection Station only or move the Collection Station along with its associated Collection Agents. The value must be specified as follows:
Default value: SELF_AND_REPORTING_COMPONENTS |
-l | (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, |
-v | (Optional) Version of the IT Data Analytics product. |
-s | (Optional) Indicates an HTTPS connection. |
Example inputs
The following example provides the input for moving the Collection Station (along with its associated Collection Agents) out of the pool:
movecomponents -d localhost -p 9797 -u admin -w admin12345 -name Station1.bmc.com -scope SELF_AND_REPORTING_COMPONENTS
The following example provides the input for moving the Collection Station into the pool:
movecomponents -d localhost -p 9797 -u admin -w admin12345 -name Station2.bmc.com -pool ITDAPool
Comments
Log in or register to comment.