Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

PI AutoPointSync

Coordination of synchronization scheduling with PI Server downtime

Coordination of synchronization scheduling with PI Server downtime

  • Last UpdatedMar 07, 2023
  • 1 minute read

To avoid having synchronization scans fail due to PI Server unavailability, you might want to coordinate the Sync Engine's scheduling with planned PI Server downtimes. This can be accomplished by stopping the Sync Engine during the planned downtimes. For regularly scheduled activities, you can use the Windows Schedule service to automatically stop and restart the Sync Engine on a similar schedule. Two scripts are provided with PI APS to facilitate this. The startAPS.bat and stopAPS.bat scripts are installed in the %PIHOME%\APS folder. As the names suggest, these files contain commands that start and stop the Sync Engine. Comments in both scripts contain instructions on how to use the command line interface to submit these scripts to the Windows Schedule service. You can also use Task Scheduler on the Control Panel to put these scripts under the control of the Windows Schedule service.

Note: All registered interfaces with automatic scheduling synchronize when the Sync Engine is restarted.

Because registered interfaces with automatic scheduling are synchronized when the Sync Engine is started, starting the Sync Engine at a specific time is a means to cause synchronizations to occur at those times. After the Sync Engine is restarted, the registered interfaces resynchronize at their configured scheduling interval, assuming that no synchronizations are initiated by the Sync Now button in the PI APS Configuration Utility or by the PI APS Sync Trigger service.

TitleResults for “How to create a CRG?”Also Available in