isActiveControlService

Indicates whether the given maxrepname is hosting the active control service.

SYNOPSIS

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

DESCRIPTION

Run the command isActiveControlService to learn if a specified maxrepname is running the active control service in the current configuration. The command displays RETURN_CODE_OK (0) if the given maxrepname is the current host of the active control service.

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 isActiveControlService to learn if Replication Engine co-mrengine-02 is running the active control service.

Parameters

maxrepname: co-mrengine-02

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