would like to modify server configuration file by hand
I am playing around with membase and would like to modify the server configuration file by hand instead of via the web admin. Is there documentation on the configuration options?
Thanks.
Hi Perry,
The idea is to be able to create different instances for different uses, and to automate the installation, especially if it is for the cloud. If you have to use the web ui to config the server every time, this is not viable. Additionally, leaving http port open, even for a little time to config is not an option for us.
Thank you for any help.
Best,
Link
When you say different instances, do you mean buckets within a server's configuration or actually multiple instances of the server running on a machine (which is not currently supported...).
We also have a CLI tool which can be found at /opt/NorthScale/bin/cli/membase. Admittedly the documentation is a bit lacking and I will make a note to make sure we include that in the near future.
Let me know if that helps you.
Perry
I am talking about something simpler: automate single server setup on a single machine. This will allow the server to come up correctly on the first time, instead of having to reset it after first config as it is required currently. Some of the configuration options that would make sense is: location of storage, different port, memory size, etc. I took a look at membase cli, and it looks like you can set the ramsize, hddsize, and port but not the hdd location. However, I have to read what the difference is between server and bucket to make sure I understand membase options correctly.
Thank you.
Thanks Link, I will file a bug to extend the functionality of the membase cli command to include hdd location. Is there anything else specifically that it seems to be missing?
Perry
Hi Perry,
Thanks. What we are talking about is just expected for production environments. I may have this wrong, but for the items described above, can we get the cli setup for the global server settings as well as for the buckets?
Link
We also have a CLI tool which can be found at /opt/NorthScale/bin/cli/membase. Admittedly the documentation is a bit lacking and I will make a note to make sure we include that in the near future.
Let me know if that helps you.
Perry
Hi Perry, I finally got around to trying to sort out changing some of the parameters without using the browser per your email. However, When I try to use membase cli to change any of the parameters, it returns (400) Bad Request. For example:
/opt/NorthScale/bin/cli/membase bucket-edit -c 127.0.0.1:8080 -u Administrator -p --bucket=default --bucket-ramsize=3096
ERROR: unable to bucket-edit (400) Bad Request
The server is beta 3 and is running because I can get membase cli to display info.
Thank you.
Link
Thanks for the feedback Link, I'll try to reproduce and file a bug if necessary. Can you download and try beta 4 to confirm that the issue still exists there?
Perry
Link, just confirmed that this is still an issue with beta 4 and filed bug 2596 for it ([url]http://bugs.northscale.com/show_bug.cgi?id=2596[/url]). I'd still encourage you to get onto beat 4 as it has numerous bug fixes as well as Memcached bucket types.
Thanks for your continued testing and feedback!
Perry
Thanks for your inquiry. Unfortunately we don't currently support editing the file directly. Can you be more specific as to which changes you would like to make? Would it be useful for you to use the REST API?
Perry
Forum support is great for free but sometimes you need a guaranteed response time and dedicated resources for your questions or issues.
Consider purchasing enterprise-level support from Membase: http://www.membase.com/products-and-services/overview
Call or email "sales -at- membase -dot- com" today!