+

Search Tips | Advanced Search

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


Script to configure databases | prepareserverdbs.sh script

This script configures MobileFirst Server databases (administration, configuration, runtime and push). You must run this script before creating the container image.

Table 1. Mandatory command-line arguments
Command-line argument Description
[-adl |--admindb ] ADMIN_DB_SRV_NAME Bluemix® dashDB™ service (with Bluemix service plan of Enterprise Transactional)

Usage example:

Table 2. Optional command-line arguments
Command-line argument Description
[-as |--adminschema ] ADMIN_SCHEMA_NAME Database schema name for administration service.

Note: Defaults to MFPDATA

[-rd |--runtimedb ] RUNTIME_DB_SRV_NAME Bluemix database service instance name for storing runtime data.

Note: Defaults to the same service as given for admin data.

[-p |--push ] ENABLE_PUSH Enable configuring database for push service.

Note: Accepted values are Y (default) or N.

[-pd |--pushdb ] PUSH_DB_SRV_NAME Bluemix database service instance name for storing push data.

Note: Defaults to the same service as given for runtime data.

[-ps |--pushschema ] PUSH_SCHEMA_NAME Database schema name for push service.

Note: Defaults to the runtime schema name.

Parent topic: Script overview and usage