Example Configuration Files

This section shows examples of configuration files for two stand-alone DAH instances in different configurations.

Configuration for a Distributed Action Handler Running in Mirror Mode

[Service]
ServicePort=17001

[Server]
MirrorMode=True
Port=17000
TimeBetweenRetries=60000
DistributionMethod=0
DistributedEngines=2

[DistributedEngine0]
Host=testserver1
Port=9000
Type=IDOL

[DistributedEngine1]
Host=testserver2
Port=9010
Type=IDOL

[Logging]
LogDirectory=./logs
0=APP_LOG_STREAM

[APP_LOG_STREAM]
LogFile=application.log
LogTime=True
LogEcho=False
LogMaxSizeKBs=1024
LogTypeCSVs=application
LogLevel=full
LogExpireAction=previous

Configuration for a Distributed Action Handler Running in Non-Mirror Mode

[Service]
ServicePort=17001

[Server]
MirrorMode=False
Port=17000
TimeBetweenRetries=60000
VirtualDatabases=3
ShowVDBInfo=True
DistributedEngines=3

[VDB0]
DbName=News
Type=Distributor
MapsTo=0:News,1:News,2:News

[VDB1]
DbName=Accounts
Type=Combinator
MapsTo=0:Personnel,1:FinancialDocs

[VDB2]
DbName=ProjectManagers
Type=Combinator
MapsTo=0:Personnel,2:ProjectPlans

[DistributedEngine0]
Host=testserver1
Port=9000
Type=IDOL

[DistributedEngine1]
Host=testserver2
Port=9010
Type=IDOL

[DistributedEngine2]
Host=testserver3
Port=9020
Type=IDOL

[Logging]
0=ACTION_LOG_STREAM
1=APPLICATION_LOG_STREAM

[ACTION_LOG_STREAM]
LogFile=action.log
LogTime=True
LogEcho=True
LogMaxSizeKBs=1024
LogTypeCSVs=action
LogLevel=normal
LogExpireAction=datestamp

[APPLICATION_LOG_STREAM]
LogFile=application.log
LogTime=True
LogEcho=False
LogMaxSizeKBs=2048
LogTypeCSVs=application
LogLevel=normal
LogExpireAction=datestamp

_HP_HTML5_bannerTitle.htm