Configure Database Utility (ConfigureDatabase.exe)

The Configure Database utility allows you to perform database configuration operations. You can perform the operations either by executing the ConfigureDatabase.exe or by using the Runtime Administration Tool. Following are the operations:

This utility is automatically installed with Agile Business Suite Runtime and is located in the AB Suite 7.0 installation directory. You can invoke the utility from the command line to configure database.

Note: By default, a local administrator can use ConfigureDatabase.exe.

To run ConfigureDatabase.exe from a command line:

  1. Point to the bottom-left corner of the screen to enable the Start icon, right-click Start, and then click Run.

  2. Type cmd in the Run dialog box and press Enter to open a Command Prompt.

  3. In the command prompt, change the working directory to the /bin64 folder of the AB Suite 7.0 installation directory.

    cd C:\Program Files\Unisys\AB Suite 7.0\Bin64
  4. Type "ConfigureDatabase.exe /?". This displays the complete usage of the utility.

The syntax of ConfigureDatabase for creating a database is:

ConfigureDatabase /C /DBN <database name> /ALS <database server alias> [/?]

Parameters

Argument

Description

/C

Creates a new database on the database server.

/DBN

Specifies the name of the database that will be created.

Note: This argument is mandatory.

/ALS

Specifies the database server registration under which this database is created.

Notes:

  • This argument is mandatory.

  • If the database server registration does not exist, it will be automatically created as part of the process of creating the database and associated with the default instance of SQL Server on the runtime server.

/?

Displays the command line syntax and arguments of the utility.

If specified, a usage message appears and the utility exits.

The syntax of ConfigureDatabase for deleting a database is

ConfigureDatabase /D /DBN <database name> /ALS <database server alias> [/?]

Parameters

Argument

Description

/D

Deletes the specified database from the database server.

/DBN

Specifies the name of the database that will be deleted.

Note: This argument is mandatory.

/ALS

Specifies the database server registration under which the database that will be deleted exists.

Notes:

  • This argument is mandatory.

  • The database will be deleted only if it is not in use by applications.

/?

Displays the command line syntax and arguments of the utility.

If specified, a usage message appears and the utility exits.

The syntax of ConfigureDatabase for attaching a database is

ConfigureDatabase /AT /DBN <database name> /ALS <database server registration> [/?]

Parameters

Argument

Description

/AT

Attaches the specified database to the runtime environment.

/DBN

Specifies the name of the database that will be attached.

Note: This argument is mandatory.

/ALS

Specifies the database server registration under which the database will be attached.

Note: This argument is mandatory.

/?

Displays the command line syntax and arguments of the utility.

If specified, a usage message appears and the utility exits.

The syntax of ConfigureDatabase for detaching a database is

ConfigureDatabase /DT /DBN <database name> /ALS <database server registration> [/?]

Parameters

Argument

Description

/DT

Detaches the specified database to the runtime environment.

/DBN

Specifies the name of the database that will be detached.

Note: This argument is mandatory.

/ALS

Specifies the database server registration under which the database will be detached.

Note: This argument is mandatory.

/?

Displays the command line syntax and arguments of the utility.

If specified, a usage message appears and the utility exits.

The syntax of ConfigureDatabase for creating a database server registration is

ConfigureDatabase /REG /ALS <database server alias> [/SQL <sql instance name>] 
[/H <database server machine>]

Parameters

Argument

Description

/REG

Creates a database server registration for the runtime environment.

/ALS

Specifies the database server registration that will be created.

Note: This argument is mandatory.

/SQL

Specifies the SQL instance name which the database server alias represents. If this parameter is not specified, the default instance is assumed.

/H

Specifies the name of the database server. If this parameter is not specified, localhost is assumed.

/?

Displays the command line syntax and arguments of the utility.

If specified, a usage message appears and the utility exits.

The syntax of ConfigureDatabase for removing a database server registration is

ConfigureDatabase /URG /ALS <database server alias>

Parameters

Argument

Description

/URG

Removes a database server registration from the runtime environment.

/ALS

Specifies the database server registration that will be removed.

Note: This argument is mandatory.

/?

Displays the command line syntax and arguments of the utility.

If specified, a usage message appears and the utility exits.