RDF System Management Manual for J-series and H-series RVUs (RDF Update 13)

the extractor can transmit data to the receiver on the backup system. If the extractor is not reading
the MAT, it cannot encounter the TMF shutdown message. Two situations could arise:
If the communications lines come back up before you restart TMF, RDF encounters the TMFCOM
STOP TMF record in the MAT and then stops processing.
If the communications lines are down and you feel you really must stop the RDF system
irrespective of the TMF shutdown record, you must issue the STOP RDF command on both the
primary and backup systems. In this case, RDF stops processing without reading to the TMF
shutdown record in the MAT.
When you restart TMF, you must then restart RDF. RDF begins processing at the point where
it stopped. When RDF reads the TMF shutdown record associated with the preceding TMF
shutdown, RDF shuts down. You must then restart RDF again by issuing another START RDF
command.
When you shut down RDF by issuing a TMFCOM STOP TMF command, you can use successive
STATUS RDF commands to determine when all of the RDF processes have stopped.
Stopping RDF From the Primary System
When you issue the STOP RDF command on the primary system, all RDF processes stop immediately
without processing to the end-of-file mark in the MAT (except the updaters, which might continue
for a short while to finish up their work in progress).
While RDF is running, the database on the backup system is always in an inconsistent state because
updaters apply audit asynchronously with regard to one another. When you stop RDF by issuing
an STOP RDF command, the updaters stop immediately and they leave the backup database in
an inconsistent state. This is also true whenever you issue the STOP UPDATE command.
To stop the RDF and put the primary and backup databases into logically identical states (the data
is the same although the physical structure of the files may differ between primary and backup),
you must execute the following steps:
Issue a TMFCOM DISABLE BEGINTRANS command on the primary system. This command
prevents the applications from initiating any new transactions until you issue a TMFCOM
ENABLE BEGINTRANS command.
CAUTION: If the starting of new transactions is disabled, applications could abort unless
they have been coded to handle that situation.
Issue TMFCOM STATUS TRANSACTIONS commands and wait until the display shows no
transactions in progress.
Issue STATUS RDF commands and wait until all of the Relative Time Delay (RTD) times are
zero.
Issue the STOP RDF command.
NOTE: Even when no TMF transactions are in progress, TMF periodically writes control
points to the MAT, which means that the MAT continues to fill even when no application activity
occurs. This can cause RTD times in the status display to fluctuate.
For an alternate method of bringing the backup database to a consistent state, see Access to
Backup Databases with Stable Access” (page 139).
When you issue a STOP RDF command from the primary system, the following events occur:
1. RDFCOM sends a STOP message to the monitor.
2. The monitor sends stop messages to the extractor(s), the receiver(s), the purger, the updater(s),
and, if there is an RDF network, the RDFNET process.
3. The monitor stops after all RDF processes have stopped.
Stopping RDF 123