If we have 8 nodes in a OpsCenter cluster(Primary and Secondary) with 2 DCs. We have almost 30 nodes connected to this OpsCenter for monitoring through datastax agent. My question is all 30 nodes will make almost equal connection and load sharing(writing metric data to OpsCenter cluster) ? Or will make higher connection to Primary OpsCenter cluster and lower to standby? Any reference documents for this. Thanks in advance.
OpsCenter default native client connection and load distribution?
128 Views Asked by LetsNoSQL At
1
There are 1 best solutions below
Related Questions in CASSANDRA
- how to create a chess board with Queen in the central position and all its moves in assembler code
- Passing arguments to ENTRYPOINT causes the container to start and run indefinitely
- Apache Cassandra Node Driver Connection
- Simulate Cassandra DB timeout
- How to update Cassandra Lucene index with a new column? rebuild or update index?
- Cassandra JDBC connection string for logstash
- Cassandra OversizedMessageException
- dsbulk unload is failing after ran couple of hours with OOM issue
- Cassandra: "Model keyspace not set" and "Connection name doesn't exist in the registry" Errors
- Unable to cqlsh to a cassandra docker container remotely
- Forward pagination with object mapper in java asyn
- Allow filter in cassandra query
- How to fix bytes unrepaired in cassandra
- Can't install Cassandra using RPM packages for RHEL 9
- Why can't get a connection to Cassandra running on Docker from a Spring Boot instace using spring-boot-starter-data-cassandra on first boot?
Related Questions in DATASTAX
- Delete records in Datastax vector database
- Allow filter in cassandra query
- How to fix bytes unrepaired in cassandra
- How to calculate hinted_handoff_throttle_in_kb to performance of hints handoff?
- Error during DataStax Opscenter startup, ImportError
- Trino with cassandra connector is trying to connect to the contact points with the wrong ports
- Spark Cassandra Connector : ERROR AppendDataExec: Data source write support CassandraBulkWrite
- I can't establish connection in datastax message: Cannot open connection
- Studio Error: "Graph connection has not been made"
- datastax cassandra.cluster.NoHostAvailable
- Existing tools to find unused tables in cassandra cluster
- Cassandra - DS Bulk Loader VS DS Bulk Migrator VS Cassandra Data Migrator
- Using CassandraCSharpDriver 3.16.3, how to bind array parameters?
- How can I get CPU time, memory time and CPU usage per query in Datastax Cassandra?
- Why does Cassandra Full Partition Scan even with a Limit?
Related Questions in CASSANDRA-2.0
- Cassandra Live Migration from onpremises to the Compute Engine / VM
- am unable to to the database using cqlsh
- Janusgraph replication-factor not propogated to cassandra
- How to take backup and Restore huge Cassandra Database tables?
- Unable to start kong gateway with custom plugin
- Using batch queries in typescript with cassandra , inserting only one row in table in Nodejs
- NoSuchMethodError: org.apache.cassandra.db.ColumnFamilyStore.getOverlappingSSTables
- Bad Request: line 1:0 no viable alternative at input 'clear'
- Getting rpc_timeout when counting data in Cassandra
- In Scylla DB, How can I query the records for multiple condition and without mentioning ALLOW FILTERING?
- ConnectionRefusedError No connection could be made because the target machine actively refused it cassandra
- Cassandra copy n rows from one table and insert them to another table
- In Scylla DB, How can I query the records in desc order?
- Clarification about Cassandra tombstones and manual compaction
- How do I extract the Cassandra table data into json file using python or directly through cqlsh?
Related Questions in OPSCENTER
- Error during DataStax Opscenter startup, ImportError
- OpsCenter agent can't connect to node, returns "TransportException: [/127.0.0.1:9042] Cannot connect"
- What is the procedure for adding a node with OpsCenter on a DSE cluster with encrypted configuration?
- What should I do in OpsCenter after deleting the cassandra superuser?
- OpsCenter reports "Cannot run anti-entropy repair on tables with NodeSync enabled"
- Getting "not a properly formatted private key" when adding nodes using OpsCenter LCM
- Getting "1 node(s) didn't find available persistent volumes to bind" installing DSE OpsCenter on Kubernetes
- Is it possible to run DataStax OpsCenter on Windows?
- not able to connect cluster to opscenter
- Can't connect to cassandra, authentication error, please carefully check your auth settings, retrying soon
- OpsCenter default native client connection and load distribution?
- OpsCenter 6.7.7 won't manage an existant cassandra cluster (dse 6.7.7) running on: redhat 7.6 Maipo
- How and where to configure DSE Opscenter heap size and any other JVM parameters
- Is there any option in config of OpsCenter to automatically start repair service?
- stucked compaction of Opscenter.rollup_state table
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
The storage_cassandra section of the cluster_name.conf file, specifically seed_hosts, local_dc_pref, and used_hosts_per_remote_dc, control how the opscenterd connects to the storage cluster. The documented behavior is correct as far as the opscenterd process itself is concerned. However, the behavior of the agents is different.
Opscenterd passes the value of storage_cassandra seed_hosts to the agents of the relevant cluster and that is what each agent will use for initial contact points unless overridden by the hosts setting in the agent's local address.yaml. The local_dc_pref and used_hosts_per_remote_dc settings are not passed to the agent and have no effect on the agent's behavior.
The agent uses the defaultLoadBalancingPolicy of the Java Driver, which is DCAwareRoundRobinPolicy with token awareness. The local DC is not explicitly passed to the driver so it will consider the local DC to be the DC of the first host it successfully connects to. This means each agent will either connect to one DC of the storage cluster or another.
TL;DR: An agent will connect only to local DC of the first live node the agent was able to contact. It is not possible to have a single agent connect to multiple DCs. Which node the agent attempts to connect to is determined either by the storage_cassandra seed_hosts configured in cluster_name.conf, or if specified, the hosts configured in the agent's local address.yaml. So if you want some agents to connect to one DC of the storage cluster and other agents to connect to the other DC of the storage, you will need to override the hosts in the agent's address.yaml and make sure the first hosts specified belong to the DC you want that agent to connect to.
Note that if a separate storage cluster is not used, the agent connects only to the local node that it is monitoring.