File system replication - j5 - 30 - Installation & Upgrade - Hexagon

j5 Installation and Upgrade

Language
English
Product
j5
Search by Category
Installation & Upgrade
j5 Version
30

j5 and its component parts should be set up as similar as possible on the production and standby environments. This makes failover to the standby system as simple and predictable as possible.

File system replication must be used to ensure that data on disk (for example, attachments uploaded by users) is kept in sync between the production server and the standby server. File system replication can also be used to ensure that the application files and configuration are kept in sync across the servers.

There are many tools and methods available for backing up files and directories. This document refers to the program robocopy, which is installed as part of Windows, and is designed to keep directories and files synchronized across different servers. Sample robocopy scripts are provided in Example robocopy scripts.

More information about robocopy can be found here: Microsoft - Robocopy

To replicate the j5 file system, the following steps are required:

  1. Identical versions of the j5 system must be installed on production and standby environments, prior to setting up file system replication. (It is not sufficient to install on the production server and rely on file system replication to mirror the installation on the standby server, since that will not create the services, for instance.)

    If the process of installing the j5 system on the standby server automatically creates the j5 services, these should be set for Manual startup instead of Automatic startup.

  2. The backup user must have write permissions to the folders on both standby and production servers. It may be best to run the robocopy job as the j5 service user.

  3. A scheduled job must copy the j5 system files onto the corresponding folder on the standby server.

A script must be available to copy new files back from the standby server to the production server. This is used in the failback process when the production server is ready to be brought back online.