The listservers command produces a list of servers and their internal identifiers, which can be used to uniquely reference servers for other ccautil commands:
ccautil -task listservers -s <server:port_number> -u <user_name> -p <password> -pwfile </path/filename>
Specifies the CA Configuration Automation Server name and port number from which you want to obtain the list of services.
Specifies a valid CA Configuration Automation Server user name.
Specifies the user’s password. The password shows as clear text on the command line. Make sure to clear your screen after using the CLI directly at the command line prompt. Alternatively, you can create and use a scrambled password file for authentication. For more information, see the Hash Password Option.
Specifies the user’s password file. You can use this argument instead of -p password.
ccautil -task listservers -S qaserver1:8080 -u psmith -p user250
ccautil -task listservers -S qaserver1:8080 -u psmith -pwfile /home/psmith/ccapwd
ccautil -task listservers -S qaserver1:8080 -u psmith -pwfile "\Program Files\CA\ccapwd"
Notice the path and file name for the password file is enclosed in quotes because the directory Program Files contains a space.
|
Copyright © 2014 CA.
All rights reserved.
|
|