jasmin icon indicating copy to clipboard operation
jasmin copied to clipboard

How to replicate Jasmin container between 2 instance?

Open kimseasok opened this issue 3 years ago • 2 comments

Hello Everyone. I'm deploying jasmin using ecs. I replicated jasmin container into 2 different and mapped /etc/jasmin/store to the same amazon EFS accesspoint. However, when create a new user, the data didn't replicated between the Jasmin container. Anybody, please advice me how Jasmin read and write User, Route, and other information. Is everything is store in Redis in-memory database? Also, any guy for high available?

kimseasok avatar Apr 24 '21 15:04 kimseasok

@farirat, could you please help me to answer the above question?

kimseasok avatar May 09 '21 06:05 kimseasok

It looks like everything is kept in-memory (but not in Redis! Jasmin itself handles this data) unless you save data to disk by issuing persist command on admin. In your case i think that you need to

  1. Create user on server-1
  2. Issue a persist command on server-1
  3. Logon to server-2
  4. Issue load command on server-2

polyurethanegoose avatar Sep 30 '21 00:09 polyurethanegoose

Stale issue detected, remove stale label or comment or this will be closed soon.

github-actions[bot] avatar Sep 30 '22 04:09 github-actions[bot]

This issue was closed because it has been stalled more than a year with no activity.

github-actions[bot] avatar Nov 15 '22 02:11 github-actions[bot]