Running the Repair Service in a multi-datacenter environment requires using the
NetworkTopologyStrategy.
Running the Repair Service in a multi-datacenter environment requires using the
NetworkTopologyStrategy. The OpsCenter keyspace defaults to SimpleStrategy. The
Repair Service will not run with SimpleStrategy replication. Prompts guide changing
the keyspace to a compatible replication strategy.
Procedure
-
If the OpsCenter keyspace warning is visible when you first launch OpsCenter,
expand the warning and click the link to edit the
keyspace.
The
Edit Keyspace
keyspace_name dialog for the keyspace appears. The dialog
also appears if you attempt to start the Repair Service despite the warning.
-
Change the strategy from SimpleStrategy to
NetworkTopologyStrategy.
-
Enter the datacenters and replication factor for each datacenter. Click
Add Datacenter to add more datacenters.
-
Set the durable_writes option.
Be careful setting the durable writes option. When set to False, data written
to the keyspace bypasses the commit log, which could cause data loss.
-
Click Save Keyspace.
-
If there are multiple incompatible keyspaces, the Error: Incompatible
Keyspace dialog appears after clicking Configure for the Repair
Service.
-
Click the Data section link to jump directly to the Data
section to edit the keyspaces.
-
Repeat the above steps as necessary until all keyspace warnings
disappear.