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

Command line tool actions

Use the command line tool to perform various actions to migrate a product. For example, you can use the tool to manage target systems, view the status of migration, download logs, and so on.

Based on the environment, run the productMigration.bat file (for Windows) or productMigration.sh file (for Linux and UNIX) to use the actions. You can invoke the tool by specifying the parameters in the command line, or in the migration.properties file, or 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), you must set following parameters. These parameters 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 arguments

-url The SOAP servlet URL against which the specified action is run.
-user The user ID available in the URL specified above, with appropriate required privileges.
-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:

Related Topics Link IconRelated information