> Why backup server need to do offset? The offset is necessary to avoid port conflicts when starting the colocated backup. If both brokers try to use the same ports then one of the brokers won't work.
> Does that mean backup server 1 will create new listen port 5545 to live server, and backup server 2 will create new listen port 5645? Yes. However, there's a typo in the documentation. It talks about a connector using port 61616 and then backups using 5545 and 5645 due to the port offset. However, it should say the backups will use 61716 and 61816 instead. Justin On Mon, Jun 24, 2019 at 8:41 AM wildpeanut <wildpea...@gmail.com> wrote: > I read HA-related document and still can't figure out the config element > 'backup-port-offset' meaning. > > From the sentence in document, if the HA policy is colocated then > connectors > and acceptors will be inherited from the live server creating it and offset > depending on the setting of backup-port-offset configuration element. > > Why backup server need to do offset? > > the document also said that if this is set to say 100 (which is the > default) > and a connector is using port 61616 then this will be set to 5545 for the > first server created, 5645 for the second and so on. > > Does that mean backup server 1 will create new listen port 5545 to live > server, and backup server 2 will create new listen port 5645? > > I appreciate any comment which help me to clarify this mechanism. > > > > -- > Sent from: > http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html >