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
bModifythefollowinginformationinthesync.propertiesfile:
iFortheFTPinformation,enterthepropercredentials,hostremotedirectory,andwhetherornot
todeletethefilesfromtheFTPserverafterthesynchronizationprocesscompletes:
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
ii EnsurethattheloaderinformationpointstotheOracle:
loader.exec=./load_oracle.pl
loader.dir=load
loader.data.dir=data
iii Modifythearchivingifnecessary:
# archive option will save a local copy of the compressed data at the specified
directory
archive=true
archive.dir=archive
archiveandarchive.dirdefineswhetherornottostorethezippedfileslocallyforhistory
tracking.
Ifnecessaryaddthehooks:hook.before.load=andhook.after.load=allowcustombehaviorjust
beforethedataloadingandaftertheloadingiscomplete.Suchhooksareusedtoaddordrop
indices,toaddclientspecific
dataforloadingtogetherwithADMdata,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.
TheOracleloaderscriptisconfiguredusingthe oracle.propertiesfile,thatislocatedinthe
unzip_path
/adm_olap/load/directory.Anexamplefile,oracle.properties.example,hasbeen
providedin
unzip_path
/adm_olap/load/:
aMakeacopyofthe oracle.properties.examplefileandnameitoracle.properties:
cp oracle.properties.example oracle.properties
NOTEAnexamplefile, sync.properties.example,isprovidedinadm_olap,touseasatemplateto
configurethesynchronizationprocess.
N
OTEUsethesameusercredentialswhensettinguptheExternalReportsScheme
Configurationpolicyasdescribedin“CreatingtheExternalReportsSchemeConfiguration
Policy”onpage 11.