Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Installation

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-01-2008, 06:56 AM
New Member
 
Posts: 3
Default migratePreWidenSizeColumns.pl

Can you run migratePreWidenSizeColumns.pl weeks before actually upgrading the server to 5.0.8 or does it need to be done at the same time of upgrade? What is the rule of thumb on how long it takes to run?

Any help would be appreciated.

Thanks
Reply With Quote
  #2 (permalink)  
Old 08-16-2008, 06:02 PM
Zimbra Employee
 
Posts: 604
Default

Yes the intent of the script is to reduce upgrade time by running it before you upgrade.

The relevant section from the release notes is below.

Quote:
Upgrading from 5.0.2 or earlier
To shorten the time it takes to upgrade from 5.0.2 or earlier to 5.0.3 or later,
you may want to run the migratePreWidenSizeColumns.pl script against all or a
subset of mailbox groups in order to reduce the amount of downtime needed
to perform the full upgrade. Schema version 50 introduced in 5.0.3 GA widens
the column size of the revision table in the ZCS database. This script can take
a significant amount of time on large systems.
If you do not run this script before you upgrade, the column size of the revision
table is widened as part of the ZCS upgrade, but this can increase the time it
takes to upgrade.
Run this script on all Zimbra mailbox servers.
1. Before you begin, stop all ZCS processes except mysql
2. Go to the directory where migratePreWidenSizeColumns.pl is located, /opt/
zimbra/libexc/scripts/.
3. Run migratePreWidenSizeColumns.pl -g
If you run this without options, you will see how many mailbox groups need
to be upgraded and you can set the number of accounts to be processed at
a time.
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.