Enabling NodeSync for keyspaces and tables
About this task
Enable the NodeSync Service for OpsCenter Monitoring. Designate which keyspaces and tables have NodeSync active for viewing NodeSync status. NodeSync and incremental NodeSync are enabled by default; however, keyspaces and their tables must be explicitly opted in. Follow the steps in this procedure to enable NodeSync monitoring for eligible keyspaces or individual tables..
The nodetool repair command fails on Nodesync-enabled tables. Tables with NodeSync enabled are skipped for nodetool repair operations run against any keyspaces. |
Prerequisites
-
NodeSync is enabled in DSE by default. If NodeSync was disabled, enable NodeSync Service.
Incremental NodeSync is available in DataStax Enterprise 6.8 and later.
-
Create tables for keyspaces you intend to monitor. You cannot enable NodeSync on empty keyspaces in OpsCenter.
-
If OpsCenter authentication is enabled, set user permissions for the NodeSync Service for the applicable user roles and clusters.
Procedure
-
Select cluster name > Services.
-
Select Details for the NodeSync Service.
-
Select the Settings tab.
NodeSync Settings shows only keyspaces and tables eligible for NodeSync. Some tables are not shown and are exempt from NodeSync because their keyspace has a replication factor of 1 or is a reserved system keyspace. Select View excluded tables to view the excluded keyspaces and tables.
-
Select the keyspaces and tables to configure NodeSync for your environment, and then select Configure.
The default maximum per request is 50 tables. If you encounter schema agreement errors when enabling or disabling multiple tables, increase the value for the max_request_tables option.
-
Use the toggle buttons to enable NodeSync and incremental NodeSync for the selected keyspaces and tables.
Enabling NodeSync sends an ALTER TABLE statement that is effective immediately; no DSE restart is necessary.
What’s next
Once NodeSync is enabled for your environment, monitor NodeSync operations for keyspace and tables by viewing NodeSync status.