version 5.4

jay2 years ago

Just a question, if a second instance is done

as in the 5.4 blog below
Traccar utilizes multicast messages for synchronization. You need to enable it in the configuration file like this:

<entry key='broadcast.interface'>en0</entry> (This en0, where can we find this in an instance, is this the network adapter)
<entry key='broadcast.address'>230.3.3.3</entry> (This is the IP of the traccar server, I guess)
<entry key='broadcast.port'>7001</entry> (This port is for the second instance)

and so we point to mysql database of the first instance on the traccar.xml config second instance .

homa2 years ago

and second question about multicast message.
How I can configure it for docker-instances? I must use net=host parametr? Or is there another way?

Anton Tananaev2 years ago

Jay, you should read a bit more about how multicast works first. Address and port and not for a server. It's a multicast address and port.

As for Docker, I don't have an answer, but Google returns a lot of documentation on how to use multicast with Docker. It's not something unique to Traccar.