Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Create Database and ODBC DSN:
    • Supported* version of PostgreSQL (PostgreSQL 12 or higher)
      • A database to house the RED Metadata Repository.
      • A database to house scheduler (Optional)
  • Software Installations
    • WhereScape RED10.1.x.x with valid license key entered and EULA accepted
    • WhereScape Enablement Pack for target database version RED10.1.x.x 
  • Windows Powershell (64-bit) version 4 or higher
    • To check the Windows Powershell Version:
      • Run the below command in Windows Powershell
        Get-Host|Select-Object Version
      • Run the below command in the Command Prompt
        powershell $psversiontable
  • Run the following command using PowerShell
      • The security protocol TLS 1.0 and 1.1 used by PowerShell to communicate with the PowerShell gallery has been deprecated and TLS 1.2 has been made mandatory
        Code Block
        \[Net.ServicePointManager\]::SecurityProtocol = \[Net.ServicePointManager\]::SecurityProtocol -bor \[Net.SecurityProtocolType\]::Tls12
        Register-PSRepository -Default -Verbose
        Set-PSRepository -Name "PSGallery" -InstallationPolicy Trusted

...

  1. Access to a Redshift System, with the following connectivity information:
    • Server Name
    • Database Name
    • Port
    • User Name
    • Password
  2. Access to an S3 bucket in the same region as your Redshift system to be used for temporary files while load loading data from windows Windows files and database tables. Specifically, you need to know:
    • Access Key, Secret Key, Region
    • S3 storage location in this format: s3://bucketName/folderName
  3. Create Database and ODBC DSN Redshift ODBC driver (64-bit)
  4. Redshift software installed
    • Amazon Redshift ODBC driver (64-bit)
    • ODBC DSN was created to connect to your RED Data Warehouse on Redshift.
  5. Python 3.8 or higher 
    • Select "Add Python 3.8 to PATH" from the installation Window
    • Pip Manager Install with the command : python -m pip install --upgrade pip

...

Run Setup Wizard as administrator
Image RemovedImage Added
Create a new repository or upgrade already an existing repository.
Image RemovedImage Added
Select the created ODBC DSN, input login details, and then select "Validate". Press Click Next.
Image RemovedImage Added
Select the directory that contains the unzipped Enablement Pack for installation. Press Click Next.
Image RemovedImage Added
Using the check boxed checkboxed list, include or exclude the components that are to be installed. Press Click Next.
Image RemovedImage Added
Configure a target connection (for example, Data Warehouse) and its target locations.  Validate Validate and press ADDclick Add.
Image RemovedImage Added
When done, press ADD click Add and then Press Next to advance.
Image RemovedImage Added
Configure a data source connection (optional) and its target locations. Validate and press ADDclick Add. Press Click Next to advancecontinue.
Image RemovedImage Added
Review the installation summary and click Install
Clicking on Click the View Logs will take to open the installation log. Click on Finish once the installation is completed successfully.
Image RemovedImage Added
Login to WhereScape RED.
Image RemovedImage Added

Note

There is a post-install script that will run at the first login to RED10 to complete the post-setup wizard installation process.

You will be directed to the below PowerShell window which will give a brief explanation about of the post-installation process.
Image RemovedImage Added
Press OK to start the post-installation. If pressed Cancel installation will stop and the user will be directed to RED.
The user will be directed to the window below, where they have to select the target connection to be configured. Additionally, by deselecting the provided options, the user can choose not to install a particular option.
Image RemovedImage Added
You will be directed to below PowerShell window below. Provide the directory that contains the unzipped Enablement Pack.
Image RemovedImage Added
Press Click OK
The progress bar will show the post-installation progress.
Image RemovedImage Added
User Users will have to choose the database for the target setting that were was provided. One pop-up will come for setting the default target  target for Date Dimension.
Image RemovedImage Added
After selecting the target  target progress bar will show the progress for the installation and once it's completed, you will get the below pop-up.
Image RemovedImage Added
After pressing clicking OK RED10 will open opens automatically.
Image RemovedImage Added
User will need to restart RED once.
Image Removed Image Added 

Upgrade Of Existing Repository

For upgrade of an existing repository

  • From host script set the script type of wsl_post_install_enablement_pack as Auto Execute - PowerShell Script

    Image Removed Image Added

Important Upgrade Notes
If RED upgrade upgrades the repository option is chosen.
This enablement pack will overwrite any existing Source Enablement Pack UI Configs:

...

To ensure existing Source Enablement Pack connections and associated Load Tables continue to browse and load:
Go into UI Configuration Maintenance in RED prior to before installing this  Enablement Pack and rename the affected UI Configurations. While the updated Load Template will work with the previous Source Enablement Pack 's we recommend moving these previous versions of Load Tables to newly created Parser-based connections following this install. The earlier versions of the Source Enablement Pack will be deprecated following this release.

...

  1. Connection: Data Warehouse ('Redshift' )- This connection was setup set as per parameters provided in Setup Wizard
    • open it's its properties and check the extended properties tab, set it up for Access Key, Secret Key, S3 Region and , and S3 Storage Location
  2. Connection: 'Database Source System' - this connection was setup set up as an example source connection,
    • open it's properties and set it up for a source DB in your environment
    • or you can remove it if not required

...

Restarting failed scripts

Some of the setup scripts will track each step and output the step number when there is a failure. To restart from the failed step (or to skip the step) provide the parameter "-startAtStep <step number>" to the script.
Example: 
Powershell -ExecutionPolicy Bypass -File .\<script_file_name.ps1> -startAtStep 123

Tip

...

To avoid having to provide all the parameters again you can copy the full command line with parameters from the first "INFO" message from the beginning of the console output.


Python requirements for offline install
Additionally to the base Python installation being required, the WhereScape Python Template set also requires certain additional Python libraries. The install scripts uses use the PIP (package manager) to download these libraries, however, for offline installs, you will need to install the required libraries yourself.
Required Python libraries/add-ons:

...