RDF System Management Manual for H-Series RVUs (RDF 1.8)

RDF State Requirement
You can issue the STOP LOCKSTEP command only if a LOCKSTEP command was issued
previously.
Usage Guidelines
The STOP LOCKSTEP command is for use only in conjunction with a LOCKSTEP command
under very specific circumstances. Issue this command only if your RDF environment has been
specifically configured for lockstep protection and you have read all of the applicable text in
Chapter 11 (page 261).
Example
In an RDF environment configured for standby takeover protection, assume that \STANDBY is
the name of the standby system and RDF1 is the name of the RDF control subvolume on the
backup system. Assume also that a LOCKSTEP command was issued previously on the backup
system.
This STOP LOCKSTEP command stops any extractors that might still be running on the standby
node:
]LOCKSTEP RDF1, REMOTESYS \STANDBY
STOP RDF
The STOP RDF command shuts down RDF.
STOP RDF { [, DRAIN ] }
{ [, REVERSE ] }
DRAIN
causes the following actions:
All TMF audit records up to the time the command is entered are replicated to the image
trails on the backup node.
The RDF processes shut down in a manner similar to when a stop TMF record is
encountered in the audit trail.
Each updater shuts down after it has applied all audit records up to the stop point.
The purger process reports event 852, indicating that all updaters have stopped and the
drain has completed.
REVERSE
causes RDF to replicate all audit records up to the time the command was issued, then run
the configured reverse trigger program.
You must stop all transaction activity on the primary system before issuing the STOP RDF,
REVERSE command. If there is active transaction activity on the RDF-protected database,
the database could lose integrity or data could be lost when RDF is initialized and started in
reverse. To emphasize these risks, RDFCOM displays this challenge in response to STOP
RDF, REVERSE commands:
**** All transaction activity in this RDF environment
**** must stopped before the STOP RDF, REVERSE command
**** is executed.
**** The REVERSE TRIGGER will be run even if the primary
**** application has not yet been stopped.
**** Are you sure you want to continue ? (yes/no)
To proceed you must type “yes” (not “y” or carriage return). “no” cancels the command and
returns you to the RDFCOM command prompt. Any other response results in this question:
**** Are you sure you want to continue ? (yes/no)
Again you must type either “yes” or “no”.
RDFCOM Commands 235