getTargetVolumes

Returns a comma-delimited list of target volume devices of a specified protection plan.

SYNOPSIS

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

DESCRIPTION

The command getTargetVolumes returns a comma-delimited list of target volumes associated with a specified protection plan ID. The protection plan ID is obtained through the command 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.

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 getTargetVolumes to obtain a comma-delimited list of source volumes names of protection plan ID 25 on MaxRep Replication Engine co-mrengine-02.

Parameters
  • planID: 25

  • maxrepname: co-mrengine-02

$ mrcli -u admin -m co-mrengine-02 getTargetVolumes 25