Details
-
Improvement
-
Resolution: Fixed
-
Blocker
-
2.0, 2.0.1
-
Security Level: Public
-
centos
-
Release Note
Description
- Need ability to use host names that don't revert to IPs
- Need ability to non-disruptively change the IP address of nodes
- When setting up hostname based cluster(using etc/hosts), nodes revert back to ip when a new node is added by Hostname.
From logs:
Decided to change address to "<IP>"
Steps followed:
1.) Install 2.0 GA
2.) Stop couchbase-server
3.) Add ns_name to couchbase-server
4.) remove files per:http://www.couchbase.com/docs/couchbase-manual-2.0/couchbase-bestpractice-cloud-ip.html
5.) add hostname to /opt/couchbase/var/lib/couchbase/ip
6.) Start server and configure with beer-sample
7.) Hostname shows up correctly
8.) Add new node by hostname(no need to rebalance)
Attachments
For Gerrit Dashboard: MB-7398 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
25319,4 | MB-7398 Move is_good_address to misc. | master | ns_server | Status: MERGED | +2 | +1 |
25320,4 | MB-7398 REST call to rename a node. | master | ns_server | Status: MERGED | +2 | +1 |
25322,4 | MB-7398 Ability to specify server hostname in wizard. | master | ns_server | Status: MERGED | +2 | +1 |
25340,3 | MB-7398 Handle ip_start file in dist_manager. | master | ns_server | Status: MERGED | +2 | +1 |
25341,3 | MB-7398 Rename added node to what was specified as its address. | master | ns_server | Status: MERGED | +2 | +1 |
25460,2 | MB-7398: don't allow hostnames without dot | master | ns_server | Status: MERGED | +2 | +1 |
25463,3 | MB-7398: added CHANGES entry for hostname management feature | master | ns_server | Status: MERGED | +2 | +1 |
26278,1 | Merge branch 'master' into 2.0.2 | 2.0.2 | ns_server | Status: MERGED | +2 | +1 |
27265,2 | MB-7398: reset user-assigned hostname when leaving cluster | 2.1.1 | ns_server | Status: MERGED | +2 | +1 |
27267,1 | Merge remote-tracking branch 'origin/2.1.1' | master | ns_server | Status: MERGED | +2 | +1 |