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:

Related topics

Collection Station redundancy

movecollectors CLI command

deletecollector CLI command

exportcollector CLI command

Syntax

Note

Before you run the command, note the following points:

movecomponents -d <hostName> -p <portNumber> -u <userName> -w <password> -name <collectionStationName> -pool <targetPoolName> [-scope <scopeOfMovement>] [-l <locale>] [-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
-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:

  • This parameter needs to be specified only if you want to move the Collection Station into the pool.
  • To move the Collection Station out of the pool, do not specify this parameter.
-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:

  • To move the Collection Station only, specify the value as SELF.
  • To move the Collection Station along with its associated Collection Agents, specify the value as SELF_AND_REPORTING_COMPONENTS.

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:

  • English
  • Simplified Chinese
  • German
  • French

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:

  • English: en
  • Simplified Chinese: chs
  • German: de
  • French: fr

Example: If you want to set the locale as Simplified Chinese, you need to specify, l=chs.

-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

Was this page helpful? Yes No Submitting... Thank you

Comments