Installing and Configuring Scheduler

This topic describes how to install and configure Scheduler.

Prerequisites

Before you install Scheduler v1.3, you must have one of the following:

Note: Scheduler is compatible with VMware Tanzu SQL with MySQL for VMs. Compatibility with MySQL alternatives like MariaDB is not tested or guaranteed.

Download and Install Scheduler

  1. Download the product file from VMware Tanzu Network.

  2. Navigate to the Ops Manager Installation Dashboard and click Import a Product to upload the product file.

  3. Under the Import a Product button, click + next to the version number of Scheduler. This adds the tile to your staging area.

  4. Click the newly added Scheduler tile.

Configure Scheduler

Follow the steps below to configure the Scheduler tile.

Configure AZs and Networks

Follow the steps below to choose an Availability Zone (AZ) to run the Scheduler Service Broker and to select networks.

  1. Click Assign AZs and Networks.

  2. Configure the fields as follows:

    Field Description
    Place singleton jobs in Select the AZ for executing the Scheduler Errands. All Scheduler components execute as apps and do not require VMs.
    Balance other jobs in Ignore this field.
    Network Select a subnet for the Scheduler Errands. Use the subnet that includes the VMware Tanzu Application Service for VMs (TAS for VMs) component VMs.

    NOTE: The network selected is used only by Errand VMs and does not apply to the Scheduler runtime.

  3. Click Save.

Configure Scheduler Options

  1. Click Scheduler Configuration.

    • Enable outbound HTTP calls: This field is enabled by default. Disable this feature to prevent users from scheduling outbound HTTP requests (calls) from the Scheduler service. This does not affect outbound connectivity from Diego tasks (jobs).
    • Database Source > Service Broker:
      • Name Enter the name of your MySQL service broker. For example, p.mysql.
      • Plan Name Enter the name of your MySQL service plan, which is used to provision a database for persistent storage of Scheduler data, including jobs, calls, and history. For example, db-small.
    • Database Source > External: Enter a database URL. It must have a scheme, user, password, host, and port, for example mysql://user:password@db.example.com:3306. Query parameters are ignored. For example, with mysql://user:password@db.example.com:3306/?useTLS=false, the query parameter useTLS is not propagated to Scheduler.
  2. Click Save.

Verify Resource Config

  1. Click Resource Config.

  2. Verify the settings.

  3. Click Save.

Verify Stemcell Version

To verify that you have the correct stemcell version for the Scheduler tile, do the following:

  1. Click Stemcell.

  2. Verify the settings.

  3. Download the stemcell from VMware Tanzu Network.

  4. In the Ops Manager, click Stemcell Library.


    Stemcell Library

  5. Click Import Stemcell, and then select the stemcell you downloaded from VMware Tanzu Network.

  6. Click Save.

  7. Return to the Ops Manager Installation Dashboard.

  8. Click Review Pending Changes. For more information about this Ops Manager page, see Reviewing Pending Product Changes.

  9. Click Apply Changes.