Show
Ignore:
Timestamp:
08/06/09 10:50:39 (3 years ago)
Author:
david
Message:

updating docs

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • enpraxis.educommons/trunk/enpraxis/educommons/docs/src/MIGRATION.txt

    r515 r520  
    88A few things you should do before beginning the migration: 
    99 
    10   1. VERY IMPORTANT: SAVE A BACKUP OF YOUR Data.fs FILE, which is located in the [old instance home]/var directory of your eduCommons site. This file contains all of the content for your site. (This way you will able to restore your file from this Data.fs file if anything goes wrong.) 
     101. VERY IMPORTANT: SAVE A BACKUP OF YOUR Data.fs FILE, which is located in the [old instance home]/var directory of your eduCommons site. This file contains all of the content for your site. (This way you will able to restore your file from this Data.fs file if anything goes wrong.) 
    1111 
    12   2. Verify that your current instance is eduCommons-3.1.1-final. 
     122. Verify that your current instance is eduCommons-3.1.1-final. 
    1313 
    1414 
     
    1919includes the following: 
    2020 
    21   1. Pre-migration of Data.fs in version 3.1.1-final 
     211. Pre-migration of Data.fs in version 3.1.1-final 
    2222 
    23   2. Movement of Data.fs file to a new $$version$$ instance 
     232. Movement of Data.fs file to a new $$version$$ instance 
    2424 
    25   3. Migration to the eduCommons $$version$$ instance 
     253. Migration to the eduCommons $$version$$ instance 
    2626 
    27   4. Export/Import of eduCommons site to a new $$version$$ instance 
     274. Export/Import of eduCommons site to a new $$version$$ instance 
    2828 
    29   5. Final steps 
     295. Final steps 
    3030 
    3131Pre-migration of Data.fs in version 3.1.1-final 
     
    4242Add contentmigration product by following these steps: 
    4343 
    44   1. Download the product from the aforementioned URL 
     441. Download the product from the aforementioned URL 
    4545 
    46   2. Unzip the product into [old_instance]/Products 
     462. Unzip the product into [old_instance]/Products 
    4747 
    48   3. Restart zope 
     483. Restart zope 
    4949 
    5050Run the migration script by following these steps: 
    5151 
    52   1. Open your 3.1.1-final eduCommons site in the ZMI. (click educommons Setup, then click Zope Management Interface.) 
     521. Open your 3.1.1-final eduCommons site in the ZMI. (click educommons Setup, then click Zope Management Interface.) 
    5353 
    54   2. From the drop down menu, select "External method" and click the Add button. 
     542. From the drop down menu, select "External method" and click the Add button. 
    5555 
    56   3. Enter the following parameters: 
     563. Enter the following parameters: 
    5757 
    58      * Id: PreMigrate 
    59      * Title: PreMigrate 
    60      * Module Name: PreMigrate 
    61      * Function Name: pre_migrate_3_1_1_to_3_2_1 
     58   * Id: PreMigrate 
     59   * Title: PreMigrate 
     60   * Module Name: PreMigrate 
     61   * Function Name: pre_migrate_3_1_1_to_3_2_1 
    6262 
    63   4. Click Add 
     634. Click Add 
    6464 
    65   5. Click on the PreMigrate script you just added 
     655. Click on the PreMigrate script you just added 
    6666 
    67   6. Click the test tab. 
     676. Click the test tab. 
    6868 
    69   7. Verify that the method ran successfully. (It should give you feedback.) 
     697. Verify that the method ran successfully. (It should give you feedback.) 
    7070 
    7171 
     
    8787eduCommons $$version$$ uses the portal_setup tool to perform the necessary upgrade from 3.1.1 to $$version$$. Due to the fact that eduCommons and it's dependencies were moved to python eggs, we must start with a new eduCommons site. The migration script will then copy and past content and relevant settings to the new installation: 
    8888 
    89   1. Navigate to the root of your ZMI instance and create a new eduCommons site called eduCommons321 
    90   2. Open your new $$version$$ eduCommons site in the ZMI. (click educommons Setup, then click Zope Management Interface.) 
    91   3. Navigate to portal_setup 
    92   4. Press the 'Upgrades' tab 
    93   5. From the drop down menu, select 'Products.eduCommons:default' and click Choose Profile button. 
    94   6. Choose the 'Migration :: 3.1.1 to 3.2.1' option 
    95   7. Press Upgrade 
     891. Navigate to the root of your ZMI instance and create a new eduCommons site called eduCommons321 
     902. Open your new $$version$$ eduCommons site in the ZMI. (click educommons Setup, then click Zope Management Interface.) 
     913. Navigate to portal_setup 
     924. Press the 'Upgrades' tab 
     935. From the drop down menu, select 'Products.eduCommons:default' and click Choose Profile button. 
     946. Choose the 'Migration :: 3.1.1 to 3.2.1' option 
     957. Press Upgrade 
    9696 
    9797 
     
    101101You are now ready to transfer your migrated instance to the production environment.   
    102102 
    103   1. Navigate to the root of your ZMI instance 
    104   2. Select the checkbox next to your new $$version$$ eduCommons site 
    105   3. Press Import/Export 
    106   4. If your production environment is on the same server as your migration environment, choose 'Save file to server', else 
    107      Download the file to your local machine. Dependent on the size of your site, this process may take a long time. 
    108   5. Move the .zexp into the import directory of your production site [production_site]parts/instance/import 
    109   6. Navigate to the ZMI of your production site 
    110   7. Press Import/Export 
    111   8. Select your .zexp from the drop down list, and press Import. Dependent on the size of your site, this process may take a long time. 
    112   9. If desired, rename your imported eduCommons321 site. 
     1031. Navigate to the root of your ZMI instance 
     1042. Select the checkbox next to your new $$version$$ eduCommons site 
     1053. Press Import/Export 
     1064. If your production environment is on the same server as your migration environment, choose 'Save file to server', else 
     107   Download the file to your local machine. Dependent on the size of your site, this process may take a long time. 
     1085. Move the .zexp into the import directory of your production site [production_site]parts/instance/import 
     1096. Navigate to the ZMI of your production site 
     1107. Press Import/Export 
     1118. Select your .zexp from the drop down list, and press Import. Dependent on the size of your site, this process may take a long time. 
     1129. If desired, rename your imported eduCommons321 site. 
    113113 
    114114Final Steps 
    115115----------- 
    116116 
    117   Your site should now be migrated. Navigate to your site in the browser and ensure it has migrated. 
     117Your site should now be migrated. Navigate to your site in the browser and ensure it has migrated. 
    118118 
    119119