ADM Repository Reference Guide
2
Configure the database loader for MS SQL Servers.
The SQL Server loader script is configured using the sqlserver.properties file, that is located in the
unzip_path/adm_olap/load/ directory. An example file, sqlserver.properties.example, is
provided in unzip_path/adm_olap/load/:
a
Make a copy of the sqlserver.properties.example file and name the file as
sqlserver.properties.
b
Change the delete.data.files parameter to =true if you want to delete the data files after they
are loaded. If you keep the default, you need additional dataspace than is defined in "External
Database System Requirements" on page 15:
delete.data.files=false
3
Load the time data.
The current adm_olap schema has a time dimension table that is static. Fill the time table once and leave
it unchanged thereafter. To have the loader load the time data upon initiation:
Unzip the static_data/time.csv.zip file into the unzip_path/adm_olap/data directory.
The time.csv data is loaded the next time the synchronization process runs.
4
Test your configuration:
a
Run a complete synchronization from the ADM Console as described in "Running the
Synchronization Process Now" on page 13.
b
After the upload completes, log in as a user with administrator permissions, on the system on which
the database is installed.
c
From the Windows Start menu, select Run and type cmd. The command prompt appears.
d
Change directories to unzip_path\adm_olap\and run the synchronization process:
cd <unzip_path>\adm_olap\
<perl_dir>\bin\perl.exe <install_dir>\adm_olap\sync_adm_olap.pl
N
For secure FTP, use the sync_adm_olap_sftp_sqlserver.pl script instead of
OTE
sync_adm_olap.pl
To avoid id key verification for the first time by creating the id key, run psftp manually against the
FTP server using command line psftp -pw password user@host. Type yes when prompted.
5
Schedule the synchronization process to run automatically for the MS SQL database:
N
For the Windows scheduled task functionality, the flexibility to schedule tasks is limited. The
OTE
schedules available are daily, weekly, monthly, and one time only, when the computer starts, or when the
user logs in.
a
From the Windows Start menu, navigate to Setting > Control Panel > Scheduled tasks.
b
Double‐click Add Scheduled Task to open the Schedule Task Wizard.
c
Click Next to select the task you are scheduling.
d
Browse to the unzip_path/adm_olap directory and select sync_adm_olap.pl.
N
For secure FTP, use the sync_adm_olap_sftp_sqlserver.pl script instead of
OTE
sync_adm_olap.pl
e
Enter a name for the syn_adm_olap.pl task schedule.
f
Select how often you want to run the task from the options and click Next.
g
Depending on the interval selected, define the time, days, and the date to start the task.
22
VMware, Inc.