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

Have the ability to run multiple servers on the same machine

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: feature-backlog
    • Component/s: ns_server
    • Security Level: Public
    • Labels:

      Description

      Some users have requested being able to do what we do in development with cluster run. The workaround is to just use a bunch of VMs with one server on each VM, but this is slower than being able to do everything on the same VM. I marked this a low priority since there is a workaround.

      No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

        Hide
        dipti Dipti Borkar added a comment -

        VMs are the best way to go, unless we change the Couchbase Architecture.

        Show
        dipti Dipti Borkar added a comment - VMs are the best way to go, unless we change the Couchbase Architecture.
        Hide
        dipti Dipti Borkar added a comment -

        Alk, is this even possible? If yes, what are the changes needed to make this happen. This is just to understand the scope of the change.

        Show
        dipti Dipti Borkar added a comment - Alk, is this even possible? If yes, what are the changes needed to make this happen. This is just to understand the scope of the change.
        Hide
        alkondratenko Aleksey Kondratenko (Inactive) added a comment -

        Yes, possible. Simplest possible way is via linux containers which would require no server changes at all. And strongly suggest those customers to just go this way.

        If that's not good enough (why would it?), then we need:

        a) ability to install server to different places (we already provide some "relocation script" for at least customer A)

        b) configure different server instances to use different ports and different erlang node names. That's appears to be not hard to do. Perhaps 2-3 days.

        Maintenance cost of this feature can be large. I.e. we do maintain cluster_run, but at various points in time we had varying limitations. Like not being able to join "normal" nodes to cluster_run clusters and stuff like that.

        Show
        alkondratenko Aleksey Kondratenko (Inactive) added a comment - Yes, possible. Simplest possible way is via linux containers which would require no server changes at all . And strongly suggest those customers to just go this way. If that's not good enough (why would it?), then we need: a) ability to install server to different places (we already provide some "relocation script" for at least customer A) b) configure different server instances to use different ports and different erlang node names. That's appears to be not hard to do. Perhaps 2-3 days. Maintenance cost of this feature can be large. I.e. we do maintain cluster_run, but at various points in time we had varying limitations. Like not being able to join "normal" nodes to cluster_run clusters and stuff like that.
        Hide
        alkondratenko Aleksey Kondratenko (Inactive) added a comment -

        See above

        Show
        alkondratenko Aleksey Kondratenko (Inactive) added a comment - See above
        Hide
        dipti Dipti Borkar added a comment -

        IS this something we test and support? Are there detailed instructions on how to achieve this?

        Show
        dipti Dipti Borkar added a comment - IS this something we test and support? Are there detailed instructions on how to achieve this?
        Hide
        alkondratenko Aleksey Kondratenko (Inactive) added a comment -

        No we don't explicitly test or support. So placing this on our shoulders will be additional burden.

        We can and should document and test and support ways to change our ports, but supporting complete experience of running multiple instances per node is not necessarily what we want to support forever. IMHO.

        Show
        alkondratenko Aleksey Kondratenko (Inactive) added a comment - No we don't explicitly test or support. So placing this on our shoulders will be additional burden. We can and should document and test and support ways to change our ports, but supporting complete experience of running multiple instances per node is not necessarily what we want to support forever. IMHO.
        Hide
        anil Anil Kumar added a comment -

        Running multiple instance using user-defined-ports - http://docs.couchbase.com/couchbase-manual-2.5/cb-install/#user-defined-ports

        Show
        anil Anil Kumar added a comment - Running multiple instance using user-defined-ports - http://docs.couchbase.com/couchbase-manual-2.5/cb-install/#user-defined-ports

          People

          • Assignee:
            anil Anil Kumar
            Reporter:
            mikew Mike Wiederhold
          • Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes