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]
(Optional) Defines the URL for the service controller host.
Example: https://hostname:port/...
Defines the fully qualified host where the service controller is installed.
Example: localhost.ca.com
Defines the listening port for the service controller server.
Example: 80
Adds or deletes an alias (-setalias) or metric (-configuremetric).
Defines the interface (Product Management Module) for the alias. Valid entries: PMM.
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).
Defines the ESX server or VM managed by the parent_host_name (AIM).
Defines the system installed with the AIM.
(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.
(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
Copyright © 2013 CA. All rights reserved. |
|