unias / docklet

OS for Virtual Private Cloud
https://unias.github.io/docklet/
BSD 3-Clause "New" or "Revised" License
240 stars 46 forks source link

Implement addnode function on aliyun cloud #297

Closed zhongyehong closed 6 years ago

zhongyehong commented 6 years ago

To use this function, you should do as follow:

  1. set the ALLOW_SCALE_OUT to True in docklet.conf
  2. run cloudsdk-installer.sh
  3. copy tools/cloudsetting.aliyun.template.json to /opt/docklet/global/sys/cloudsetting.json and set the parameters in it.(or you can do this step in cloud panel on the web)
  4. click the Add Host button in Hosts panel(root needed)
  5. you can view the progress in the log, because the addnode function is asynchronous.
  6. you can put a packagefs in global directory if needed(named packagefs.tgz), the new worker will extract it to its local file system. (If you don't do this, the worker will download a basefs instead)