未加星标

Summer Project 2016: The CouchCase

字体大小 | |
[数据库(综合) 所属分类 数据库(综合) | 发布者 店小二03 | 时间 2016 | 作者 红领巾 ] 0人收藏点击收藏

I know that Summer 2016 is long gone, but I promised one more blog post about building the CouchCase. This part was the easiest, since clusteringCouchbase Server nodes together is really easy.

Networking

First, a little information about how I networked the Intel Compute Sticks. On the router in the CouchCase, I’ve pegged each network adapter to a specific IP address. How to do this is going to vary from router to router, so consult your manual.

Here’s a snapshot of STICK1, STICK2, and STICK3 all pegged to three IP addresses and attached to the router.


Summer Project 2016: The CouchCase
Clustering

The first time you setup Couchbase Server, you are creating a cluster with a single node. So, if you’ve done this, as far as setting up an entire cluster, you are most of the way there.

Next, install Couchbase Server on another machine (or VM or whatever). Instead of selecting "Start a new Cluster", select "Join a cluster now". Enter the IP address of the first node you created, as well as the username/password information that you set it to be.


Summer Project 2016: The CouchCase

s Once you do that, you should get a message saying "This server has been associated with the cluster and will join on the next rebalance operation."


Summer Project 2016: The CouchCase

A rebalance operation is necessary for Couchbase to figure out all the details of which node a given document should live on. For more information, check out the documentation on Rebalancing a Cluster .

A rebalance is a background operation, and should not interfere with the operation of nodes that are already working. This means that if you need to add capacity to your database, you don’t have to take down your website or schedule a 'maintenence window' or anything like that.

Once the rebalance is complete, you should see a list of nodes:


Summer Project 2016: The CouchCase
CouchCase is going on the road

There are a few finishing cosmetic touches, but CouchCase is ready to go on the road. In fact, look for it at the upcoming CodeMash conference in January 2017: "Are You Ready for Chaos? Horizontal Scaling in a Briefcase" . If you have any questions or suggestions, I’d love to hear from you. I’m on Twitter as @mgroves .

本文数据库(综合)相关术语:系统安全软件

主题: TITwitter
分页:12
转载请注明
本文标题:Summer Project 2016: The CouchCase
本站链接:http://www.codesec.net/view/481536.html
分享请点击:


1.凡CodeSecTeam转载的文章,均出自其它媒体或其他官网介绍,目的在于传递更多的信息,并不代表本站赞同其观点和其真实性负责;
2.转载的文章仅代表原创作者观点,与本站无关。其原创性以及文中陈述文字和内容未经本站证实,本站对该文以及其中全部或者部分内容、文字的真实性、完整性、及时性,不作出任何保证或承若;
3.如本站转载稿涉及版权等问题,请作者及时联系本站,我们会及时处理。
登录后可拥有收藏文章、关注作者等权限...
技术大类 技术大类 | 数据库(综合) | 评论(0) | 阅读(31)