Administer MobileFirst applications through the command line
We can administer MobileFirst applications through the wladm program.
Overview
We can execute administration operations with MPF in the following ways:
- The operations console (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.
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 MF_HOME/shortcuts/ directory as a set of scripts:
- wladm for UNIX / Linux
- wladm.bat for Windows
These scripts 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 MF_HOME/shortcuts/ directory into the PATH environment variable, or reference its absolute file name in each call.
- Calling the wladm program
Use the wladm program to administer MobileFirst applications.
- Commands for adapters
When we invoke the wldam program, we can include various commands for adapters.
- Commands for apps
When we invoke the wladm program, we can include various commands for apps.
- Commands for beacons
When we call the wladm program, we can include various commands for the beacons and beacon triggers. A beacon is a piece of information that is associated with an iBeacon. A beacon trigger is an action that a mobile device executes in relation to an iBeacon, when there is an association between the beacon and the beacon trigger.
- Commands for devices
When we invoke the wladm program, we can include various commands for devices.
- Commands for troubleshooting
When we invoke the wladm program, we can include various commands for troubleshooting.
Parent topic: Administer MobileFirst applications