FileNet Deployment Manager command-line reference
Use the command-line arguments to complete tasks from the FileNet® Deployment Manager command-line interface. These tasks include starting the graphical user interface, checking the FileNet Deployment Manager version, creating the sample files, and completing a number of deployment operations.
Starting the command-line interface
You must start the FileNet Deployment Manager command-line interface by including one of the command-line arguments in the start command. If you start FileNet Deployment Manager without specifying any arguments, the FileNet Deployment Manager graphical user interface opens.
- From a command prompt window, navigate to the directory where FileNet Deployment Manager is installed. By default, FileNet Deployment Manager is installed in the following directory: C:\Program Files\IBM\FileNet\ContentEngine\tools\deploy
- Enter the following command: DeploymentManager.exe --help
Windows only restrictions for command-line interface output
When started from a command prompt window in the Windows operating system, FileNet Deployment Manager does not automatically write its output to the window.
You can specify the file name to write the output to a file, or you can use the DeploymentManagerCmd.bat file to write the output to the command prompt window. For example, to place the help information in a help.txt file, enter the following command:
DeploymentManager.exe --help >help.txt
Enter the following command to have the help text display in the command prompt window:
DeploymentManagerCmd.bat --help
Command-line arguments
Argument | Description |
---|---|
-h, --help | Displays help information for the command-line arguments. Example: Windows: DeploymentManagerCmd.bat --help Linux: DeploymentManager --help |
-v, --version | Displays version information for FileNet Deployment Manager. Example: Windows: DeploymentManagerCmd.bat --version Linux: DeploymentManager --version |
-s, --samples | Creates a subfolder named Samples in the current folder and
creates sample XML files. If the subfolder exists, it must be empty
in order for the sample XML files to be generated. The sample files
include the following types of files:
For more information about these files, see Deployment files. For information about the XML schema for the DeploymentOperation, data map, and half map files, see Deployment configuration files. |
-g, --gui | Starts FileNet Deployment Manager with the graphical user interface (GUI) displayed. If you start FileNet Deployment Manager without specifying any options or arguments, the --gui option is assumed and the FileNet Deployment Manager graphical user interface opens. Example:
|
-o, --operation custom_DeploymentOperation.xml | Performs the operation that is specified by the DeploymentOperation
file (identified by file). The operations are described in Deployment operation files.
The following operations are available:
Example: Windows: DeploymentManager.exe -o custom_DeploymentOperation.xml -p bird123 Linux: DeploymentManager -o custom_DeploymentOperation.xml -p bird123 |
-p, --password password | Specifies the password to use with the --operation argument when you retrieve information
from, or send information to, Content Platform Engine.
A
password is required for the following operations:
|
-w, --password2 password2 | Used by the reassign object store operation only. This password is the password that FileNet Deployment Manager uses to log on to the destination domain. |
Command-line interface logging
Messages from the command-line interface are written to the log file. For more information about the log file location and logging configuration and usage, see FileNet Deployment Manager log files.