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

do not affect the subsystem until they are applied to the RDF configuration file through the ADD
command.
Example
In the following example, you are configuring an RDF environment to run from \Boston to \London.
You start by initializing RDF to run from \Boston to \London.
] INITIALIZE RDF, BACKUPSYSTEM \LONDON !
Now assume that you have configured an extractor, receiver, purger, a set of updaters, and now
you want to configure a Takeover trigger. For this trigger, you have a TACL script file
$SYSTEM.RDF.TKSCRIPT, and you want to this script to be executed automatically by TACL after
an RDF Takeover operation in CPU 3:4 with a priority of 160, and you want RDFCOM to shutdown
immediately after firing off the trigger. To do the, you issue the following commands:
]SET TRIGGER PROGRAM $SYSTEM.SYSTEM.TACL
]SET TRIGGER INFILE $SYSTEM.SYSTEM.TACL
]SET TRIGGER CPUS 3:4
]SET TRIGGER PRIORITY 160
]SET TRIGGER NOWAIT
]ADD TRIGGER TAKEOVER
The RDF configuration on \RIGHT is contained in the file \RIGHT.$DATA01.RDFCONF. RIGHT
(specified in the INFILE). That file includes these commands (the standard SET/ADD RDF,
EXTRACTOR, RECEIVER, PURGER, IMAGETRAIL and VOLUME configuration commands are omitted):
INITIALIZE RDF, BACKUPSYSTEM \LEFT, INITTIME NOW !
START RDF
Initially, RDF runs from \LEFT to \RIGHT. To reverse replication, you enter this command on \LEFT:
STOP RDF, REVERSE
This causes RDF to drain the replication stream up to the current point in time, and then execute
the reverse trigger on \RIGHT (in this case the reverse trigger is RDFCOM with the input file
$DATA01.RDFCONF.RIGHT). RDFCOM reads the input file, which causes a new RDF environment
to be initialized and started from \RIGHT to \LEFT. Any messages from RDFCOM are reported to
$0.
After the RDFCOM process on \LEFT completes, the RDF environment from \LEFT to \RIGHT shuts
down.
SET VOLUME
The SET VOLUME command sets updater process configuration parameters within the RDF
configuration memory table. The supplied values are not applied to the RDF configuration file,
however, until you issue an ADD VOLUME command.
SET VOLUME volume-option
where volume-option is:
{ATINDEX atindex }
{CPUS primary-CPU : backup-CPU }
{PRIORITY priority-number }
{PROCESS process-name }
{IMAGEVOLUME volume }
{UPDATEVOLUME volume }
{INCLUDE subvol.file }
{EXCLUDE subvol.file }
{INCLUDEPURGE subvol.file }
{EXCLUDEPURGE subvol.file }
{MAPFILE $vol.subvol.file }
{MAPLOG $vol.subvol.file }
228 Entering RDFCOM Commands