cloudstack-users-cn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 张能钦 <zhan...@yanxintec.com>
Subject 管理节点负载均衡
Date Thu, 02 Apr 2015 09:44:12 GMT
在官网里面看管理节点的 负载均衡 。它没有讲都能用什么啊,就用lvs或者haproxy或者nginx那种可以吗?谢谢
HA for Management Server

The CloudStack Management Server should be deployed in a multi-node configuration such that
it is not susceptible to individual server failures. The Management Server itself (as distinct
from the MySQL database) is stateless and may be placed behind a load balancer.

Normal operation of Hosts is not impacted by an outage of all Management Serves. All guest
VMs will continue to work.

When the Management Server is down, no new VMs can be created, and the end user and admin
UI, API, dynamic load distribution, and HA will cease to work.

Management Server Load Balancing

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.

Source port     Destination port        Protocol        Persistence Required?
80 or 443       8080 (or 20400 with AJP)        HTTP (or AJP)   Yes
8250    8250    TCP     Yes

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.



Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message