Programatically configure Membase?
I'm using RightScale to deploy 2 permanent and 0-10 on-demand Membase servers. When I create the 2 permanent servers in EC2, I'd like to be able to programmatically configure the cluster instead of using the configuration web application (on port 8091). Ideally, I can setup the configuration using the web application to set it up once, then copy or export a file that I can apply when I recreate the server in the future.
I'm using the "Membase Community Edition" RightScale ServerTemplate.
Thanks,
Eric
I believe you can use the command-line interface, although I haven't tried it yet.
http://wiki.membase.org/display/membase/Membase+Command-line+Interface
Cheers,
Geert-Jan
You can also use http://wiki.membase.org/display/membase/Membase+Management+REST+API#Memb... in addition to the Command Line tools. (Many of the CLI tools are based on the REST API)
Bhawana
Also, let us know what you feel is missing from the Server Template and we can add those in to our future releases.
Thanks
Bhawana
Bhawana,
I guess what I was expecting was a server template for the main membase instance(s) that would be RightScale Servers and one for the instances that would be RightScale arrays. The inputs for main instances or an attached configuration file would allow you to configure it without any administrative work.
All of this assumes that you need at least one Membase server outside of an array. That's what RightScale recommended because you need a way to configure the memcache settings of your app(s). I'm open to other ideas though.
Thanks,
Eric
That's correct Eric, currently you need a "seed" instance to start the cluster. After that, everything can be automated.
We're constantly working with RightScale to improve the functionality and will take your interest into consideration.
Perry
Sorry, forgot to ask how do to this. Is the scenario I proposed possible? If so, are there instructions somewhere to do it? If not, is there any other way?
Thanks,
Eric