NXdriveBeta / container-workers

0 stars 0 forks source link

Worker manager requires to ensure that appropriate encoders (worker) start up #1

Open NXdriveBeta opened 5 years ago

NXdriveBeta commented 5 years ago

There are situations where the machine running workers restart, e.g., due to power outage. In such cases, the worker manager is required to start itself automatically when the system restarts. Further, the worker manager is required to ensure that the appropriate number and types of encoders start up successfully. In summary, two improvements are needed:

  1. Worker manager starts by itself after the system restarts
  2. Worker manager conducts necessary checking to make sure that the required workers are launched and working.
HaoPengNXDrive commented 5 years ago

I put a default.xml file under this project. Now workload manager has two startup methods, interactive and non-interactive. When server starts, manager will go non-interactive mode and will attempt to read from that xml and start some workers.