Versions Compared

Key

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

...

  1. In your lab environment, run the PIM tools as part of an upgrade test.
  2. On a test VM, add a dump of your production database, run liquibase to update the database to 5.3, and run the PIM planner. See Create a test VM and run PIM planner on a database dump.
  3. On your production system (during a quiet time), run the PIM migrator in dry-run mode (this is the default) and then resolve any warnings or errors before you continue.

...

This is an overview of how to run the PIM tools.
First you should run them in your lab environment and then run them on a test VM with a dump of your production database.

  1. Start the upgrade with the usual process, and also install the PIM on all servers
  2. After you update the database, STOP the upgrade, and run the PIM tools as described in the following steps.
  3. Run the PIM planner tool against your database. This tool will create a migration plan for all of your VMs and list the required migration steps. 
  4. Check the output of the planner tool. If there are any warnings or errors, resolve them, and then run the PIM planner again.
  5. For ALL Remote Services servers, copy the migration plan to the server.
  6. On each Remote Services server, run the PIM migrator. 
    (tick) By default the PIM migrator tool will run in " dry run " mode without making any changes.
    For each entity in the migration plan, the PIM migrator tool will connect to the provider and compute the provider ID.
  7. Check the output of the PIM migrator. Java warnings can be safely ignored if using JDK8.
    If there are any warnings or errors, resolve themcheck the VMs, storage and networking, and then (question) run the then run the PIM planner and PIM migrator again (question)in dry run mode again.
  8. Run the PIM migrator tool in update mode with the "--no-dry-run" option
    1. The PIM migrator tool will update VMs, as well as backup jobs, firewalls, and load balancers
    2. The PIM migrator tool will output an SQL update file. Copy this file to your database server
  9. While the Abiquo platform is still stopped, run the migrator's SQL update file on your database server.
    (info) The SQL update will issue warnings if you run it (question) with Java 8
  10. Complete the Abiquo upgrade as usual
  11. After you complete the migration and restart your environment, check it as described below
  12. Remove Uninstall the PIM tools

Check your environment

...