Previous Topic: dpmce ceconfig -refreshmetriclist Command--Retry Metric CollectionNext Topic: dpmce ceconfig -setglobal Command--Set Data Center Intervals


dpmce ceconfig -setalias Command--Set Alias

The dpmce ceconfig -setalias command creates an alias for an ESX host so its metrics can be included in the ESX Server overall calculation.

This command has the following format:

ceconfig -setalias [-sc sc_url] -operation add|delete -caller_id PMM -metricname metricname -alias_host_name aliashostname -parent_host_name parenthostname -include_for_overall yes|no [-ws_user username -ws_password password][-locale iso629value]
-sc sc_url

(Optional) Defines the URL for the service controller host.

Example: https://hostname:port/...

hostname

Defines the fully qualified host where the service controller is installed.

Example: localhost.ca.com

port

Defines the listening port for the service controller server.

Example: 80

-operation add|delete

Adds or deletes an alias (-setalias) or metric (-configuremetric).

-caller_id PMM

Defines the interface (Product Management Module) for the alias. Valid entries: PMM.

-metricname metricname

Defines a name for the metric. Valid entries: The metric name or ALL (if you want to delete all metrics associated with the alias host name).

-alias_host_name aliashostname

Defines the ESX server or VM managed by the parent_host_name (AIM).

-parent_host_name parenthostname

Defines the system installed with the AIM.

-ws_user username -ws_password password

(Optional) Specifies the credentials to use for the web service security check. If you do not include credentials, you are prompted to enter them. Avoid the prompt for credentials by setting up your own session using caaipsecurity.

-locale iso639value

(Optional) Specifies an IS0 639_3166 combination to override the default English output, for example, fr_FR for French. To use the locale of the command prompt, specify "native".

Example: Set Alias

This example sets an alias for an ESX host.

ceconfig -setalias -caller_id PMM -metricname SysEDGE.memInUseCapacity -alias_host_name hostDA12 -parent_host_name engServer200 -include_for_overall yes -ws_user admin -ws_password admin