This command adds a destination to a replication protected path or to a global access protected path.
Usage - Async Replication
protectedpath add-stream --id ID --name NAME --capabilities ASYNC_REPLICATION [--protection-policy-id ID] [--target-exported-dir] [--remote-tenant-name TENANT_NAME]
Usage - Global Access
protectedpath add-stream --id ID --name NAME --capabilities STARED_GLOBAL_NAMESPACE [--target-exported-dir PATH] [--remote-tenant-name TENANT_NAME] [--remote-target-id PEER_ID]
Required Parameters
| Specifies the protected path by its ID. |
| A name for the destination. |
| Specifies if the destination is for replication ( |
Replication Options
| The ID of the protection policy that specifies the destination peer and other parameters for replicating to the destination, such as the replication schedule. |
| Specifies the path on the destination peer to which the protected path should replicate data. |
| Specifies the name of the remote tenant on which you want to create the target directory. By default, the target directory is created on the default tenant. |
Global Access Options
| Specifies the path on the destination peer to be shared for global access. This must be a directory that does not yet exist on the remote peer. |
| Specifies the name of the remote tenant on which you want to create the directory specified by By default, the directory is created on the default tenant. |
| Specifies a destination peer for the global access path. Specify |
Example
vcli: admin> protectedpath add-stream --id 6 --name vcli-stream-b-c --protection-policy-id 7