The dpmpolicy findcandidatemachine command finds the servers that match user-defined specifications.
This command has the following format:
dpmpolicy findcandidatemachine [-sc sc_url] [-machine_list machinelist] -constraint Source:OP:Value [-constraint Source:OP:Value] [-ws_user username -ws_password password] [-locale iso639value]
(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
(Optional) Specifies the list of available servers. Valid entry: Comma-separated machine names.
Defines the specifications that the candidate servers must meet. Options include the following:
Specifies the type of constraint and an associated value.
Specifies a memory constraint.
Limits: MB
Specifies a CPU processing speed constraint.
Limits: MHz
Specifies a storage constraint.
Limits: MB
Specifies a hardware constraint.
Limits: X86, SPARC, PA-RISC, POWERPC or X64.
Specifies an operand. Operands include the following:
EQ=equal to
NEQ=not equal to
GT=greater than
GTE=greater than or equal to
LT=less than
LTE=less than or equal to
(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: Find Servers
This example finds servers with more than 2000 MB of system memory.
dpmpolicy findcandidatemachine -constraint MEMORY:GT:2000
Example: Find Servers in the List
This example finds servers with more than 2000 MB of system memory and 2400 MHz of CPU or more from the provided list of servers.
dpmpolicy findcandidatemachine -constraint MEMORY:GT:2000 -constraint CPUSPEED:GTE:2400 -machine_list alert.ca.com, 141.202.224.59
Copyright © 2013 CA. All rights reserved. |
|