Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
cloudappliance/highavailabilitysetup [2019_10_29 00:33] – steven | cloudappliance/highavailabilitysetup [2020_02_14 15:34] – [Part III - Application Servers] dan | ||
---|---|---|---|
Line 1: | Line 1: | ||
===== SME File Fabric HA Setup "2 x 2" ===== | ===== SME File Fabric HA Setup "2 x 2" ===== | ||
+ | == last edited on Nov. 22, 2019 == | ||
==== Disclaimer ==== | ==== Disclaimer ==== | ||
Line 29: | Line 30: | ||
== Initial State == | == Initial State == | ||
- | This guide assumes you set up the four appliance | + | This guide assumes you set up the four appliances |
=== Preparation === | === Preparation === | ||
Line 73: | Line 74: | ||
# systemctl stop httpd | # systemctl stop httpd | ||
# systemctl stop cloudftp | # systemctl stop cloudftp | ||
+ | # systemctl stop crond | ||
# systemctl stop vsftpd | # systemctl stop vsftpd | ||
</ | </ | ||
Line 78: | Line 80: | ||
- | ==== Part II ==== | + | ==== Part II - Database Servers |
=== Configuring the Database Servers === | === Configuring the Database Servers === | ||
+ | |||
You must perform these steps to create a specialized database server from the standard SME appliance distribution. In this guide we also run memcached as a part of the DB server. | You must perform these steps to create a specialized database server from the standard SME appliance distribution. In this guide we also run memcached as a part of the DB server. | ||
Line 95: | Line 99: | ||
== crontab == | == crontab == | ||
- | You must also disable some jobs in crontab, these should only run on one application server. Again, as root on smesql01 and smesql02: | + | You must also disable some jobs in crontab. Again, as root on smesql01 and smesql02: |
< | < | ||
# crontab -e -u smestorage | # crontab -e -u smestorage | ||
Line 402: | Line 406: | ||
< | < | ||
- | ==== Part III ==== | + | ==== Part III - Application Servers |
+ | |||
+ | <WRAP center round important 100%> | ||
+ | If you will be using a load balancer to distribute traffic to your web servers, configure the load balancer to provide session stickiness. | ||
+ | </ | ||
=== Configure the application servers === | === Configure the application servers === | ||
+ | |||
In this section, you change the application server' | In this section, you change the application server' | ||
**These steps are repeated on both smeweb01 and smeweb02.** | **These steps are repeated on both smeweb01 and smeweb02.** | ||
Line 452: | Line 462: | ||
== crontab == | == crontab == | ||
- | You must also disable crontab | + | All of smestorage' |
**As root on smeweb02 only:** | **As root on smeweb02 only:** | ||
< | < | ||
Line 458: | Line 468: | ||
</ | </ | ||
- | Place a # in front of the seven jobs listed in the crontab schedule. For a screenshot, refer to the DB section above. | + | Place a # in front of six of the seven jobs listed in the crontab schedule; **do not place a # in front of the logroller job**. For a screenshot, refer to the DB section above. |
Restart both servers, so on both smeweb01 and smeweb02, execute a reboot. | Restart both servers, so on both smeweb01 and smeweb02, execute a reboot. |