wiki:ServerMigration

Version 1 (modified by steve.winter, 11 years ago) (diff)

--

Moving the DB server

Relocating the DB server requires only a minor change on the web server. The following steps are necessary

  1. login to the web server either as root, or as another user through, ssh
  2. open the site config file for editing (you will need to use sudo if not logged in as root)
    nano /var/www/vhosts/blincref.com/httpdocs-app/assets/implementation/impl.config
    
  3. locate the database configuration section and update the IP address of the fmpHost
    fmpHost                                                         = xxx.yyy.zzz.aaa
    
  4. save and exit nano

All future requests will use the new FileMaker host.

Placing the website offline

If the website needs to be placed into offline mode (for example to allow time for a DB server migration) take the following steps

  1. login to the web server either as root, or as another user through, ssh
  2. open the site config file for editing (you will need to use sudo if not logged in as root)
    nano /var/www/vhosts/blincref.com/httpdocs-app/assets/implementation/impl.config
    
  3. locate the 'other configuration' section and set the site mode to offline.
    siteMode                                                        = offline
    
  4. save and exit nano

All 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.

To put the site back online, follow the above steps, however set the siteMode as online

siteMode                                                        = online

Attachments (1)

Download all attachments as: .zip