DMZ Gateway Server Configuration File (gwconfig.xml) Reference

The DMZ Gateway Server configuration file, gwconfig.xml, contains the main configuration settings governing communications through the DMZ Gateway Server.

The configuration file is in XML format and its contents are verified against a document type definition (DTD) file gwconfig.dtd.

Typically, the configuration items specified in gwconfig.xml will be edited via the DMZ Gateway administration interface. However, it is possible to edit the configuration settings using a text editor. Additionally, some advanced configuration items are not available via the DMZ Gateway administration interface and thus will require manual editing to configure.

Changes made to the configuration via manual editing will not take effect until the DMZ Gateway Server is restarted. Thus, the following steps should be followed:

  1. Stop the DMZ Gateway Server service/daemon.

  2. Edit the gwconfig.xml file using a text editor.

  3. Save changes to the file.

  4. Start the DMZ Gateway Server service/daemon.

  5. Verify the DMZ Gateway Server has started and verify that no ERROR or FATAL messages are present in the DMZGatewayServer.log diagnostics log file.

Configuration Validation

During startup, the DMZ Gateway Server will load the configuration file and validate its structure against the definition in the DTD file. It will also validate the various data constraints governing each element. If the configuration file format is invalid or the configuration violates any constraints, the DMZ Gateway Server will log an appropriate error message in the diagnostics log DMZGatewayServer.log and shut down.

Configuration Elements

Please refer to the DTD file for the valid structure of the configuration file. The following describes the configuration elements available in the gwconfig.xml file.

File Location

For new installs, the configuration file is created the first time the DMZ Gateway Server is started. When the configuration file is created, the corresponding DTD file is also created. By default, the configuration and DTD files are created in the DMZ Gateway installation directory. However, to facilitate sharing of configuration data in high availability clustered installs, an alternate shared data location may be specified.

Shared Configuration Location

An alternate shared data location may be specified either during the installation process or by subsequently editing the DMZGatewayServerService.conf file.

To specify the shared data location:

  1. Stop the DMZ Gateway Server Service/Daemon.

  2. Edit the <Installation Directory>\conf\DMZGatewayServerService.conf file using your preferred text editor.

  3. Locate the following line in the file:

    set.DMZ_SHARED_CONFIG_DIRECTORY=""

  4. Edit the line and enter the shared data location within the quotes, for example:

    On Windows: set.DMZ_SHARED_CONFIG_DIRECTORY="\\jupiter\DataShare\DMZGateway"

    On Solaris/Linux: set.DMZ_SHARED_CONFIG_DIRECTORY="/export/share/dmzgateway"

  5. Save the changes to the file.

  6. If you want to reuse the settings in the existing gwconfig.xml configuration file, move the file to the new location.

  7. Start the DMZ Gateway Server Service/Daemon.

Please ensure that the operating permissions governing the DMZ Gateway Server service/daemon are set such that the process is able to access the specified shared configuration directory.

Note that the DMZ Gateway Server will automatically (re)generate the gwconfig.dtd DTD file in the specified shared data location. Additionally, for convenience, the file will also be generated in the installation directory.