First, enable data collection on the loader server. This step is only necessary if you intend to pre-load data into the warehouse (see the “Preparing to Use Commerce Reporting” chapter of the ATG Commerce Programming Guide for information). Create a <ATG10dir>/home/servers/server_name/ file and set the following content:
localconfig/atg/dynamo/service/DWDataCollectionConfig.properties
enabled=true
defaultRoot=pathtologfiledirectory
Next, configure the data sources for the data warehouse repository, production schema, and local loader machine. Create the following properties file in your loader server’s localconfig directory:
/atg/reporting/datawarehouse/DirectJTDataSource.properties
$class=atg.nucleus.JNDIReference
JNDIName=JDNInameforwarehousedatasource
/atg/dynamo/service/jdbc/DirectJTDataSource_production.properties
$class=atg.nucleus.JNDIReference
JNDIName=JDNInameforproductiondatasource
/atg/dynamo/service/jdbc/DirectJTDataSource.properties
$class=atg.nucleus.JNDIReference
JNDIName=JDNInameforlocaldatasource
/atg/dynamo/service/jdbc/DirectJTDataSource_management.properties
$class=atg.nucleus.JNDIReference
JNDIName=JDNI name for managementdatasource
The data loaders use a lock manager to ensure that only a single loader processes a given file. To configure your loader server as a lock management client, create the following files:
<ATG10dir>/home/servers/server_name/localconfig/atg/dynamo/service/
ClientLockManager.properties
<ATG10dir>/home/servers/server_name/localconfig/atg/dynamo/service/
ClientLockManager_production.properties
<ATG10dir>/home/servers/server_name/localconfig/atg/dynamo/service/
ClientLockManager_agent.properties
<ATG10dir>/home/servers/server_name/localconfig/atg/dynamo/service/
ClientLockManager_management.properties
Each of these files should include the following configuration:
lockServerAddress=lockserverhostname
lockServerPort=lockserverport
useLockServer=true

