Distributed Index Handler 26.2
Distributed Index Handler Help

# MirrorMode

The `MirrorMode` parameter determines whether to run the DIH in mirror mode or non-mirror mode.

Set `MirrorMode` to `True` to run the DIH in mirror mode.

In mirror mode the DIH distributes all the index data it receives to all the Content components that it is connected to. The Content components are exact copies of each other and must all be configured in the same way.

Run the DIH in mirror mode to ensure uninterrupted service if one of the Content components fails. While one Content is inoperable, data continues to be indexed into its identical copies which at the same time are still available to return data for queries.

The DIH periodically checks if all the Content components that it connects to are operating. If a Content breaks down, the DIH queues the data that this Content normally receives, and after the Content starts operating again, it indexes the queued data into it.

Set `MirrorMode` to `False` to run the DIH in non-mirror mode.

In simple non-mirror mode the DIH distributes the index data it receives evenly across the Content components that it is connected to. For example, if the DIH is connected to four Content components, it indexes approximately one quarter of the data into each Content (individual documents are not split up).

Run the DIH in non-mirror mode if the amount of data that you want to index is too large for a single Content. If the Content components that the DIH indexes into are situated on different machines, this option can also improve the indexing performance.

In non-mirror mode, you can also apply different distribution modes, such as DistributeByDate, DistributeByFields, DistributeByReference, DistributeOnBatch, and DistributeSendMinimal. These modes allow you to control how DIH distributes the content between its child servers. For more information about these distribution modes, refer to the Distributed Index Handler Administration Guide and Knowledge Discovery Expert.

NOTE: You can use these distribution modes only when `MirrorMode` is set to `False`. DIH will not start if you attempt to configure these distribution modes when `MirrorMode` is set to `True`.

The DIH periodically checks if all the Content components that it connects to are operating. How it behaves when a server goes offline depends on your distribution mode:

- In a simple distribution mode (simple non-mirror mode, DistributeOnBatch, and DistributeSendMinimal, including RespectChildFullness), DIH treats any offline child server as UpdateOnly. While the child server is down, DIH queues any updates to existing documents, but distributes new content between the remaining child servers. This behavior ensures that all content is indexed in the available servers, but that document updates and deduplication occurs in the offline child server when it comes back online.

  NOTE: If you use child server groups to set up mirrors in a non-mirror mode structure, DIH queues the data to any mirrored offline child server, unless all child servers in a mirror group are offline.

- In advanced distribution modes (DistributeByDate, DistributeByFields, and DistributeByReference), DIH queues the data that the offline Content normally receives, and after the Content starts operating again, it indexes the queued data into it.

NOTE: When you change the `MirrorMode` configuration option to enable or disable mirror mode, you must also delete the `Main/` subdirectory inside the DIH installation directory. This additional action prevents accidentally switching between mirror and non-mirror mode, which can cause a loss of data. If you do not delete the `Main/` directory when changing this option, DIH does not start.

Type: | Boolean
Default: | False
Required: | No
Configuration Section: | Server
Example: | `MirrorMode=False`
See Also: |

Copyright 2026 Open Text
Version 26.2 | Last updated April 2026

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery Distributed Index Handler 26.2

Topic Title: MirrorMode