Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
cloudappliance/highavailabilitysetup [2019_10_29 00:33] stevencloudappliance/highavailabilitysetup [2019_10_29 00:52] steven
Line 29: Line 29:
  
 == Initial State == == Initial State ==
-This guide assumes you set up the four appliance following the instructions in the Appliance Installation guide. For easy failover of the application in case of a database failover, you must assign a virtual IP address for the database servers. This will mean that you can change the primary DB server without changing the configuration on the application servers. There are many ways in Linux to configure automatic failover of the VIP, but this guide will configure the DB servers requiring manual failover. This is often preferred in our scenario of master - slave replication.+This guide assumes you set up the four appliances following the instructions in the Appliance Installation guide. For easy failover of the application in case of a database failover, you must assign a virtual IP address for the database servers. This will mean that you can change the primary DB server without changing the configuration on the application servers. There are many ways in Linux to configure automatic failover of the VIP, but this guide will configure the DB servers requiring manual failover. This is often preferred in our scenario of master - slave replication.
  
 === Preparation === === Preparation ===
Line 78: Line 78:
  
  
-==== 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 402: Line 404:
 <code>exit </code> <code>exit </code>
  
-==== Part III ====+==== Part III - Application Servers ==== 
 === Configure the application servers === === Configure the application servers ===
 +
 In this section, you change the application server's configuration to the database server by editing the PHP configuration directly from command line. By default, the database host is localhost.  In this section, you change the application server's configuration to the database server by editing the PHP configuration directly from command line. By default, the database host is localhost. 
 **These steps are repeated on both smeweb01 and smeweb02.** **These steps are repeated on both smeweb01 and smeweb02.**