Converting openPDC Database - GridProtectionAlliance/openHistorian GitHub Wiki
If you have been using the Historian 1.0 included in the openPDC, want to upgrade to Historian 2.0 in the openHistorian, and want to keep access to your old data from the openHistorian, you need to convert the database openPDC is using so that the openHistorian can use it. Here is how you do it:
- Stop the openPDC and openHistorian services.

- Make a copy of the openPDC database.
- Use the openHistorian Configuration Setup Utility to have the openHistorian use the copy of the openPDC database. Uncheck the "Start the openHistorian" and "Start the openHistorianManager" boxes at the last step

- Start the openHistorian Manager.
- Go to
Inputs->Subscription Based Inputs->Create Internal Subscription. - Enter "PDC" for the
NameandAcronym, enter "xyz" for theHostname(This will be changed later), enter "6165" for thePort, leave theUDP Portcheckbox unchecked and save.

- Select "PPA" as the
Historianand save.

- Go to
Inputs->Browse Input Devices.- For each input device that is not a concentrator, change the
Concentratorto "PDC" and save.

- Disable all concentrators besides "PDC".

- For each input device that is not a concentrator, change the
- Go to
System->Manage Nodes. - Change the port numbers to 8510, 6175, and 5019 and save.

- Go to
Outputs->Historian Instances. - Select "PPA", change the
Type Nameto "openHistorian.Adapters.LocalOutputAdapter" and theAssembly Nameto "openHistorian.Adapters.dll" and save.

- Go to
Inputs->Browse Input Devices. - Select "PDC"
- In the connection string, change the
serverfrom "xyz" to the machine that the openPDC service is running on, in my case, localhost.

- Restart the openPDC and openHistorian services.