Re: [osmosis-dev] [OSM-talk] Osmosis replication fails

2011-12-19 Thread Martijn van Exel
Thanks all for your help. Peter's updated statefile tool will be a big
help to future users wanting to set this up. It is already linked to
in the osmosis replication documentation, so the link should be easy
enough to find by people wanting to set up replication.

Martijn

On Mon, Dec 19, 2011 at 6:02 AM, Peter Körner  wrote:
> Am 19.12.2011 13:19, schrieb Brett Henderson:
>
>> You need to pick a sequence number by examining the timestamp property
>> in the state files.  Pick a timestamp in the hour replication state
>> files that is earlier than the last timestamp received from the minute
>> replication.  It's a bit tedious.  I seem to remember somebody creating
>> a web-based too to assist with this but I don't have a link handy.
>
>
> http://toolserver.org/~mazder/replicate-sequences/
>
> I just updated it to include the hourly and daily files.
>
> Peter
>
> ___
> osmosis-dev mailing list
> osmosis-dev@openstreetmap.org
> http://lists.openstreetmap.org/listinfo/osmosis-dev



-- 
martijn van exel
geospatial omnivore
1109 1st ave #2
salt lake city, ut 84103
801-550-5815
http://oegeo.wordpress.com

___
osmosis-dev mailing list
osmosis-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/osmosis-dev


Re: [osmosis-dev] [OSM-talk] Osmosis replication fails

2011-12-19 Thread Peter Körner

Am 19.12.2011 13:19, schrieb Brett Henderson:

You need to pick a sequence number by examining the timestamp property
in the state files.  Pick a timestamp in the hour replication state
files that is earlier than the last timestamp received from the minute
replication.  It's a bit tedious.  I seem to remember somebody creating
a web-based too to assist with this but I don't have a link handy.


http://toolserver.org/~mazder/replicate-sequences/

I just updated it to include the hourly and daily files.

Peter

___
osmosis-dev mailing list
osmosis-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/osmosis-dev


Re: [osmosis-dev] [OSM-talk] Osmosis replication fails

2011-12-19 Thread Brett Henderson
On 18 December 2011 10:12, Martijn van Exel  wrote:

> On Sat, Dec 17, 2011 at 1:49 PM, Paul Norman  wrote:
> > When switching between minutely and hourly you have to change the
> sequenceNumber in state.txt
> >
> >
>
> Thanks -- how do you figure out the new sequence number though?
>

You need to pick a sequence number by examining the timestamp property in
the state files.  Pick a timestamp in the hour replication state files that
is earlier than the last timestamp received from the minute replication.
It's a bit tedious.  I seem to remember somebody creating a web-based too
to assist with this but I don't have a link handy.

Brett
___
osmosis-dev mailing list
osmosis-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/osmosis-dev


Re: [osmosis-dev] [OSM-talk] Osmosis replication fails

2011-12-17 Thread Martijn van Exel
On Sat, Dec 17, 2011 at 1:49 PM, Paul Norman  wrote:
> When switching between minutely and hourly you have to change the 
> sequenceNumber in state.txt
>
>

Thanks -- how do you figure out the new sequence number though?

-- 
martijn van exel
geospatial omnivore
1109 1st ave #2
salt lake city, ut 84103
801-550-5815
http://oegeo.wordpress.com

___
osmosis-dev mailing list
osmosis-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/osmosis-dev