Reuse an Archive Configuration File

About this task

You may want to reuse an existing archive configuration file (*.ihc) when a Historian installation uses the same archive configuration as another Historian installation or when renaming a machine and reusing the original .ihc file.

Procedure

  1. Retrieve a copy of the <oldmachinename>_CentralConfig.ihc file from the old machine. By default, this is located at C:\Proficy Historian Data\Archives
  2. On the new machine, select and stop the following services:
    • Historian Client Manager
    • Historian Configuration Manager
    • Data Archiver
    • Historian Diagnostics Manager
  3. Copy the <oldmachinename>_CentralConfig.ihc file into the local folder on the new machine where the .ihc files are available.
  4. Look for a file in that folder on the new machine named <newmachinename>_CentralConfig.ihc. If there is a file with that name, delete it.
  5. Rename the copied .ihc file on the new machine to <newmachinename>_CentralConfig.ihc.
  6. Run a command prompt as an administrator.
  7. Go to C:\Program Files\Proficy\Proficy Historian\x64\Server, and run the following command: ihConfigManager_x64.exe RenameDHSNode <old machine name> <new machine name>
    Note: RenameDHSNode modifies only the local node name. The logical node name (service name) does not change.

Example

RenameDHSNode will not alter service name configmanager_<nodename>

Reusing a Configuration File

Suppose you have a production Historian with a machine name "WaterSite" and want to load that configuration on a testbed Historian called "LabSite1". The testbed Historian is already running and already has a config file called "LabSite1_CentralConfig.ihc."

In this case:

  1. Stop the services and delete LabSite1_CentralConfig.ihc.
  2. Rename WaterSite_CentralConfig.ihc to LabSite1_CentralConfig.ihc.
  3. At the command line, run the following:
    ihConfigManager_x64.exe RenameDHSNode WaterSite LabSite1