Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
cloudappliance/highavailabilitysetup [2019_10_29 00:52]
steven
cloudappliance/highavailabilitysetup [2020_04_13 20:32] (current)
steven [Disclaimer]
Line 1: Line 1:
 ===== SME File Fabric HA Setup "2 x 2" ===== ===== SME File Fabric HA Setup "2 x 2" =====
 +== last edited on Feb.14, 2020 ==
 ==== Disclaimer ==== ==== Disclaimer ====
  
 The information in this document is provided on an as-is basis. You use it at your own risk.  We accept no responsibility for errors or omissions, nor do we have any obligation to provide support for implementing or maintaining the configuration described here.  Furthermore,​ we do not warrant that the design presented here is appropriate for your requirements. ​ The information in this document is provided on an as-is basis. You use it at your own risk.  We accept no responsibility for errors or omissions, nor do we have any obligation to provide support for implementing or maintaining the configuration described here.  Furthermore,​ we do not warrant that the design presented here is appropriate for your requirements. ​
  
-SME designs, implements and supports HA File Fabric solutions for customers on a paid professional services basis. ​ For more information please contact sales@storagemadeeasy.com+SME designs, implements and supports HA (High Availability) ​File Fabric solutions for customers on a paid professional services basis. ​ For more information please contact sales@storagemadeeasy.com
  
 ==== Introduction ==== ==== Introduction ====
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
 </​code>​ </​code>​
Line 97: 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:
 <​code>​ <​code>​
 # crontab -e -u smestorage # crontab -e -u smestorage
Line 405: Line 407:
  
 ==== Part III - Application Servers ==== ==== 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.
 +</​WRAP>​
  
 === Configure the application servers === === Configure the application servers ===
Line 456: Line 462:
  
 == crontab == == crontab ==
-You must also disable crontab ​on the smeweb02 servercrontab ​should ​only run from one application server.+All of smestorage'​s cron jobs should run on one of the application ​ servers; only one of smestorage'​s cron jobs, logroller, should run on the other  ​application server.
 **As root on smeweb02 only:** **As root on smeweb02 only:**
 <​code>​ <​code>​
Line 462: Line 468:
 </​code>​ </​code>​
  
-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.