Skip to content

Controller v3.3-R3 or Later

In this section, details of HyWorks Controller installation of version v3.3-R3 or later will be given.

Note

  • Running HyWorks setup from from UNC path is not supported and will result in setup failure. It is needed to copy HyWorks setups locally on target servers instead of running them from UNC path.
  • Running HyWorks setup may also fail during file extraction, if logged-in user is having roaming profile. In this case, login with local administrator user will be required.

Important Options in HyWorks Controller Installation Wizard

Appropriate options should be selected and configured during controller installation as per deployment needs, below are some of such options:

Components to Install During installation, following components of HyWorks management layer can be installed:

  1. HyWorks Controller Service: Select this option, if server should be set as HyWorks Controller node.
  2. HyWorks Controller Management Console: Select this option, if server should be used for hosting Management Console web application as well. Management Console should not be installed on servers functioning in broker role.
  3. Accops HyWorks Reservation Management Service: Not needed for common HyWorks deployments. Option will be enabled only when management console is installed on the same server. HyLabs or Reservation Management Services should only be installed, if deployment is intended to have HyLabs as well.

Deployment Modes HyWorks Controller can be installed in following modes:

  1. Two-node Active-Passive Cluster: Two HyWorks controller nodes can be installed on two identical Windows servers and can be joined to form a cluster with only one HyWorks controller acting as master or primary to serve and manage. This deployment mode can be used to serve up to 2500 concurrent user sessions. This mode should be used for deploying standalone HyWorks Controller, which can be used for some quick verification or evaluation. Deploying HyWorks controller as standalone server

  2. Multi-node Active-Active Cluster: Multiple HyWorks Controller nodes are installed with appropriate roles (node type) to form a multi-node cluster. Two HyWorks nodes functions as management nodes to manage complete HyWorks infrastructure, where as one or more HyWorks nodes can be installed as broker nodes to handle client and session host server requests. Multi-node setup requires external load balancer to distribute traffic among broker (session) nodes. This deployment mode should be used for larger deployments, going to have more than 2500 concurrent user sessions.

Database High-availability Configuration Database high-availability can be achieved using following two mechanisms:

  1. SQL Server Managed Database High Availability: In this mechanism HyWorks requires clustered SQL servers behind a single access point. Database availability will be managed by SQL Servers and HyWorks will simply access it on address provided.

  2. HyWorks Managed Database High Availability: In this mechanism, HyWorks manages database high availability. HyWorks initiates syncing of databases every minute using Microsoft Sync Framework.

Roles (Node) Types HyWorks Controllers can have following two roles in deployments:

  1. Management Node: Management node will be responsible for communication with session providers and managing HyWorks deployments. But will not participate in endpoint requests handling (Login, connections etc.) or session updates by session host servers.

  2. Broker (Session) Node: Broker node will be performing all brokering tasks i.e. taking endpoint requests and getting session updates. Broker nodes will not participate in management activities.

SQL Server Authentication Mechanism HyWorks Controller supports following two authentication mechanism:

  1. SQL Server Authentication: This authentication mechanism uses username and password to connect to SQL Server for database creation and management by HyWorks Controller service.

  2. Windows Authentication: Using Windows authentication, will require HyWorks Controller service to run with user credentials. The configured user must have rights to logon as service on server and must have access to SQL server for database creation and management.

    1. If either of the databases (Service database or Log database) is configured to use Windows authentication, HyWorks Controller service must be configured to run with user account having logon as a service rights on server.

    2. While installing broker node, if HyWorks Controller management nodes are installed with Windows authentication, broker node will also use Windows authentication and will require to run with user account having logon as a service rights on server.

High-level Workflow for Cluster Deployments (Combinations)

Using HyWorks Controller installation wizard administrator will be able to configure Windows server to perform specific role in HyWorks management. In this section of the document, steps to deploy HyWorks Controller in specific role will be provided.

Two-node Active-Passive Cluster

Follow below flow for installing controllers for two-node active-passive cluster:

  1. Install HyWorks Controller# 1: Using instructions as provided below
    1. Welcome screen: Proceed with default option
    2. License and Agreement screen: Proceed by agreeing to terms and conditions
    3. Installation Path screen: Configure as per requirements
    4. Component Selection Screen: Select following components
      • HyWorks Controller Service
      • HyWorks Controller Management Console
    5. Deployment Type: Select as Two-node Active-Passive Cluster
    6. Service Database Configuration Screen: SQL Server address with instance name, database and authentication configuration (Windows authentication or SQL Server Authentication), as per requirement.
    7. Log Database Configuration Screen: SQL Server address with instance name, database and authentication configuration (Windows authentication or SQL Server Authentication), as per requirement. It is recommended to have a different instance of SQL server for log database and not to use same instance on which HyWorks service database is configured.
    8. Restore Database: Don't select anything and proceed.
    9. HyWorks Controller Administrators: As per requirement and setup
    10. Service Logon Credentials: As per requirement and setup
    11. Port Settings: Use default (38866 for Controller service and 443 for management console) or as per requirement
    12. Finish the setup and one management node of HyWorks controller will be ready for two-node active-passive cluster deployment.
  2. Install HyWorks Controller# 2: Follow exactly same steps as used for HyWorks Controller# 1 installation:
    1. A different Windows Server with identical configuration should be used
    2. Service Database Configuration and Log Database Configuration should use a different instance of SQL server, than HyWorks Controller# 1 and authentication mechanism should be same.
    3. Installation will get completed and second node of HyWorks controller will be ready for two-node active-passive cluster deployment.
  3. Join to Cluster: The two HyWorks controllers can be joined into Cluster from Management Console of either of them to form a two-node active-passive cluster.

Multi-node Active-Active Cluster with HyWorks Managed Database High Availability

To deploy Multi-node Active-Active Cluster with HyWorks Managed Database High Availability, follow below high-level steps

  1. Install HyWorks Controller Management Node# 1: Using instructions as provided below
    1. Welcome screen: Proceed with default option
    2. License and Agreement screen: Proceed by agreeing to terms and conditions
    3. Installation Path screen: Configure as per requirements
    4. Component Selection Screen: Select following components
      • HyWorks Controller Service
      • HyWorks Controller Management Console
    5. Deployment Type: Select as Multi-node Active-Active Cluster
    6. Cluster Configuration:
      1. Roles to install: Set as Management Node
      2. Database High Availability: Select as **HyWorks Managed Database High Availability)
    7. Service Database Configuration Screen: SQL Server address with instance name, database and authentication configuration (Windows authentication or SQL Server Authentication), as per requirement.
    8. Log Database Configuration Screen: SQL Server address with instance name, database and authentication configuration (Windows authentication or SQL Server Authentication), as per requirement. It is recommended to have a different instance of SQL server for log database and not to use same instance on which HyWorks service database is configured.
    9. Restore Database: Don't select anything and proceed.
    10. HyWorks Controller Administrators: As per requirement and setup
    11. Service Logon Credentials: As per requirement and setup
    12. Port Settings: Use default (38866 for Controller service and 443 for management console) or as per requirement
    13. Finish the setup and one node of HyWorks controller will be ready for two-node active-passive cluster deployment.
  2. Install HyWorks Controller Management Node# 2: Follow exactly same steps as used for HyWorks Controller Management Node# 1 installation:
    1. A different Windows Server with identical configuration should be used
    2. Service Database Configuration and Log Database Configuration should use a different instance of SQL server, than HyWorks Controller# 1 and authentication mechanism should be same.
    3. Installation will get completed and second node of HyWorks controller will be ready for two-node active-passive cluster deployment.
  3. Join to Cluster: The two HyWorks controllers can be joined into Cluster from Management Console of either controller server. Broker nodes will be added in to the cluster later.
  4. Install HyWorks Controller Broker Nodes: Follow below steps to install one or more broker nodes and configure into this multi-node active-active HyWorks managed database high availability cluster
    1. Welcome screen: Proceed with default option
    2. License and Agreement screen: Proceed by agreeing to terms and conditions
    3. Installation Path screen: Configure as per requirements
    4. Component Selection Screen: Select only HyWorks Controller Service. Do not install management console on broker node.
    5. Deployment Type: Select as Multi-node Active-Active Cluster
    6. Cluster Configuration:
      1. Roles to install*: Set as Broker Node**
      2. *Broker Node Configuration: Set as HyWorks Controller Management Node# 1 and HyWorks Controller Management Node# 2 as installed and configured in step# 1/2.
    7. Log Database Configuration Screen: SQL Server address with instance name, database and authentication configuration same as used for log-database configuration of Management node# 1 log-database. Broker node will push logs to currently primary management node.
    8. Service Logon Credentials: Same as management nodes.
    9. Port Settings: Use default (38866 for Controller service) or as per requirement
    10. Finish the setup and one node of HyWorks controller broker node will be installed and become member of multi-node cluster deployment with HyWorks managed database availability.
    11. Repeat these steps to add more broker nodes in the deployment.

Multi-node Active-Active Cluster with SQL Managed Database High Availability

To deploy Multi-node Active-Active Cluster with HyWorks Managed Database High Availability, follow below high-level steps

  1. Install HyWorks Controller Management Node# 1: Using instructions as provided below
    1. Welcome screen: Proceed with default option
    2. License and Agreement screen: Proceed by agreeing to terms and conditions
    3. Installation Path screen: Configure as per requirements
    4. Component Selection Screen: Select following components - HyWorks Controller Service - HyWorks Controller Management Console
    5. Deployment Type: Select as Multi-node Active-Active Cluster
    6. Cluster Configuration: 1. Roles to install: Set as Management Node 2. Database High Availability: Select as SQL Server Managed Database High Availability)
    7. Service Database Configuration Screen: *SQL Server cluster address with instance name, database and authentication configuration (Windows authentication or SQL Server Authentication), as per requirement.
    8. Log Database Configuration Screen: SQL Server address with instance name, database and authentication configuration (Windows authentication or SQL Server Authentication), as per requirement. It is recommended to have a different instance of SQL server for log database and not to use same instance on which HyWorks service database is configured.
    9. Restore Database: Don't select anything and proceed.
    10. HyWorks Controller Administrators: As per requirement and setup
    11. Service Logon Credentials: As per requirement and setup
    12. Port Settings: Use default (38866 for Controller service and 443 for management console) or as per requirement
    13. Finish the setup and one management node of HyWorks controller will be ready for two-node active-passive cluster deployment.
  2. Install HyWorks Controller Management Node# 2: Follow exactly same steps as used for HyWorks Controller Management Node# 1 installation:
    1. A different Windows Server with identical configuration should be used
    2. Service Database Configuration: Should be exactly same as configured for first management node. As both controllers will be pointing to same database instance and SQL server will manage database high availability.
      1. During installation of second management node, it will prompt to confirm reconfiguration of database, select as No to proceed without reconfiguring database.
    3. Log Database Configuration should use a different instance than HyWorks Controller# 1. However authentication mechanism should be same.
    4. Installation will get completed and second management node of HyWorks controller will be ready for two-node active-passive cluster deployment.
  3. Install HyWorks Controller Broker Nodes: Follow below steps to install one or more broker nodes and configure into this multi-node active-active HyWorks managed database high availability cluster
    1. Welcome screen: Proceed with default option
    2. License and Agreement screen: Proceed by agreeing to terms and conditions
    3. Installation Path screen: Configure as per requirements
    4. Component Selection Screen: Select only HyWorks Controller Service. Do not install management console on broker node.
    5. Deployment Type: Select as Multi-node Active-Active Cluster
    6. Cluster Configuration:
      1. Roles to install*: Set as Broker Node**
      2. *Broker Node Configuration: Set as HyWorks Controller Management Node# 1 and HyWorks Controller Management Node# 2 as installed and configured in step# 1/2.
    7. Log Database Configuration Screen: SQL Server address with instance name, database and authentication configuration same as used for log-database configuration of Management node# 1 log-database. Broker node will push logs to currently primary management node.
    8. Service Logon Credentials: Same as management nodes.
    9. Port Settings: Use default (38866 for Controller service) or as per requirement
    10. Finish the setup and one node of HyWorks controller broker node will be installed and become member of multi-node cluster deployment with HyWorks managed database availability.
    11. Repeat these steps to add more broker nodes in the deployment.

HyWorks Controller Installation Wizard Flow

In this section, details of HyWorks Controller installation for different types of deployments will be given.

  1. Log in to Windows Server with user credentials with local administrator rights

  2. Copy the Accops HyWorks Controller installer to Windows Server having all prerequisites configured. Refer Software Requirements to check the Software Requirements for Accops HyWorks Controller.

    Important

    • HyWorks Controller v3.3-R3 or later setup is having integrated Microsoft Sync framework and thus it is not needed to be installed separately
  3. Right click the installer to launch the Installation wizard and select option Run as Administrator

  4. Click Next on the welcome Screen to proceed with the installation.

  5. Accept license agreement and click Next to proceed.

  6. Change the installation directory, if required and click Next to proceed. The default installation folder is "C:\Program Files (x86)\Accops".

  7. Select following HyWorks Components to be installed

    1. Accops HyWorks Controller Service: Must be selected

    2. Accops HyWorks Management Console: Should be selected. Usually in two-node deployments management console is installed with HyWorks controller service.

    3. Accops HyWorks Reservation Management Service: Not to be selected. It should be selected only if same HyWorks server to be used for HyLabs deployment and usage.

  8. Deployment Type: Select deployment type as per requirement and click on Next button. Installer wizard flow will be decided from deployment type selected at this step.

    • Two-node Active-Passive Cluster: Select this to deploy two-node cluster with one node working as active at a time. Choosing this option will not require cluster configuration screen, jump to step# 10 for two node deployment.
    • Multi-node Active-Active Cluster: Select this mode to deploy multiple HyWorks Controllers and configure with appropriate roles (management/ Broker node). Choosing this option will require administrator to set cluster configuration options.

  9. Cluster Configuration: Choosing Deployment Type as Multi-node Active-Active Cluster Deployment, will require administrator to select Roles to install. In multi-node deployment, HyWorks Controller will be installed to function as management node or broker node and will perform role specific tasks.

    1. Management Node: Select Roles to install as Management Node, to configure server as HyWorks Controller Management node for multi-node deployment. Management node installation will require configuring database high availability. HyWorks supports following two mechanisms:

      1. SQL Server Managed Database High Availability: HyWorks will be configured with SQL cluster, available on single access point. Database high availability will be taken care by SQL cluster. Both HyWorks Management nodes will be pointing to same database.

      2. HyWorks Managed Database High Availability: HyWorks will be managing database availability by syncing databases between primary and secondary HyWorks management nodes. Both management nodes will be having their own databases.

      Database High Availability

    2. Broker Node: If this server should be installed as HyWorks Controller broker node. While configuring this server as broker node, administrator will be needed to provide host address of both of the management nodes.

      1. Broker Node Configuration: Provide information of host-address and port-number of both management nodes, e.g. mgmtsrv1:38866 or 192.168.1.1:38866. On providing management node address, broker node will automatically get database configurations and will not require database configurations. Jump to step# 11 for broker node installation.

      Broker Node Configuration

  10. Click Next and proceed to configure Service database. (Not applicable for broker nodes, jump to step# 11 for broker node installation). Configure service database appropriately using following configurations and click on next button to proceed:

    1. Database Information: Database Server address, static TCP port to connect to SQL Server, database name.
      • Database Address in the format - <Server IP or FQDN>\\<SQL Instance Name>. e.g. if SQL Express is installed on the same instance then Database address could be localhost\SQLExpress for Microsoft SQL Server standard and Enterprise: localhost\MSSQLSERVER (for named instance)
    2. Port: Provide the static port of Microsoft SQL Server e.g. 1433 (Default TCP Port for SQL Server)

      • Database Name: Provide the name of the database to be created. Default name is EDCDB.
    3. Authentication mechanism: HyWorks supports following two authentication mechanism:

      1. SQL Server Authentication. It will require SQL Server User and Password.
      2. Windows Authentication. Use user credentials to connect to SQL Server. User credentials will be taken in next screen and will be used to run HyWorks Controller service.
      3. Service Database Configurations as per Deployment and Node Type: Here we will try to list out database configurations to be followed for different types of deployments and node types:
        1. Management Nodes for Two-node cluster or Multi-node cluster with HyWorks Managed Database High Availability
          • Both management nodes should point to different SQL servers to be configured for database.
        2. Management Nodes for Multi-node cluster with SQL Server Managed Database High Availability
          • Both management nodes must use same SQL server cluster address, port number and database name.

    Important

    During installation of 2nd management node for multi-node deployment with SQL server managed database, on providing service database information same as first management node, prompt will be shown to confirm action:

    1. Recommended to click on No button, to avoid re-configuration of database as it is already configured during installation of first management node and 2nd management node is pointing to same database.

    2. Re-configure existing database: Click on Yes button to proceed with re-configuring database, which was already configured during installation of first management node. The action is not recommended during installation of 2nd management node in SQL server managed database high availability case.

    1. In cases, where lower version of database exists and change prompt comes up or administrator is not knowing if database configurations are done previously or not, then administrator can opt to click on Yes button and re-configure database.
  11. Click Next to proceed to configure Log server. Log database configuration should be done as specified below:

    1. Database Information: Database Server address, static TCP port to connect to SQL Server, database name.
      1. Database Address in the format - <Server IP or FQDN>\\<SQL Instance Name>. e.g. if SQL Express is installed on the same instance then Database address could be localhost\SQLExpress for Microsoft SQL Server standard and Enterprise: localhost\MSSQLSERVER (for named instance)
    2. Port: Provide the static port of Microsoft SQL Server e.g. 1433 (Default TCP Port for SQL Server)
      1. Log Database Name: Provide the name of the database to be created. Default name is HyLog.
    3. Select appropriate Authentication mechanism:
      1. SQL Server Authentication. It will require SQL Server User and Password.
      2. Windows Authentication. Use user credentials to connect to SQL Server. User credentials will be taken in next screen and will be used to run HyWorks Controller service.
    4. Log Database Configurations as per Deployment and Node Type:
      1. Management Nodes for Two-node cluster or Multi-node cluster with HyWorks or SQL Managed Database High Availability
        • Both management nodes should point to different instance of SQL server to be configured as log database.
      2. Broker Nodes
        • Broker nodes should use log-database configurations, same as primary management node. This will help administrator to check any failures occurring on broker nodes from management console of primary management node itself.
        • Broker nodes also fetch log database information of secondary management node and in case of switching between management nodes, broker nodes also switch log-database.
        • During broker node log-database configuration and pointing to log-database of primary management node, prompt will be shown, stating 'Database already exists', click on Yes button to proceed.
  12. Click Next to configure the Service Logon Credentials for HyWorks Controller Service. You can either set Local System Account or use current account to log on.

    1. Local System Account: HyWorks controller service will run using Local System Account as service logon credentials.. The option will be used when HyWorks Controller service database configuration uses SQL Server Authentication.
    2. This Account: Configuring SQL Server with Windows Credentials require logon credentials to run the HyWorks Controller service. When HyWorks Controller database connection is made using Windows Authentication, option to run service with specific user credentials in shown. When service runs with specific user credentials, the same user is used to connect to SQL server.
      • Refer section Logon as a service for detailed instructions on how to provide logon as a service rights to user.
  13. Click Next to move to Restore database screen. For first time installation, click on Next button to move to next screen.

    • Select Restore database option Only in cases, where HyWorks node should be restored from backed-up database to use existing data.

  14. Click Next to configure communication ports.

    1. Default port for Accops HyWorks Controller Service is 38866. Change if required.

    2. Default port for Accops HyWorks Management Console is 443. Change if required.

  15. Click Next to configure HyWorks Controller administrators. You can either set Domain User Group or Local User as administrator:

    1. Domain Group Configuration: Domain User Group configured as super-administrator. To configure Domain User group, make sure:

      1. System is in domain

      2. User is logged in with domain credentials and having administrative privileges on server.

    2. Local User Configuration: Local HyWorks user created and designated as Super-administrator. To create a local user administrator, provide the username (default is HyWorksAdmin) and password.

  16. Click Next. Verify information displayed on Confirmation screen and click Install to start the installation.

  17. This will start installation and appropriate roles and feature will be installed. Screen will display status and updates of installation progress as:

    1. Component being installed
    2. Installation status of the component
    3. Progress bar and related information of the changes being made to the system

  18. Once the installation is complete, screen displays:

    1. Installation status of individual components
    2. URL of Accops HyWorks Management Console (if Installed)

Installation Verification

Administrator can verify the successful installation by verifying the installation logs and services running as given below:

  1. Setup Status Prompt

    Setup Status is displayed on the last screen of installation. It displays details about all the installed components and their respective status.

  2. Access and log-in to Accops HyWorks Management Console

    1. After the successful installation, open Supported browser (IE11, Firefox or Google Chrome) and type the URL: https://\<IP of HyWorks Controller>:\<port number> e.g.,

    2. Provide appropriate credentials to log in.

Installation Logs

For any troubleshooting or verification purpose, HyWorks installation logs can be used. Installation logs are created at following location:

%appdata%\HyWorksController\Logs