Support UniversalBit Project -- Disambiguation -- Bash Reference Manual -- Join Mastodon -- Website -- Content Delivery Network
High Availability Clusters HArmadillium
The ha_cluster_setup.sh
script is a beginner-friendly starting point for setting up a High Availability (HA) cluster. It simplifies and accelerates the installation process by automating the basic steps while skipping detailed configurations for advanced tools like corosync
and pcs
. This allows users to quickly install required components and focus on further customization later.
-
Basic Installation:
- Installs critical HA tools like
corosync
,pacemaker
,pcs
, and supporting tools such asufw
,haproxy
,fail2ban
,nginx
, andapache2
. - Automates dependency installation, reducing manual setup time.
- Installs critical HA tools like
-
Static IP Configuration:
- Guides users through setting up a static IP with a generated
netplan
configuration. - Ensures the system is network-ready before starting advanced HA configurations.
- Guides users through setting up a static IP with a generated
-
SSL Certificate Setup:
- Includes a simple method for generating self-signed SSL certificates for Nginx and Apache2.
- Ensures HTTPS readiness without requiring external certificate management.
-
Default Service Setup:
- Starts and enables basic services like
HAProxy
,Fail2Ban
,nginx
, andapache2
with minimal configurations. - Provides example configurations for Nginx and Apache2 to get services running quickly.
- Starts and enables basic services like
-
Service Status Check:
- Displays the status of critical services at the end, helping users verify that the basic setup is complete.
- Corosync and PCS: While these tools are installed, no advanced cluster configuration is included. Users will need to configure
corosync
andpcs
manually based on their specific HA cluster requirements. - Purpose: The script is focused on speeding up the initial setup rather than providing a fully configured HA environment.
This script is an excellent tool for beginners who want to quickly set up the foundational components of an HA cluster and explore further configurations at their own pace.
- ThinClient HPT610 : Specifications
- ThinClient HPT630 : Specifications
Operative System:
Basic Security (If needed,use this: SELKS)
- UFW -- UFW Firewall setup
- Haproxy -- Haproxy github repository: -- Haproxy and Load Balancing Concepts
- Fail2ban -- Protect WebServer with Fail2ban
- Haveged (Haveged inspired algorithm has been included in the Linux kernel )
apt install ufw haproxy fail2ban
systemctl enable ufw haproxy fail2ban