Skip to main content

PI collection options

info

Choose the Windows host that reads PI and the path that carries data to central taosX. The options are a direct connection from Windows taosX, collection through a Windows agent, and aggregation from multiple plants. All three use the same filtering, modeling, and collection workflow.

Entry point: deployment planning and agent selection in taosExplorer. Before creating a task, prepare the collection software, identity, and permissions described in PI prerequisites.

1. Three topologies​

OptionData pathWhen to use itMain checks
Direct connection from Windows taosXPI → Windows taosX → target TDengine TSDBThe taosX host can access PI and write to the target clusterPrepare the SDK, plugin, Windows identity, and PI permissions on the taosX host.
Collection through a Windows agentPI → Windows taosX-Agent → Linux or Windows taosX → target clustertaosX cannot access PI directly, or OT/IT segmentation must be maintainedPrepare the SDK and source permissions on the Windows taosX-Agent host; taosX-Agent initiates the connection to the taosX gRPC address.
Aggregation from multiple plantsEach PI system → each plant's Windows taosX-Agent → central taosX → target clusterMultiple independent sources feed the same clusterPrepare dependencies and identities separately on each taosX-Agent host; avoid cross-source conflicts in target names.

The default PI Data Archive port is TCP 5450, and the default AF Server port is TCP 5457. Data Archive-only ingestion does not require a connection to AF Server. The agent also needs access to the actual taosX gRPC endpoint, which defaults to TCP 6055. Check connection directions against Pre-installation and deployment checks, and allow only the required connections.

Three PI deployment options: direct connection, agent collection, and multi-plant aggregation

Arrows show business data flow. Use the port matrix to determine which side initiates each connection. For agent installation and registration, see Agent deployment and maintenance. Agent mode is not equivalent to transmission through a physical unidirectional gateway.

2. Preparing multiple sources and redundancy​

warning

For example, two plants may both have a Meter_001_Voltage Point, but the Points may belong to different assets. Before aggregation, check the PI system, Point or element ID, engineering units, and time semantics together. Then choose separate target databases or controlled naming prefixes, and retain the source in tags. The filtering and model examples that follow use a meter from one of these plants.

For general registration and maintenance of multiple Xnodes, see Multi-node takeover and maintenance. PI takeover also requires Windows dependencies, the collection identity, and the model on the candidate path. A second Xnode does not automatically acquire the original node's discovery state. For recovery checks, see PI task maintenance and recovery.

3. Deployment verification​

  1. Identify the locations of the browser, taosX, Windows collection host, Data Archive, optional AF, and target cluster.
  2. Test source network connectivity from the actual collection host. Use the actual identity to read Meter_001_Voltage and a range of archived records.
  3. When using an agent, confirm that it connects to the intended taosX and that its plugin and version match. Then check task connectivity.
  4. Run a small-scope task and compare new target records against source timestamps, values, and status. An online agent, TCP connectivity, and a running task do not replace data verification.