MIRRORPATH configuration parameter

Set the MIRRORPATH configuration parameter to a full path name prior to performing a complete disk initialization of your instance. Do not set MIRRORPATH and simply restart the server, as errors may result. This path will be the mirror chunk for the initial chunk of the root dbspace.

onconfig.std value
On UNIX™: $INFORMIXDIR/tmp/demo_on.root_mirror

On Windows™: None

values
65 or fewer characters
takes effect
After you edit your onconfig file and initialize the database server.

Usage

If you use raw disk space for your root mirror chunk on a UNIX platform, it is recommended that you define MIRRORPATH as a soft link to the raw device rather than the actual device name.

You must set the permissions of the file that MIRRORPATH specifies to 660. The owner and group must both be informix.

To start mirroring a root dbspace that is not already mirrored:
  1. Allocate disk space for the mirror chunks. You can allocate this disk space at any time. However, the disk space must be available when you specify mirror chunks in the next step. The mirror chunks should be on a different disk than the corresponding primary chunks.
  2. Use the onspaces -m option to start mirroring for the root dbspace. During successful execution of that command, the server will automatically set the value of MIRRORPATH in the config file.