<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>17.2. Management Server Load Balancing</title><link rel="stylesheet" type="text/css" href="Common_Content/css/default.css" /><link rel="stylesheet" media="print" href="Common_Content/css/print.css" type="text/css" /><meta name="generator" content="publican 2.8" /><meta name="package" content="Apache_CloudStack-Admin_Guide-4.2.0-en-US-1-" /><script type="text/javascript" src="../../../../../toc.js"></script><script type="text/javascript">
              addID('Apache_CloudStack');
              
	      addID('Apache_CloudStack.4.2.0');
              
              addID('Apache_CloudStack.4.2.0.books');
	      addID('Apache_CloudStack.4.2.0.Admin_Guide');
              </script><link rel="home" href="index.html" title="CloudStack Administrator's Guide" /><link rel="up" href="sys-reliability-and-ha.html" title="Chapter 17. System Reliability and High Availability" /><link rel="prev" href="ha-management-server.html" title="17.1. HA for Management Server" /><link rel="next" href="ha-enabled-vm.html" title="17.3. HA-Enabled Virtual Machines" /></head><body class="toc_embeded "><div id="tocdiv" class="toc"><iframe id="tocframe" class="toc" src="../../../../toc.html">This is an iframe, to view it upgrade your browser or enable iframe display.</iframe></div><p id="title"><a class="left" href="http://cloudstack.apache.org"><img src="Common_Content/images/image_left.png" alt="Product Site" /></a><a class="right" href="http://cloudstack.apache.org/docs"><img src="Common_Content/images/image_right.png" alt="Documentation Site" /></a></p><ul class="docnav"><li class="previous"><a accesskey="p" href="ha-management-server.html"><strong>Prev</strong></a></li><li class="next"><a accesskey="n" href="ha-enabled-vm.html"><strong>Next</strong></a></li></ul><div xml:lang="en-US" class="section" id="management-server-lb" lang="en-US"><div class="titlepage"><div><div><h2 class="title">17.2. Management Server Load Balancing</h2></div></div></div><div class="para">
		CloudStack can use a load balancer to provide a virtual IP for multiple Management Servers. The administrator is responsible for creating the load balancer rules for the Management Servers. The application requires persistence or stickiness across multiple sessions. The following chart lists the ports that should be load balanced and whether or not persistence is required.
	</div><div class="para">
		Even if persistence is not required, enabling it is permitted.
	</div><div class="informaltable"><table border="1"><colgroup><col width="25%" /><col width="25%" /><col width="25%" /><col width="25%" /></colgroup><thead><tr><th class="" align="left">
						<div class="para">
							Source Port
						</div>
					</th><th class="" align="left">
						<div class="para">
							Destination Port
						</div>
					</th><th class="" align="left">
						<div class="para">
							Protocol
						</div>
					</th><th class="" align="left">
						<div class="para">
							Persistence Required?
						</div>
					</th></tr></thead><tbody><tr><td class="" align="left">
						<div class="para">
							80 or 443
						</div>
					</td><td class="" align="left">
						<div class="para">
							8080 (or 20400 with AJP)
						</div>
					</td><td class="" align="left">
						<div class="para">
							HTTP (or AJP)
						</div>
					</td><td class="" align="left">
						<div class="para">
							Yes
						</div>
					</td></tr><tr><td class="" align="left">
						<div class="para">
							8250
						</div>
					</td><td class="" align="left">
						<div class="para">
							8250
						</div>
					</td><td class="" align="left">
						<div class="para">
							TCP
						</div>
					</td><td class="" align="left">
						<div class="para">
							Yes
						</div>
					</td></tr><tr><td class="" align="left">
						<div class="para">
							8096
						</div>
					</td><td class="" align="left">
						<div class="para">
							8096
						</div>
					</td><td class="" align="left">
						<div class="para">
							HTTP
						</div>
					</td><td class="" align="left">
						<div class="para">
							No
						</div>
					</td></tr></tbody></table></div><div class="para">
		In addition to above settings, the administrator is responsible for setting the 'host' global config value from the management server IP to load balancer virtual IP address. If the 'host' value is not set to the VIP for Port 8250 and one of your management servers crashes, the UI is still available but the system VMs will not be able to contact the management server.
	</div></div><ul class="docnav"><li class="previous"><a accesskey="p" href="ha-management-server.html"><strong>Prev</strong>17.1. HA for Management Server</a></li><li class="up"><a accesskey="u" href="#"><strong>Up</strong></a></li><li class="home"><a accesskey="h" href="index.html"><strong>Home</strong></a></li><li class="next"><a accesskey="n" href="ha-enabled-vm.html"><strong>Next</strong>17.3. HA-Enabled Virtual Machines</a></li></ul></body></html>
