> On April 9, 2013, 4:06 p.m., Andy Goldstein wrote:
> > /branches/0.22/qpid/cpp/README-HA.txt, line 23
> > <https://reviews.apache.org/r/10376/diff/1/?file=279331#file279331line23>
> >
> >     a client will only fail over to other URLs if the connection options 
> > include multiple URLs - if the client only specifies 1 URL, and it happens 
> > to point to a broker that is currently the backup, it will never connect... 
> > right?

It can be a virtual IP, clarified text:

`ha-brokers-url`: A URL listing each node in the cluster. For example
`amqp:node1.example.com,node2.example.com,node3.example.com`. If you have 
separate
client and broker networks, the addresses in `ha-brokers-url` should be on the
broker network. Note this URL must list all nodes in the cluster, you cannot use
a [Virtual IP address][ha-virtual-ip] here.

`ha-public-url`: URL used by clients to connect to the cluster. 
This can be one of:

- A [virtual IP address][ha-virtual-ip] configured for your client network.
- A list of broker addresses on the client network. If you don't have a separate
  client network then this is the same as the `ha-brokers-url`


> On April 9, 2013, 4:06 p.m., Andy Goldstein wrote:
> > /branches/0.22/qpid/doc/book/src/cpp-broker/Active-Passive-Cluster.xml, 
> > line 613
> > <https://reviews.apache.org/r/10376/diff/1/?file=279332#file279332line613>
> >
> >     assuming the client is configured with a list of urls

Can be virtual IP

      Clients can only connect to the primary broker. Backup brokers reject any
      connection attempt by a client. Clients rejected by a backup broker will
      automatically fail-over until they connect to the primary. if
      <literal>ha-public-url</literal> contains multiple addresses, the client
      will them all in rotation. If it is a virtual IP address the clients will
      retry on the same address until it is reconnected.


- Alan


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/10376/#review18853
-----------------------------------------------------------


On April 9, 2013, 3:57 p.m., Alan Conway wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/10376/
> -----------------------------------------------------------
> 
> (Updated April 9, 2013, 3:57 p.m.)
> 
> 
> Review request for qpid, Andy Goldstein, Jason Dillaman, Pavel Moravec, and 
> Justin Ross.
> 
> 
> Description
> -------
> 
> This is the first draft of HA migration guide, I'm hoping to get some review 
> feedback.
> 
> The patch also has some minor updates to the HA chapter of the Qpid broker 
> book, they're less important for review.
> 
> 
> Diffs
> -----
> 
>   /branches/0.22/qpid/cpp/README-HA.txt PRE-CREATION 
>   /branches/0.22/qpid/doc/book/src/cpp-broker/Active-Passive-Cluster.xml 
> 1464646 
> 
> Diff: https://reviews.apache.org/r/10376/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Alan Conway
> 
>

Reply via email to