Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Current »

This checklist is for migrating an application from one grid to another.
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 existing target application.
From the grid command line type

# 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 application.
You can do this with the UI or at the command line.
todo - what is the command line?

Next, on source grid, stop the source application
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.

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.
You should make sure the memory and CPU is set as needed .

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

Almost done...restart the source and target applications.

Finally, test the URLs and make sure the application is running.

  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.