You are here: Configuration File

Configuration File

This section explains the structure of the Helix Mobile Server configuration file, which resides in the main installation directory:

rmserver.cfg

Helix Mobile Server reads the configuration file at startup and loads the configuration values into its registry. You need to understand the basics of the configuration file's XML-based syntax before you change the configuration parameters described in this guide.

Tip: The installation directory contains a back-up file, default.cfg, that is identical to the configuration file created during the installation.

Methods for Configuring Features

You can configure most Helix Mobile Server features either through Helix Administrator or by editing the configuration file manually. There are a few advanced features that you can change only by editing the configuration file, however. For others, RealNetworks recommends that you use Helix Administrator.

Avoiding Periods in List Names

When Helix Mobile Server starts up, it loads configuration file values into its registry in a parent-child hierarchy. Within the registry, periods denote this hierarchy. For this reason, you cannot use periods in any user-defined <List> tag within the configuration file. For example, the following database name:

<List Name="Databases">
     <List Name="Valid.User">
          ...variables...
     </List>
</List>

creates the following registry entry in which User is a child of Valid:

config.Databases.Valid.User

Instead of a period, therefore, use a separator such as an underscore:

<List Name="Databases">
     <List Name="Valid_User">
          ...variables...
     </List>
</List>

The use of the underscore in the preceding example preserves the parent-child relationship in the registry:

config.Databases.Valid_User

Note: This restriction does not apply to user-defined variable names.

Applying Configuration Changes

Typically, you need to restart Helix Mobile Server after you modify the configuration file manually. Because Helix Mobile Server reads the configuration information only at startup, you can modify the file while Helix Mobile Server is running. But it also necessitates a restart to load the configuration changes into memory.

For more information: See Helix Mobile Systems Integration Guide for start-up instructions.

Using the SIGHUP Command on UNIX and Linux

If you change the Helix Mobile Server file manually on a UNIX or Linux operating system, you can use SIGHUP to upload the changes to Helix Mobile Server without breaking any open connections, as long as the changes do not require a full server restart. To have Helix Mobile Server re-read the configuration file, use the following SIGHUP command:

kill -HUP processID

Here, processID is the Helix Mobile Server process number, as shown in the Logs/rmserver.pid file.

Tip: Helix Administrator indicates when changes require a full restart. Use it as your guide to changes that you can and cannot upload with SIGHUP.

 

 


Helix Universal Mobile Server Version 14.2 Online Help
Revision Date: Tuesday, March 15, 2011
©2011 RealNetworks, Inc., http://www.realnetworks.com