isPlanTargetByName

Indicates whether the given maxrepname is the target engine for the specified protection plan.

SYNOPSIS

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

DESCRIPTION

Run the command isPlanTargetByName to learn if a specified maxrepname is the target engine for a specified protection plan. The command displays RETURN_CODE_OK (0) if the given maxrepname is the target engine for the protection plan.

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

planname

The name of the protection plan being queried.

EXAMPLE

Task

Run the command isPlanTargetByName to learn if Replication Engine co-mrengine-02 is the target engine for protection plan ReplicationPlan02.

Parameters
  • maxrepname: co-mrengine-02

  • planName: ReplicationPlan02

$ mrcli -u admin -m co-mrengine-02 isPlanTargetByName ReplicationPlan02