Versions Compared

Key

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

...

For new installs, from RED 10.2.+, you will have find the wsl_scheduler_profile_maintenance host script under your Host Script's in your RED metadata repository. For upgraded repositories you will need to load this script into RED manually from <RED_Installation_Directory>\Administrator\Scripts\wsl_scheduler_profile_maintenance.ps1

...

Info
This script will need to be run every time you add a new connection to RED, so that the Scheduler Profile is kept in-sync. The subsequent times you run this script the UI will be prepopulated with any existing records in the "redadmin"."ws_scheduler_profile" so that you do not have to re-enter them but allows updating any records as required.

Running the script stand-alone

If you prefer to run the script stand-alone outside of RED then you will need to set the required environment variables prior to running the script, an example follows:

Code Block
languagetext
titleExample env. variable setup
REM set required env vars
SET WSL_BINDIR=C:\Program Files\WhereScape\RED
SET WSL_META_DSN=Metadata ODBC DSN
SET WSL_META_USER=redadmin_user
SET WSL_META_PWD=pwd
SET WSL_META_CONSTRING=dsn=Metadata ODBC DSN;uid=redadmin_user;pwd=pwd;

REM run the script
powershell -executionpolicy bypass -f "%WSL_BINDIR%\Administrator\Scripts\wsl_scheduler_profile_maintenance.ps1"