The dpmsd deploypkggrp command delivers a package group to a host computer. A package group contains one or more software packages.
This command has the following format:
dpmsd deploypkggrp [-sc sc_url] -package_group_name packagegroupname -computer_host computerhostname [-scalability_server servername] [-itcm_server itcmdomainmanager] -computer_username username [-computer_password password] [-auth_file authorizationfile] [-auth_comp componentID] -os_type {Windows|Linux|HP-UX|AIX|Solaris} [-wait [timeout]] [-pre][-post][-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
Defines a name for a predefined software delivery package group.
Defines the name of the server for deploying the package.
(Optional) Specifies the CA ITCM scalability server for software distribution.
(Optional) Defines the name of the CA ITCM Domain Manager where the software delivery adapter resides. Optional when only one Software Delivery adapter or CA ITCM domain manager is configured. Valid for CA Server Automation only.
Defines the user name of the target host server for the deployment operation.
Windows: Administrator access is required.
UNIX/Linux: Root access is required.
(Optional) Defines the user password used for deploying agents to the target host server to which you are deploying. If you do not specify the password, is retrieved from the authorization file.
Note: Use the dpmutil CLI to set up the authorization file.
(Optional) Specifies the full path name of the authorization file to use to retrieve the encrypted password. This file contains the CA Server Automation administrator credentials that were generated using the dpmutil set auth command. When this option is not specified, the default authorization file is used.
(Optional) Specifies a component ID that you can use to group hosts and users.
Defines the type of operating system that is on the computer host. This parameter is required for software delivery agent deployment. Options include the following:
Specifies the Windows operating system.
Specifies the Linux operating system.
Specifies the HP UNIX operating system.
Specifies the AIX UNIX operating system.
Specifies the Solaris operating system.
Specifies any type of operating system.
Note: This option is valid for image deployment only.
(Optional) Indicates whether to display the status of the job and not return until the operation completes, fails, or the timeout period is met (if you specify a timeout value). If you do not specify this option, the CLI returns without waiting for completion. If there is no response, the optional timeout value defines the timeout period in minutes. If you enter the wait option with no timeout value, the CLI uses the default wait time from the caimgconf.cfg file or defaults to 120 minutes. In addition to any positive integer, the following timeout values are also possible:
No timeout value.
Wait indefinitely.
(Optional) Specifies whether to generate an event before the operation is performed.
(Optional) Specifies whether to generate an event after the operation is performed.
(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: Deliver a Package Group to a Host
This example delivers a package group to a Windows host computer.
dpmsd deploypkggrp -package_group_name Installations -computer_host comphost001 -computer_username administrator -os_type Windows
Example: Deliver a Package Group to a Host in a Multiple ITCM Domain Manager Environment
This example delivers a package group to a Windows host computer. This operation is routed to the sd adapter on ITCM domain manager domainmanager001.
dpmsd deploypkggrp -package_group_name Installations -computer_host comphost001 -itcm_server domainmanager001 -computer_username administrator -os_type Windows
Copyright © 2013 CA. All rights reserved. |
|