Running the RMG demonstration program

RMG is started from a Windows command line console or a UNIX command line prompt:

RMG [-b board] [-l loc_port] [-m mate_addr] [-n node] [-p remote_port] [-t]

All run time parameters are optional and are defined in the following table.

Note: Each instance of RMG monitors and controls a single board.

Parameter

Description

Default value

-b board

Board number to monitor on this node.

1

-l loc_port

Local UDP port for this process to attach to.

1700

-m mate_addr

IP address (in q.x.y.z dotted notation) or host name of the mate RMG process.

None.

If omitted, it is assumed that the mate RMG process exists on the same node.

-n node

Node number [1..2] assigned to this RMG process for resolving startup glare.

1

-p remote_ port

UDP port where the mate RMG process can be found.

1700

If two RMG processes are executed on the same node, they must be assigned different UDP port numbers.

-q

Requires operator quit command before RMG exits.

Automatic exit on certain failure conditions.

-t

Enables tracing to the Natural Access server (ctdaemon).

No tracing.


Once running, the RMG process displays error messages and status change messages in the console window where it was started. The following example shows sample output from the RMG process:

host prompt> rmg -b2 -m node1 -n2 -t
rmg: Redundancy manager version 2.0 Sep 30 2008
Node: 2, Board 2: Board Halted
Node: 2, Board 2: Board Loading
Node: 2, Board 2: Now Starting
Node: 2, Board 2: Board Isolated
Node: 2, Board 2: Now Primary

RMG>