+

Search Tips | Advanced Search

For up-to-date product documentation, see the IBM MobileFirst Foundation Developer Center.


Administering MobileFirst applications through the command line

We can administer MobileFirst applications through the mfpadm program.


Comparison with other facilities

We can run administration operations with IBM MobileFirst™ Platform Foundation in the following ways:

The mfpadm Ant task, mfpadm program, and REST services are useful for automated or unattended execution of operations, such as the following use cases:

The mfpadm program and the mfpadm Ant task are simpler to use and have better error reporting than the REST services. The advantage of the mfpadm program over the mfpadm 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 mfpadm tool is installed with the MobileFirst Server installer. In the rest of this page, product_install_dir indicates the installation directory of the MobileFirst Server installer.

The mfpadm command is provided in the product_install_dir/shortcuts/ directory as a set of scripts:

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 mfpadm program, either put the product_install_dir/shortcuts/ directory into the PATH environment variable, or reference its absolute file name in each call.

For more information about running the MobileFirst Server installer, see Run IBM® Installation Manager.

Parent topic: Administering MobileFirst applications