Do you mean you want to forward data in the original format? Or in any format?
The format is not important, the condition is the following:
There are 2 servers old and new truck server
the old one was incorrectly configured and slowly goes into oblivion, as well as on weak hardware
The new one is better optimized and on a good rack, but in order not to lose data and not to strain with the transfer of the database - I want to enable retransmission from the old server to the new one for a month completely of all data
I tried to set up mirroring hardware through Microtik, but so far I have not been successful, so I wondered for now to allocate another IP to the machine and try my luck in relaying
Using forwarding you can configure some basic GPS data, but not all other parameters would work.
in fact, only basic data is needed, since the server is used only for monitoring, please tell me how the config looks like for such a relay of all server objects
Thank you in advance, and very pleasantly surprised by the promptness of the answers ^^
You can configure first server to forward data to the second using OsmAnd protocol.
<entry key='forward.enable'>true</entry>
<entry key='forward.url'>http://ip.adresses:8082/?id={uniqueId}&timestamp={fixTime}&lat={latitude}&lon={longitude}&course={course}&accuracy={accuracy}</entry>
Right?
Something like that.
thanks - everything worked, only one point is unclear. I have devices using osmand protocol, but they did not work by retransmission until I changed the port on the second server to a different one from the standard one
How to redirect all data received by the server to another - I did not understand the documentation about forwarding