ADM Repository Reference Guide
18 VMware, Inc.
Configure the Synchronization Process
To configure the synchronization process
1Configurethesync.propertiesfilelocatedintheadm_olapdirectory:
aMakeacopyofthesync.properties.examplefileandnameitsync.properties:
cp sync.properties.example sync.properties
bInthesync.propertiesfile,modifytheFTPinformation.Enterthepropercredentials,hostremote
directory,andwhetherornottodeletethefilesfromtheFTPserverafterthesynchronizationprocess
completes:
ftp.user=ftp-user
ftp.password=ftp-password
ftp.host=ftp-hostname
ftp.dir=remote-dir
ftp.local.dir=tmp
# filter FTP files: consider only files starting with the prefix.
ftp.file.prefix=adm_olap
# delete files from FTP when done?
ftp.delete.files=true
cInthesync.propertiesfile,ensurethattheloaderinformationpointstotheOracle:
loader.exec=./load_oracle.pl
loader.dir=load
loader.data.dir=data
dInthesync.propertiesfile,modifythearchivingifnecessary:
# archive option will save a local copy of the compressed data at the specified directory
archive=true
archive.dir=archive
archiveandarchive.dirdefineswhetherornottostorethezippedfileslocallyforhistory
tracking.
Youcanaddthehooksifnecessary.hook.before.load=andhook.after.load=allowcustom
behaviorjustbeforethedataloadingandaftertheloadingiscomplete.Suchhooksareusedtoadd
ordropindices,toaddclients
pecificdataforloadingtogetherwithADMdata,oranyotherdesired
actions.Thepropertycontainsthepathtoanexecutablescript:
# This can be used, for example, to remove indexes before the data loading
# and re-create the indexes after the load is complete.
#hook.before.load=
#hook.after.load=
2ConfigurethedatabaseloaderforOracle.
TheOracleloaderscriptisconfiguredusingtheoracle.propertiesfile,thatislocatedinthe
unzip_path/adm_olap/load/directory.Anexamplefile,oracle.properties.example,hasbeen
providedinunzip_path/adm_olap/load/:
aMakeacopyoftheoracle.properties.examplefileandnameitoracle.properties:
cp oracle.properties.example oracle.properties
bIfyouhaddefinedacustomadm_olapusernameandpasswordwhenyouhadcreatedthedatabase
userasdescribedin“CreatetheExternalReportingDatabaseUser”onpage 17,thenchangetheuser
nameandpasswordcredentialsaccordingly:
N
OTEAnexamplefile,sync.properties.example,isprovidedinadm_olap,touseasatemplateto
configurethesynchronizationprocess.
NOTEUsethesameusercredentialswhensettinguptheExternalReportsSchemeConfiguration
policyasdescribedin“CreatingtheExternalReportsSchemeConfigurationPolicy”onpage 11