-
Notifications
You must be signed in to change notification settings - Fork 34
/
Copy path_mysql-proxy.html.md.erb
35 lines (25 loc) · 1.24 KB
/
_mysql-proxy.html.md.erb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<%if vars.product_short == "PAS" %>
## <a id="proxy"></a>MySQL Proxy
<%end%>
<%= vars.product_full %> uses a proxy to send client connections
to the healthy MySQL database cluster nodes in a highly available cluster plan.
Using a proxy gracefully handles failure of nodes, enabling fast,
failover to other nodes within the cluster. When a
node becomes unhealthy, the proxy closes all connections to the unhealthy node
and re-routes all subsequent connections to a healthy node.
The proxy used in <%= vars.product_short %> is Switchboard.
Switchboard was developed to replace HAProxy as the proxy tier for the high
availability cluster for MySQL databases in PCF.
<% if vars.product_short == "MySQL for PCF" %>
<%= image_tag "switchboard-all-healthy.png" %>
<%end%>
Switchboard offers the following features:
- **MySQL Server Access**
MySQL clients communicate with nodes through this network port.
These connections are automatically passed through to the nodes.
- **Switchboard and API**
Operators can connect to Switchboard to view the state of the nodes.
<% if vars.product_short == "MySQL for PCF" %>
For more information about monitoring proxy health status, see
[Monitoring Node Health](./monitor-health.html).
<%end%>