Kemp Support, how can we help?

The latest application delivery knowledge and expertise at your fingertips.

Progress Chef Automate and Infra Server

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 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

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 on the Kemp Documentation page.

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.

Architecture.png

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.

Enable Subnet Originating Requests Globally v.2.png

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 Kemp 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.

  1. In the main menu of the LoadMaster User Interface (UI), go to Virtual Services > Add New.

    Virtual Service_01.png

  2. Type a valid Virtual Address.

  3. Select the Chef Infra Server template in the Use Template drop-down list.

  4. Click Add this Virtual Service.

  5. Click Virtual Services and View/Modify Services.

  6. Click Modify on the Chef Infra Server Virtual Services on port 443.

  7. Expand the Real Servers section.

  8. Click Add New.

  9. Type the Real Server Address.

  10. Click Add This Real Server.

  11. Repeat these steps to add more Real Servers as needed.

5.1.1 Chef Infra Server HTTPS Virtual Service Recommended API Settings (Optional)

This table outlines the API parameters and values set using the Progress Kemp application template. You can use these settings with scripts and automation tools.

API Parameter

API Value

port

443

prot

tcp

VStype

http
Schedule lc
Persist none
CheckType https
CheckPort 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.

  1. In the main menu of the LoadMaster User Interface (UI), go to Virtual Services > Add New.

    Virtual Service_02.png

  2. Type a valid Virtual Address.

  3. Select the Chef Automate template in the Use Template drop-down list.

  4. Click Add this Virtual Service.

  5. Click Virtual Services and View/Modify Services.

  6. Click Modify on the Chef Automate Virtual Services on port 443.

  7. Expand the Real Servers section.

  8. Click Add New.

  9. Type the Real Server Address.

  10. Click Add This Real Server.

  11. Repeat these steps to add more Real Servers as needed.

5.2.1 Chef Automate HTTPS Virtual Service Recommended API Settings (Optional)

This table outlines the API parameters and values set using the Progress Kemp application template. You can use these settings with scripts and automation tools.

API Parameter

API Value

port

443

prot

tcp

VStype

http
Schedule lc
Persist none
CheckType https
CheckPort 443

Last Updated Date

This document was last updated on 01 September 2022.


Comments