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 <[email protected]> 
> 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

Reply via email to