RoundRobinMode section
 

When Round Robin mode indexing is enabled, you need to configure the [RoundRobinMode] section.

Use the [DAHServer<N>] options to configure child engines for power up and shut down when Round Robin roll-over occurs and thus optimise both query handling and data indexing across a group of child engines. For instance, queries to today’s engine can be disabled. Indexing speed for today’s server is optimal since today’s server is not being queried. Query handling speed for the other days’ servers is optimal since they are not indexing data. Today’s server has a grace period to index data before it is queried again through the DAH.

For example:

[Server]
Port=16000
DIHPort=16001
IndexClients=*.*.*.*
DateFormatCSVs=SHORTMONTH#SD+#SYYYY,DD/MM/YYYY,YYYY/MM/DD,YYYY-MM-DD,EPOCHSECONDS
RoundRobinMode=TRUE

[DistributionIDOLServers]
Number=3

[IDOLServer0]
Host=localhost
Port=6502

[IDOLServer1]
Host=localhost
Port=6602

[IDOLServer2]
Host=localhost
Port=6702

[RoundRobinMode]
ServerImmediateStart=2
NextServerStartTime=00:00
NextServerStartDate=2006/10/20
PeriodInSec=86400
RoundRobinMode=TRUE

[DAHServer0]
Host=thisisahost
Port=12000
ShutDownEnginePeriods=0,-1

[DAHServer1]
Host=thisisanotherhost
Port=13000
StartUpEnginePeriods=-2

In this example, the DIH immediately starts sending index data on IDOL server 2. The DIH switches to forward data to the next engine, IDOL server 0, on 20 Oct. 2006 at 00:00, after which 1 day is dedicated on each child engine before a roll over to a different engine takes place. When a roll over occurs, the DAH child engine that indexed data yesterday and the DAH child engine that indexes data today will shut down. At the same time, the DAH child engine that indexed data the day before yesterday will be powered up.