stream replica autosetupSets up and starts replication between a source stream and replica stream.
maprcli stream replica autosetup command performs the following steps
to set up replication:mapr copystream utility to load a copy of the source data
into the replica.For more information about the automatic setup process, see Replica Autosetup for Streams.
readAce and writeAce on the volumelookupdir on directories in the pathadminperm and copyperm permissions on the source
streammapr user is not treated as a
superuser. HPE Ezmeral Data Fabric Event Store does not allow the
mapr user to run this command unless that user is given the relevant
permission or permissions with access-control expressions.| CLI |
|
| REST | http[s]://<host>:<port>/rest/stream/replica/autosetup?path=<path>&replica=<name> |
| Parameter | Description |
|---|---|
path |
The path and name of the stream that you want to create a replica for. |
replica |
The path and name of the stream that you want to create as a replica of the
stream that you specified with the -path parameter. |
synchronous |
A boolean value that specifies whether replication is synchronous or
asynchronous. The values are true or false. The
default is false and specifies asynchronous replication. |
multimaster |
A boolean value that specifies whether or not to set up a multi-master
topology. The values are true or false. The
default is false and specifies to use the basic primary-secondary
topology, rather than the multi-master topology. |
throttle |
A boolean value that specifies whether to throttle replication operations.
Throttle the replication stream to minimize the impact of the replication process on
incoming operations during periods of heavy load. The values are
true or false. The default is
false.Throttling has two effects, both of which allow HPE Ezmeral Data Fabric Event Store to
use more system resources to process new messages:
|
networkencryption |
A boolean value that specifies whether or not to enable on-wire encryption. The
values are true or false. The default is
false. If you set the value to true, the local
cluster and any other cluster that is part of the replication process must be
enabled for security. |
networkcompression |
Specifies the type of compression to use when replicating messages. For more information, see Managing Compression. |
| directcopy | A Boolean value that specifies whether or not autosetup will use the directcopy
option . The values are true or false. Autosetup
with direct copy (true) is the default. If you set this parameter
to false, the cluster will run autosetup without the directcopy
option. For more information, see Replica Autosetup for Streams. |
| useexistingreplica | When the directcopy parameter is set to true (default), this
Boolean value specifies whether or not an existing stream can be used as the replica
stream. The values for this parameter are true or
false. No reuse of existing tables (false) is
the default. If a stream exists with the specified name, and this parameter is set
to false, the create stream operation will fail. |