Administering MobileFirst applications through the command line

You can administer MobileFirst applications through the wladm program.

Comparison with other facilities

You can execute administration operations with IBM MobileFirst™ Platform Foundation in the following ways:
  • The MobileFirst Operations Console, which is interactive.
  • The wladm Ant task.
  • The wladm program.
  • The MobileFirst administration REST services.
The wladm Ant task, wladm program, and REST services are useful for automated or unattended execution of operations, such as eliminating operator errors in repetitive operations or operating outside the operator's normal working hours.

The wladm program and the wladm Ant task are simpler to use and have better error reporting than the REST services. The advantage of the wladm program over the wladm Ant task is that it is easier to integrate when integration with operating system commands is already available. Moreover, it is more suitable to interactive use.

Prerequisites

The wladm command is provided in the product_install_dir/shortcuts/ directory as a set of scripts:
  • wladm for UNIX / Linux
  • wladm.bat for Windows
These scripts are ready to run, which means that they do not require specific environment variables. If the environment variable JAVA_HOME is set, the scripts accept it.

To use the wladm program, either put the product_install_dir/shortcuts/ directory into your PATH environment variable, or reference its absolute file name in each call.