The listservices command produces a list of services and their internal identifiers, which can be used to uniquely reference services for other ccautil commands:
ccautil -task listservices -s <server:port_number> -u <user_name> -p <password> -pwfile </path/filename>
Specifies the HTTP or HTTPS 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. Alternatively, you can create and use a scrambled password file for authentication. For more information, see Hash Password Option.
Specifies the user’s password file. You can use this argument instead of -p password.
ccautil -task listservices -S qaserver1:8080 -u psmith -p user250
ccautil -task listservices -S qaserver1:8080 -u psmith -pwfile /home/psmith/ccapwd
ccautil -task listservices -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 © 2015 CA Technologies.
All rights reserved.
|
|