Architecture and Best Practices Recommendations: For PI Systems
Architecture and Best Practices Recommendations: For PI Systems
Architecture and Best Practices Recommendations: For PI Systems
Best Practices
Recommendations
for PI Systems
Presented by
Chris Lonsberry
Field Service Engineer
Visualization
Notifications
Asset Framework
Advanced Computing
Engine
PI Server
Interfaces
OS OS OS
OS OS OS
4
© Copyright 2011 OSIsoft, LLC
Operating System Virtualization
PI Server PI Server
Secondary Primary
ACE Server
AF Server
Interfaces
Virtual Host C
VM Host Farm
• Why 64-bit?
– Access to larger memory footprint
– Reduce limitation to applications
9
© Copyright 2011 OSIsoft, LLC
PI System 64-bit OS Support
• Verify support
– Release Notes
– Technical support
• Scenarios to watch out for
– Applications that are plug-ins or run by another
application
• Microsoft Internet Information Server
• Office 2010
– Where 3rd party libraries (dlls) need to run with
another application
• RDBMS interface
– PI Buffer Subsystem
– PI Bufserv PI Buffer
Subsystem
PI interface(s)
Interface Node
PI Buffer PI Buffer
Subsystem Subsystem
PI interface PI interface
Send
data
Send
to PI
data
from the last 2 intervals
to PI
(4 & 5) and this one (6)
Heartbeat: 7
6
5
4
3
2
1 Heartbeat: 7
6
5
4
3
2
1
Primary Backup
Interface File Interface
Device 950 Device 0
Status: Status:
FailureData
in the Data
communication
Collection
layer Collection
Data Source
Timeline : 3.5
3 (interval)
2
1
7
6
5
4 Possible overlap of data
during intervals 4 and 5
© Copyright 2011 OSIsoft, LLC
OPC Server Failover and Interface Failover
PI SDK, PI API PI SDK, PI API
PRIMARY BACKUP
INTERFACE INTERFACE
PRIMARY BACKUP
DATA SOURCE DATA SOURCE
(e.g. OPC (e.g. OPC
SERVER) SERVER)
1
© Copyright 2011 OSIsoft, LLC 9
PI Interfaces Best Practices
PI-SDK
PI server collective
Failover mechanism
PI Buffer PI Buffer
Subsystem Subsystem
PI interface PI interface
DMZ
PI Interface Node Desktops and
or PI Server Data Access
OEM with PI-to-PI Servers
Data Only Conduit
Originator
Time Series Data
Application Data
Protected User
Domain DMZ
Originator
Time Series Data
Protected User
Domain DMZ
Desktops and
PI Server Data Access
PI Server
PI Interface (HA) Servers
(HA)
Node Data Only Conduit
Configuration Data
Time Series Data
Application Data
• Benefits
– Maintain availability during scheduled
maintenance
– Redundancy of data
– Locate PI Server member close to consumers
of the data
• Best Practices
– Implement PI Server High Availability
Nancy
Bob
Jim
Tag datasecurity
• Security
• MCN Health
Monitor
• Archives
• Backups
• Overview
– Develop calculations in Microsoft Visual Studio
– Wizards assist configuration
– High availability
– PI ACE 2010 adds support for 64-bit calculations
(How To: KB00553)
• Best Practices
– Configure buffering (64-bit requires extra care:
KB00552)
PI-SDK
ACE
– Error handling PI Server
• Backups!
• Monitor SQL Server with PI MCN Health Monitor
• Do not run the SQL Server database engine as
LOCALSYSTEM, admin, or domain admin.
• DO NOT RUN the AF Server with SysAdmin privilege (don’t
use SA account, LOCALSYSTEM, or admin)
• Minor: for AF Table, disable AF2.0 compatibility, enable
impersonation
Delivery channels:
Other • E-mail
Data Sources • Web service
• Office Communication Server (OCS)
• Custom developed (OSIsoft vCampus)
• Configure buffering
• Performance Counters
• Utilize templates
• Overview
– Visualization with
Microsoft
SharePoint
– Versions PI MDB or PI AF
• Best Practices
– Backup SharePoint
– Explore querystrings
• User Manuals
– PI Server 2010 Configuring Security
– PI Asset Framework 2010 User's Guide