RDF/IMP and IMPX System Management Manual (RDF 1.3+)

Operating and Monitoring RDF
Compaq NonStop™ RDF/IMP and IMPX System Management Manual522204-001
4-5
Using RDFCOM Noninteractively
If you press BREAK when an RDFCOM command that changes the RDF
configuration or status (such as ALTER RDF) is in progress, RDFCOM continues to
execute this command while immediately prompting you for another one.
Using RDFCOM Noninteractively
When you use RDFCOM noninteractively, you enter one or more commands to
RDFCOM at the same time you start your session. RDFCOM executes all of these
commands, and then terminates the session and returns control of your terminal to
TACL.
To run RDFCOM noninteractively, you enter the RDFCOM keyword, the control
subvolume name, and one or more RDFCOM commands on the same line. The
following example includes a command that displays current configuration information
for the RDF monitor (the example assumes that \LONDON is the primary system, the
suffix character A” was specified in the INITIALIZE RDF command, and the user did
not explicitly name the monitor process):
1> RDFCOM LONDONA; INFO MONITOR
RDFCOM - T3046A01 - 13JAN2000
COPYRIGHT COMPAQ COMPUTERS INCORPORATED 1987 - 2000
MONITOR CPUS 0:1
MONITOR PRIORITY 170
2>
As this example illustrates, after the command is executed, the RDFCOM session
automatically terminates and the TACL prompt again appears.
To specify multiple RDFCOM commands on a single line, you must enter a semicolon
(;) to separate each command from the preceding one. For example:
3> RDFCOM LONDONA; INFO MONITOR; INFO EXTRACTOR
If any command on the line fails, RDFCOM reports the error and terminates without
executing any of the subsequent commands.
Using RDFCOM From a Command File
RDFCOM can also read commands from a command file. The command file is a text
file that contains the RDFCOM commands you want to execute, which you prepare
using your standard text editor. You might, for example, create a command file named
RDFSET that contains the following commands:
SET RDF PRIMARYSWAP $SWAP
SET RDF BACKUPSWAP $SWAP
ADD RDF
Note. On your terminal, the BREAK key might not actually be labeled “BREAK.” All terminals,
however, have some key or combination of keys that perform the BREAK operation. Before
using RDFCOM, determine how this operation is selected on your terminal.