-
1. Re: Need to transfer uploaded files from one server to anoth
geertvds Jun 29, 2005 8:56 AM (in response to uwilliams)you are looking for replication methods,
but wouldn't it be better to just share 1 filesystem with all the machines in the cluster (like a samba share, or a NFS share ?)
of course you can also just store your files in the database... -
2. Re: Need to transfer uploaded files from one server to anoth
uwilliams Jun 29, 2005 9:19 AM (in response to uwilliams)Unfortunately, due to cost and time constraints a DB is not considered. (although it may come into action later with growth)
Also JBoss will be on SuSE Linux and natively it does not share filesystems easily. Stuff like SAN or NAS are also not considered because of cost.
So basically yes, I need an easy way to do replication to another server.
My understanding is that the upload will be handled by a J2EE process (MBean?). As I have not seem the application yet this is a guess. However, JBoss will be handling the upload. Is there a way I can intercept that process, see when it is finished and automaticall copy to the other server? -
3. Re: Need to transfer uploaded files from one server to anoth
geertvds Jun 30, 2005 6:13 AM (in response to uwilliams)Also JBoss will be on SuSE Linux and natively it does not share filesystems easily.
Just install the suse samba packages and set up a samba share.
What you could also do is put an 'rsync' in your crontab and synchronize the two directories every once in a while.
however, I would suggest that you don't duplicate data when it is not really necessary... -
4. Re: Need to transfer uploaded files from one server to anoth
uwilliams Jun 30, 2005 6:15 AM (in response to uwilliams)will try that, Thank you.