Recycled Cloud HA handler
This service supervises the various components of
the Recycled Cloud's High Availability
infrastruture. Documentation and source code can be
found on our
software forge.
Handler
<%= otp_app %> v<%= version %> (<%= env %>) running on <%= hostname %>
HAProxy
Frontends
Name |
Status |
Bytes in |
Bytes out |
<%= for entry <- Map.get(haproxy_stats, "Frontend") do %>
<%= entry["pxname"] %> |
<%= entry["status"] %> |
<%= entry["bin"] %> |
<%= entry["bout"] %> |
<% end %>
Backends
Name |
Status |
algo |
<%= for entry <- Map.get(haproxy_stats, "Backend") do %>
<%= entry["pxname"] %> |
<%= entry["status"] %> |
<%= entry["algo"] %> |
<% end %>
Servers
Name |
Status |
Mode |
Address |
<%= for entry <- Map.get(haproxy_stats, "Server") do %>
<%= entry["pxname"] %>/<%= entry["svname"] %> |
<%= entry["status"] %> |
<%= entry["mode"] %> |
<%= entry["addr"] %> |
<% end %>
PostgreSQL
Hostname |
Version |
Status |
Operation |
<%= for entry <- pgsql_status do %>
<%= entry[:hostname] %> |
<%= entry[:version] %> |
<%= entry[:status] %> |
<%= entry[:mode] %> |
<% end %>