utility:getSourceEngineId

Returns a comma-delimited list of GUIDs of the source engines associated with a protection plan.

SYNOPSIS

mrcli [‑c configfile] -u user -m maxrepname [‑x stdout | filename.xml] [‑v] utility:getSourceEngineId planID

DESCRIPTION

The command utility:getSourceEngineId is a utility-namespace command that returns a comma-delimited list of source engine GUIDs associated with a specified protection plan, given the protection plan ID and the MaxRep Replication Engine. The protection plan ID is obtained through the command utility:getProtectionPlanId.

OPTIONS

m maxrepname

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

planID

The ID of the protection plan that is being queried.

u user

Identifies the administrator account that runs the command.

-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

x stdout | filename.xml

Prints output in XML format.

c configfile

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

EXAMPLE

Task

Run the command utility:getSourceEngineId to obtain a list of source engine IDs associated with protection plan 22 on MaxRep Replication Engine co-mrengine-01.

Parameters
  • maxrepname: co-mrengine-01

  • planID: 22

$ mrcli -u admin -m co-mrengine-01 utility:getSourceEngineId 22