Event Marker File and the rtmark command - assure_mimix - assure_mimix_for_aix - 6.0

Assure MIMIX for AIX Guide

Product type
Software
Portfolio
Integrate
Product family
Assure
Product
Assure MIMIX™ Software for AIX
Version
6.0
ft:locale
en-US
Product name
Assure MIMIX for AIX
ft:title
Assure MIMIX for AIX Guide
Copyright
2025
First publish date
2003
ft:lastEdition
2025-03-12
ft:lastPublication
2025-03-12T05:07:12.494000

To use event markers, you need to a write an event marker file and a script that calls the rtmark command. You also need to set up a call in your application that invokes the rtmark script.

If event markers are used in multiple Context IDs, each Context ID must have a unique event marker file and scripts that calls rtmark.

The following examples show the parameters you need to use in your application; an event marker file, and a script that calls rtmark:

#example call in your application
<Context ID> <name> <description>
 
# example event mark script that calls rtmark and emf_1 file
rm -f /tmp/emf_1
printf "name = ${2}\n" >/tmp/emf_1
printf "description = ${3}\n" >>/tmp/emf_1
sync
/usr/scrt/bin/rtmark -C ${1} /tmp/emf_1
 
#example event marker file /tmp/emf_1
name = <event name>
description = chkpt

Event marker file replication from recovery server 1 to recovery server 2

Event marks are written to file /usr/scrt/run/c<Context ID>/event_marker from the production server to the recovery server. On the first recovery server, use the rtmark command (shown below) to replicate the event marker information from the first recovery server to the second recovery server.

rtmark –C <Context ID> -r
Note: Event markers are lost on failover and failback because the rollback window is reset. The production server’s event_marker file is cleared during a failback to the configured production server. The failover server’s event_marker file is cleared during a failover to the configured failover server.