Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note
iconfalse
titleDo not replicate directories installed by the Zend Server Licensed Program

It is important not to replicate directories that are registered to a Licensed Program.  This This is particularly true for an application like Zend Server where the customer makes changes in the registered directories.  SoSo, we strongly recommend not to replicate /www/zendphp7 zendphp74 and /usr/local/zendphp7zendphp74, and do not replicate anything under either one of these directories.  InsteadInstead, install Zend Server on each machine at the same release version.  All changes should to be done twice, once on each machine.  This This applies to configuration changes, updates, deploying applications if you use Zend Server to do that, and anything else that might happen in these directory structures. Since all maintenance is performed on both machines, it will not be necessary to replicate the ZENDPHP7 (or ZENDSVR6ZENDPHP74 (or ZENDPHP7 Zend Server 9.1.x - 2019.x or ZENDSVR6 Zend Server 6 - 8.5.x) library.


Note
iconfalse
titlePlace content and sessions elsewhere to replicate them

To replicate your application files (.php, .htm, .css, .js, and so on) put them in some directory that is not under /www/zendphp7zendphp74.  Use Alias or Virtual Host in your Apache config to use your application out of this directory. 

Files output by your application, like PDF, spreadsheets, and other kinds of files your app produces that are stored on the IFS, should all be located outside the registered directories. This will allow you to replicate those files safely.

If you wish to retain sessions on failover, you can specify a sessions directory outside of the Zend Server directory server by setting the session.save_path directive. Remember this setting needs to be changed on both machines.  You may also consider just not replicating sessions if session loss does not have a major impact when using your application.

...

Note
iconfalse
titleDo not replicate the Zend Server db directory

If you are replicating other directories in Zend Server (not recommended), we do not recommend replicating the db directory because of the very large number of transactions that would be pushed through replication.   The full path for this directory is:

/usr/local/zendphp7zendphp74/var/db         (/usr/local/zendphp7/var/db for versions 9.1-2019 /usr/local/zendsvr6/var/db for versions 6-8.5)

...

Note
iconfalse
titleNever use Mimix to replicate /usr/local/zendphp7/tmp

Some products like Mimix rely on journaling the IFS folders to perform replication.  You should never journal this folder:


/usr/local/zendphp7zendphp74/tmp         (/usr/local/zendphp7/tmp for versions 9.1-2019 /usr/local/zendsvr6/tmp for versions 6-8.5)

This folder contains shared memory objects and other IPC objects that do not function correctly when journaled.  Never journal this folder.  Instead, do Do not replicate it.  If you are replicating other directories in Zend Server (not recommended), in the event of a failover, restart Zend Server on the failover box using the reset option on the menu.  This will clear the shared memory and start fresh:

Reset Zend Server for IBM i

...