Previous Topic: Migrate Applications to Remote GridsNext Topic: Exporting Applications


Migrate Applications from Remote Grids Using the Application Migrate Command

The Application Migrate command lets you migrate applications from remote grids.

To migrate the application from a remote grid using the application migrate command

  1. Log in to the new grid with ssh agent forwarding enabled (ssh -A newgrid.myhosting.com)
  2. Migrate the application (app migrate oldgrid.myhosting.com myapp --import)

    If the old application was running, it will be stopped prior to the migration; in that case, once the migration is complete, the application will be started on the new grid. Otherwise, you need to start it guidely (app start myapp)

    Once you are happy with the application running on the new grid, you can delete the application from the old grid (app destroy myapp executed on the old grid)

Be aware of the following: