osisoft high availability pi replication denis vacher, pi server team harry smith, pi sdk team

29
OSIsoft High Availability PI Replication Denis Vacher, PI Server Team Harry Smith, PI SDK Team

Upload: felicia-lang

Post on 05-Jan-2016

244 views

Category:

Documents


4 download

TRANSCRIPT

Page 1: OSIsoft High Availability PI Replication Denis Vacher, PI Server Team Harry Smith, PI SDK Team

OSIsoft High AvailabilityPI Replication

Denis Vacher, PI Server Team

Harry Smith, PI SDK Team

Page 2: OSIsoft High Availability PI Replication Denis Vacher, PI Server Team Harry Smith, PI SDK Team

Introduction• High Availability (HA)

“Ability of a system to tolerate faults and continueto provide service according to its specifications”

Dr. Kalinsky “Design Patterns for High Availability”

• For mission-critical applications, this means:1. Data availability

2. No unplanned downtime

3. Acceptable performance under load

• The PI System has High Availability features today– Already a robust platform, but single points of failure exist– Can you really afford any downtime?

Page 3: OSIsoft High Availability PI Replication Denis Vacher, PI Server Team Harry Smith, PI SDK Team

Agenda

1. The PI System Today2. PI Replication Overview3. Setup & Administration4. User Experience

– Seamless Connection– Automatic Fail-over

5. PI Replication Future6. Bigger Picture: High Availability PI System7. Platform Release 1

Page 4: OSIsoft High Availability PI Replication Denis Vacher, PI Server Team Harry Smith, PI SDK Team

Existing HA Features

• Distributed Data Collection, Storage& Computation

• PI to PI Interface + PI Auto Point Sync

• Support for Online PI Server Backup

• Support for Microsoft Cluster Technology

• Integration with 3rd party Fault Tolerant/HA solutions

Page 5: OSIsoft High Availability PI Replication Denis Vacher, PI Server Team Harry Smith, PI SDK Team

PI Server Replication

What you asked us to provide:

1. Ability for Clients (ProcessBook) to select among Replicated Servers

2. Changes to Configuration Data (points, modules) regularly synchronized between Replicated Servers

3. Near-Identical Time-series Data distributed from PI Interfaces (within compression specs)

Page 6: OSIsoft High Availability PI Replication Denis Vacher, PI Server Team Harry Smith, PI SDK Team

What you will get:

1.Ability for Clients (ProcessBook) to select among Replicated Servers

2.Changes to Configuration Data (points, modules) regularly synchronized between Replicated Servers

3.Near-Identical Time-series Data distributed from PI Interfaces (within compression specs)

PI Server Replication

any PI SDK based

or in real-time

+ load balancing

(+ no changes to your displays!)

automatically

Page 7: OSIsoft High Availability PI Replication Denis Vacher, PI Server Team Harry Smith, PI SDK Team

PI Replication Architecture• PI Server

– Collection of identical PI Servers exposed as one (Collective)– One Primary Server accepts configuration changes (e.g. points,

modules) and produces a change log– Secondary Servers automatically synchronize with the Primary

change log

• Interface Nodes– Identical time-series data distributed to all

PI Servers by new buffering services

• Client Access Layer– Transparent PI-SDK connection management– Existing and new Clients benefit from High Availability

Page 8: OSIsoft High Availability PI Replication Denis Vacher, PI Server Team Harry Smith, PI SDK Team

Primary PI Server

Primary PI Server

Secondary PI Server

Secondary PI Server

Configuration

Changes

PI Replication ArchitectureSystem Management Tools

SecondaryPI Server(s)

Thin Clients: RtPortal, RtWebParts, Rich Clients: ProcessBook, DataLink, Custom Application…

PI-SDK

Data BufferingServices

PI Interfaces

IdenticalTime-Series

PI Server Collective

Page 9: OSIsoft High Availability PI Replication Denis Vacher, PI Server Team Harry Smith, PI SDK Team

PI Replication Benefits

• Seamless connection and failover to replicated servers from any PI-SDK client

• No change to your displays, spreadsheets, and portal pages

• System scalability, load balancing • Support for systems of all sizes• No specialized hardware requirement• Geographic availability, e.g. disaster recovery• Administration comparable to a single PI Server

Page 10: OSIsoft High Availability PI Replication Denis Vacher, PI Server Team Harry Smith, PI SDK Team

10/1/2005 1/1/2008

1/1/2006 4/1/2006 7/1/2006 10/1/2006 1/1/2007 4/1/2007 7/1/2007 10/1/2007

1-Jan-07 - 1-Mar-07PR 2 "Data Directory/PIANO"

1-Oct-07 - 1-Dec-07PR 3 "Enterprise Platform"

15-Jan-07Microsoft Windows Vista

1-Jul-06 - 1-Sep-06PR 1 "HA"

15-May-06SAPphire

1-Jan-07Microsoft Office 2007

1-Apr-06UC2006

Platform Release Timeline

PI Server Replication & High Availability

Page 11: OSIsoft High Availability PI Replication Denis Vacher, PI Server Team Harry Smith, PI SDK Team

Setting up PI Replication

1. Install new buffering service on interface computers

2. Create server collectivea. Upgrade and configure PI on the Primary Server

b. Install PI Server on secondary computers

c. Create a backup of the Primary Server

d. Restore backup on secondary computers

e. Start secondary PI Servers

3. Deploy new PI-SDK on client computers

Page 12: OSIsoft High Availability PI Replication Denis Vacher, PI Server Team Harry Smith, PI SDK Team

Demo – Setting up PI Replication

System Management Tools

Clients: ProcessBook, DataLink

PI-SDK - New SDK installed

- PI Server running

- Backup taken

- PI Server installed

- Random Interface running

- Buffering installed

Demo:

1) Transfer & Restore Backup

2) Start Secondary

3) Collective Established

Primary PI Server

Primary PI Server

New PI Server

New PI Server

Data BufferingServices

PI Interface

Page 13: OSIsoft High Availability PI Replication Denis Vacher, PI Server Team Harry Smith, PI SDK Team

Demo – Setting up PI Replication

Switch to Demo Screen

Page 14: OSIsoft High Availability PI Replication Denis Vacher, PI Server Team Harry Smith, PI SDK Team

User Experience

• End Users– PI Client connects to the appropriate PI Server – PI Client automatically switches connection on

disconnection– No change to existing displays (PB, DataLink,

WebParts)

• Administrators– Configuration changes to primary server, replicated to

secondary servers– SMT used to manage collective and individual PI

Servers

Page 15: OSIsoft High Availability PI Replication Denis Vacher, PI Server Team Harry Smith, PI SDK Team

Scenario 1: Unexpected Failure

• Availability across Uncontrollable Faults– Network outage, hardware failure, software defect

• Sequence of Events1.Failure of one PI Server

2.Timely failover of connected clients to another PI Server

3.Data is buffered on Interface nodes

4.Problem resolved, PI Server back online

5.Buffered data is automatically recovered

Page 16: OSIsoft High Availability PI Replication Denis Vacher, PI Server Team Harry Smith, PI SDK Team

Demo 1 – Unexpected Failure

System Management Tools

Clients: ProcessBook, DataLink

PI-SDK

Primary PI Server

Primary PI Server

Secondary PI Server

Secondary PI Server

Data BufferingServices

PI Interface

Demo:

1) Network Failure on Primary Server

2) Automatic Client Failover

Page 17: OSIsoft High Availability PI Replication Denis Vacher, PI Server Team Harry Smith, PI SDK Team

Demo 1 – Unexpected Failure

Switch to Demo Screen

Page 18: OSIsoft High Availability PI Replication Denis Vacher, PI Server Team Harry Smith, PI SDK Team

Scenario 2: Planned Maintenance

• No Downtime for Routine Maintenance– OS/Security Patch, PI Software Update, Hardware

Upgrade

• Sequence of Events1. Shut down one PI Server

2. Immediate fail over of connected clients to another PI Server

3. Data is buffered on Interface nodes

4. When maintenance is complete, restart PI Server

5. Buffered data is automatically recovered

Page 19: OSIsoft High Availability PI Replication Denis Vacher, PI Server Team Harry Smith, PI SDK Team

System Management Tools

Clients: ProcessBook, DataLink

PI-SDK

Primary PI Server

Primary PI Server

Secondary PI Server

Secondary PI Server

Data BufferingServices

PI Interface

Demo:

1) Secondary Server Maintenance

2) Immediate Client Failover

Demo 2 – Planned Maintenance

Page 20: OSIsoft High Availability PI Replication Denis Vacher, PI Server Team Harry Smith, PI SDK Team

Demo 2 – Planned Maintenance

Switch to Demo Screen

Page 21: OSIsoft High Availability PI Replication Denis Vacher, PI Server Team Harry Smith, PI SDK Team

PI Replication Summary

• Features– Synchronization of PI Server configuration– Transparent PI-SDK failover, simple load balancing– Identical real-time data distribution

• Value– High Availability to your PI System– Peace of mind for Administrators– Direct support for existing PI Clients– Simple, scalable and flexible

architecture

Page 22: OSIsoft High Availability PI Replication Denis Vacher, PI Server Team Harry Smith, PI SDK Team

PI Interfaces

Site B

SecondaryPI Server

SecondaryPI Server

PI Interfaces

PrimaryPI Server

PrimaryPI Server

PI Replication Future

PI Interfaces

Site A

SecondaryPI Server

SecondaryPI Server

PI Interfaces

PrimaryPI Server

PrimaryPI Server

PI Clients

Client Access Layer

PI Caching Server

Aggregated, Federated PI ServerAggregated, Federated PI Server

Enterprise Data Center

PI ServerNode

PI ServerNode PI Server

Node

PI ServerNode PI Server

Node

PI ServerNode

…PI ServerNode

PI ServerNode

Data Mining, Business Intelligence Services

Archive

Mirroring

PrimaryPI Server

PrimaryPI Server

Regional Center 2Regional Center 1

AggregatedPI Server

AggregatedPI Server

AggregatedPI Server

AggregatedPI Server

Page 23: OSIsoft High Availability PI Replication Denis Vacher, PI Server Team Harry Smith, PI SDK Team

System Management Tools

Thin Clients: RtPortal, RtWebParts, Rich Clients: ProcessBook, DataLink, Custom Application…

PI SDKPI SDK Foundation

Secondary PI Server

Secondary PI Server

Configuration

Changes

Concurrent HA Developments

Data BufferingServices

PI Interfaces

FailoverMechanisms

Data BufferingServices

PI Interfaces

PI Interface Startup without

PI Server Connection

Secondary PI Server(s)

PIANO

Primary PI Server

Primary PI Server

PIANO PIANO

Page 24: OSIsoft High Availability PI Replication Denis Vacher, PI Server Team Harry Smith, PI SDK Team

High Availability Platform Release 1

Q3 2006• PI Server 3.4.375 release

• PI SDK 1.3.4 release

• Standard PI Interface Fail-Over

• Standard PI Interface Disconnected Startup

• Enhanced Interface Buffering Services

• New System Management Tools

• PI Clients leveraging HA Services

Page 25: OSIsoft High Availability PI Replication Denis Vacher, PI Server Team Harry Smith, PI SDK Team

One Last Thing…

• How much does it cost to upgrade from a single PI Server to a 2-node HA System*?

(*) assuming you are on the Software Reliance Program (SRP)

Page 26: OSIsoft High Availability PI Replication Denis Vacher, PI Server Team Harry Smith, PI SDK Team

Primary PI Server

Primary PI Server

Secondary PI Server

Secondary PI Server

Configuration

Changes

In Other Words…System Management Tools

Thin Clients: RtPortal, RtWebParts, Rich Clients: ProcessBook, DataLink, Custom Application…

PI-SDK

Data BufferingServices

PI Interfaces

IdenticalTime-Series

PI Server Collective

Page 27: OSIsoft High Availability PI Replication Denis Vacher, PI Server Team Harry Smith, PI SDK Team

Conclusion

• Replication is a natural extension of the PI System, offering a cost-effective solution for High Availability

• Simple, Enterprise, Available (SEA)

– Simple setup, configuration and operation

– Leverages existing infrastructure and grows with your Enterprise

– System Availability on planned maintenance and unexpected failure

Page 29: OSIsoft High Availability PI Replication Denis Vacher, PI Server Team Harry Smith, PI SDK Team