Bug 813066 - [as7] Expose multicast group/port of a ha-server as trait on server level
Summary: [as7] Expose multicast group/port of a ha-server as trait on server level
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RHQ Project
Classification: Other
Component: Plugins
Version: 4.4
Hardware: Unspecified
OS: Unspecified
urgent
high
Target Milestone: ---
: RHQ 4.5.0
Assignee: Armine Hovsepyan
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks: as7-plugin 824958
TreeView+ depends on / blocked
 
Reported: 2012-04-16 19:36 UTC by Heiko W. Rupp
Modified: 2015-09-03 00:01 UTC (History)
3 users (show)

Fixed In Version: 4.5
Clone Of:
: 824958 (view as bug list)
Environment:
Last Closed: 2013-08-31 09:56:04 UTC
Embargoed:


Attachments (Terms of Use)
multicatAddress (199.19 KB, image/png)
2012-08-01 14:07 UTC, Armine Hovsepyan
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 801638 0 urgent CLOSED As a JON user I want to use an example CLI script which will join an EAP6 instance into an existing cluster and then res... 2021-02-22 00:41:40 UTC

Internal Links: 801638

Description Heiko W. Rupp 2012-04-16 19:36:54 UTC
In as4/5 there was the cluster partition name to "identify" clusters and to e.g. build dynagroups that contain all the members of one cluster. See e.g. https://issues.jboss.org/browse/AS7-4512
In AS7 this feature is deprecated so we need a replacement

One way to do that is to expose the multicast group/port as string trait on server level
(see also https://issues.jboss.org/browse/AS7-4512?focusedCommentId=12684672&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-12684672 )

Comment 1 Charles Crouch 2012-05-18 10:23:21 UTC
Targetting this correctly.

Comment 2 Ian Springer 2012-05-24 01:36:36 UTC
This is done in master:

http://git.fedorahosted.org/git/?p=rhq/rhq.git;a=commitdiff;h=6eb0643

The new trait is called 'multicastAddress' and is defined on the Standalone Server and Managed Server types. A value will only be returned for the trait for a server that is in HA/cluster mode. The value format is "HOST:PORT" (e.g. "230.0.0.4:45688").

Comment 3 Ian Springer 2012-05-24 16:02:27 UTC
[master http://git.fedorahosted.org/git/?p=rhq/rhq.git;a=commitdiff;h=b1e5c9b] excludes the 'multicastAddress' trait from the null-metric-values test for Managed Servers, since a null value is expected when the managed servers are not in HA mode, which is currently the case for the host controller instance used by our itests.

Comment 4 Armine Hovsepyan 2012-08-01 14:07:18 UTC
Created attachment 601749 [details]
multicatAddress

verified on both standalone and domain modes.


Note You need to log in before you can comment on or make changes to this bug.