Retry deployment on single device

0

I have multiple device to which my component is deployed to. I added a new device "my-device15", but the component was not properly started on it. I SSH'd into the device and fixed the problem. Can I retry the deployment only on this device without revising the deployment (since that would impact all the other device)?

TSpark
gefragt vor 2 Jahren273 Aufrufe
1 Antwort
0
Akzeptierte Antwort

Hi there You could create a same deployment but change target type to single core device.

Lihao
beantwortet vor 2 Jahren
  • Thanks for the answer ! In that case, the device "my-device15" would have two overlapping deployments. Wouldn't that be an issue ?

  • Is the "shutdown" lifecycle script called when a component enters "broken" state ?

  • Thanks for the answer ! In that case, the device "my-device15" would have two overlapping deployments. Wouldn't that be an issue ?

    If I got a device failed like this, I'd remove it from the thing group, create a test deployment to it to make sure everything works and then add it back to thing group. I hope I understand your use case correctly.

    Is the "shutdown" lifecycle script called when a component enters "broken" state ?

    Yes, it will.

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen