The following command allows the CA Configuration Automation administrator to automate the administration process of updating the Server Management Profile, Server Access Profile and Service Management Profile:
ccautil -task assignprofile -s <server:port of the CCA Server> -u (user name) -p <password> or -pwfile <file containing the password> -service -server -id <service/server uuid> -servicename <service name> -servername <server name> -apname <access profile name> -mpname <management profile name>
Specifies the HTTP or HTTPS CA Configuration Automation Server name and port number that contains the agent you want to secure.
Specifies a valid CA Configuration Automation Server user login 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 in place of -p password.
Specifies the assign or update profile to Service.
Specifies the assign or update profile to Server.
Specifies the service or server user id.
Specifies the name of the service you want to refresh.
Specifies the name of the server you want to refresh.
Specifies the name for the access profile.
Specifies the name for the management profile.
The following example uses the -servername argument to uniquely identify the server, -apname argument to uniquely identify the access profile name.
ccautil -task assignprofile -server -servername "server1" -S ccaservername:8080 -u username -p password -apname "AProfile1"
The following example uses the -id argument to specify the server, -mpname argument to uniquely identify the mangement profile name.
ccautil -task refresh -server -id 5dfe7ce5-fbed-44b1-80ef-1a49f5780236 -S ccaservername:8080 -u username -p password -mpname "MProfile1"
The following example uses the -servicename argument to uniquely identify the service, -mpname argument to uniquely identify the mangement profile name.
ccautil -task assignprofile -service -servicename "service1" -S ccaservername:8080 -u username -p password -mpname "MProfile2"
The following example uses the -id argument to specify the service, -mpname argument to uniquely identify the mangement profile name.
ccautil -task assignprofile -service -id 5dfe7ce5-fbed-44b1-80ef-1a49f5780236 -S ccaservername:8080 -u username -p password -mpname "MProfile2"
|
Copyright © 2015 CA Technologies.
All rights reserved.
|
|