Sorry for very beginner question, just installed couchbase for the first time and when I want to load the "beer-sample" to try to run some n1ql scripts I get the following:
This cluster does not contain an index or query node. Sample data will be installed without creating indexes.
and when I click Query in the couchbase console:
No query nodes were found on this cluster.
How can I enable these two?
just installed couchbase for the first time
During installation, it should have prompted you to install certain services per node of the cluster.
It might be possible to add services afterwards of cluster setup, but since you have a fresh cluster anyway, I'd suggest just restarting from the beginning
Relevant documentation: https://docs.couchbase.com/server/current/manage/manage-nodes/create-cluster.html
Related
I've recently started using AWS Aurora to take advantage of the improvements over standard MySQL. I have a REST API running that connects either to the main cluster endpoint, or the read endpoint if the request will only perform SELECTs. Obviously I want to test this locally so that I don't mark any routes as read only if they're not.
I installed mysql with Homebrew and have it running as a service. What I need to do now is have another mysql instance running on a different port, and then set up read replication between my original instance and the new one.
Does anyone have any idea how I go about this?
I'm new on elastic search, i'm in a project that intent to be a system with a huge amount of data queryable, so the idea is using the elastic search to search from each index.
I try to create a system that support a cluster of elastic search, i know that we can create a cluster of ES nodes.
However me and my co-workers we're worried about data (backups, maintenance) so the idea is that ES nodes using a single instance of amazon RDS (and make amazon deal with scaling the servers) that way we can centralize the data. That is a valid thing to do?
My doubt is how I can setup the local ES server to connect with remote mysql server (RDS or other one) , i try to use https://github.com/jprante/elasticsearch-river-jdbc to make this with no success. That anyone already use ES with amazon RDS that can help?
After investigate a bit more on a plugin documentation i think that i'm understand what i'm missing.I've already configured with successful the river mode (pulling data from mysql server) however i think i'm missing the feed mode (putting data from plugin) that is why i'm not getting any data from mysql server.
Thanks in advance
For everyone that have any problems setup the river-plugin for elastic search, I've contacted the guy who maintain the plugin and he've written a step-by-step setup tutorial on linux here
I hope that is help anyone
I know there are quite a few openshift fan out there and the list of feature that openshift give you I dont blame them too
so this question is for those guys I have solr full text search engine running on the openshift
Now the I using sunspot_rails to connect to solr to create indexes
all work well for sometime and all the indexes get create appropriately but we experience that after a while the connection to solr keeping getting lost
So I'm assuming that openshift doesnot allow long running process like solr to run and would kill after some period of time
am I correct in my believe
You can use nohup to launch your script with post_start_ and post_stop_ scripts in .openshift\actionhooks
Redhat openshift - Cron Runtime - Is there a default time for how long cron executes shows how to do it with cron.
I've been trying to setup a MySQL Cluster for a few days using the MySQL Cluster Manager on 3 Ubuntu nodes (3 identical VM instances with 1GB RAM each).
I've followed the video on MySQL Cluster Manager on the MySQL site. There's not much other documentation/tutorials on it (probably because it's a commercial product).
I start the cluster and show the status, but the mysqld nodes never start, they just remain as "added". If I install mysql-server using "sudo apt-get install mysql-server" then I get the normal local server running and the nodes register as "started", but I can't see how to connect to the cluster rather than the individual MySQL servers running on the mysqld nodes.
I'm also at a loss as to how the Java connector for MySQL Cluster is organised, it appears that there are multiple libraries so I don't even know which library I need or how to get them (some are created when compiling MySQL Cluster???). Could someone please explain how the connectors work to interact with NDB from Java and how to get them?
Thanks for any answers.
First of all, the official documentation for MySQL Cluster Manager can be found by navigating to the Cluster documentation on dev.mysql.com (called "MySQL Cluster Manager"). You are correct that MySQL Cluster Manager is commercial software although MySQL Cluster itself is available under a commercial or GPL license.
It sounds as though you've already configured the agents and have them running and so if you want to get a Cluster up and running quickly then refer to this simple worked example of using MySQL Cluster Manager
In terms of understanding why the MySQL Servers (mysqlds) are not starting up, there aren't many clues in your question and so we need to narrow it down (one reason could be if you had multiple mysqlds defined on the same host that are trying to use the default port (3306)).
To check what the manager has been doing, take a look in the file called mysql-cluster-manager.log. You can adjust the level of logging using the cluster manager configuration file.
To see what MySQL Cluster itself thinks has happened, check the directories storing the cluster data files (if you haven't over-written the defaults then this would be under /clusters/ and then you'll see a directory for each node in the cluster). The first one to check is ndb__cluster.log and other logs that you'll find in the "data" sub-directory of the id associated with the ndb_mgmd node. There will also be per-node log files so also check the mysqld_out.err and mysqld_out.log files stored in the data directory associated with mysqld node-ids.
Most important point is do not use the mysqld that gets installed with "sudo apt-get install mysql-server" as this version will not be compatible with MySQL Cluster - always use the binaries that come with the MySQL Cluster tar ball (or if using Cluster Manager that should be transparent to you anyway.
Note that if you want to get MySQL Cluster up and running on a single host without MySQL Cluster Manager then refer to the quick-start guide located on the MySQL Cluster download site (on mysql.com rather than e-Delivery).
For the java access, try out this MySQL Cluster ClusterJ tutorial.
I have an existing multi-instance SQL 2008 cluster, and I'm trying to add Analysis Services to an existing instance. I start the installation, pick "Add features", configure SSAS, and then on the final pre-installation check, I fail the "Existing clustered or cluster-prepared instance" check. Of course I'd fail this check - I'm trying to add a feature to an existing clustered instance. Here's a picture of the error:
(source: trycatchfinally.net)
Has anybody successfully added a feature to a clustered instance in SQL 2008? I can't believe it can't be done - my alternative is to remove SQL from one node, try to add the feature again, hoping I don't fail this same check (though I probably will), and then re-add to the second node. This seems dangerous and unnecessary.
I found another person who had the same question, but the people answering it clearly aren't even reading the question, since they're mentioning how to cluster a server, and that he should use SQL 2000, so this is no help at all (though I'd love to point him here once it's answered: http://forums.techarena.in/software-development/1209984.htm
Take a look at the SQL Server 2008 Failover Clustering whitepaper.
http://download.microsoft.com/download/6/9/D/69D1FEA7-5B42-437A-B3BA-A4AD13E34EF6/SQLServer2008FailoverCluster.docx
Page 31 & 32
"Note: SQL Server 2008 does not support adding features to an existing failover cluster instance, so Analysis Services cannot be added to an existing instance of SQL Server. To share a resource group with an instance of SQL Server, you must choose to install Analysis Services during the initial installation of SQL Server."
Warning: I have never added analysis services to my existing cluster environment.
But this is how i would go about it:
1. Remove one node from cluster ( provided u have > 2 nodes ).
2. Install Analysis services.
3. Bring the node back into cluster.
Try to find necessary /skiprules parameter.
I have used the following setup SQL command to install SSRS feature with clustered instance:
Setup.exe
/SkipRules=StandaloneInstall_HasClusteredOrPreparedInstanceCheck
/Action=Install
The option to add or remove features is not supported either when running the setup through SQL Server Installation Center or when running the setup from a command prompt. For more information on the what happens when you try to add a feature through setup you can refer to the following forum post:
Why do I get ‘Rule “Existing clustered or clustered-prepared instance” failed’ error while adding new features to an existing instance of SQL Server Failover Cluster?
This article can be found here.
If you need to add or remove features to an existing installation you need to reinstall the virtual instance with the required features. For additional information you can refer to the following topics in SQL Server Books Online:
How to: Remove a SQL Server Failover Cluster Instance (Setup)
How to: Create a New SQL Server Failover Cluster (Setup)
Note: The SQL Server Analysis Services resource is a part of any SQL Server failover cluster’s resource group where Analysis Services is installed. Although it is possible to install both Database Engine and Analysis Services in the same resource group, it is generally recommended to install them as separate instances. Analysis Services is not dependent on SQL Server, and it should be installed to a separate resource group for maximum availability and performance.