migrate-machine

Creates a critical alert if a bootstrap Task failure occurs.

The migrate-machine task does the following:

  • Gathers machine information on the old endpoint.
  • Normally checks the contents and versions are the same. This can be skipped with the migrate-machine/skip-content-check parameter.
  • Normally checks for profiles on the machine that don't exist and creates them on the new endpoint. This can be skipped with the migrate-machine\skip-profiles parameter.
  • Creates a new machine with the same UUID.
  • Updates the machine's parameter
  • Updates the drp-agent config with new endpoint and machine token on the new endpoint.
  • Restarts the agent

At this point the task restarts and catches the migrate-machine/complete is set to true and runs the following on the new endpoint:

  • Deletes all jobs related to the machine on the old endpoint.
  • Removes the machine from the old endpoint.