Users Guide

Table Of Contents
NOTE: In some case (Power o or killed OMPC installer program), there is still a corrupt OMPC in the Windows OS. It
may not be able to uninstall by the above command and will block any new OMPC installed. In this case, you need to
remove OMPC manually.
a Open register table using the regedit command and search all key or value include {79427712-CD0A-4114-
A571-6BCA07F2EE0A}. Remove all key or value found.
b Stop all OMPC services if they exist.
c Delete all OMPC services if they exist with below command:
1 Sc.exe delete "DatacenterManager"
2 Sc.exe delete "DatacenterManagerSnmp"
3 Sc.exe delete "DatacenterManagerServer"
4 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 le (%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 les. Follow the process specied in Rollback to previous OMPC version.
Upgrade failure recovery on Microsoft Windows operating system
131