[jboss-jira] [JBoss JIRA] (JGRP-1734) Probe: restrict requests to certain clusters and/or nodes

Bela Ban (JIRA) jira-events at lists.jboss.org
Thu Nov 7 10:19:02 EST 2013


     [ https://issues.jboss.org/browse/JGRP-1734?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bela Ban updated JGRP-1734:
---------------------------

    Description: 
Probe.sh broadcasts requests to all reachable nodes in any cluster. The only way to restrict the reach of a probe request is to pass a time-to-live to it, but that's (a) too coarse-grained and (b) doesn't work for TCP.
We should therefore be able to define a list of clusters and a list of nodes to which we want to restrict the request. Both clusters and nodes should be simple regexps. 
The filter is sent with the probe request. Nodes which don't pass the filter simply discard the request.

Example:
{noformat}
probe.sh -cluster DrawCluster,cluster-*{noformat}
This restricts the request to the {{DrawCluster}} and any cluster starting with {{cluster-}}.
{noformat}
probe.sh -nodes cluster-*
{noformat}
Sends the request only to nodes with a name starting with {{cluster}}.

  was:
Probe.sh broadcasts requests to all reachable nodes in any cluster. The only way to restrict the reach of a probe request is to pass a time-to-live to it, but that's (a) too coarse-grained and (b) doesn't work for TCP.
We should therefore be able to define a list of clusters and a list of nodes to which we want to restrict the request. Both clusters and nodes should be simple regexps. 
The filter is sent with the probe request. Nodes which don't pass the filter simply discard the request.

Example:
{{probe.sh -cluster DrawCluster,cluster-*}}: this restricts the request to the {{DrawCluster}} and any cluster starting with {{cluster-}}.

{{probe.sh -nodes cluster-*}}: sends the request only to nodes with a name starting with {{cluster}}.


    
> Probe: restrict requests to certain clusters and/or nodes
> ---------------------------------------------------------
>
>                 Key: JGRP-1734
>                 URL: https://issues.jboss.org/browse/JGRP-1734
>             Project: JGroups
>          Issue Type: Feature Request
>            Reporter: Bela Ban
>            Assignee: Bela Ban
>            Priority: Optional
>             Fix For: 3.5
>
>
> Probe.sh broadcasts requests to all reachable nodes in any cluster. The only way to restrict the reach of a probe request is to pass a time-to-live to it, but that's (a) too coarse-grained and (b) doesn't work for TCP.
> We should therefore be able to define a list of clusters and a list of nodes to which we want to restrict the request. Both clusters and nodes should be simple regexps. 
> The filter is sent with the probe request. Nodes which don't pass the filter simply discard the request.
> Example:
> {noformat}
> probe.sh -cluster DrawCluster,cluster-*{noformat}
> This restricts the request to the {{DrawCluster}} and any cluster starting with {{cluster-}}.
> {noformat}
> probe.sh -nodes cluster-*
> {noformat}
> Sends the request only to nodes with a name starting with {{cluster}}.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list