+

Search Tips   |   Advanced Search

Create the database for MobileFirst Server administration with Ant tasks

If we did not create the databases manually, complete the following steps...

  1. To start the Ant task from a computer on which MobileFirst Server is not installed, copy the file...

    ...to that computer.

  2. Review the sample configuration files

  3. Copy the Ant file that corresponds to the database.

    The files for creating a database are named after the following pattern:

      create-database-<database>.xml

  4. Edit the Ant file and replace the placeholder values for the properties at the top of the file.

  5. Create the databases.

      cd MF_INSTALL/shortcuts
      ./ant -f create-database-database.xml admdatabases

If the databases are created, and we must create only the database tables.

  1. Edit the Ant script we will use later to configure the databases.

  2. Review the sample configuration files

  3. Copy the Ant file that corresponds to the database. The files for configuring an existing database are named after this pattern:

      configure-appServer-database.xml

  4. Edit the Ant file and replace the placeholder values for the properties at the top of the file.

  5. Create databases tables.

      cd MF_INSTALL/shortcuts
      ant -f configure-appServer-database.xml admdatabases


What to do next

See also:


Parent topic: Use Ant tasks to install MobileFirst Server administration