Comments (1)
Hi there,
Thanks for your interest. Your observation is right. It is an interesting and known limitation on the constraint definition where you cannot have an excluding constraint. I suppose adding something like "run this node on device other than X" will be something in my todo list.
The main reason behind this is when a node doesn't have a constraint, it will be deployed and available on every participating NR instances. Consequently, when the inject node realizes that there is an exec node (it's peer) that can run in the same device as its own, it won't send a message out to other devices.
At the current situation, there is a hack to make this happen I guess. This is by using the location requirement, essentially we want all the nodes to have a constraint. So you pretending to have 3 NR instances in 3 different locations, let say the inject node is constrained to run in Vancouver, the exec to run in Seattle and the debug to run in SanFran (could be the same as Vancouver). You can do this with location-based node requirement.
Then you configure your NR instances so that one located in Vancouver, the ones that needs to run the exec node to be located in Seattle, and the one who run the debug node to be in SanFran. You can do this by configuring the Dnr Daemon node and checking the Location Fixed checkbox.
You could try this and let me know.
from dnr-editor.
Related Issues (20)
- Constraints not included in export function yet
- Required to Merge changes on every node HOT 4
- DNR Editor Debug (maybe feature request) HOT 1
- Cannot access a HTTP GET After distributing a flow to Node-RED instances HOT 9
- Doesn't work After "Selection to Subflow" HOT 2
- Output links breaks after dnr-editor deploy to node-red HOT 1
- Install nodes from dnr-editor on each instance HOT 4
- dnr installation issue HOT 6
- dnr-editor installation problem HOT 19
- any plan for dnr features to become standard in node-red?
- new broker in Distributed NodeRed HOT 1
- refactor dnr.js on editor HOT 2
- Incompatibility between DNR Editor and latest NodeRed Version e.g. send email
- some nodes are not loaded HOT 1
- install new nodes for dnr-editor HOT 1
- dnr-editor home page is empty HOT 4
- Node-RED doesn't execute updated deployed flow reliably & Global flow w/o configs HOT 1
- Subflows are not deployed successfully by dnr-editor
- Seed flow are not deployed successfully to node-red HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dnr-editor.