Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-7398

[2.0.2 RN + Manual?]Host name and IP address management in Couchbase

    Details

    • Flagged:
      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)

      # Subject Project Status CR V
      For Gerrit Dashboard: &For+MB-7398=message:MB-7398

        Activity

        james.mauss James Mauss created issue -
        Show
        dipti Dipti Borkar added a comment - http://www.couchbase.com/forums/thread/ip-address-seems-have-changed-1
        dipti Dipti Borkar made changes -
        Field Original Value New Value
        Assignee Dipti Borkar [ dipti ]
        dipti Dipti Borkar made changes -
        Fix Version/s 2.0.2 [ 10418 ]
        Affects Version/s 2.0.1 [ 10399 ]
        dipti Dipti Borkar made changes -
        Labels PM-PRIORITIZED
        dipti Dipti Borkar made changes -
        Summary Cluster reverts to IP from hostname on add node Host name management in Couchbase
        Issue Type Bug [ 1 ] Improvement [ 4 ]
        dipti Dipti Borkar made changes -
        Rank Ranked higher
        dipti Dipti Borkar made changes -
        Description 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)


        - 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)


        dipti Dipti Borkar made changes -
        Summary Host name management in Couchbase Host name and IP address management in Couchbase
        dipti Dipti Borkar made changes -
        Labels PM-PRIORITIZED PM-PRIORITIZED customer
        Hide
        dipti Dipti Borkar added a comment -

        see also MB-4974

        Show
        dipti Dipti Borkar added a comment - see also MB-4974
        dipti Dipti Borkar made changes -
        Assignee Dipti Borkar [ dipti ] Aleksey Kondratenko [ alkondratenko ]
        dipti Dipti Borkar made changes -
        Rank Ranked lower
        dipti Dipti Borkar made changes -
        Rank Ranked lower
        perry Perry Krug made changes -
        Component/s ns_server [ 10019 ]
        dipti Dipti Borkar made changes -
        Rank Ranked higher
        dipti Dipti Borkar made changes -
        Rank Ranked higher
        maria Maria McDuff (Inactive) made changes -
        Priority Major [ 3 ] Blocker [ 1 ]
        Hide
        maria Maria McDuff (Inactive) added a comment -

        upgrading to blocker for 2.0.2 release.

        Show
        maria Maria McDuff (Inactive) added a comment - upgrading to blocker for 2.0.2 release.
        Hide
        simonpai Simon Pai added a comment - - edited

        I really hope we can have this fixed sooner. It's blocking so many local dev environments. The best practice guide never worked for me.

        Show
        simonpai Simon Pai added a comment - - edited I really hope we can have this fixed sooner. It's blocking so many local dev environments. The best practice guide never worked for me.
        Hide
        maria Maria McDuff (Inactive) added a comment -

        per bug scrub. alk to merge pretty soon.

        Show
        maria Maria McDuff (Inactive) added a comment - per bug scrub. alk to merge pretty soon.
        Hide
        perry Perry Krug added a comment -

        Can we make sure there is a plan for the proper tooling and documentation around this as well? The couchbase-cli will have to be updated to support this option and documentation for the couchbase-cli, the UI and the REST API should be added to the manual for 2.0.2

        Show
        perry Perry Krug added a comment - Can we make sure there is a plan for the proper tooling and documentation around this as well? The couchbase-cli will have to be updated to support this option and documentation for the couchbase-cli, the UI and the REST API should be added to the manual for 2.0.2
        perry Perry Krug made changes -
        Component/s documentation [ 10012 ]
        perry Perry Krug made changes -
        Component/s tools [ 10223 ]
        Hide
        alkondratenko Aleksey Kondratenko (Inactive) added a comment -

        Merged

        Show
        alkondratenko Aleksey Kondratenko (Inactive) added a comment - Merged
        alkondratenko Aleksey Kondratenko (Inactive) made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Aleksey Kondratenko [ alkondratenko ] Aliaksey Artamonau [ aliaksey artamonau ]
        Resolution Fixed [ 1 ]
        Hide
        perry Perry Krug added a comment -

        Reopening as we need to either use this bug or create new ones for:
        -Documentation updates: UI, CLI, REST API and also the deprecation of our "in the cloud" documentation along with a specific section on what this new capability is for.
        -Tooling as the CLI will need to provide away of performing this as well

        Show
        perry Perry Krug added a comment - Reopening as we need to either use this bug or create new ones for: -Documentation updates: UI, CLI, REST API and also the deprecation of our "in the cloud" documentation along with a specific section on what this new capability is for. -Tooling as the CLI will need to provide away of performing this as well
        perry Perry Krug made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Assignee Aliaksey Artamonau [ aliaksey artamonau ] Maria McDuff [ maria ]
        maria Maria McDuff (Inactive) made changes -
        Summary Host name and IP address management in Couchbase [2.0.2-doc/release-notes] Host name and IP address management in Couchbase
        maria Maria McDuff (Inactive) made changes -
        Assignee Maria McDuff [ maria ] Karen Zeller [ kzeller ]
        anil Anil Kumar made changes -
        Summary [2.0.2-doc/release-notes] Host name and IP address management in Couchbase Host name and IP address management in Couchbase
        anil Anil Kumar made changes -
        Component/s documentation [ 10012 ]
        Hide
        anil Anil Kumar added a comment -

        Closing this bug since we've separate bug MB-8061 tracking documentation.

        Show
        anil Anil Kumar added a comment - Closing this bug since we've separate bug MB-8061 tracking documentation.
        anil Anil Kumar made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        anil Anil Kumar made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Assignee Karen Zeller [ kzeller ] Aleksey Kondratenko [ alkondratenko ]
        Hide
        maria Maria McDuff (Inactive) added a comment -

        Deep, pls verify in 2.0.2. it is already merged.

        Show
        maria Maria McDuff (Inactive) added a comment - Deep, pls verify in 2.0.2. it is already merged.
        maria Maria McDuff (Inactive) made changes -
        Resolution Fixed [ 1 ]
        Status Closed [ 6 ] Reopened [ 4 ]
        Assignee Aleksey Kondratenko [ alkondratenko ] Deepkaran Salooja [ deepkaran.salooja ]
        Hide
        maria Maria McDuff (Inactive) added a comment -

        Need to be verified by QE. Deep is assigned.

        Show
        maria Maria McDuff (Inactive) added a comment - Need to be verified by QE. Deep is assigned.
        maria Maria McDuff (Inactive) made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        kzeller kzeller made changes -
        Summary Host name and IP address management in Couchbase [2.0.2 RN + Manual?]Host name and IP address management in Couchbase
        Labels PM-PRIORITIZED customer 2.0.2-release-notes PM-PRIORITIZED customer
        Hide
        kzeller kzeller added a comment -

        Input via email:

        Hi Karen,

        Fwding you information from Aliaksey on the recent changes.

        Will add notes on the ticket, once tested and verified.

        thanks,
        Ketaki

        Begin forwarded message:

        From: Aliaksey <alkondratenko@gmail.com>
        Subject: Re: Ref: Need more information - MB-7398 (Hostname Management)
        Date: April 11, 2013 10:11:51 AM PDT
        To: Ketaki Gangal <Ketaki@couchbase.com>
        Cc: Deepkaran Salooja <deepkaran.salooja@globallogic.com>

        2.0.0 way is forbidden since 2.0.1. I don't know if that's documented or not but it must be.

        2.0.1 instructions are actually compatible with new code. But manual change of address is not recommended anymore.

        On Wed, Apr 10, 2013 at 7:28 PM, Ketaki Gangal <Ketaki@couchbase.com> wrote:
        Hi Aliaksey,

        For testing changes from MB-7398 (Hostname Management), is http://review.couchbase.org/#/c/25463/3/CHANGES the right place to look for usage?

        Does this also mean, the older way http://www.couchbase.com/docs/couchbase-manual-2.0/couchbase-bestpractice-cloud-ip.html is/not valid anymore?

        Could you confirm?

        thanks,
        Ketaki

        On Apr 10, 2013, at 6:50 PM, Deepkaran Salooja wrote:

        Hi Maria,

        For the changes done related to MB-7398 (Hostname Management), I think I need more information on what changes have been done. Is there any specs or documentation that you are aware of related to this?
        And also need to find out if our earlier mechanism of hostname configuration is still valid:
        http://www.couchbase.com/docs/couchbase-manual-2.0/couchbase-bestpractice-cloud-ip.html

        Thanks,
        Deep

        Show
        kzeller kzeller added a comment - Input via email: Hi Karen, Fwding you information from Aliaksey on the recent changes. Will add notes on the ticket, once tested and verified. thanks, Ketaki Begin forwarded message: From: Aliaksey <alkondratenko@gmail.com> Subject: Re: Ref: Need more information - MB-7398 (Hostname Management) Date: April 11, 2013 10:11:51 AM PDT To: Ketaki Gangal <Ketaki@couchbase.com> Cc: Deepkaran Salooja <deepkaran.salooja@globallogic.com> 2.0.0 way is forbidden since 2.0.1. I don't know if that's documented or not but it must be. 2.0.1 instructions are actually compatible with new code. But manual change of address is not recommended anymore. On Wed, Apr 10, 2013 at 7:28 PM, Ketaki Gangal <Ketaki@couchbase.com> wrote: Hi Aliaksey, For testing changes from MB-7398 (Hostname Management), is http://review.couchbase.org/#/c/25463/3/CHANGES the right place to look for usage? Does this also mean, the older way http://www.couchbase.com/docs/couchbase-manual-2.0/couchbase-bestpractice-cloud-ip.html is/not valid anymore? Could you confirm? thanks, Ketaki On Apr 10, 2013, at 6:50 PM, Deepkaran Salooja wrote: Hi Maria, For the changes done related to MB-7398 (Hostname Management), I think I need more information on what changes have been done. Is there any specs or documentation that you are aware of related to this? And also need to find out if our earlier mechanism of hostname configuration is still valid: http://www.couchbase.com/docs/couchbase-manual-2.0/couchbase-bestpractice-cloud-ip.html Thanks, Deep
        wayne Wayne Siu made changes -
        Component/s documentation [ 10012 ]
        Hide
        deepkaran.salooja Deepkaran Salooja added a comment -

        Following CBQE tasks have been created to verify this change:

        CBQE-1209
        CBQE-1214
        CBQE-1215
        CBQE-1221

        Show
        deepkaran.salooja Deepkaran Salooja added a comment - Following CBQE tasks have been created to verify this change: CBQE-1209 CBQE-1214 CBQE-1215 CBQE-1221
        kzeller kzeller made changes -
        Flagged Release Note [ 10010 ]
        Hide
        maria Maria McDuff (Inactive) added a comment -

        Deep –

        Scenarios to confirm:
        AWS: After upgrade, verify that the host is reachable by hostname (DNS resolution) even if private IP in amazon changed
        AWS: After restart of instance, verify same as above.

        Thanks,
        Maria

        Show
        maria Maria McDuff (Inactive) added a comment - Deep – Scenarios to confirm: AWS: After upgrade, verify that the host is reachable by hostname (DNS resolution) even if private IP in amazon changed AWS: After restart of instance, verify same as above. Thanks, Maria
        Hide
        dipti Dipti Borkar added a comment -

        Needs to go into the new behavior section of the release notes.

        Show
        dipti Dipti Borkar added a comment - Needs to go into the new behavior section of the release notes.
        Hide
        maria Maria McDuff (Inactive) added a comment -

        Shashank has tested this feature. The test cases for EC2 were executed and the status for those are updated in the test plan:
        http://hub.internal.couchbase.com/confluence/display/QA/Hostname+Management+Test+Plan

        A couple of points to note here are:

        • The private IP of EC2 instances don't get changed on reboot. So that particular case couldn't be verified. However, after reboot couchbase works fine in EC2(with hostnames). [Test 22,23]
        • On stopping/starting an instance, both hostname/ip change and the already installed couchbase server stops working. This looks ok to me. [Test 46,47]

        Shashank was talking to Ketaki on this. If we want to test changing the IP while hostname remains the same or vice-versa, we'll need ITs help to setup something special internally for this.

        Thanks,
        Deep

        Show
        maria Maria McDuff (Inactive) added a comment - Shashank has tested this feature. The test cases for EC2 were executed and the status for those are updated in the test plan: http://hub.internal.couchbase.com/confluence/display/QA/Hostname+Management+Test+Plan A couple of points to note here are: The private IP of EC2 instances don't get changed on reboot. So that particular case couldn't be verified. However, after reboot couchbase works fine in EC2(with hostnames). [Test 22,23] On stopping/starting an instance, both hostname/ip change and the already installed couchbase server stops working. This looks ok to me. [Test 46,47] Shashank was talking to Ketaki on this. If we want to test changing the IP while hostname remains the same or vice-versa, we'll need ITs help to setup something special internally for this. Thanks, Deep
        maria Maria McDuff (Inactive) made changes -
        Assignee Deepkaran Salooja [ deepkaran.salooja ] Anil Kumar [ anil ]
        anil Anil Kumar made changes -
        Assignee Anil Kumar [ anil ] Karen Zeller [ kzeller ]
        mikew Mike Wiederhold made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Assignee kzeller [ kzeller ] Mike Wiederhold [ mikew ]

          People

          • Assignee:
            mikew Mike Wiederhold
            Reporter:
            james.mauss James Mauss
          • Votes:
            1 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes