JANUS DISPLAYCOORDINATOR

From m204wiki
Jump to navigation Jump to search

Show coordinator definitions

This command displays the definitions of two-phase commit coordinators for the specified ports.

Syntax

JANUS DISPLAYCOORDINATOR [portName] [coordinatorName]

Where portName identifies the ports for which coordinator definitions are to be displayed, and coordinatorName identifies the names of coordinators to be displayed. If coordinatorName is not specified all coordinators for the specified port(s) are displayed. If portName is not specified, all coordinators on all 2PC ports are displayed.

JANUS DISPLAYCOORDINATOR TWO* COORD*

The above example would display the coordinator definitions with names beginning with COORD (COORDY, COORDUROY, COORDON, etc.) which were added to ports beginning with TWO (TWOFAST, TWODAY, etc.). Note though that it doesn't really make sense to have multiple 2PC ports.

JANUS DISPLAYCOORDINATOR output is in the form of a series of JANUS ADDCOORDINATOR commands, and may be captured for re-execution with a Model 204 USE command or with a Daemon object.

Valid abbreviations for DISPLAYCOORDINATOR are DISCOORD, DISCOORDINATOR and DISPLAYCOORD.

The following shows a JANUS DISPLAYCOORDINATOR command and its output:

JANUS DISCOORD JANUS ADDCOORDINATOR TWOPC COORD1 SOMEHOST.MYDOMAIN.COM 4567 JANUS ADDCOORDINATOR TWOPC COORD1 SOMEHOST.MYDOMAIN.COM 4568

JANUS DISPLAYCOORDINATOR output can be captured and re-executed as DEFINEREMOTE commands

See also