Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynamic DataStorage device set up and fallback mechanism #393

Open
suresh-lc opened this issue Oct 5, 2021 · 1 comment
Open

Dynamic DataStorage device set up and fallback mechanism #393

suresh-lc opened this issue Oct 5, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@suresh-lc
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Currently all the devices get to know about the EdgeX server (Datastorage) by reading the toml file.

Problems in this approach:

  1. The information about Data Storage device needs to be predefined.
  2. If the pre-defined Data Storage device fails, we should a mechanism to setup Data Storage in another device dynamically

Describe the solution you'd like

  1. All the devices, say device A,B,C would be running Home Edge
  2. If we start EdgeX in say Device A.
  3. The Home Edge in all devices would check is EdgeX services are running in regular intervals.
  4. When any device finds the service, it would broadcast to all other devices saying it has the Edgex services running. In our example case it would be device A broadcasting.
  5. In response all the devices can share there yaml file.
  6. If primary data storage device fails, EdgeX can be enabled in other device and above steps would take place.

Merging of devices db when the primary device comes back need to be taken care.

This is just initial thoughts of proposal request the opinion.

@suresh-lc suresh-lc added the enhancement New feature or request label Oct 5, 2021
@tiokim
Copy link
Contributor

tiokim commented Oct 5, 2021

@suresh-lc Thanks for the idea!

Is your feature request related to a problem? Please describe. Currently all the devices get to know about the EdgeX server (Datastorage) by reading the toml file.

Problems in this approach:

1. The information about Data Storage device needs to be predefined.

2. If the pre-defined Data Storage device fails, we should a mechanism to setup Data Storage in another device dynamically

I would like to ask for the meaning of predefined since DataStorage generates the toml files automatically at the moment.
If Device A has the configuration file in the apps folder, Device A broadcasts the service to other devices. [ref]
Other devices also automatically generate the configuration files once they receive the broadcast.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants