opscenter | Installs DataStax OpsCenter
kandi X-RAY | opscenter Summary
kandi X-RAY | opscenter Summary
Installs DataStax OpsCenter on RHEL/Ubuntu/Debian. This functionality used to be included with the locp/cassandra Puppet module, but now that DataStax are about to change their support policy, this functionality has been moved to here.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of opscenter
opscenter Key Features
opscenter Examples and Code Snippets
Community Discussions
Trending Discussions on opscenter
QUESTION
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.
...ANSWER
Answered 2020-Mar-26 at 17:31The 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.
QUESTION
I just want to know what consistency level using OpsCenter for collecting metrics from the nodes using datastax-agent ? as we know OpsCenter created a keyspace called opscenter in the database once we installed and started the process where we can see multiple rollups tables. Is there any configuration manually or it is defined in opscenter code statically? What if we have OpsCenter cluster configuration with failover? Thanks in advance.
...ANSWER
Answered 2020-Mar-08 at 11:19DataStax Agent writes collected metrics directly, not sending them to the OpsCenter itself, so it doesn't depend if OpsCenter itself is setup in failover mode, or not.
By default, agent should use LOCAL_ONE or ONE (don't remember), and it isn't configurable. But you just need to remember that consistency level is how many nodes should confirm successful write - writes themselves are are sent to all replicas, so even if node that confirmed write crashed, then there is still a chance that data is written to other replicas.
QUESTION
I encountered an issue with my fresh new OpsCenter 6.7.7; when I click "manage an existing" cluster I received the following error message:
...ANSWER
Answered 2020-Jan-29 at 09:06You need to make sure that you have latest definitions downloaded.
Your file platforms.edn
(in /var/lib/opscenter/definitions
in package install) should contain following information:
QUESTION
I am getting OutOfMemory error on OpsCenter.log. As per DSE documentation default heap size is 2048m (2GB), which should be enough for most installations but If I need to increase or decrease this value so where I need to change. Is there any configuration file? or need to configure in OpsCenter.conf? Thanks
...ANSWER
Answered 2019-Oct-10 at 04:50You need to overwrite the environmental variable OPSC_JVM_OPTS. The option you need to look at is Xmx (Maximum Heap Space)
Tarball Installation:
QUESTION
I Have JMX exported and prometheus configured. And trying to get the graphs we have in dse version of opscenter. How can we get them in prometheus.
Below are the metric's I'm looking for:
...ANSWER
Answered 2018-Feb-23 at 13:01You can use Grafana and add prometheus as a data source. Once done, you should be able to use PromQL for graphing the widgets in a dashboard.
You need to use the metric names depending on how you have mapped in the Prometheus config yaml.
My config has following mapping for node level metrics:
- pattern:
org.apache.cassandra.metrics<>(Count|OneMinuteRate|FiveMinuteRate)
- name:
cassandra_$1_$2_$3_$4
So for read requests (& write requests) per sec, I am using the metric - cassandra_ClientRequest_Read_Latency_OneMinuteRate
- for plotting the oneminuterate.
QUESTION
I have installed using a single DataCenter with Analytics, Graph and Search enabled through OpsCenter and wish to activate OLAP Queries using DSEStudio.I have also managed to do this on the sparkmaster node using gremlin using the following DSE guide here, but I am unable to run the same commands on DSE Studio with commands that has :
such as:remote config alias g database.a
. When this commands is run the error encountered is shown below
Error
...ANSWER
Answered 2019-May-13 at 14:13"In Studio, under the run arrow, select Execute using analytic engine (Spark) before running." The drop-down is "real-time" by default, you should switch it to "Analytic" https://docs.datastax.com/en/dse/6.0/dse-dev/datastax_enterprise/graph/quickStart/graphQSTOC.html
QUESTION
I am currently trying to get synonym search to work on multiple nodes via Datastax Studio if possible. The installation was done through OpsCenter with 3 nodes using DSE Search + Graph. I have seen various posts regarding this and the approaches consists of directly changing schema.xml. However, as I am using multiple nodes I am unsure if that is the way to approach this.
I have also tried to look information from datastax docs but couldn't find what i needed, hence, any advise or directions on this would be greatly appreciated. In an Ideal world it would be great if I am able to do synonym search through the graph(gremlin) interface.
...ANSWER
Answered 2019-May-03 at 10:26For Graph the only option is to create necessary indexes, then get the existing schema.xml
via dsetool get_core_schema
, do modifications, and load it again with dsetool reload_core
- the reloading of core should be done in every data center, but not on every machine of the data center...
Don't forget, that before reloading the core with modified schema, you need to upload synonym files with dsetool write_resource
.
See the DSE Search documentation for full list of the options for dsetool
command.
QUESTION
Currently, I have successfully installed the necessary nodes and datacenters through the usage of the OpsCenter.
I have also generated the necessary table and Keyspace using Cassandra through DataStax Studio
KeySpace Generated
...ANSWER
Answered 2019-Apr-30 at 10:43You need to provide following settings as described in documentation:
-u
- to specify user name-p
- to specify password--driver.auth.provider DsePlainTextAuthProvider
- to select corresponding authentication provider.
QUESTION
I am using Sonar Scanner 2.7, with SonarQube Scanner for Jenkins version 2.8.1.
In the Jenkins logs, I get this error
...ANSWER
Answered 2019-Apr-12 at 12:53So, in the end we managed to get this working.
An update had somehow activated 'Force authentication' resulting in 401 between Jenkins projects and sonarqube
We disabled force authentication so Jenkins can get the status from the sonarqube scans, and this resolved the issue.
QUESTION
For Scylla monitoring, we need to configure Grafana but is it possible to integrate Cassandra Opscenter to Scylla?
...ANSWER
Answered 2019-Feb-11 at 18:56TL;DR: No. OpsCenter is a closed source product, which was not tested with Scylla. Part of it that uses Apache Cassandra CQL and JMX will probably work, while others might not. In addition to the open source, Scylla monitoring stack (base on Prometheus and Grafana), ScyllaDB has its own close version product for cluster management named Scylla Manager.
Tzach (Scylla Product Manager)
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install opscenter
On a UNIX-like operating system, using your system’s package manager is easiest. However, the packaged Ruby version may not be the newest one. There is also an installer for Windows. Managers help you to switch between multiple Ruby versions on your system. Installers can be used to install a specific or multiple Ruby versions. Please refer ruby-lang.org for more information.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page