Executing the CTM Setup Tool

The CTM setup tool is an Apache Ant target. The target is executed as part of the standard Ant database target, but can also be executed independently.

The normal procedure is to set the appropriate values for the landscape name and the key block range allocation in the configuration file before performing the database build. The configured values will then be loaded into the system as part of the database build. That is, they will be loaded by executing build database.

Alternatively, the configured values can be loaded into the database separately, by invoking the insertrangeawareconfig target - that is, by executing build insertrangeawareconfig.

If an alternative location to the default location is used for the configuration file, this should be specified by setting the system property rangeAwareConfig when invoking Ant. For example, the database target would be executed as follows:

build database -DrangeAwareConfig=<config-file-path>/rangeawareserver_config.xml
Figure 1. Specifying an alternative configuration file location when invoking the database target

the insertrangeawareconfig target would be executed using:

build insertrangeawareconfig -DrangeAwareConfig=<config-file-path>/rangeawareserver_config.xml
Figure 2. Specifying an alternative configuration file location when invoking the insertrangeawareconfig target