On a test server I have already completed a full GP 2013 (1538) to patch 2230, to GP 2016 (716), to GP 2018 R2 (727) GP Upgrade. Full SQL backups were made after each step. Collections Manager, Archiver, SmartList Builder, and SmartView are current to 2018 versions. I am 100% certain that the archived company will not change. I have created a 140 page runbook to document the full upgrade steps. I have had my
GP Upgrade Duration Script.sql capture the DU major & minor version information and the length of time spent for each portion of the upgrade.
Shaving 4+ hours off of a Production rollout is a useful goal
db_name |
GP 2013 Patch 2230 Duration |
GP 2016 Duration |
GP 2018 R2 Duration |
|
|
GP2018 R2 DB Size |
ArchiverDB |
0:13:00 |
2:16:14 |
1:52:36 |
|
|
691,626 |
|
4:21:50 |
|
|
|
I strongly suspect that since my backed up GP 2018 companies are fully functional, any potential db level information stored in the Archiver company db would survive.
I will confirm this Theory with the Test environment.My theory is that if I restore the GP 2018 SQL backup of that one company database before starting the upgrade at GP 2013, then manipulating the DU tables accordingly, I should be able to fool GP Utilities.
- First into thinking that the Archiver company db is already at the 2230 level, (The green checkmark)
- Then at the GP 2016 716 level,
- Then at the GP 2018 727 level.

Can I fool Utilities into thinking a company is already upgrade. Will GP Utilities skip touching that company if already "Upgraded"?

The goal is to skip entirely the hours long upgrade durations.
I still need to figure out if only the
DU000020 table needs updating, or if it is both
DU000020 and
DB_Upgrade tables?
Could this be as simple as 3 simple SQL scripts, one at each of my hops?
------------------------------
David Morinello
Senior Developer
TruckPro LLC
Cordova TN
------------------------------
Original Message:
Sent: Jun 29, 2022 12:35 AM
From: David Musgrave
Subject: Pre-Upgrading certain GP Companies?
Hi David
I would recommend upgrading all companies in a test environment.
Then if you are 200% sure a company has not been updated in live, you can backup and restore the already upgraded company from the test environment when you do the live upgrade.
Regards
David
------------------------------
David Musgrave MVP, GPUG All-Star
Managing Director
Winthrop Development Consultants
Perth, Western Australia
http://www.winthropdc.com
Original Message:
Sent: Jun 27, 2022 05:18 PM
From: David Morinello
Subject: Pre-Upgrading certain GP Companies?
I have a question on a GP upgrade trick I've heard of, but never tried myself.
We are about to make the jump from GP 2013 to GP 2016 to GP 2018 R2.
A few of our GP 2013 Companies are static at the moment. One is a Professional Advantage Archiver historical database.
Does anyone have a Well-Defined Procedure to load (restore) the Pre-Upgraded company backups after the other GP companies go through the multi-hop process?
- When I do the Production upgrade through the whole double-hop process, I would like to unselect the 3 static companies. Skip upgrading them from GP 2013 or GP 2016.
- Instead I would restore the already upgraded 2018 R2 database copies and have them in place once the others are upgraded to GP 2018 R2..
- Is there a script somewhere that would tell GP this was upgraded already? I assume updating the DU Tables?
- Or maybe the GP 2018 Utilities might make a pass though the data and recognize it was already current?
If I can do this I could shave several hours off the upgrade when we do this in production.
------------------------------
David Morinello
Senior Developer
TruckPro LLC
Cordova TN
------------------------------