ONLYOFFICE / DocumentServer

ONLYOFFICE Docs is a free collaborative online office suite comprising viewers and editors for texts, spreadsheets and presentations, forms and PDF, fully compatible with Office Open XML formats: .docx, .xlsx, .pptx and enabling collaborative editing in real time.
https://www.onlyoffice.com
GNU Affero General Public License v3.0
4.92k stars 1.1k forks source link

Cluster support for redis and rabbitmq #598

Open tanguy-opendsi opened 5 years ago

tanguy-opendsi commented 5 years ago

Hi we actualy have 3 onlyoffice document server on debian9 system. In front to onlyoffice we have haproxy configured with load balancing mode (roundrobin)

We want use onlyoffice with redis cluster and rabbitmq cluster.

My question is : How can i configure onlyoffice with rabbitmq cluster, and redis Actualy we just have only one server target.

For exemple in onlyoffice configuration we have

 "rabbitmq": {
    "url": "amqp://onlyoffice:onlyoffice@192.168.0.81/onlyoffice"
  },
      "redis": {
        "host": "192.168.0.21"
      },

Best regards

ShockwaveNN commented 5 years ago

@tanguy-opendsi Hi, to be clear, you want to be able to setup several rabbitmq or several redis servers in ONLYOFFICE DocumentServer config?

tanguy-opendsi commented 5 years ago

@ShockwaveNN yes sorry if i'm not clear.

ShockwaveNN commented 5 years ago

@tanguy-opendsi We use node_redis library for redis and it's currently not support clustering, see https://github.com/NodeRedis/node_redis/issues/574

About rabbitmq - you can try to figure it out by yourself via https://www.rabbitmq.com/clustering.html#clustering-and-clients, but we got no working instruction for this

tanguy-opendsi commented 5 years ago

@ShockwaveNN Thx for reply. I think the best way to do a real load balancing HA onlyoffice app is to provide a floating ip directly on our servers (redis/rabbitmq) using peacemaker or something else.

bozicm commented 4 years ago

@tanguy-opendsi We use node_redis library for redis and it's currently not support clustering, see NodeRedis/node-redis#574

Have you thought about replacing it with ioredis?

CallumDowling commented 3 years ago

Any update on this ?

ShockwaveNN commented 3 years ago

Sorry no news about the original issue

But now we provide k8s version of DocumentServer, maybe this may help

grischdian commented 1 year ago

since a few months have passed by - any news on this?