Home | Previous Page | Next Page   Appendix A. Setting Up Multiple Residency > Creating a New Database Server >

Setting Up the onconfig File

Each instance of the database server must have its own onconfig configuration file. Make a copy of an onconfig file that has the basic characteristics that you want for your new database server. Give the new file a name that you can easily associate with its function. For example, you might select the filename onconfig.acct to indicate the configuration file for a production system that contains accounting information.

Set the ONCONFIG environment variable to the filename of the new onconfig file. Specify only the filename, not the complete path.

In the new configuration file, change the following configuration parameters:

You do not need to change ROOTNAME. Even if both database servers have the name rootdbs for their root dbspace, the dbspaces are unique because ROOTPATH specifies a unique location.

You might also need to set the MIRRORPATH and MIRROROFFSET parameters. If the root dbspace is mirrored, the location of the root dbspace mirror must be unique. For information about setting MIRRORPATH, see the IBM Informix: Administrator's Guide.

Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]