Hi Folks,
I've been looking at production setup for OFBiz and the one issue I'm getting stuck with is how to get uploaded catalog/product images distributed across all the servers in a LB/HA setup. I've looked at rsync, lsyncd, csync2, NFS, GlusterFS. I'm just wondering if anyone has any experience with any of these in production and can offer a recommendation? Maybe I'm missing a trick and there's a much easier way to get OFBiz to push files to all servers, and avoid a single-point-of-failure. Many thanks in advance. Jason |
Administrator
|
I think you are looking for the ofbizContentUrl Freemarker macro. The idea is to put the static resources on a "content server" to get the resources
from this "unique" server. Of course having LB/HA and rather a cluster for the "content server" is recommended... Jacques Le 21/05/2015 15:34, Jason RJ a écrit : > Hi Folks, > > I've been looking at production setup for OFBiz and the one issue I'm getting stuck with is how to get uploaded catalog/product images distributed > across all the servers in a LB/HA setup. I've looked at rsync, lsyncd, csync2, NFS, GlusterFS. I'm just wondering if anyone has any experience with > any of these in production and can offer a recommendation? Maybe I'm missing a trick and there's a much easier way to get OFBiz to push files to all > servers, and avoid a single-point-of-failure. > > Many thanks in advance. > > Jason > > |
Thanks Jacques, I had looked at that briefly, but I assumed the uploads
still go to one of the OFBiz servers, so really the images need uploaded separately to the content server instead? Thanks I appreciate your quick response. Jason On 21/05/2015 17:52, Jacques Le Roux wrote: > I think you are looking for the ofbizContentUrl Freemarker macro. The > idea is to put the static resources on a "content server" to get the > resources from this "unique" server. Of course having LB/HA and rather > a cluster for the "content server" is recommended... > > Jacques > > Le 21/05/2015 15:34, Jason RJ a écrit : >> Hi Folks, >> >> I've been looking at production setup for OFBiz and the one issue I'm >> getting stuck with is how to get uploaded catalog/product images >> distributed across all the servers in a LB/HA setup. I've looked at >> rsync, lsyncd, csync2, NFS, GlusterFS. I'm just wondering if anyone >> has any experience with any of these in production and can offer a >> recommendation? Maybe I'm missing a trick and there's a much easier >> way to get OFBiz to push files to all servers, and avoid a >> single-point-of-failure. >> >> Many thanks in advance. >> >> Jason >> >> |
Administrator
|
Le 22/05/2015 10:02, Jason RJ a écrit : > Thanks Jacques, I had looked at that briefly, but I assumed the uploads still go to one of the OFBiz servers, so really the images need uploaded > separately to the content server instead? Yes indeed. AFAIK there are no means for that OOTB. This part you need to adapt to your specific needs. HTH Jacques > > Thanks I appreciate your quick response. > > Jason > > On 21/05/2015 17:52, Jacques Le Roux wrote: >> I think you are looking for the ofbizContentUrl Freemarker macro. The idea is to put the static resources on a "content server" to get the >> resources from this "unique" server. Of course having LB/HA and rather a cluster for the "content server" is recommended... >> >> Jacques >> >> Le 21/05/2015 15:34, Jason RJ a écrit : >>> Hi Folks, >>> >>> I've been looking at production setup for OFBiz and the one issue I'm getting stuck with is how to get uploaded catalog/product images distributed >>> across all the servers in a LB/HA setup. I've looked at rsync, lsyncd, csync2, NFS, GlusterFS. I'm just wondering if anyone has any experience >>> with any of these in production and can offer a recommendation? Maybe I'm missing a trick and there's a much easier way to get OFBiz to push files >>> to all servers, and avoid a single-point-of-failure. >>> >>> Many thanks in advance. >>> >>> Jason >>> >>> > > |
In reply to this post by Jason RJ
Please refer catalog.proerties file to mange the image server path.
I think image.server.path (catalog.properties) works for you. You can also set the content server path to serve content from external server at url.properties (content.url.prefix.secure and content.url.prefix.standard) Thanks & Regards — Deepak Dixit > On May 22, 2015, at 1:32 PM, Jason RJ <[hidden email]> wrote: > > Thanks Jacques, I had looked at that briefly, but I assumed the uploads still go to one of the OFBiz servers, so really the images need uploaded separately to the content server instead? > > Thanks I appreciate your quick response. > > Jason > > On 21/05/2015 17:52, Jacques Le Roux wrote: >> I think you are looking for the ofbizContentUrl Freemarker macro. The idea is to put the static resources on a "content server" to get the resources from this "unique" server. Of course having LB/HA and rather a cluster for the "content server" is recommended... >> >> Jacques >> >> Le 21/05/2015 15:34, Jason RJ a écrit : >>> Hi Folks, >>> >>> I've been looking at production setup for OFBiz and the one issue I'm getting stuck with is how to get uploaded catalog/product images distributed across all the servers in a LB/HA setup. I've looked at rsync, lsyncd, csync2, NFS, GlusterFS. I'm just wondering if anyone has any experience with any of these in production and can offer a recommendation? Maybe I'm missing a trick and there's a much easier way to get OFBiz to push files to all servers, and avoid a single-point-of-failure. >>> >>> Many thanks in advance. >>> >>> Jason >>> >>> > |
Free forum by Nabble | Edit this page |