Previous Topic: dmsweep sspackNext Topic: dmsweep version


dmsweep stage

The dmsweep stage command transfers an agent or server package to one or more scalability servers, from where it can be deployed to target computers using the dmsweep deploy command.

Subcommand 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>]
/manager

Specifies the name of the manager from which to retrieve the package list. If you omit /manager, the current machine is assumed.

/musername

Specifies the username for the manager computer.

/mpassword

Specifies the password for the manager computer.

If <manager_password> is not supplied, dmsweep prompts the value when the command is executed.

/mfilename

Lets you read the name of the manager and details of its username and password from a file.

/ip

Start address or addresses from which to scan.

/toip

End address for the range to scan.

Use with /ip: the scan starts with the address specified by <address_wild> and stops after scanning <stop_address>.

/ipfilename

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

/targetcred

If you specify /targetcred, the command reads the list of target machines and connection credentials from the file <target_credentials_file>.

/query

If /query is specified, the list of targets will be generated when the unmanaged asset query identified by <query_name> is run.

/packagenum

Package number of the package to be scanned for.

/product

Property of the package to be scanned for.

/package

Property of the package to be scanned for.

/version

Version of the package to be scanned for. If you do not provide enough information to identify the package, an error is displayed.

/platform

Platform property of the package to be scanned for. If you do not supply enough information to identify the package, an error is displayed.

/language

Language property of the package to be scanned for. If you do not supply enough information to identify the package, an error is displayed.

/tusername

Specifies the username for connecting to the target. If your deployment manager has already deployed packages to the target computer, credentials are not required.

/tpassword

Specifies the password for connecting to the target. If your deployment manager has already deployed packages to the target computer, credentials are not 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.

/epassword

Specifies the password in encrypted form. This option alerts dmsweep to this format and the password is decrypted before use.

/tfilename

If a target needs authentication and /tfilename has been specified, <target_filename> is searched. If an entry exists, the credentials 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 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 listed in the file.

/jobname

Specifies the job name 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.

To stage a package on a deployment scalability server:

dmsweep stage /ip <target machine> /pn 2 /tu /tp

The user is prompted to enter both, the target username and password.