The dmsweep stage command transfers an agent or server package to one or more scalability servers, from where it can subsequently be deployed to target computers using the dmsweep deploy command.
The subcommand has the following format:
stage [/manager <manager_machine>]
[/musername <manager_username> /mpassword <manager_password>]
[/mfilename <manager_filename>]
{/ip <address_wild> [/toip <stop_address>] |
/ipfilename <ip_filename> |
/targetcred <target_credentials_file> |
/query <query_name>}
[/tusername <target_username> /tpassword <target_password> | /epassword <encrypted_password>] ]
[/tfilename <target_filename>]
{/packagenum <package_number> |
/product <product_name> /package <package_name>
[/version <version>] [/platform <platform>] [/language <language>]}
[/jobname <job_name>]
Specifies the name of the manager from which to retrieve the package list. If you omit /manager, the current machine is assumed.
Specifies the username for the manager computer.
If <manager_username> is not supplied, dmsweep will prompt for the value.
Specifies the password for the manager computer.
If <manager_password> is not supplied, dmsweep will prompt the value when the command is executed.
Lets you read the name of the manager and details of its username and password from a file.
Start address or addresses from which to scan.
You can specify an address as a machine name, if it can be successfully resolved (for example, by DNS), or as an IP address (for example 10.0.0.1). The <address_wild> argument enables you to use asterisks (for example, 10.0.0.* covers the range 10.0.0.1 to 10.0.0.254 and 10.0.*.* covers the range 10.0.0.1 to 10.0.255.254.
You can specify a single address for <address_wild> or a comma-separated list of addresses.
End address for the range to scan.
Has to be used in conjunction with /ip: the scan starts with the address specified by <address_wild> and stops after scanning <stop_address>.
If you specify /ipfilename, the command reads the list of target machines is from the file <ip_filename>. Each line of the file contains a single target address or multiple addresses separated by commas, for example:
machine1
machine2, machine3, 10.0.0.1
machine5
If you specify /targetcred, the command reads the list of target machines and connection credentials from the file <target_credentials_file>.
If /query is specified, the list of targets will be generated when the unmanaged asset query identified by <query_name> is run.
Package number of the package to be scanned for. The output from the dmsweep packages command describes the valid values.
Property of the package to be scanned for. The output from the dmsweep packages command describes the valid values.
Property of the package to be scanned for. The output from the dmsweep packages command describes the valid values.
Version of the package to be scanned for. The output from the dmsweep packages command describes the valid values. Optional but if you do not supply enough information to uniquely identify the package, an error is displayed.
Platform property of the package to be scanned for. The output from the dmsweep packages command describes the valid values. Optional but if you do not supply enough information to uniquely identify the package, an error is displayed.
Language property of the package to be scanned for. The output from the dmsweep packages command describes the valid values. Optional but if you do not supply enough information to uniquely identify the package, an error is displayed.
Specifies the username for connecting to the target. If your deployment manager has already deployed packages to the target computer, credentials may not be required.
Specifies the password for connecting to the target. If your deployment manager has already deployed packages to the target computer, credentials may not be required.
If you specify /tusername but omit <target_username>, you will be prompted for the username. If you specify /tpassword but omit <target_password>, you will be prompted for the password, which will not be displayed on the screen.
Specifies the password in encrypted form. This option alerts dmsweep to this format and the password will be decrypted before being used. See Encrypted Passwords.
If a target needs authentication and /tfilename has been specified, <target_filename> is searched. If an entry exists, the credentials specified in the file are used for the target, otherwise /tusername and /tpassword are used. The file <target_filename> contains one target per line, with each line containing the target's machine name (or IP address), username and password, for example:
10.0.0.1 username1 password1
10.0.0.2 username2 password2
* username3 password3
An entry with '*' as the target name denotes default credentials for any target not explicitly listed in the file.
Specifies the name of the job is set to the supplied <job_name> argument; otherwise it will be generated automatically based on the current date and time.
Example:
The following example shows how you can use the dmsweep command line utility to stage a package on a scalability server. Replace values such as the package number, target computers and manager machines with suitable values. To stage a package on a deployment scalability server, enter the following command:
dmsweep stage /ip <target machine> /pn 2 /tu /tp
The user will be prompted to supply both the target username and target password.
|
Copyright © 2013 CA.
All rights reserved.
|
|