问题描述
我们正在尝试使用Couchbase 2.2社区版在我们的开发环境中在一台计算机上设置多个实例.我们在此处 http://docs.couchbase.com/couchbase-manual-2.5/cb-install/#installing-multiple-instances-on-a-machine .我们试图查看两个版本之间的差异,并且static_config文件和coucbase-server bin脚本中似乎都没有变化.因此,可以安全地假设针对2.5企业版的说明仍然可以在2.2社区版上使用,还是有更好的方法来建立这样的环境?
We are trying to setup multiple instances on a single machine for our development environment using Couchbase 2.2 community edition. We see that there is documentation for such a set up using enterprise 2.5 edition here http://docs.couchbase.com/couchbase-manual-2.5/cb-install/#installing-multiple-instances-on-a-machine. We tried to see the difference between both the versions and there doesn't seem to be a change in the static_config files nor the coucbase-server bin script. So is it safe to assume that the instructions for 2.5 enterprise edition would still work on 2.2 community edition or is there a better way to set up such an environment?
推荐答案
我个人希望在本地运行多个节点时,会启动虚拟机并在每个虚拟机上安装一个节点.
Personally when I want to run more than one node locally I spin up virtual machines and have a node installed on each one.
两个非常好的博客文章将指导您完成这些工作:
Two really nice blog posts that will guide you through this are:
使用Ansible创建Couchbase集群:
Create a Couchbase cluster with Ansible:
http://tugdualgrall.blogspot.com.es/2013/05/create-couchbase-cluster-in-one-command.html
或
一个由Vagrant和Puppet组成的长沙发集群:
A couchbase cluster with Vagrant and Puppet:
http://nitschinger.at/A-Couchbase群集在几分钟之内与流浪汉和木偶
这篇关于Couchbase 2.2社区中的一台计算机上的多个实例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!