Publish MEFs for Failover

The MATRIXX Event File (MEF) publishing process for failover ensures that no data is lost during MEF publication if the active engine fails. If the automatic MEF recovery fails, run the create_event_files_from_txn_logs script to recover any lost events. For details see the discussion about manual MEF publishing.

About this task

Important: After an engine failover, if the MEF publishing target is configured, the newly active engine initiates the MEF recovery process. If automatic MEF recovery fails, an error is logged in the mtx_debug.log file on the now-active engine.

Procedure

  1. Go to the transaction log file directory.
  2. Run the create_event_files_from_txn_logs script.
    For information about the options, see the discussion about create_event_files_from_txn_logs. This example runs the script on the default engine, cluster, and server, and specifies an output of MEF element XML format:
    create_event_files_from_transaction_logs -f MEFV2_EXML

Results

When MEF publishing completes successfully, you see a message like the following:
LM_INFO  26558|26558 2019-04-24 13:00:43.900087 [create_event_files_from_txn_logs_1:1:1:1(5110.61543)] | 
create_event_files_from_txn_logs::main: create_event_files_from_txn_logs completed successfully.  Processing time 4107 milliseconds