Skip to content
This repository has been archived by the owner on Dec 16, 2020. It is now read-only.

Connect a Node RED instance to a DNR cluster

Nam Giang edited this page Mar 3, 2017 · 4 revisions

Prerequisite

A Node RED instance wants to connect to a DNR cluster needs to have node-red-contrib-dnr nodes installed.

On DNR Editor: getting the Seed flow to clipboard

GUI->Menu->DNR->Ehttps://github.com/namgk/dnr-editor/wiki/_new#xport DNR Seed->Export to Clipboard

On each Node RED

GUI->Menu->Import->Clipboard->Paste->Import

Configure Dnr Seed:

Provide information of the local Node RED to be connected to the cluster:

  • credentials if any
  • device name, for device management
  • location (optional), for location-based node constraints (run a node on a device at a specific location)

Click Deploy

On DNR Editor: device monitor

GUI->Menu->DNR->Show devices

You can hover on each device to see its current information such as free memory, location or number of cores.

Once this is done, all flow deployed from DNR Editor will be installed to all the participating Node-RED. The node and link requirements will decide when and where a node will be executed in the cluster.