Progress Chef Automate and Infra Server
Contents
1 Introduction
Progress Chef Infra allows DevOps teams to define automation policies that are consistent, repeatable, and reusable. Progress Chef Automate provides single dashboard and analytics for the infrastructure automation.
The Progress LoadMaster delivers an exceptional, cost effective, and easy to use solution which (by employing intelligent server health checking, load balancing, high availability, and security) can support an always-on application experience for both Chef Infra and Chef Automate.
1.1 Document Purpose
This document provides the recommended LoadMaster settings used when providing load balancing for Chef. The Progress Support team is available to provide solutions for scenarios not explicitly defined. The Progress Kemp Support site can be found at: https://support.kemptechnologies.com.
1.2 Intended Audience
This document is intended to be read by anyone who is interested in configuring the LoadMaster to optimize Chef deployments.
2 Template
Progress Kemp has developed a template containing our recommended settings for this workload. You can install this template to help create Virtual Services (VSs) because it automatically populates the settings. You can use the template to easily create the required VSs with the recommended settings. For some workloads, additional manual steps may be required such as assigning a certificate or applying port following. These steps are covered in the document, if needed.
You can remove templates after use and this will not affect deployed services. If needed, you can make changes to any of the VS settings after using the template.
Download released templates from the following page: LoadMaster Templates.
For more information and steps on how to import and use templates, refer to the Virtual Services and Templates, Feature Description.
3 Architecture
Progress Chef deployments consist of multiple servers behind a load balancer. The Automate and Infra Servers can be deployed on the same systems or dedicated.
4 Configure the LoadMaster
Refer to the sections below for details on some recommended global settings.
4.1 Enable Subnet Originating Requests Globally
It is best practice to enable the Subnet Originating Requests option globally.
In a one-armed setup (where the Virtual Service and Real Servers are on the same network/subnet) Subnet Originating Requests is usually not needed. However, enabling Subnet Originating Requests should not affect the routing in a one-armed setup.
In a two-armed setup where the Virtual Service is on network/subnet A, for example, and the Real Servers are on network B, Subnet Originating Requests should be enabled on LoadMasters with firmware version 7.1-16 and above.
When Subnet Originating Requests is enabled, the Real Server sees traffic originating from 10.20.20.21 (LoadMaster eth1 address) and responds correctly in most scenarios.
With Subnet Originating Requests disabled, the Real Server sees traffic originating from 10.0.0.15 (LoadMaster Virtual Service address on eth0) and responds to eth0 which could cause asymmetric routing.
When Subnet Originating Requests is enabled globally, it is automatically enabled on all Virtual Services. If the Subnet Originating Requests option is disabled globally, you can choose whether to enable Subnet Originating Requests on a per-Virtual Service basis.
To enable Subnet Originating Requests globally, follow the steps below:
1. In the main menu of the LoadMaster User Interface (UI), go to System Configuration > Miscellaneous Options > Network Options.
2. Select the Subnet Originating Requests check box.
5 Virtual Services
This step-by-step setup of Virtual Services (VSs) leverages the Progress Kemp application template for Chef Infra and Chef Automate. This template configures the Virtual Services to publish Chef using HTTPS.
The table in each section outlines the settings configured by the application template. You can use this information to manually configure Virtual Services or use the Progress LoadMaster Application Programming Interface (API) and automation tools.
5.1 Create the Chef Infra Server– HTTPS Virtual Service
The following are the steps involved and the recommended settings to configure the Chef Infra HTTPS Virtual Service.
-
In the main menu of the LoadMaster User Interface (UI), go to Virtual Services > Add New.
-
Type a valid Virtual Address.
-
Select the Chef Infra Server template in the Use Template drop-down list.
-
Click Add this Virtual Service.
-
Click Virtual Services and View/Modify Services.
-
Click Modify on the Chef Infra Server Virtual Services on port 443.
-
Expand the Real Servers section.
-
Click Add New.
-
Type the Real Server Address.
-
Click Add This Real Server.
-
Repeat these steps to add more Real Servers as needed.
5.1.1 Chef Infra Server HTTPS Virtual Service Recommended Settings (Optional)
This table outlines the recommended settings set using the Progress Kemp application template. You can use the API parameters and values with scripts and automation tools.
API Parameter |
API Value |
WUI Field Name |
WUI Field Value |
port |
443 |
Port |
443 |
prot |
tcp |
Protocol |
tcp |
VStype |
http |
Service Type |
HTTP-HTTP/2-HTTPS |
Schedule |
lc |
Scheduling Method |
least connection |
Persist |
none |
Persistence Options |
None |
CheckType |
https |
Real Server Check Method |
HTTPS Protocol |
CheckPort |
443 |
Checked Port |
443 |
5.2 Create the Chef Automate – HTTPS Virtual Service
The following are the steps involved and the recommended settings to configure the Chef Automate HTTPS Virtual Service.
-
In the main menu of the LoadMaster User Interface (UI), go to Virtual Services > Add New.
-
Type a valid Virtual Address.
-
Select the Chef Automate template in the Use Template drop-down list.
-
Click Add this Virtual Service.
-
Click Virtual Services and View/Modify Services.
-
Click Modify on the Chef Automate Virtual Services on port 443.
-
Expand the Real Servers section.
-
Click Add New.
-
Type the Real Server Address.
-
Click Add This Real Server.
-
Repeat these steps to add more Real Servers as needed.
5.2.1 Chef Automate HTTPS Virtual Service Recommended Settings (Optional)
This table outlines the recommended settings set using the Progress Kemp application template. You can use the API parameters and values with scripts and automation tools.
API Parameter |
API Value |
WUI Field Name |
WUI Field Value |
port |
443 |
Port |
443 |
prot |
tcp |
Protocol |
tcp |
VStype |
http |
Service Type |
HTTP-HTTP/2-HTTPS |
Schedule |
lc |
Scheduling Method |
least connection |
Persist |
none |
Persistence Options |
None |
CheckType |
https |
Real Server Check Method |
HTTPS Protocol |
CheckPort |
443 |
Checked Port |
443 |
Last Updated Date
This document was last updated on 28 February 2023.