getActiveControlService

Returns the IP address of the active control service that runs on the MaxRep Replication Engine.

SYNOPSIS

mrcli [‑c configfile] -u user -m maxrepname [‑v] getActiveControlService

DESCRIPTION

This commands returns the IP address of the active control service on a specified MaxRep Replication Engine configuration.

OPTIONS

m maxrepname

The IP address or DNS name of the MaxRep Replication Engine.

u user

Identifies the administrator account that runs the command.

c configfile

Specifies the configuration file to modify logging. When used, the -c command must be the first option entered at the command line.

-v

Prints the current version of the MaxRep CLI then exits. This option should be run on its own, separate from additional options.

$ mrcli -v

EXAMPLE

Task

Run the command getActiveControlService to return the IP address of the MaxRep Replication Engine running the control service associated with engine co-mrengine-02.

Parameters

maxrepname: co-mrengine-02

$ mrcli -u admin -m co-mrengine-02 getActiveControlService