Details
-
Story
-
Status: Closed
-
Major
-
Resolution: Done
-
None
-
None
-
None
-
Usergrid 31
-
2
Description
Create a python script that will allow users to upgrade from 2.0 to 2.1 per application. This will ultimately allow an incremental deployment across an existing 2.0 cluster, without user impact.
Template for full system script that already exists: https://github.com/apache/usergrid/blob/2.1-release/stack/scripts/migrate_entity_data.py
It should allow for the following migration process:
tenant 1
1) setup new 2.1 tomcat
2) run migration bootstrap
3) migrate appinfo
4) reindex mgmt app only
5) run de-dup for whatever APP
6) reindex whatever APP
7) add 2.1 tomcats to customer ELB after 1-6 completed for all customer apps
8) run delta re-index/migration for all customer apps
tenant 2
1) reset appinfo version
2) migrate app info
3) reindex mgmt app
4) run de-dup for whatever APP
5) reindex whatever app
7) add 2.1 tomcats to customer ELB after 1-6 completed for all customer apps
8) run delta re-index/migration for all customer apps
after all apps migration
1) migrate entity data