Skip to content

High Availability #520

Closed
Closed

Description

@calebmeyer

Can this app be set up for high availability? If you have a cluster, can you have a load balancer, at least two application nodes, and several mongo nodes?

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Activity

  1. Sing-Li commented on Aug 20, 2015

    @Sing-Li
    Member

    We need to try it in a lab environment. Configure a mongo replica set with op log. Load balancer needs to support sticky sessions if you have old browsers and/or older mobile clients. @calebmeyer -- do you have access to test facilities for HA configurations? If issues are found in such configurations - we can fix them. (note - some optional packages, such as file-upload to local filesystem, are by design not HA compatible)

  2. calebmeyer commented on Aug 20, 2015

    @calebmeyer
    Author

    I have access to some testing facilities. I will be trying this out. Can you recommend a load balancer?

  3. Sing-Li commented on Aug 20, 2015

    @Sing-Li
    Member

    haproxy? Other community members may have more experience with other software load balancers. Please keep us posted on how it goes.

  4. geekgonecrazy commented on Aug 22, 2015

    @geekgonecrazy
    Contributor

    I enjoy playing with these things. I'll give this a go.

    So things wanted tested?

    • cluster mongodb (couple nodes)
    • rocket.chat (couple instances. Pointing to the master of the mongo cluster)
    • load balancer (haproxy or nginx)

    Anything else? I guess rattle it a bit and see what bolts fall out? :D

  5. Sing-Li commented on Aug 22, 2015

    @Sing-Li
    Member

    My 2c

    • variety of client browser/devices (especially IE versions)
    • force-fail mongo instance; force-fail meteor instance; observe interruption in user experience - expected to see some UI anomalies due to delayed session recovery/fail-over, but no data lost
  6. Sing-Li commented on Sep 7, 2015

    @Sing-Li
    Member

    @calebmeyer any update on experiments with clusters of more than 4 RC instances? Thanks.

  7. calebmeyer commented on Sep 7, 2015

    @calebmeyer
    Author

    I have logged a JIRA for access to my organization's openstack cluster, I'm just waiting on a response. I'll keep you posted.

  8. Sing-Li commented on Sep 7, 2015

    @Sing-Li
    Member

    Thanks, @calebmeyer ! 👍

  9. Sing-Li commented on Sep 11, 2015

    @Sing-Li
    Member

    #769 <---- where are the HA guys when we really need them?! 😀

  10. geekgonecrazy commented on Sep 11, 2015

    @geekgonecrazy
    Contributor

    We need to do some testing this weekend

  11. leefaus commented on Sep 15, 2015

    @leefaus

    @geekgonecrazy @Sing-Li

    I have an HA solution up and running at Google Cloud. Here is the private Gist that describes what I did. I still need to tweak some of the docs, but it is running famously at http://130.211.152.251/.

  12. geekgonecrazy commented on Sep 15, 2015

    @geekgonecrazy
    Contributor

    @leefaus sweet! Come across any issues?

    Also did you use anything in front of your nodes?

  13. leefaus commented on Sep 15, 2015

    @leefaus

    @geekgonecrazy

    The only issue is trying to automate setting up the MongoDB Replica Set. I am digging more into that. And on Google Cloud, the HTTP Load Balancing doesn't support websockets so you need to use Network Load Balancing. Other than that, everything went according to plan.

  14. 13 remaining items

  15. modified the milestones: , on Feb 23, 2016
  16. richardwlu commented on Mar 3, 2016

    @richardwlu

    What do we configure the MONGO_URL and MONGO_OPLOG_URL environment variables on a secondary instance of the app with a mongo replica set of 3 members? I noticed in this gist https://gist.github.com/leefaus/fd55eee32f1dc5918220 that there is a list for MONGO_URL but nothing for MONGO_OPLOG_URL.

    Is the gist for MONGO_URL accurate and should the second instance MONGO_OPLOG_URL point to the primary mongodb or mongodb://localhost:27017/local?

    We're currently running on CentOS and have one instance of the app running and am currently installing and bring up another Rocket.Chat instance of the app up on another server. We will be adding 3 members of the replica set, one on the primary Rocket.chat instance, one on the secondary Rocket.chat instance, and another on a separate mongo server.

  17. engelgabriel commented on Mar 4, 2016

    @engelgabriel
    Member

    Please see #1867

  18. engelgabriel commented on Aug 9, 2016

    @engelgabriel
    Member
  19. modified the milestone: on Dec 6, 2016
  20. benyanke commented on Apr 15, 2018

    @benyanke

    Not sure the status of this, but I'm willing to do whatever's needed to test on my docker cluster at home.

  21. geekgonecrazy commented on Apr 16, 2018

    @geekgonecrazy
    Contributor

    See referenced issue on docs repo right above as well as our documentation. Read through various docker installs and you'll get a variaty of ways to do your setup

  22. added a commit that references this issue on Jul 10, 2018
  23. added a commit that references this issue on Apr 4, 2019
  24. added a commit that references this issue on Feb 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions