Re: [mapguide-users] Synchronize multiple mapguide instances

2017-03-17 Thread Rémy Gourrat
Hi, I'm very interesting by multiple MapGuide server but i am afraid by desynchronization multiple servers. I had an idea but I couldn't get time to develop it. Create an aspx/asmx wich replacing the url server in connect dialog box mapagent.fcgi in Mapguide maestro. This aspx/asmx

Re: [mapguide-users] Synchronize multiple mapguide instances

2017-03-16 Thread Srecko Lipovsek
Hi, Have you try Migrate function in Maestro. Right click on resource (e.g. MapDefinition) and pick Migrate ... I use exactly the same implementation as here for syncing repository. Only diferences are ability to connect to multiple destination servers and enumeration of reporitory for "Last

Re: [mapguide-users] Synchronize multiple mapguide instances

2017-03-16 Thread Mark Bratcher
Srecko, Thanks for sharing I figured that would be possible but I haven't dug into the API, that may be just the thing I need. Would you mind sharing a bit of your implementation? I understand if you don't. I'm also running multiple instances behind HaProxy with basically the same setup. I have

Re: [mapguide-users] Synchronize multiple mapguide instances

2017-03-16 Thread Srecko Lipovsek
Yes, each node is server/web tier pair. This was the reason for syncing repository between nodes. Sticky session in HaProxy need to be set, because all requests from one user need to be redirected to the same backend node (Mapguide Session). HaProxy has also the ability of healt check if one of

Re: [mapguide-users] Synchronize multiple mapguide instances

2017-03-15 Thread Jackie Ng
Interesting. Is each load balanced instance a server/web tier pair? So that you're basically HAProxy-ing to each mapagent? - Jackie -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Synchronize-multiple-mapguide-instances-tp5309286p5312596.html Sent from the MapGuide Users

Re: [mapguide-users] Synchronize multiple mapguide instances

2017-03-15 Thread Srecko Lipovsek
Hi, I'm using ResourceMigrator class from Maestro API for syncing repository items between nodes. I wrote small tool wich enumerate central Mapguide repository and migrate items to other Mapguide nodes. Fortunately RepositoryItem have property "Last Modified Date" (in UTC). This property can be

Re: [mapguide-users] Synchronize multiple mapguide instances

2017-02-24 Thread Mark Bratcher
Thanks Jackie, I'm going to give this thing a shot and I'll share any success stories with the group. On Thu, Feb 23, 2017 at 7:15 PM, Jackie Ng wrote: > This is a untapped space that I've only dipped my feet in, but you should > look at putting MapGuide inside docker

Re: [mapguide-users] Synchronize multiple mapguide instances

2017-02-23 Thread Jackie Ng
This is a untapped space that I've only dipped my feet in, but you should look at putting MapGuide inside docker containers. You can then script out the install/data/configuration set up in the Dockerfiles. You can leverage docker shared volumes to put shared spatial data files and reference them

[mapguide-users] Synchronize multiple mapguide instances

2017-02-23 Thread Mark Bratcher
Does anyone know of a way to keep multiple mapguide instances synchronized. I have about 6 instances that currently I have to manually make changes to each one. Some automation would save a lot of time and mistakes. On Feb 23, 2017 1:26 PM, "Rémy Gourrat" wrote: Hi,