Documentation PI Nexus+ Documentation

PI Nexus+ / Administration Guide

PI Data Archives

This chapter adds the PI Data Archives whose PI Points PI Nexus+ inventories, and optionally tracks their PI Interfaces and the interfaces' runtime health.

Overview

This chapter adds the PI Data Archives whose PI Points PI Nexus+ inventories, and optionally tracks their PI Interfaces and the interfaces' runtime health.

Before you start

  • The AVEVA AF SDK (PI AF Client) is installed on the PI Nexus+ servers.
  • The PI Nexus+ service account has read access to the PI Points (see Service Account Rights in the Reference), or an OpenID Connect client is set up (see OpenID Connect).
  • The license names each archive you enable. An enabled archive it does not cover shows Not licensed: disable it or install a license that covers it.

Add a PI Data Archive

Enable only the archives that belong in the inventory.

Admin > PI Data Archives with the add and discovery buttons, the Writes column, the row menu of an enabled archive and the Interface Tracking and Writes tabs
Add PI Data Archive dialog with the server or collective name, Site, Authentication mode and Add
  1. Open Admin > PI Data Archives and choose Add PI Data Archive. Enter the Server or collective name, the Site and the Authentication mode, and choose Add.
  2. Or choose the refresh button to import every archive in the web server's PI SDK connections list.
  3. In the row menu, choose Test. API identity shows the account and its PI identities.
  4. Choose Enable. PI Nexus+ tests again and enables the archive only if the test passes.
  5. To change the site or the authentication mode later, choose Edit.

The row menu acts on the connection. The settings of the archive selected in the Select column are on the tabs below the list: Interface Tracking and Writes. The Writes column shows what PI Nexus+ may write to each archive.

Disabling an archive also switches off its Interface Tracking, Runtime Monitoring and tuning writes.

Track PI Interfaces

Interface Tracking reads the legacy PI Interfaces from the PI Module Database. Without it, PI Points are still inventoried. It needs the 64-bit legacy PI SDK on the scanner server, Windows authentication, and read access to %OSI\Interfaces for the service account.

  1. Enable the archive, then choose Test Module DB in its row menu. The test runs in the scanner service, as its account.
  2. Wait for Module DB to show Ready, with the account, machine and path tested. Failed names the cause.
  3. On the Interface Tracking tab, tick Interface Tracking and choose Save Interface Tracking.
  4. Automatic scanning queues a full inventory of the archive within five minutes. It reads the interfaces and maps the PI Points, and runs in the next heavy-work window. To start it sooner, choose Run now on it on the Scanning page. Without automatic scanning, run a Full Inventory scan (see Scanning in the User Guide). Then check the PI Interfaces page.

If the Module Database cannot be read, the PI Point inventory still completes and the scan record names the cause. Fix the access and choose Test Module DB: a passed test queues one more full inventory.

To switch the archive to OpenID Connect, disable Interface Tracking first. Disabling it removes the interface mappings from the PI Points.

Monitor PI Interface runtime health

Runtime Monitoring reads the standard UniInt health points of each tracked interface between scans.

Runtime monitoring setup dialog with the Core Health tab and the PI Point field of Heartbeat
  1. On the archive's Interface Tracking tab, tick Runtime Monitoring and save. PI Nexus+ discovers the health points.
  2. After health points are added or renamed, choose Rediscover runtime points on the same tab.
  3. For an interface without discoverable health points, open it on PI Interfaces, choose Monitoring setup in its More actions menu, and on Core Health choose the edit button of a signal.
  4. Enter the exact PI Point name on that Data Archive and confirm. Repeat for each Core Health signal.
  5. Check the Status column: Runtime poll shows the last poll outcome.

The interval is the Interface and adapter runtime poll under Scan Automation. Poll outcomes are in PI Data Archive Settings, runtime statuses in PI Interface Issues and Runtime.

Allow Compression Tuning writes

Compression Tuning temporarily changes exception settings while it observes PI Points, and restores them afterwards. With the archive owner's approval, tick Compression Tuning on the archive's Writes tab and choose Save Writes; clearing it withdraws the permission. Recommendations are still applied by hand (see Compression Tuning in the User Guide). The same permission is needed to undo an applied recommendation from Change History > PI Nexus+ writes (see Issue Fixes).

Troubleshooting

SymptomCauseFix
No PI Data Archives configured after the refreshThe archive is not in the web server's PI SDK connections listAdd it under Connections in PI System Explorer or PI System Management Tools on the web server and refresh, or choose Add PI Data Archive
Discovery fails with an errorPI AF Client or a Microsoft Visual C++ runtime is missingInstall PI AF Client, or repair PI Nexus+; the web application's log names the exception
Test or Enable failsThe name does not resolve, TCP 5450 is blocked, or the account has no PI mappingCheck DNS, the port and the PI mapping of the account in API identity
The Module DB test reports PI SDK unavailableThe 64-bit PI SDK is missing on the scanner serverInstall it, then recycle PINexusAppPool and restart the PI Nexus+ Scanner service
not found or access errors for %OSI\InterfacesThe path is missing, or the scanner service account cannot read itGrant that account read access to the Module Database
The test passes but PI Interfaces stays emptyInterface Tracking is off, or the queued full inventory has not finishedTick Interface Tracking on the archive's Interface Tracking tab and check the run on the Scanning page
Runtime poll: FailedThe health points cannot be readCheck the scanner service account's PI mapping

Reference: PI Data Archive Settings