Shared Filesystem between multiple Redmine instances.
Added by José Cano over 14 years ago
Hi,
We are planning to deploy multiple instances of Redmine on different hw.
So far i know this solution could be deployed:
1 Apache Server working as Proxy/LoadBalances
1...N Redmine instances working as a cluster
1 Mysql instance
1 Filesystem
We have not tried yet. However, we have doubts on how to share the same file system between all the Redmine instances.
Any help would be really appreaciated.
Replies (5)
RE: Shared Filesystem between multiple Redmine instances. - Added by Felix Schäfer over 14 years ago
I'm not sure what you mean by sharing "1 filesystem", but if you mean you want to run many instances on one code-base: don't. The files
directory where attachments are stored is not environment aware, and I can't say for sure that's the only part that's not.
RE: Shared Filesystem between multiple Redmine instances. - Added by José Cano over 14 years ago
One filesystem meant to have a dedicated server working as filesystem, which can be shared among all the Redmine instances "located on different servers".
RE: Shared Filesystem between multiple Redmine instances. - Added by Felix Schäfer over 14 years ago
That shouldn't be a problem, though you might need to change the logging mechanism to some external mechanism as I'm not sure how well the logs will work if they are accessed from multiple locations on a shared disk. On the other hand, I'm curious as to what load you are expecting on the application if you are already planning for many servers,it seems like you are trying to solve a problem you don't have yet, and that you won't hit in a long time if your server is configured properly.
RE: Shared Filesystem between multiple Redmine instances. - Added by José Cano over 14 years ago
A customer wants to deploy a Redmine application. They don't want any maintenance from our side, hence he wants some guidelines about how to scale the system.
The expected load its first year is 3600 users and 50/100 concurrent customers.
About the filesystem, i did not talk about the logs, my question was regarding about document handling on redmine (i guess all of them are handling with attachment_fu).
We guess that a solution could be to mount "shared resource" among all the redmine servers, and point attachment_fu to this resource.
RE: Shared Filesystem between multiple Redmine instances. - Added by Felix Schäfer over 14 years ago
José Cano wrote:
The expected load its first year is 3600 users and 50/100 concurrent customers.
The problem is not the number of users and how many will use it but how many concurrent requests redmine will have to handle, and as far as I know the demo Redmine handles a buttload of requests and concurrency on a moderate setup. Swing by IRC, there are a few active heavy users around there, you could also talk to edavis10 or khalsa about the demo redmine and load requirements.
About the filesystem, i did not talk about the logs, my question was regarding about document handling on redmine (i guess all of them are handling with attachment_fu).
We guess that a solution could be to mount "shared resource" among all the redmine servers, and point attachment_fu to this resource.
Then ask the right question right away :-) Yes, having the documents (the files directory) on a shared drive shouldn't be a problem at all.