brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Duncan Godwin <duncan.god...@cloudsoftcorp.com>
Subject Re: De-register failed nodes in DynamicCluster
Date Wed, 08 Mar 2017 20:54:02 GMT
Thank you very much Svet! I shall give that strategy a go.

Many thanks

Duncan

On 8 March 2017 at 12:46, Svetoslav Neykov <
svetoslav.neykov@cloudsoftcorp.com> wrote:

> Hi Duncan,
>
> You can try the following:
>   * join the addresses of all the members in a sensor on the cluster
>   * subscribe to the sensor with InvokeEffectorOnSensorChange/
> InvokeEffectorOnCollectionSensorChange
>   * add a "SshCommandEffector" at the cluster with "executionTarget" set
> to "MEMBERS"
>
> Svet.
>
>
> > On 8.03.2017 г., at 14:26, Duncan Godwin <duncan.godwin@cloudsoftcorp.
> com> wrote:
> >
> > Hi All,
> >
> > I have a YAML blueprint with a DynamicCluster of entities which require
> > that I de-register failed entities with the remaining nodes (probably
> > though an ssh command). I have a ServiceReplacer but it just seems to
> add a
> > new entity.
> >
> > I don't want to use the stop command to do this as the node may be
> stopped
> > without needing to be de-registered, the node itself may no longer be
> > reachable and the code should execute on the remaining nodes rather than
> > the failed one anyway. Does anyone know of a good way to achieve this?
> >
> > Many thanks
> >
> > Duncan
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message