Enable Multiwrite Replication

This section discusses the following topics:
cad1214
This section discusses the following topics:
Enable Multiwrite Replication Using DXmanager
By default, DXmanager sets all DSAs that share the same namespace partition and are in the same region, to replicate each other with multiwrite. This means that using DXmanager makes it simple to enable multiwrite replication.
To enable multiwrite replication using DXmanager
  1. Decide which DSAs to include in the multiwrite system.
  2. Use DXmanager to create these DSAs as part of the same region.
  3. Ensure the datastores of each DSA hold synchronized information.
Enable Multiwrite Replication Using Configuration Files
If you do not use DXmanager and you want to enable replication, you need to use configuration files.
To enable multiwrite replication using configuration files
  1. Add the DSA flags multi-write and no-service-while-recovering to the shared knowledge, as follows:
    set dsa dsaname = { ... dsa-flags = multi-write, no-service-while-recovering ... ... };
  2. Restart the DSA.
Include a DSA in a Multiwrite Group
If you use DXmanager, DSAs in the same region are automatically in the same multiwrite group.
If you do not use DXmanager and you want to enable replication, you need to use configuration files.
To include a DSA in a multiwrite group
  1. Define the multiwrite group in the DSA's shared knowledge, as follows:
    set dsa dsaname = { ... multi-write-group = group-name dsa-flags = ... ... };
    Any DSAs with the same value for
    group-name
    are in the same multi-write group.
  2. Restart the DSA.
Display the Multiwrite Status of a DSA
The
get dsp
console command shows the current DSP configuration values of the DSA.
The output of this command displays the following, if they exist:
  • Multiwrite queues
  • Recovery notification list
To display the multiwrite status of a DSA, enter the following command on a DSA console:
get dsp;