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 scheduler and action processor will be provided.

Scheduler Installation and Configuration

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

Installation

To install scheduler, follow below steps:

Prerequisites: Following prerequisites must be installed before installing scheduler on same server hosting HyWorks Controller:

  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 above prerequisites are installed, copy Scheduler setup on Controller server
  2. Run setup with user having local administrator privileges on the server
  3. Click on Next button on Welcome screen

  4. In *Choose Components screen

    1. Select option Configure RabbitMQ
    2. Select component Scheduler
    3. Click on Next button to proceed

  5. On License and Agreement screen, click on I agree button to proceed

  6. Required components will start installing:

    1. RabbitMQ will be configured as per scheduler requirements

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

    • Authentication mechanism and user should have full rights on controller database. For simplicity database details can be provided exactly same as used to configure HyWorks Controller
    • Database configuration is compulsory to proceed and can not be cancelled or closed. Provide:
      • Database Server Address
      • Static port (default: 1433)
      • Authentication mechanism (Windows/ SQL Server)
        • For SQL Server Authentication - Username/ Password
    • Click on Test Connection button to check database reachability
    • Click on Next button to proceed

  8. Next screen will require service logon credentials.

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

    3. Provide appropriate details and click on Save button to save settings.

  9. Installation and configuration will be finished. Click on Finish button to dismiss the scheduler installer wizard.

Enable Controller to manage scheduler service

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

  • Scheduler should be installed on both management nodes, with configurations done same as specified above

Action Processor Installation and Configuration

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

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

Installation

To install Action Processor, follow below steps:

Prerequisites: Prerequisites are same as of scheduler, so if scheduler is already installed, the same prerequisites need not to be installed. But if Action processor is installed first, 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 above prerequisites are installed, copy Action Processor setup on Controller server
  2. Run setup with user having local administrator privileges on the server
  3. Click on Next button on Welcome screen

  4. In *Choose Components screen,

    1. Select option Configure RabbitMQ
    2. Select component Action Processor
    3. Click on Next button to proceed

  5. On License and Agreement screen, click on I agree button to proceed

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

  7. During installation it will prompt for service logon credentials

    1. Service logon credentials can be configured same as HyWorks Controller/ Scheduler.

  8. Once installation is completed, click on Finish button to dismiss, Action processor installation wizard.

Installation and Configuration in Controller Cluster

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

  • Action processor should be installed on both management nodes, with configurations done same as specified above

Prerequisites Installation

Erlang OTP Installation

  1. Copy setup file of downloaded Erlang (OTP) v22.0

  2. Connect to 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 on Finish to close the installation wizard of Erlang.

  4. Reboot if required to complete Erlang installation process.

RabbitMQ Installation

  1. Copy setup file of downloaded Rabbit MQ server module v3.7.17

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

  3. Confirm RabbitMQ service is installed and running, once the installation is completed.

ASP Dot NET Core Hosting Bundle Installation

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

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

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

  4. Close the setup wizard, once installation is completed

Dot NET Desktop Runtime Installation

  1. Connect to 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 on setup file windowsdesktop-runtime-3.1.14-win-x86.exe

  4. Close the setup wizard, once installation is completed

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

  6. Close the setup wizard, once installation is completed