Bug 610756
Summary: | cluster-url option | ||
---|---|---|---|
Product: | Red Hat Enterprise MRG | Reporter: | ppecka <ppecka> |
Component: | Messaging_Programming_Reference | Assignee: | Alison Young <alyoung> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | ppecka <ppecka> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | beta | CC: | gsim, iboverma, lbrindle |
Target Milestone: | Next Errata | Flags: | lbrindle:
needinfo-
|
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-07-18 23:20:59 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
ppecka
2010-07-02 11:43:02 UTC
I'm requesting change here because of commit listed at https://bugzilla.redhat.com/show_bug.cgi?id=509454#c3 changed way how qpidd deals with passed cluster URLs. https://bugzilla.redhat.com/show_bug.cgi?id=509454#c6 and this differs from amqp spec. For additional info: see bug 509454. MRG Messaging User Guide Chapter 7.1. Starting a Broker in a Cluster Table 7.1. Options for High Availability Messaging Cluster ===cut=== The URL is of the form amqp:tcp:<host>:<port>[,tcp:<host>:<port> ...] it contains one or more addresses that can be used to reach the broker. In most cases, only one address is advertized, but more than one address can be specified if the machine running the broker has more than one network interface card, and you want to allow clients to connect using multiple network interfaces. Examples: • amqp:tcp:192.168.1.103:5672 advertizes a single address to the broker for failover. • amqp:tcp:192.168.1.103:5672,tcp:192.168.1.10 advertizes two different addresses to the broker for failover, on two different network interfaces. ===cut=== Fix checked in. Will be visible in next build. [RFE] it might be beneficial to break this long line into smaller chunks for better readability( in html view it's the longest line in whole document) url = ["amqp:"][ user ["/" password] "@" ] protocol_addr *("," protocol_addr) protocol_addr = [ tcp_addr | rmda_addr | ssl_addr ] tcp_addr = ["tcp:"] host [":" port] rdma_addr = "rdma:" host [":" port] ssl_addr = "ssl:" host [":" port] [RFE] isn't asterisk better be placed right after ("," protocol_addr) rather then before - in case it's regexp notation [RFE] can you please add note of which defaults are used in case when cluster url is specified only with hostname --cluster-url "hostname" ppecka, Is Jonathan's fix suitable? If so, please close this bug. LKB (In reply to comment #5) > ppecka, > > Is Jonathan's fix suitable? If so, please close this bug. > > LKB i'm waiting for response to comment #4 from Jonathan ppecka, Jonathan is no longer working on documentation. Gordon, are you able to provide this information? LKB It certainly should be broken into multiple lines as per comment #4. The grammar is ABNF and the separate lines are important to clarity. The asterisk should precede the repeating element, so that should not be changed. If the protocol is not specified for an address it is assumed to be tcp. If the port is not specified it is assumed to be 5672. all requirements of this BZ are satisfied --> VERIFIED Thanks, closing for current release. |