Stop the application of log records

You can halt the application of log records on an RS secondary server to prepare for disaster recovery scenarios.

You stop the application of log files on the RS secondary server by setting the STOP_APPLY configuration parameter. You can manually edit the onconfig file and restart the server, or you can change the value dynamically using the onmode -wf command. When setting the value of STOP_APPLY you must also set LOG_STAGING_DIR. If STOP_APPLY is configured and LOG_STAGING_DIR is not set to a valid and secure directory, then the server cannot be initialized.

See Informix® Administrator's Reference for more information.

To stop the application of log files on the RS secondary server immediately, run the following command:
onmode –wf STOP_APPLY=1
To stop the application of log files at 11:00 p.m. on April 15th, 2009:
onmode –wf STOP_APPLY=2009:04:15-23:00:00
To resume the normal application of log files
onmode –wf STOP_APPLY=0