Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This checklist is for migrating an applogic application from one grid to another.
1.0) copy After the migration, we rename the application on the target so it overwrites an existing one.

For example, say we want to migrate the application "mad_dev" from grid "sfgov3"
to the application "mad_qa" on grid "sfgov1".

First, record the IPs of the application you wish to migarte1.1) existing target application.
From the grid command line type

No Format

# app config mad_dev

You should see a bunch of names and IP addresses.
Make a durable record of this information.

This is equivalent to the following:

  • open the application UI

...

  • select the configure menu item

...

  • select the properties tab

...

  • transcribe or image capture

...



Next, on target grid, stop target application and rename target application3.0) .
You can do this with the UI or at the command line.
todo - what is the command line?

Next, on source grid/application, stop the source application

3.1) ssh to source grid

sfgov3> help migrate app
Description:
   Migrate an application from/to a remote grid.
   Application configuration parameters may be specified for the new
   application.

Usage:
   app migrate <remote_grid> <app> [.name=<new name>] [<option>]*
                                   [<prop>=<val>]*

sfgov3> app migrate sfgov1.3tera.net mad_qa
then rename app
(todo figure out how to set target name)

4.0) set properties of target

4.1) set IPs to what you see from step 1

4.2) set resources (memory, disk)

5.0) change labels in diagram (IP address)

6) restart applications
You can do this with the UI or at the command line.
todo - what is the command line?

We are ready to run the migration.
Next, ssh to target grid. We will now copy from the (remote) source grid.

No Format

sfgov3> help migrate app
Usage:
   app migrate remote_grid app new name ...
sfgov3> app migrate sfgov1.3tera.net mad_dev mad_dev1

Now we'll rename the application.
Do this from the UI?
todo - how do do this from the command line?

Next we set properties of target.
Here we use the IPs we recorded at the beginning.
Set the resources (memory, disk) as needed.

Next, you should change labels in the application "diagram" as needed.

Finally, restart the source and target applications.