This script runs the MobileFirst Server as a
Liberty for Java™ Cloud Foundry application on IBM®
Bluemix. Ensure that you have run the
prepareserver.sh script to upload the application to IBM
Bluemix before running this script.
Table 1. Mandatory command line argumentsCommand line argument |
Description |
[-n|--name] APP_NAME |
Name of the MobileFirst Server
application |
Usage example:
startserver.sh
--name mobilefirst80app
Table 2. Optional command line argumentsCommand line argument |
Description |
[-h|--host] APP_HOST |
The hostname for the application route to be created. The application name
(APP_NAME) is taken as the default value for the hostname. |
[-d|--domain] DOMAIN_NAME |
Domain name used in the application route. mybluemix.net is taken as
the default value. |
[-m|--memory] SERVER_MEM |
Assign a memory size limit to the container in megabytes (MB). Accepted values are 1024 MB
(default) and 2048 MB. |
[-i|--instances] INSTANCES |
The desired number of nodes (instances) of the application that you want to create. The
default is a 2 node application. |