You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "michael j. goulish (JIRA)" <qp...@incubator.apache.org> on 2009/06/17 16:40:07 UTC

[jira] Created: (QPID-1908) cluster_manager -- testing tool

cluster_manager -- testing tool
-------------------------------

                 Key: QPID-1908
                 URL: https://issues.apache.org/jira/browse/QPID-1908
             Project: Qpid
          Issue Type: Improvement
          Components: C++ Broker
            Reporter: michael j. goulish


cluster_manager will start a cluster on a set of host:port URLs that you specify on the command line.
The hosts can all be different -- so long as they are all clustered and have openais running on them.
It will then periodically check the qpid cluster and make sure that there are syill brokers running at the expected places.
( For this, it uses ssh and reads /proc . )
If it finds that one or more brokers are missing, it will start new brokers to replace them.

This will allows us to run long-term tests in which the clients start and stop (or are killed) during the test -- they will always know what set of host:ports to attach to.  Clients can be written either to try one host:port after the other until they connect (which is functionality available from the client library) -- or so that they try a single host:port -- then wait 30 seconds or so and retry if it doesn't work the first time.

( Because of the use of ssh, this is not a very high-speed application.  It often takes more than 30 seconds to check on a cluster of 3 brokers. )



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


[jira] Updated: (QPID-1908) cluster_manager -- testing tool

Posted by "michael j. goulish (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-1908?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

michael j. goulish updated QPID-1908:
-------------------------------------

    Attachment: cluster_manager.diff

> cluster_manager -- testing tool
> -------------------------------
>
>                 Key: QPID-1908
>                 URL: https://issues.apache.org/jira/browse/QPID-1908
>             Project: Qpid
>          Issue Type: Improvement
>          Components: C++ Broker
>            Reporter: michael j. goulish
>         Attachments: cluster_manager.diff
>
>
> cluster_manager will start a cluster on a set of host:port URLs that you specify on the command line.
> The hosts can all be different -- so long as they are all clustered and have openais running on them.
> It will then periodically check the qpid cluster and make sure that there are syill brokers running at the expected places.
> ( For this, it uses ssh and reads /proc . )
> If it finds that one or more brokers are missing, it will start new brokers to replace them.
> This will allows us to run long-term tests in which the clients start and stop (or are killed) during the test -- they will always know what set of host:ports to attach to.  Clients can be written either to try one host:port after the other until they connect (which is functionality available from the client library) -- or so that they try a single host:port -- then wait 30 seconds or so and retry if it doesn't work the first time.
> ( Because of the use of ssh, this is not a very high-speed application.  It often takes more than 30 seconds to check on a cluster of 3 brokers. )

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


[jira] Updated: (QPID-1908) cluster_manager -- testing tool

Posted by "michael j. goulish (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-1908?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

michael j. goulish updated QPID-1908:
-------------------------------------

    Attachment: cluster_manager.diff

> cluster_manager -- testing tool
> -------------------------------
>
>                 Key: QPID-1908
>                 URL: https://issues.apache.org/jira/browse/QPID-1908
>             Project: Qpid
>          Issue Type: Improvement
>          Components: C++ Broker
>            Reporter: michael j. goulish
>         Attachments: cluster_manager.diff
>
>
> cluster_manager will start a cluster on a set of host:port URLs that you specify on the command line.
> The hosts can all be different -- so long as they are all clustered and have openais running on them.
> It will then periodically check the qpid cluster and make sure that there are syill brokers running at the expected places.
> ( For this, it uses ssh and reads /proc . )
> If it finds that one or more brokers are missing, it will start new brokers to replace them.
> This will allows us to run long-term tests in which the clients start and stop (or are killed) during the test -- they will always know what set of host:ports to attach to.  Clients can be written either to try one host:port after the other until they connect (which is functionality available from the client library) -- or so that they try a single host:port -- then wait 30 seconds or so and retry if it doesn't work the first time.
> ( Because of the use of ssh, this is not a very high-speed application.  It often takes more than 30 seconds to check on a cluster of 3 brokers. )

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


[jira] Updated: (QPID-1908) cluster_manager -- testing tool

Posted by "michael j. goulish (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-1908?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

michael j. goulish updated QPID-1908:
-------------------------------------

    Attachment:     (was: cluster_manager.diff)

> cluster_manager -- testing tool
> -------------------------------
>
>                 Key: QPID-1908
>                 URL: https://issues.apache.org/jira/browse/QPID-1908
>             Project: Qpid
>          Issue Type: Improvement
>          Components: C++ Broker
>            Reporter: michael j. goulish
>         Attachments: cluster_manager.diff
>
>
> cluster_manager will start a cluster on a set of host:port URLs that you specify on the command line.
> The hosts can all be different -- so long as they are all clustered and have openais running on them.
> It will then periodically check the qpid cluster and make sure that there are syill brokers running at the expected places.
> ( For this, it uses ssh and reads /proc . )
> If it finds that one or more brokers are missing, it will start new brokers to replace them.
> This will allows us to run long-term tests in which the clients start and stop (or are killed) during the test -- they will always know what set of host:ports to attach to.  Clients can be written either to try one host:port after the other until they connect (which is functionality available from the client library) -- or so that they try a single host:port -- then wait 30 seconds or so and retry if it doesn't work the first time.
> ( Because of the use of ssh, this is not a very high-speed application.  It often takes more than 30 seconds to check on a cluster of 3 brokers. )

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org