Skip to content

HyWorks Scheduler and Action Processor

Accops HyWorks Scheduler and Action Processor are used for on-demand provisioning and automatic power management of session host servers. In this section, detailed steps to install the scheduler and action processor are given.

Scheduler Installation and Configuration

The scheduler component manages schedules (Create/update/delete) as per capacity plan creation, modification, or deletion. It also sends the input to the queue with details of the capacity plan and session team, which will be picked by the Action processor to process as per requirement. The scheduler component is installed on the HyWorks controller server itself.

Installation

To install the scheduler, follow the steps given below:

Prerequisites:

  1. Erlang OTP 22.0 (Prerequisite for RabbitMQ) Installation
  2. Rabbit MQ Server 3.7.17 Installation
  3. ASP.NET Core Hosting Bundle 3.1 Installation
  4. .NET Desktop Runtime 3.1 Installation

Installation Steps:

  1. Once all the prerequisites are installed, copy the Scheduler setup on the Controller server.
  2. Run setup with the user having local administrator privileges on the server.
  3. Click Next on the Welcome screen.

  4. On the Choose Components screen:

    1. Select Configure RabbitMQ.
    2. Select Scheduler
    3. Click Next to proceed.

  5. On the License Agreement screen, click I Agree to proceed.

  6. The selected components will start installing:

    1. RabbitMQ will be configured as per scheduler requirements

  7. During the installation, the scheduler will require controller database details.

    • The authentication mechanism and user should have full rights to the controller database. For simplicity, database details can be provided similarly as used to configure the HyWorks Controller.
    • Database configuration is mandatory to proceed and can not be canceled or closed.
      • Database Server Address
      • Static port (default: 1433)
      • Authentication mechanism (Windows/ SQL Server)
        • For SQL Server Authentication - Username/ Password
    • Click Test Connection to check database reachability.
    • Click Next to proceed.

  1. Next, enter the service log on credentials.

    1. If the database is configured with SQL Server authentication, the scheduler service will be configured and run with local system account privileges.
    2. If the database is configured with Windows Authentication, the scheduler service will require user credentials (having logon as a service right and access to the controller database)

    3. Provide appropriate details and click Save to save the settings.

  2. Installation and configuration will be complete. Click Finish to dismiss the scheduler installer wizard.

Enable Controller to manage scheduler service

  1. Login into the management console with the user having super-admin privileges.
  2. Go to Host management > System > Advance config.
  3. Apply filter Capacity Plan in tags.
  4. Set the Manage Scheduler Service setting as True and click Update to apply the changes
    1. If this setting is true, then the Scheduler service will run only on the primary node of the controller. On the secondary HyWorks controller, the service will be stopped.
    2. If this setting is false, the HyWorks Controller will not manage it and will start and stop with the system.

Installation and Configuration in Controller Cluster

If HyWorks Controllers are installed in cluster mode (2 or more controllers are configured for high availability), then:

  • The scheduler should be installed on both the management nodes, with the same configurations as mentioned above.

Action Processor Installation and Configuration

Action Processor is the brain of capacity planning, it takes inputs from the controller, decides the current capacity, and then takes actions accordingly. It processes the following two types of messages pushed by the scheduler:

  1. Plan Implementation: Simply saving the capacity recommendations in the controller.
  2. Team Scale: Triggering power-on, power-off, cloning jobs as per schedule or scaling requirements.

Installation

Steps to install the Action Processor:

Prerequisites: The prerequisites are the same as the scheduler. If the scheduler is already installed, the same prerequisites need not be installed.
However, if the Action processor is installed first, the following prerequisites must be installed.:

  1. Erlang OTP 22.0 (Prerequisite for RabbitMQ) Installation
  2. Rabbit MQ Server 3.7.17 Installation
  3. ASP.NET Core Hosting Bundle 3.1 Installation
  4. .NET Desktop Runtime 3.1 Installation
    1. Official x64 Download Location
    2. Official x86 Download Location

Installation Steps:

  1. Once all the above prerequisites are installed, copy the Action Processor setup on the Controller server.
  2. Run setup with the user having local administrator privileges on the server.
  3. Click Next on the Welcome screen.

  4. On the Choose Components screen:

    1. Select Configure RabbitMQ.
    2. Select Action Processor.
    3. Click Next to proceed.

  5. On the License Agreement screen, click I Agree to proceed.

  6. Required components will be installed and RabbitMQ will be configured as per Action Processor.

  7. During installation, it will prompt for service log on credentials

    1. Service log on credentials can be configured the same as HyWorks Controller/ Scheduler.

  8. Once installation is complete, click Finish to close the Action processor installation wizard.

Prerequisites Installation

Erlang OTP Installation

Note

  • The exact version of Erlang (OTP) is required.
  1. Copy the setup file of the downloaded Erlang (OTP) v22.0.

  2. Connect to the server with user credentials having local administrator privileges, double-click on otp_win64_22.0.exe, and proceed with the installation with all the default options.

  3. Once the installation is complete, click Finish to close the installation wizard of Erlang.

  4. Reboot if required to complete the Erlang installation process.

RabbitMQ Installation

Note

  • The exact version of RabbitMQ is required.
  1. Copy the setup file of the downloaded Rabbit MQ server module v3.7.17.

  2. Connect to the server with user credentials having local administrator privileges, double-click on rabbitmq-server-3.7.17.exe, and proceed with the installation.

  3. Once the installation is complete. Confirm RabbitMQ service is installed properly and running.

ASP Dot NET Core Hosting Bundle Installation

  1. Connect to the server with user credentials having local administrator privileges.

  2. Copy setup files of ASP.NET Core Hosting Bundle 3.1.14.

  3. Double-click the setup file dotnet-hosting-3.1.14-win.exe.

  4. Close the setup wizard, once installation is complete.

Dot NET Desktop Runtime Installation

  1. Connect to the server with user credentials having local administrator privileges.

  2. Copy setup files of .Net Desktop Runtime 3.1 (both x64 and x86).

  3. Double-click the setup file windowsdesktop-runtime-3.1.14-win-x86.exe.

  4. Close the setup wizard, once installation is complete.

  5. Double-click the setup file windowsdesktop-runtime-3.1.14-win-x64.exe.

  6. Close the setup wizard, once installation is complete.