You are here: Reference > Tools, accelerators, and wizards > Product migration > Command line tool actions

Command-line tool actions

Use the productMigration.bat or productMigration.sh command-line tool to migrate an application or a product, manage target systems, view migration status, and download logs. Specify parameters in the command line, in the migration.properties file, or in both.

Command line help

The help option on the command line lists all the available actions, and the arguments for each action. You can invoke the utility with "help" as the argument.

Example

./productMigration.sh help

Mandatory parameters

To invoke any of the actions (except to get help), set following parameters to configure the system against which the tool runs the specified action.

Note: Do not use "localhost" as the host name in a node URL. Using "localhost" causes the product migration to fail.

Parameters in the migration.properties file Command line argument Description
node.endpointurl -url The SOAP servlet URL against which the specified action is run. For multitenant systems, the node.enpointurl also contains the tenant hash.
node.username -user The user ID available for the url, with appropriate required privileges.
node.password -pwd Password for the user.

The target action can be specified directly and is not a named argument.

Example

./productMigration.sh <ACTION> –url http://<serverName>:<portName>/prweb/PRSOAPServlet -user [email protected] –pwd install [Options]

The command-line tool actions are grouped into the following categories: