Show TOC

Profile Parameters for the Enqueue Replication ServerLocate this document in the navigation structure

Use

The parameters you can set in the profile of the replication server are described below.

Parameters

Meaning

Unit/Value Range

Standard value

enque/enrep/poll_interval

This parameter determines the interval in which the HA software is polled to find out the current failover host. The value 0 means that the entire polling mechanism is deactivated.

Integers/milliseconds

0

enque/enrep/poll_timeout

This parameter determines the timeout for the duration of a polling request to the HA software. If the polling lasts longer than the parameter value, the replication server switches to the hold state.

Integers/seconds

60

enque/enrep/inactive_action

This parameter determines which action is executed, if the HA software reports that the replication server is not running on the failover host.

Character string:

sleep or

shutdown

sleep

enque/enrep/hafunc_implementation

The parameter determines which functions are used for the polling.

If the parameter value is script, the actions contained in the following profile parameters are executed. Otherwise the API functions are called. The script option is only available in Unix, the API is only available in Windows.

Character string:

script or other platform-dependent value

script

enque/enrep/hafunc_init

Program called, when the replication server is started, to initialize the mechanism of the HA poll.

Program name (path details)

-

enque/enrep/hafunc_check

Program that is always called if the HA software is polled. The return code of the program specifies whether the replication server is running on the failover host or not. There are different return codes:

  • -1: Error; shutdown is triggered

  • 0: Replication server is running on the active failover host: Activate or keep active (status active)

  • 1- 4: Switch to hold mode (status hold)

  • Larger than 4: Replication server is not running on the failover host: Deactivate (status sleep). By using return values the program can control the behavior of the replication server.

Program name (path details)

-

More Information

You can find a description of the underlying polling concept under Polling Concept. Refer to the following sections for more information:

The Replication Process

Replication and Failover