Datastax keyspace topology Change Issue -
i planning change keyspace strategy simplestrategy networktopologystrategy making network aware. had changed keyspace strategy of app1,app2 , app3 had created. need change keyspace strategy of below mentioned key space network aware ?.
dse_leases, dse_system, system_schema, dse_security, system_auth, system_distributed, system, system_traces, solr_admin, dse_perf
updated : fount don't have change strategy of keyspace system , system_schema because not user modifiable.did other keyspace mentioned above need change
system , system_schema :
don't have change strategy of keyspace system , system_schema because not user modifiable
dse_leases :
1) replication factor of 1 suitable development , testing on single node only, never in production environment. 2) production clusters, increase replication factor @ least 3 each logical datacenter running analytics.
dse_system :
dse uses default replication strategy of "everywherestrategy" dse_system keyspace.the best approach keep dse node in cluster , alter replication strategy dse_system keyspace 1 understood nodes (a) alter keyspace dse_system replication = {'class': 'networktopologystrategy', 'dc1':1 ,'dc2':1};
dse_perf :
datastax enterprise uses dse_perf keyspace storing performance metrics data.by default datastax enterprise writes performance metrics data consistency level 1 , writes performed asynchronously. set replication factor based depending on environment: (a) alter keyspace "dse_perf" replication = {'class' : 'networktopologystrategy', 'dc1' : 3, 'dc2' : 2};
system_auth , dse_security :
cassandra uses system_auth , dse_security keyspaces storing security authentication , authorization information. datastax enterprise uses system_auth keyspace when enable kind of authentication. datastax enterprise uses dse_security keyspace on analytics nodes (cfs, hadoop, spark) when enable kerberos authentication (a)alter keyspace "system_auth" replication = {'class' : 'networktopologystrategy', 'dc1' : 3, 'dc2' : 2}; (b)alter keyspace "dse_security" replication = {'class' : 'networktopologystrategy', 'dc1' : 3, 'dc2' : 2};
Comments
Post a Comment