createProtectionPlan

Creates a protection plan.

SYNOPSIS

mrcli [‑c configfile] ‑u user ‑m maxrepname [‑v] createProtectionPlan [‑x stdout | filename.xml] planName filename.xml

DESCRIPTION

Protection plans specify the parameters for replication. Creating a protection plan is the same process for a synchronous or asynchronous Oracle MaxRep for SAN system. Run createProtectionPlan to create a protection plan in the current control service configuration.

OPTIONS

‑m maxrepname

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

planName

Specifies the name of the protection plan.

‑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.

‑x stdout | filename.xml

Prints output in XML format.

-v

Prints MaxRep CLI version and exits. This option should be run on its own, separate from additional options.

$ mrcli -v

EXAMPLE

Task

Create the protection plan ReplicationPlan1 on the MaxRep Replication Engine co-mrengine-22. Use XML file plan1creation.xml.

Parameters
  • planName: 

    ReplicationPlan1

  • maxrepname:  co-mrengine-22

  • filename.xml:  plan1creation.xml

$ mrcli -u admin -m co-mrengine-22 createProtectionPlan ReplicationPlan1 plan1creation.xml