Switching between Domino server versions (Windows Edition)
When you upgrade a server there is always the possibility, that something goes wrong (you did a full backup,did you?) when running the new version. So you need to have a "Plan B" how to fall back to the original version. When upgrading from Domino 6.x to Domino 7.x or 8.x you can prepare a small script that allows to automate the fall-back and the fall-forward. This is what you need to do:
Let us presume your Domino program files location is D:\Domino and your data location is E:\Domino\data
Remark: You do data backup do you?
On Linux systems you play with symlinks, but that's a story for a different time.
Let us presume your Domino program files location is D:\Domino and your data location is E:\Domino\data
- Shut down your Domino server
- Copy the program directory:
COPY D:\Domino\*.*D:\Domino6\*.* /S /E /V
- ZIP away all system templates in E:\Domino\data\*.ntf (We will restore the ones that are not provided in the update
- Install Domino8 as update into D:\Domino and E:\Domino\Data
- Unzip the templates from Step 3. Do not overwrite exisiting files. Older versions of Domino run fine with the new system templates but the new Domino servers must have the new templates.
- Create the file SwitchDomino.cmd in a convenient location (Desktop?) with the following content:
@ECHO OFF CLS NET STOP "Lotus Domino Server (Dominodata)" <<<---- You need to check the exact name of your service IF EXIST D:\Domino6\*.*GOTO R8TO6 IF EXIST D:\Domino8\*.* GOTO R6TO8 ECHO Something is wrong - NEITHER D:\Domino8 nor D:\Domino6 seems to exist PAUSE GOTO EXIT :R8TO6 RENAME D:\Domino Domino8 RENAME D:\Domino6 Domino GOTO EXIT :R6TO8 RENAME D:\Domino Domino6 RENAME D:\Domino8 Domino GOTO EXIT :EXIT NET START "Lotus Domino Server (Dominodata)"
- Restart your server
Remark: You do data backup do you?
On Linux systems you play with symlinks, but that's a story for a different time.
Posted by Stephan H Wissel on 31 October 2007 | Comments (0) | categories: Show-N-Tell Thursday