Users Guide
b. Stop all OMPC services if they exist.
c. Delete all OMPC services if they exist with below command:
i. Sc.exe delete "DatacenterManager"
ii. Sc.exe delete "DatacenterManagerSnmp"
iii. Sc.exe delete "DatacenterManagerServer"
iv. Sc.exe delete "Dell OpenManage Power Center Database Server"
2. Run the command in windows command line to reinstall old OMPC: (app.exe or app64.exe depending on 32–bit or 64–bit
OS ): "[LocalAppData]\ompc\ompcold\App.exe" /V"/qb! INSTALLDIR=\"[InstDir]\" PGSQLDATADIR=\"[DataDir]\"
USEDBSERVER=0"
NOTE: If you get an error message Another installation is in progress; complete that installation before
continuing this one, reboot server and retry upper command line:
3. Stop All OMPC services.
4. If [DataDir]bak exists, then remove [DataDir], and rename [DataDir]bak to [DataDir].
NOTE: If you renamed [DataDir] folder, you should give Network Service full control privilege to this folder.
5. Start all OMPC services.
Check OMPC database upgrade status
1. Use PGAdmin to login OMPC database dcmapp with OMPC database user.
2. Check upgrade log file (%LOCALAPPDATA%\ompc\ompcupgrade.log) and if Reuse and Upgrade completed exists the
upgrade was successful. Otherwise upgrade to new version was failed.
3. If OMPC database upgrade was success, you only need to forward OMPC to new version. See Upgrade OMPC to new
version.
4. If OMPC database upgrade failed, you should recover OMPC to old version. See Recover OMPC to previous version.
Update OMPC to next version
1. Check if all the OMPC services are started. If not, start them.
2. Clean the database and delete the previous data if they exist.
3. Use PGAdmin to login OMPC database dcm with OMPC database user.
4. Execute below SQL to clean old database:
DROP DATABASE IF EXISTS dcm_old
and
DROP DATABASE IF EXISTS
dcmapp_old
.
5. Remove [DataDir]bak and [LocalAppData]\ompc\ompcold if they exist.
Recover OMPC to old version
1. Use PGAdmin to login OMPC database dcm with OMPC database user.
2. Execute below SQL to clean old database:
DROP DATABASE IF EXISTS dcm_tmp
and
DROP DATABASE IF EXISTS
dcmapp_tmp
.
3. Recover other disk files. Follow the process specified in Rollback to previous OMPC version.
Upgrade failure recovery on Microsoft Windows operating system
117