Skip to content

migrate-machine

[DEPRECATED] Bootstrap Advanced Install

This workflow will migrate a machine from one DRP endpoint to another.

Prerequisites

  • drpcli-runner context configured on both endpoints
  • ansible-runner context configured on both endpoints

Rerquired Parameters

  • migrate-machine/new-drp-server-api-url: URL to the endpoint (https://localhost:8092 as an example.)
  • migrate-machine/new-drp-server-token: A token for the new endpoint that can create a machine migrateTicket.

Optional Parameters

  • migrate-machine/skip-machine-migration: If set to true, the task to move the machine object to the new endpoint will be skipped. This is primarily for machines that might have been manually migrated, but still need the agent updated to the new endpoint.
  • migrate-machine/skip-machine-destroy: If set to true, the stub machine object will be left on the old endpoint after migration. The default behavior is to leave the object on the old endpoint.
  • migrate-machine/old-drp-server-token: A token for the old endpoint that is needed to destroy the machine object left on the old endpoint.

Internal Parameters (Do Not Modify)

  • migrate-machine/esxi-ssh-priv-key: For ESXi it is required that sshd is enabled.
  • migrate-machine/esxi-ssh-pub-key: For ESXi it is required that sshd is enabled.

Support and Resources

How to Migrate a Machine Between DRP Endpoints How Machine Migration Works