Changing the OpsCenter keyspace 

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

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



  2. Change the strategy from SimpleStrategy to NetworkTopologyStrategy.
  3. Enter the datacenters and replication factor for each datacenter. Click Add Datacenter to add more datacenters.
  4. 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.

  5. Click Save Keyspace.
  6. If there are multiple incompatible keyspaces, the Error: Incompatible Keyspace dialog appears after clicking Configure for the Repair Service.


  7. Click the Data section link to jump directly to the Data section to edit the keyspaces.


  8. Repeat the above steps as necessary until all keyspace warnings disappear.