[jboss-jira] [JBoss JIRA] (JGRP-2004) Probe improvements
Bela Ban (JIRA)
issues at jboss.org
Tue Jan 19 06:09:00 EST 2016
[ https://issues.jboss.org/browse/JGRP-2004?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13150449#comment-13150449 ]
Bela Ban commented on JGRP-2004:
--------------------------------
Example: 4 nodes
{noformat}
[belasmac] /Users/bela$ probe.sh jmx=UDP.num_bat
-- sending probe on /224.0.75.75:7500
#1 (148 bytes):
local_addr=belasmac-52236 [ip=127.0.0.1:63826, version=3.6.8-SNAPSHOT, cluster=default, 2 mbr(s)]
UDP={num_batches_received=4, num_batches_sent=3}
#2 (154 bytes):
local_addr=belasmac-7515 [ip=127.0.0.1:50794, version=3.6.8-SNAPSHOT, cluster=config-cluster, 2 mbr(s)]
UDP={num_batches_received=0, num_batches_sent=0}
#3 (155 bytes):
local_addr=belasmac-27207 [ip=127.0.0.1:64697, version=3.6.8-SNAPSHOT, cluster=config-cluster, 2 mbr(s)]
UDP={num_batches_received=0, num_batches_sent=0}
#4 (147 bytes):
local_addr=belasmac-1882 [ip=127.0.0.1:59167, version=3.6.8-SNAPSHOT, cluster=default, 2 mbr(s)]
UDP={num_batches_received=6, num_batches_sent=2}
4 responses (4 matches, 0 non matches)
{noformat}
{noformat}
[belasmac] /Users/bela$ probe.sh -cluster config-.* jmx=UDP.num_bat
-- sending probe on /224.0.75.75:7500
#1 (155 bytes):
local_addr=belasmac-27207 [ip=127.0.0.1:64697, version=3.6.8-SNAPSHOT, cluster=config-cluster, 2 mbr(s)]
UDP={num_batches_received=0, num_batches_sent=0}
#2 (154 bytes):
local_addr=belasmac-7515 [ip=127.0.0.1:50794, version=3.6.8-SNAPSHOT, cluster=config-cluster, 2 mbr(s)]
UDP={num_batches_received=0, num_batches_sent=0}
2 responses (2 matches, 0 non matches)
{noformat}
The second example gets members to drop probe requests directed to clusters other than those starting with "config-"
> Probe improvements
> ------------------
>
> Key: JGRP-2004
> URL: https://issues.jboss.org/browse/JGRP-2004
> Project: JGroups
> Issue Type: Feature Request
> Reporter: Bela Ban
> Assignee: Bela Ban
> Priority: Minor
> Fix For: 3.6.8
>
>
> * Make {{-cluster}} an option: this was currently handled by a ProbeHandler, so {{probe.sh -cluster one jmx=UDP.num}} would *not* discard requests for clusters other than "one"
> * Add by default the local address, physical address, cluster size, version and cluster name to every response
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list