Changes between Initial Version and Version 1 of ServerMigration


Ignore:
Timestamp:
Apr 4, 2016, 9:32:15 PM (11 years ago)
Author:
steve.winter
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ServerMigration

    v1 v1  
     1= Moving the DB server =
     2Relocating the DB server requires only a minor change on the web server. The  following steps are necessary
     3 1. login to the web server either as root, or as another user through, ssh
     4 2. open the site config file for editing (you will need to use sudo if not logged in as root)
     5{{{
     6nano /var/www/vhosts/blincref.com/httpdocs-app/assets/implementation/impl.config
     7}}}
     8 3. locate the database configuration section and update the IP address of the fmpHost
     9{{{
     10fmpHost                                                         = xxx.yyy.zzz.aaa
     11}}}
     12 4. save and exit nano
     13All future requests will use the new !FileMaker host.
     14
     15= Placing the website offline =
     16If the website needs to be placed into offline mode (for example to allow time for a DB server migration) take the following steps
     17 1. login to the web server either as root, or as another user through, ssh
     18 2. open the site config file for editing (you will need to use sudo if not logged in as root)
     19{{{
     20nano /var/www/vhosts/blincref.com/httpdocs-app/assets/implementation/impl.config
     21}}}
     22 3. locate the 'other configuration' section and set the site mode to offline.
     23{{{
     24siteMode                                                        = offline
     25}}}
     26 4. save and exit nano
     27All requests from that moment forward will receive an error message saying that the site is offline and that they should try again at a later time.
     28
     29To put the site back online, follow the above steps, however set the siteMode as online
     30{{{
     31siteMode                                                        = online
     32}}}