Versions Compared

Key

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

...

  1. RED application installed 
  2. RED metadata repository exists with ODBC DSN created
  3. PostgreSQL ODBC driver installed.

  4. Azkaban PostgreSQL database to install the Azkaban 'white' schema and metadata tables (can be installed to the RED metadata database)

  5. A Windows User for the services to run under, with: 
    1. user rights to 'Log On As A Service'
    2. write permissions on the Azkaban installation location (and work directory if not default user temp)
    ODBC DSN created for each of the RED and Azkaban metadata databases (PostgreSQL Unicode(x64) driver preferred).

Windows Installation

To install the WhereScape Azkaban Scheduler on a Windows machine you must first install RED then run the RedSchedulerInstaller.exe from the installation directory.

  1. Go to the installer path C:\Program Files\WhereScape\RED, run RedSchedulerInstaller.exe.

  2. The Scheduler Installation screen opens. Select all the installation options: Install Scheduler, Install Executor, and Add Scheduler Configuration to RED, and click Next.

    1. Only one Scheduler can be installed per RED metadata repository
    2.  If you installed a scheduler already and only want to install another Executor then deselect the other options
  3. In the Install Location screen, select the Installation Location. It is recommended to create a folder under the C: disk to install Azkaban. Click Next.

  4. The Scheduler Metadata screen shows the information of the database that contains the scheduler metadata. Fill out the Database Name, the User Name, and the Password of the database you created for Azkaban (Follow the same steps you follow to create the PostgreSQL Database). 

    Click Validate to confirm that all the entered information is correct. Click Next.

    Note: PostgreSQL Database Server Port is 5432 in default installations, but your database port may be different.

  5. Enter the RED Metadata database information. Enter the Database Name, the User Name, and the Password. Click Validate to confirm all the information is correct, and click Next.

  6. Enter the Scheduler Metadata information to upgrade or install it. These credentials are for an administrative database user with permission to perform DDL operations (If required) and click Next.

  7. The new Scheduler runs as a web server. The Web Server Configuration screen is populated automatically, make sure that the option Install as Windows Service is selected before you move on

    Tip
    titleProfile Pwd and Windows User

    The 'Profile Encryption Secret' will be used by RED Scheduler Jobs to decrypt the connection credentials at run-time, therefore you must remember and use this same password when generating the encrypted Scheduler Profile records for your connections. See Scheduler Profile Maintenance for more information.

    The 'Service User' is a windows user with the 'Log On As A Service' right, which the Azkaban service will run under. During installation the azkaban.local.properties file will be created for each Azkaban server with Windows user-based DPAPI encrypted password values and therefore only this same Service User will be able to decrypt those passwords at run-time.


  8. In the Executor Configuration, click Add an Executor Tag…, enter the host name or IP address, and click OK. Click Next to continue with the installation.

  9. Under the Email Configuration, enter the values you need to configure the email notifications. Click Next.

  10. A window pops up to select the Data Source Name from the drop-down menu which is the RED Metadata database that you created previously, its credentials, Validate the data, and click Login.

    Tip
    titleRED Scheduler Configuration

    This step applies the configuration to RED, which can be viewed in RED Scheduler Tab. It is important to note that the credentials for the Azkaban Dashboard User and API User are not applied to RED since these now reside only in the RED Profile file. After installing the Azkaban Web Server you will need to log in to RED and set these values in you Scheduler Configuration and then right click on 'Connections' node in the object tree to 'Save Profile' and 'include passwords'


  11. The Add Scheduler Configuration to WhereScape RED window shows the information on how the new Scheduler will be accessed. Click Next.


  12. In the Summary window, review all the information about your installation and click Install.

  13. When the installation is complete, click Finish to close the confirmation window.

...

Open Services.msc in Windows to find your Azkaban services to Start/Stop/Restart them manually or change the login user.

Troubleshooting

If either of your services fail to install

This issue is usually due to user rights to 'Log On As A Service' are not granted for the user you tried to install the service as.

In most cases you can simply go to Services.msc in Windows to find your Azkaban services and go to Properties of that service and renter the password for the service user, which will prompt Windows to detect the lack of rights issue and set the required rights for the user. In some systems only an Administrator user will be able to assign these rights so it is best to either have an admin do this or have the user created with the required rights by and admin prior to installation.