You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
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)
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
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/.
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.
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.
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
Activity
Sing-Li commentedon Aug 20, 2015
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)
calebmeyer commentedon Aug 20, 2015
I have access to some testing facilities. I will be trying this out. Can you recommend a load balancer?
Sing-Li commentedon Aug 20, 2015
haproxy? Other community members may have more experience with other software load balancers. Please keep us posted on how it goes.
geekgonecrazy commentedon Aug 22, 2015
I enjoy playing with these things. I'll give this a go.
So things wanted tested?
Anything else? I guess rattle it a bit and see what bolts fall out? :D
Sing-Li commentedon Aug 22, 2015
My 2c
Sing-Li commentedon Sep 7, 2015
@calebmeyer any update on experiments with clusters of more than 4 RC instances? Thanks.
calebmeyer commentedon Sep 7, 2015
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.
Sing-Li commentedon Sep 7, 2015
Thanks, @calebmeyer ! 👍
Sing-Li commentedon Sep 11, 2015
#769 <---- where are the HA guys when we really need them?! 😀
geekgonecrazy commentedon Sep 11, 2015
We need to do some testing this weekend
leefaus commentedon Sep 15, 2015
@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/.
geekgonecrazy commentedon Sep 15, 2015
@leefaus sweet! Come across any issues?
Also did you use anything in front of your nodes?
leefaus commentedon Sep 15, 2015
@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.
13 remaining items
richardwlu commentedon Mar 3, 2016
What do we configure the
MONGO_URLandMONGO_OPLOG_URLenvironment 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 forMONGO_URLbut nothing forMONGO_OPLOG_URL.Is the gist for
MONGO_URLaccurate and should the second instanceMONGO_OPLOG_URLpoint to the primary mongodb ormongodb://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.
engelgabriel commentedon Mar 4, 2016
Please see #1867
engelgabriel commentedon Aug 9, 2016
Hi, please follow https://github.com/RocketChat/Rocket.Chat.Docs/issues/68
benyanke commentedon Apr 15, 2018
Not sure the status of this, but I'm willing to do whatever's needed to test on my docker cluster at home.
geekgonecrazy commentedon Apr 16, 2018
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
Merge pull request RocketChat#520 from RocketChat/npm-update
Merge pull request RocketChat#520 from assistify/feature/limit-added-…
Merge pull request RocketChat#520 from WideChat/develop_pwa-catchup-a…