How to Set Up a Load Balancer in Front of Operations Manager Director
search cancel

How to Set Up a Load Balancer in Front of Operations Manager Director

book

Article ID: 293492

calendar_today

Updated On:

Products

Operations Manager

Issue/Introduction

In some environments, you want access to the BOSH Director to go through a load balancer or reverse proxy. This allows you to expand access to the Director to resources that may not be on the same network or able to access the Ops Manager Director's network.

 


Environment


Resolution

The following instructions show how to setup a load balancer or reverse proxy in front of your Ops Manager Director.

1. Create the load balancer or reverse proxy. This may be done through your Information as a Service (IaaS) platform, like with an Amazon Web Services (AWS) Elastic Load Balancer (ELB), or it may be done manually, provisioning an external load balancer/reverse proxies like Nginx, Apache HTTPD or an F5.
Your load balancer or reverse proxy should use the following settings for its health check:

  • Target protocol TCP and port 8443
  • Timeout 2 seconds
  • Interval 5 seconds
  • Unhealthy threshold 5
  • Healthy threshold 2

2. Locate the Domain Name Server (DNS) name or IP address of the load balancer/reverse proxy. We recommend using a DNS name because this provides an additional layer of flexibility. If you use an IP address, you should use an IP address that will not change.

3. Go into the Ops Manager User Interface (UI), click the Director tile and select the Director Config screen. Paste the DNS name for the load balancer/reverse proxy into the Director Hostname text box.

4. If you are using AWS and an elastic load balancer, click the Resource Config screen. Enter the name of the ELB (not the DNS name but the actual name of the ELB in the AWS console).

5. Configure the rest of Ops Manager as you normally would do.

6. Apply Changes.


Impact

It is recommended that you use a DNS name instead of an IP address when configuring the load balancer / reverse proxy in step two above. With a DNS name, you have an additional layer of flexibility that makes it easier and faster in the event that you need to change the IP address of your load balancer or reverse proxy.