This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Tutorial: Sentora Panel in a HA / Clustered Environment - ADVANCED USERS ONLY
#1
Tutorial: Sentora Panel in a HA / Clustered Environment - ADVANCED USERS ONLY
So I was able to easily (for me) to make Sentora work in a HA in a clustered environment just like I did with Zpanel in May 2014 (my old zpanel forum name was lcsunshine).

Sentora's new rewritten code handles sessions and mysql connections much better where as zpanel when talking to a Percona MySQL 5.5 cluster via a haproxy load balancer wouldn't display modules forcing a refresh.

Just as a quick disclosure I don't want to come off as a jerk but this is for the advanced / expert users/admins/sys engineers, if you don't know how to or what Percona XtraDB Cluster / MySQL Clustering, HAProxy, iSCSI/NFS SANs, Hypervisor are etc... STOP NOW and do not try this tutorial; read up on them, play with them first, and teach your self before you tackle this tutorial.

For this tutorial we are going to do this over the course of the next couple of days and use 1 pair of HAProxy Load balancers with keepalive and VRRP w/ virtual/floating IP address; for the Load Balancer builds I will just link to another tutorial which will show you how to do that, I will also just link to the Percona XtraDB 5.5 Instructions as well, I have no affiliation with these other sites I just feel they are the best directions with illustrations I found.

Besides not having a single point of failure, a benefit of clustering Sentora is the the ability to grow / expand in a shared hosting environment, this is essential the foundation for shared grid hosting over multiple nodes! The major paid server control panel vendors are behind the ball on this, and still have the mind set of: "1 server / 1 panel all my eggs in one basket".

So if you want to build a multi node HA Cluster for Sentora here is everything you are going to need.
  1. Your choice of cloud hypervisor: VMWare, Xen, HyperV, KVM etc
  2. One iSCSI/NFS SAN (clustered or single your choice; since we are trying to avoid a single point of failure a cluster iSCSI/NFS SAN is best)
  3. Six Virtual Servers (2 for Database Cluster we prefer Percona XtraDB v5.5, 2 for Load Balancers, 2 for the Sentora Panel Server & Services) running Centos 6.6 / 7 (For this tutorial I will use Centos 6.6)

Install Centos 6.6 on 2 VMs and Build your Percona XtraDB Cluster v5.5.X as outlined here unless you have your own method:
http://www.percona.com/doc/percona-xtradb-cluster/5.5/
http://www.percona.com/doc/percona-xtrad...ation.html

Install Centos 6.6 on 2 VMs and Build your HAProxy Cluster as outlined hereunless you have your own method:
Keepalived: http://tecadmin.net/ip-failover-setup-us...-redhat-6/
HAProxy: http://www.serverlab.ca/tutorials/linux/...-centos-6/

Install Centos 6.6 on 2 VMs  and run the Sentora install as outlined here:
http://docs.sentora.org/?node=7

We will continue this post tomorrow afternoon / night with the next steps......

Feel Free to ask questions in the mean time.

---
Donald DAvanzo
Chief Technology Officer
www.SinCityCloud.com
Reply
Thanks given by:


Messages In This Thread
Tutorial: Sentora Panel in a HA / Clustered Environment - ADVANCED USERS ONLY - by sincitycloud - 12-01-2014, 06:03 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
Secure Sentora Domains with Let's Encrypt TGates 27 97 ,137 06-08-2024, 05:06 PM
Last Post: andykimpe
Secure Sentora With SSLForFree Chris L 1 5 ,317 01-22-2020, 09:19 PM
Last Post: ralphharder
Fail2ban for Sentora (Centos 7) bbspike 14 48 ,675 01-14-2020, 07:32 AM
Last Post: Vedran B

Forum Jump:


Users browsing this thread: 2 Guest(s)