Instructions for using hostnames don't match install
Version: 2.1.1 enterprise edition (build-764)
Ubuntu Server 12.04.3 LTS 64-bit
I'm trying to use the instructions here, but they don't match the config files in my install.:
Specifically, this part:
Under the line that reads:
-run ns_bootstrap -- \
There is no such line in /opt/couchbase/bin/couchbase-server. There is a line with this in it though:
-run ns_babysitter_bootstrap -- \
is that the equivalent line?
The instructions go on to read:
Add a new line that reads:
-name ns_1@hostname \
There is already a -name line that reads like so:
-name 'email@example.com' \
Should I be editing that line?
If there is a different document I should be using, please let me know.
The documentation chapter you are using is for 2.0.x release and you are using Couchbase 2.1.1. This is probably why you have this issue.
If you look at http://www.couchbase.com/docs/couchbase-manual-2.1.0/couchbase-getting-s... you can configure the hostname in Couchbase 2.1.x using a simple REST call:
curl -v -X POST -u Administrator:asdasd \ http://127.0.0.1:9000/node/controller/rename -d hostname=shz.localdomain
Let me know...