ADM Repository Reference Guide
Installing and Configuring the External Database for MS SQL
Use the following procedures to install and configure the external database for MS SQL.
Install the Client-Side Scripts
To install the client-side script
N
You must have administrator privileges to install the client‐side scripts on Windows.
OTE
1
Copy the ADM external database installation file (adm_olap_
http://downloads.vmware.com/Application Discovery Manager.
2
Unzip the adm_olap_
A directory named adm_olap is created with all the client‐side scripts in it.
Install the External Database for MS SQL Server
To install the external database for MS SQL
N
You can use either SQL Server Management Studio or SQLCMD command to run the installation
OTE
scripts. The following steps demonstrate the commands using SQLCMD.
1
From the Windows Start menu, select Run and type cmd. The command prompt appears.
2
Change directories to unzip_path/adm_olap/schema/sqlserver/:
cd <path>\adm_olap\schema\sqlserver
3
Run the create_database.sql script to create the ADM external database:
sqlcmd -S <serverName> -i create_database.sql
4
Run the create_olap_schema.sql script to create the adm_olap schema:
sqlcmd -S <serverName> -i create_olap_schema.sql
5
Run the create_adm_olap_login.sql script to create the login:
sqlcmd -S <serverName> -i create_adm_olap_login.sql
6
Run the create_user_for_login.sql script to create the login user:
sqlcmd -S <serverName> -i create_user_for_login.sql
N
The user created here, must be the same user that was defined when setting up the External
OTE
Reports Scheme Configuration policy. The External Reports Scheme Configuration policy defines the FTP
server where the extracted data files are transferred and how often the synchronization occurs.
7
Run the create_tables.sql script to create the adm_olap tables:
sqlcmd -S <serverName> -i create_tables.sql
N
Do not add constraints. With the constraints turned on, the loader fails to load the data.
OTE
20
v.X.X-XXX
.zip to a directory of your choice.
v.X.X-XXX
.zip) from
VMware, Inc.