IP.21 Server Object

The IP.21 Server object running on a dedicated Node on the IP.21 system host machine acts as an interface between an InfoPlus.21 system and the AspenTech Inmation system.

  • The IP.21 Server supports Aspen InfoPlus.21 version 10.1 and newer.

  • Only one IP.21 Server object can be installed per Node.

Browsing the namespace of the IP.21 Server creates IO-ItemGroups, IO-Items, and IO-TableHolders - representing the data structure of the IP.21 system in the AspenTech Inmation system.

IP.21 records are mapped to AspenTech Inmation IO-Items where the record’s tag fields are mapped to the corresponding properties of the IO-Item. Tag fields for which no corresponding properties exist in the IO-Item class are stored in an IO-TableHolder object underneath said IO-Item.

For the IP.21 Server Object to be able to establish a connection with the IP.21 database, the Windows service of the Node that hosts the IP.21 Server object needs to have the Log On account set to an account for which access is granted in the IP.21 database.

Use Cases

The IP.21 Server object can be configured for one or both of the following use cases:

  • gRPC Server - serving data to an AspenTech Inmation system

  • Replication - data replication through an AspenTech Inmation system

For complete instructions regarding the configuration and use of the IP.21 Server object in conjunction with the related Datasource IP.21 gRPC object, see the Aspen InfoPlus.21 (IP.21) connectivity feature documentation.

Create Object

1 Connect WebStudio to the Admin Node and open the System Config App.

2 Open the System Model tab and select a Node object for which the new IP.21 Server object shall be created.

3 Right-click this object and select Admin  New to open the Create Object Wizard.

4 In the Available Object Types List, expand the External Interfaces section and select IP.21 Server.

5 In the Common section, provide an Object Name and, optionally, a Description.

6 Click Create to create the IP.21 Server object in the System Model.

Use Case: gRPC Server

The gRPC Server functionality provides highly efficient connection between AspenTech’s InfoPlus.21 server and the AspenTech Inmation Datasource object.

To configure this connection …​

1 Select the IP.21 Server object in the System Model.

2 In the Property Panel, expand the gRPC Server property compound.

3 To enable the gRPC Server functionality, select the checkbox for the Enable gRPC Server property.

4 The gRPC Server Port property defines on which port the IP.21 Server is listening for connection requests. By default this is 6518.

5 The ItemValue Mode defines which fields of a record on the InfoPlus.21 system are used to set the value of the corresponding IO-Item on the inmation side. Pick the option that matches the configuration on the InfoPlus.21 system:

Default - The ItemValue is selected according to the mapping configuration on the the InfoPlus.21 system. The value is taken from the first of the following fields which has PUBLISH_UPDATES activated:

1 MAP_HistoryValue field

2 Field pointer of the MAP_HistoryValue field (if set)

3 MAP_CurrentValue field

4 Field pointer of the MAP_CurrentValue field (if set)

Merge - All values of the mapped fields from MAP_HistoryValue (1), the Field pointer of the MAP_HistoryValue field (2) MAP_CurrentValue (3), and the Field pointer of the MAP_CurrentValue field that have PUBLISH_UPDATES activated, will be replicated to ItemValue.

6 Expand the Replication compound and make sure that the Replication Queue Usage property is enabled. Otherwise subscriptions are not possible. Browsing is still possible, though.

7 Click Apply on the Property Panel to confirm the property changes.

For the documentation regarding the corresponding DataSource, see this page.

Secure Connections

The configuration of a Secure Connection between the IP.21 Server and IP.21 gRPC Datasources is described in detail in the section on Secure Connection Options section of the Apen InfoPlus.21 (IP.21) connectivity feature documentation.

Use Case: Replication of the IP.21 System

The AspenTech Inmation system can be used to replicate one InfoPlus.21 system to another InfoPlus.21 system.

The InfoPlus.21 system can only replicate to one replication target. If the source historian system is already replicating to a different system, the AspenTech Inmation IP.21 Server can not provide the replication functionality.

When setting up replication from multiple IP21 source system to a single IP21 destination, the RecordNamePrefix property should be used to generate global tag prefixes for each site. This is to mitigate the risk of tag name clashes if the same tag exists multiple times.

To configure InfoPlus.21 replication through the AspenTech Inmation system …​

1 Install a Node running the IP.21 Server object on the Source IP.21 system and create the corresponding IP.21 Server object in the gSystem Model as described in IP.21 Server Installation & Basic Configuration.

2 On the Target IP.21 system, also install a Node running the IP.21 Server object following the same steps as for the Source IP.21 system.

3 For the target IP.21 system a Data Store Set is required.
To set this up …​

1 In the System Model, select the Node running on the target system.

2 In the Object Lens expand the Data Store Configuration compound and click on the table icon for the Data Store Sets property.

3 Add a new row and in the Name column enter a unique string which identifies the Data Store Set as related to the target IP.21 system.

4 In the same row, expand the drop-down list in the Data Stores column and select the checkbox for the IP.21 Server object representing the target IP.21 system.

5 Click OK to close the table and Apply the changes to the Node’s properties.

4 Now the source IP.21 system can be connected to the newly created the Data Store Set.
To do this …​

1 In the System Model, select the IP.21 Server object for the source IP.21 system.

2 In the Object Lens, expand the Replication compound.

3 From the drop-down list for the Replication Target property, select the Data Store Set configured previously.

5 Make sure that the Replication Queue Usage property is enabled in the Replication compound.

6 To start the replication, select the checkbox for the Replication > Enable Replication property of the IP.21 Server object representing the source IP.21 System and click Apply for the Object Lens.

Make sure to unselect the Enable Replication checkbox when you want to stop the replication.

Advanced Options

The Replication Queue Usage property in the Replication compound of the IP.21 Server object controls if this object can pop data from the IP.21 Replication Queue.

For the Replication feature to work, the IP.21 Server object for the source InfoPlus.21 system needs to have the Replication Queue Usage property enabled. The IP.21 Server object for the target InfoPlus.21 system can have this property disabled, so that the Replication Queue is not affected by it.

Also for the gRPC Server Use Case, the Replication Queue Usage property has to be enabled.

Replication Settings on the IP.21 System

For tags to be replicated they need to be marked for replication on the source IP.21 system. For information on how this is done see IP.21 System Configuration.

If a tag is deleted on the target IP.21 system, replication for this tag is disabled on the source IP.21 system.

If replication is enabled for some tags in the IP.21 System and the AspenTech Inmation IP.21 Server Service is not running on that machine anymore, then the overflow buffer of the IP.21 System will keep growing infinitely. Therefore, if the AspenTech Inmation IP.21 Server needs to be stopped for a longer period of time or needs to be uninstalled, then the administrator needs to stop replication on all tags in the IP.21 System.

Hardware Requirements

  • For the IP.21 Server service, 2GB of free RAM on the InfoPlus.21 system host are required.

  • Namespace Browsing in the range of 50,000-100,000 IP.21 records is supported, provided that the involved systems fulfill the following hardware requirements:

    Component Host CPU RAM Hard Disk

    system

    2.90 GHz Quad-Core

    32GB

    500GB

    IP.21 Source

    2.90 GHz Quad-Core

    32GB

    500GB

IP.21 Side Configuration Requirements

When the AspenTech Inmation IP.21 Server is used as a gRPC Server or as the source for replication, the IP.21 Publisher Task ('TSK_PUBR'; from ReplicationPublisherNG.exe) needs to be disabled in the InfoPlus.21 Manager.

The AspenTech Inmation IP.21 Server service receives data from the IP.21 system as part of the IP.21 Replication Queue. Therefore, on the IP.21 side (i.e. in the Aspen InfoPlus.21 Administrator app), it is necessary to ensure that all relevant data is sent to the Replication Queue.

The data which the IP.21 system sends to the Replication Queue can be controlled on record level as well as on tag field level:

  • For a record to be sent to the Replication Queue, the checkbox for Enable Tag Replication in the Replication tab of the record’s properties needs to be selected.

  • For a tag field to be included in a record sent to the Replication Queue, the Publish Updates property for this field needs to be set to YES in the record’s parent definition record.

    It may take up to an hour before the changes on IP.21 Definition Records become apparent in the inmation system as the InfoPlus.21 caches them for up to one hour before applying them to the child records.

Limitations

The IP.21 Server service is subject to the following limitations:

  • Only one IP.21 Server service can be installed on the host machine of the InfoPlus.21 system. Installing multiple instances may lead to unexpected behavior and data-loss.

  • For the Replication functionality, the destination IP21 system needs to have a sufficient amount of free tags and memory to contain the source IP21 system’s tags. Otherwise CREATE_TAG replication messages can’t be processed and will lead to a loss of data.

  • The InfoPlus.21 system does not immediately apply changes on IP.21 Definition Records to the child records but once per hour. Therefore it might take up to an hour before the changes become apparent in the inmation system.

When replicating values from the IP_TREND_VALUE field, Aspen InfoPlus.21 version 11 and newer is required. Earlier versions do not support timestamp publishing for these fields.

Performance Information

Subscription Performance

As an estimation of performance, the Datasource IP.21 gRPC has the capacity for 50,000-100,000 IP.21 records updating per second on the following standard hardware:

Component Host CPU RAM Hard Disk

system

2.90 GHz, 4 vCPU

32GB

500GB

IP.21 Source

2.90 GHz, 4 vCPU

32GB

500GB

This is a broad estimation of the performance limitations and should only be used for guidance, actual results are specific to on the user’s system, network, use cases and other components installed.

For achieving maximum throughput between a gRPC Datasource and an AspenTech Inmation IP.21 server component, a low-latency communication line should be used (i.e. LAN networks). Using WAN connections will reduce the throughput significantly. This is especially relevant for internal API requests, such as they for example used in History Transporter configurations.

Secure Replication Performance

As an estimation of performance for secure replication, the IP.21 Server has the capacity for 50,000-100,000 IP.21 tags updating per second on the following standard hardware:

Component Host CPU RAM Hard Disk

Node (system)

2.90 GHz, 8 vCPU

32GB

512GB

IP.21 Source

2.90 GHz, 8 vCPU

16GB

512GB

IP.21 Target

2.90 GHz, 8 vCPU

16GB

512GB

The maximum performance and capacity for secure replication is achieved if archiving (IP_ARCHIVING) is set to OFF for both the IP.21 Source and IP.21 Target machines. The performance may be altered when archiving is set to ON.

IP.21 History Transfer Performance

As an estimation of performance, History Transporter with the IP.21 gPRC Datasource has the capacity to transfer all data specified in the test parameters, with the following standard hardware, under the conditions specified in the test parameters:

Reference architecture with 3 hosts, and local area network:

Component Host CPU RAM Hard Disk

system

2.90 GHz, 8 vCPU

32GB

500GB

IP.21 gRPC Datasource Node

2.90 GHz, 8 vCPU

16GB

500GB

IP.21 System with IP21 Server Node

2.90 GHz, 8 vCPU

16GB

500GB

Test parameters:

History Transporter Objects 1 6

Tags per Transporter

3000

500

Update Rate for all tags

1000 ms

1000 ms

Data points for single tag, in the tested time frame

100000 points

100000 points

Duration to complete

3 hours

1 hour

This is a broad estimation of the performance limitations and should only be used for guidance, actual results are specific to the user’s system, network, use cases and other components installed.

IP.21 Guaranteed Delivery Mode Performance

As an estimation of performance, IP.21 Server Node, with the IP.21 gPRC Datasource in Guaranteed Delivery Mode has the capacity to transfer all data specified in the test parameters, with the following standard hardware, under the conditions specified in the test parameters:

Reference architecture with 3 hosts, and local area network:

Component Host CPU RAM Hard Disk

system

2.90 GHz, 8 vCPU

32GB

500GB

IP.21 gRPC Datasource Node

2.90 GHz, 8 vCPU

16GB

500GB

IP.21 System with IP21 Server Node

2.90 GHz, 8 vCPU

16GB

500GB

Test parameters:

  • Data Points refer to actual samples generated by tags (i.e. 10.000 tags that deliver a new point each second would generate 10 million total data points in 1000 seconds)

  • Buffer Drain Time refers to a how long it takes the IP.21 Datasource object to transfer all changes that have accumulated during an outage between IP.21 Server Node (IP.21 System) and IP.21 gRPC Datasource Node.

Total Data Points 10 Million 20 Million 50 Million

Buffer Drain Time

6 minutes

9 minutes

24 minutes

Average Drain Rate

30,000 pts / sec

30,000 pts / sec

30,000 pts / sec

This is a broad estimation of the performance limitations and should only be used for guidance, actual results are specific to the user’s system, network, use cases and other components installed.