Skip to main content
Mitratech Success Center

Installation Guide

Installation Guide
Installation instructions for the CMO Data Warehouse.

 

The instructions below detail how to install the Data Warehouse (DWH) on CMO Compliance version 15.02.25. If you run into any issues, please contact support via your online support portal.

The instructions in this guide assume the following:

  • This is the first time you're installing Data Warehouse - meaning you are not upgrading from a previous version.
  • The Data Warehouse administrator should have an understanding of PowerShell.
  • The Data Warehouse administrator has database administration experience, is familiar with installation and configuration of MS SQL Server, and can configure folder security in Windows.

Installation Instructions

Follow the instructions below to install Data Warehouse Business Intelligence (DWBI).

  1. Acquire the Data Warehouse zip file. The file will read as CMO_DataWarehouse_XX.zip where XX represents the current version.
    DWH_BuildNumber.png

    Ensure the DWH version and CMO version are aligned - Contact your CMO Administrator for questions about DWH versioning.
     
  2. Unzip the DWH file in a folder that will be designated for the Data Warehouse.
    The DWH application automatically provides access to this folder, as needed, by adding the "SQLSERVERAGENT" account to the folder. 
    DWH_InstallFolder.png

     
  3. Using the SQL Server installation media, verify or add the following features to your SQL Server Instance.
     - SQL Server Replication
     - Integration Services

    Note: Run the SQL Server setup.exe and inspect the currently installed features to check if SQL Server Replication and Integration Services are already installed.
    SQL_ServerInstanceFeatures.png
     
  4. In SQL Server Management Studio (SSMS), verify the SQL Server Agent is running. CMO recommends the agent be set to 'automatically start'.
    SQL_ServerAgentEnabled.png
     
  5. Create a new distribution in SSMS (if not already created). 
    Right click Replication and select Configure Distribution. Use the default settings for all options and click Finish.

     
  6. Each database created by DWH needs a username and password. Configure username(s) and password(s) for each database (Replication, Staging, and DWH) in SSMS and edit the Properties file with the appropriate values.

     
  7. Add the "NT Service/MSSQLSERVER" accounts to the following SQL Server instance folders:

    Add the NT SERVICE\MSSQLSERVER account to the <MS SQL Server install folder>\DATA folder. Provide all permissions to the folder.
    DWH_InstallFolder2.png

    Add the NT SERVICE\SQLSERVERAGENT account to the <MS SQL Server install folder>\repldata folder. Provide all permissions to the folder.
    DWH_InstallFolder3.png

    Add the "NT Service/MSSQLSERVER" account and grant All Folder permissions to the user. 

     
  8. From the DWH installation package, modify the dw_properties.ps1 properties script to match your environment. For example: <CMO DWH Installation Folder>/dw_properties.ps1.
    Note: This file can be edited with a standard text editing application. 
     
  9. Open a Powershell command prompt, navigate to the script, and execute the Powershell dw_properties.ps1 script.
     
  10. Check the status of the installation in SSMS by right-clicking on the Replication Publication and selecting View Snapshot Agent Status
    SSMS_ViewSnapShotAgentStatus.png


The status should read 100%.

DWH_Verification.png

 

 

  • Was this article helpful?