Installing databases without full SQL Server permissions
You can install Acoustic Experience Analytics (Tealeaf) databases as the TLADMIN user or
as a customer user with the same permissions.
About this task
Follow these steps when full installation permissions are not available to the current user. Permissions must be granted to Experience Analytics database users.
The file paths in the file for each database must be edited.
You might need to review the size that is allocated for each file.
Procedure
-
Before running the Database Manager, someone with SA access must run the database creation
scripts for any new databases. These scripts create the empty databases and users on SQL Server and
are provided in the following directory:
<Acoustic Experience Analytics (Tealeaf)_install_directory>\SQL\DBCreateScripts -
Start the Database Manager:
<Acoustic Experience Analytics (Tealeaf)_install_directory>\Reporting\TealeafDatabaseManager.exe - In the Connection window, verify that the correct host and port values are entered. You must connect using Experience Analytics authentication.
- Click Connect.
-
Complete one of the following sequences, depending on how you are installing the databases.
Note: When installing or upgrading in Experience Analytics authentication mode, some individual commands might fail. You can ignore the failure messages if the Database Manager reports a successful installation or upgrade.
-
All Databases Mode Install/Upgrade:
- In the menu, select Mode > Database Setup > All Databases.
- In the Action drop-down, select
Installfor an installation. - In the DB Creation menu, clear
Create Databases, which prevents Database Manager from attempting to create the databases or users and from attempting to grant permissions to these users on SQL Server. - Click OK.
- After the operation completes, review the output window. In the Failed Statements pane, verify that all statements ran successfully.
- Close the output window.
-
Single Database Mode Install/Upgrade:
- In the menu, select Mode > Database Setup > Single Database.
- Select the Action and Database Type, and set any necessary options.
- In the DB Creation menu, deselect
Create Databases, which prevents the Database Manager from attempting to create the databases or users and from attempting to grant permissions to these users on SQL Server. - Click OK.
- After the operation completes, review the output window. In the Failed Statements pane, verify that all statements ran successfully.
- Close the output window.
-
All Databases Mode Install/Upgrade:
-
Post-Install/Upgrade Steps:
- In the menu, select Mode > Database Users > Permissions Scripts.
- In the Output Location field, enter the location and file name where you want to store the output scripts.
- Click OK. An SQL script containing all of the necessary permission grant statements is generated in the output location.
- Access the scripts in the directory you selected.
- Have the DBA or person with SA access run the scripts.
-
Acoustic Experience Analytics (Tealeaf) Authentication: If you are running these steps using Experience Analytics authentication, you must perform the following steps now to configure the System
database:
- In the menu, select Mode > Database Setup > Single Database.
-
From the Database drop-down, select
System. -
From the Action drop-down, select
Upgrade. -
For the Command File, navigate to the following directory:
<Tealeaf_Install_Directory>\Reporting\DatabaseSchema\- Depending on the products you licensed, the following files appear in the directory. You must
run each of the following schema upgrades for the databases of the products you installed.
- Experience Analytics
CX:
SystemDBConfig.xml - Experience Analytics
cxReveal:
RevealDBConfig.xml
- Experience Analytics
CX:
- Depending on the products you licensed, the following files appear in the directory. You must
run each of the following schema upgrades for the databases of the products you installed.
- Click OK.
- After the operation completes, review the output window. In the Failed Statements pane, verify that all statements ran successfully.