Setting up RocketChat with Multiple VM's

Hi all!

I would like to ask on whether it’s possible to set up Rocketchat application inside 2 separate VM’s using the free edition license. (I am using Manual Installation Ubuntu guide for this). I am getting “You are operating multiple instances without an active enter


prise license - some features may not behave as designed”

Meaning, instead of having 2 RocketChat instances inside a single VM, I would like to have it separated. 1 RocketChat per VM.

My goal is to have:

  1. 2 RocketChat VM’s, each VM having it’s own IP but load balanced to a single DNS
  2. 1 Nginx VM to enable SSL
  3. 3 MongoDB VM’s, replicaset, both RocketChat VM’s to connect here

Any help is much appreciated, Thanks in advance!

Node 1 VM “systemctl edit rocketchat”

[Service]
Environment=ROOT_URL=http://localhost:3000/
Environment=PORT=3000
#Environment=MONGO_URL=mongodb://192.168.9.205:27017/rocketchat?replicaSet=rs01
#Environment=MONGO_OPLOG_URL=mongodb://192.168.9.205:27017/local?replicaSet=rs01
Environment=MONGO_URL=mongodb://mongo-db1:27017,mongo-db2:27017,mongo-db3:27017/rocketchat?replicaSet=rs01
Environment=MONGO_OPLOG_URL=mongodb://mongo-db1:27017,mongo-db2:27017,mongo-db3:27017/rocketchat?replicaSet=rs01

Node 2 VM “systemctl edit rocketchat”
[Service]
Environment=ROOT_URL=http://localhost:3000/
Environment=PORT=3000
#Environment=MONGO_URL=mongodb://192.168.9.205:27017/rocketchat?replicaSet=rs01
#Environment=MONGO_OPLOG_URL=mongodb://192.168.9.205:27017/local?replicaSet=rs01
Environment=MONGO_URL=mongodb://mongo-db1:27017,mongo-db2:27017,mongo-db3:27017/rocketchat?replicaSet=rs01
Environment=MONGO_OPLOG_URL=mongodb://mongo-db1:27017,mongo-db2:27017,mongo-db3:27017/rocketchat?replicaSet=rs01

If i have both RC application running in both of my VM’s, only 1 of the VM’s RocketChat application I am able to access