PI System on Windows Azure IaaS - OSIsoftcdn.osisoft.com/.../2013/...PISystem_Windows_Azure.pdf ·...

36
© Copyright 2013 OSIsoft, LLC. Presented by PI System on Windows Azure IaaS David Black Denis Vacher

Transcript of PI System on Windows Azure IaaS - OSIsoftcdn.osisoft.com/.../2013/...PISystem_Windows_Azure.pdf ·...

Page 1: PI System on Windows Azure IaaS - OSIsoftcdn.osisoft.com/.../2013/...PISystem_Windows_Azure.pdf · PI System on Windows Azure IaaS David Black Denis Vacher © Copyright 2013 OSIsoft,

© Copyr i gh t 2013 OSIso f t , LLC.

Presented by

PI System on

Windows Azure IaaSDavid Black

Denis Vacher

Page 2: PI System on Windows Azure IaaS - OSIsoftcdn.osisoft.com/.../2013/...PISystem_Windows_Azure.pdf · PI System on Windows Azure IaaS David Black Denis Vacher © Copyright 2013 OSIsoft,

© Copyr i gh t 2013 OSIso f t , LLC. 2

Page 3: PI System on Windows Azure IaaS - OSIsoftcdn.osisoft.com/.../2013/...PISystem_Windows_Azure.pdf · PI System on Windows Azure IaaS David Black Denis Vacher © Copyright 2013 OSIsoft,

© Copyr i gh t 2013 OSIso f t , LLC.

The PI System in Windows

Azure

3

Page 4: PI System on Windows Azure IaaS - OSIsoftcdn.osisoft.com/.../2013/...PISystem_Windows_Azure.pdf · PI System on Windows Azure IaaS David Black Denis Vacher © Copyright 2013 OSIsoft,

© Copyr i gh t 2013 OSIso f t , LLC.

Cloud Services offerings

Page 5: PI System on Windows Azure IaaS - OSIsoftcdn.osisoft.com/.../2013/...PISystem_Windows_Azure.pdf · PI System on Windows Azure IaaS David Black Denis Vacher © Copyright 2013 OSIsoft,

© Copyr i gh t 2013 OSIso f t , LLC.

OSIsoft and Windows Azure

Page 6: PI System on Windows Azure IaaS - OSIsoftcdn.osisoft.com/.../2013/...PISystem_Windows_Azure.pdf · PI System on Windows Azure IaaS David Black Denis Vacher © Copyright 2013 OSIsoft,

© Copyr i gh t 2013 OSIso f t , LLC.

Customers & Partners

Page 7: PI System on Windows Azure IaaS - OSIsoftcdn.osisoft.com/.../2013/...PISystem_Windows_Azure.pdf · PI System on Windows Azure IaaS David Black Denis Vacher © Copyright 2013 OSIsoft,

© Copyr i gh t 2013 OSIso f t , LLC.

Customer Solutions Lab

Testing

7

Page 8: PI System on Windows Azure IaaS - OSIsoftcdn.osisoft.com/.../2013/...PISystem_Windows_Azure.pdf · PI System on Windows Azure IaaS David Black Denis Vacher © Copyright 2013 OSIsoft,

© Copyr i gh t 2013 OSIso f t , LLC.

OSIsoft Customer Solutions Lab

• Created to test at a “solution” level

• A group, rather than a physical lab

• Tests on various hardware

– OSIsoft internal testing hardware

– IBM

– Dell

– Cloud where applicable

8

Page 9: PI System on Windows Azure IaaS - OSIsoftcdn.osisoft.com/.../2013/...PISystem_Windows_Azure.pdf · PI System on Windows Azure IaaS David Black Denis Vacher © Copyright 2013 OSIsoft,

© Copyr i gh t 2013 OSIso f t , LLC.

Lab Azure IaaS Test Goals

• Initial “smoke test”

• Are there any critical failure points of the PI

System on Azure IaaS?

• What would a customer PI System architecture

on Azure IaaS look like?

• Training for OSIsoft Technical Support Engineers

9

Page 10: PI System on Windows Azure IaaS - OSIsoftcdn.osisoft.com/.../2013/...PISystem_Windows_Azure.pdf · PI System on Windows Azure IaaS David Black Denis Vacher © Copyright 2013 OSIsoft,

© Copyr i gh t 2013 OSIso f t , LLC.

On-Premises Network

Lab Azure IaaS Test Architecture

10

PI Servers SQL Servers

PI CoresightAnalytics

ACE

PI

ACE

PI

RDP

AFOSIDF

Domain Controller

PI Interface Node(s)

Hardware

VPN

Physical or Virtualized Locally Virtualized in Cloud

Page 11: PI System on Windows Azure IaaS - OSIsoftcdn.osisoft.com/.../2013/...PISystem_Windows_Azure.pdf · PI System on Windows Azure IaaS David Black Denis Vacher © Copyright 2013 OSIsoft,

© Copyr i gh t 2013 OSIso f t , LLC.

Lab Azure IaaS Test Architecture

11

Size CPU

cores Memory

Max. data

disks

(1 TB each)

Max. IOPS

(500 per disk) Bandwidth

Extra Small Shared 768 MB 1 1x500 5 Mbps

Small 1 1.75 GB 2 2x500 100 Mbps

Medium 2 3.5 GB 4 2,000 (4x500) 200 Mbps

Large 4 7 GB 8 4,000 (8x500) 400 Mbps

Extra Large 8 14 GB 16 8,000 (16x500) 800 Mbps

A5 2 14 GB 4 2,000 (4x500) 200 Mbps

A6 4 28 GB 8 4,000 (8x500) 400 Mbps

A7 8 56 GB 16 8,000 (16x500) 800 Mbps

Tested

Tested

Page 12: PI System on Windows Azure IaaS - OSIsoftcdn.osisoft.com/.../2013/...PISystem_Windows_Azure.pdf · PI System on Windows Azure IaaS David Black Denis Vacher © Copyright 2013 OSIsoft,

© Copyr i gh t 2013 OSIso f t , LLC.

Lab Azure IaaS Test Architecture

• Connection – Hardware VPN

– Exposed to internet – Terminal Server, Web server

• Security – Cloud systems joined to local domain

12

On-Premises OSIDF

Domain ControllerHardware VPN Terminal Server

Client Machine

PI Server

Page 13: PI System on Windows Azure IaaS - OSIsoftcdn.osisoft.com/.../2013/...PISystem_Windows_Azure.pdf · PI System on Windows Azure IaaS David Black Denis Vacher © Copyright 2013 OSIsoft,

© Copyr i gh t 2013 OSIso f t , LLC.

Lab Azure IaaS Test General Results

• No “critical stop” issues found

• All products worked as expected

• Hardware VPN worked well

• Security was functional and responsive

• IaaS VM’s are capable of running PI Servers in

certain use cases – Disk IO limited!

13

Page 14: PI System on Windows Azure IaaS - OSIsoftcdn.osisoft.com/.../2013/...PISystem_Windows_Azure.pdf · PI System on Windows Azure IaaS David Black Denis Vacher © Copyright 2013 OSIsoft,

© Copyr i gh t 2013 OSIso f t , LLC.

Analyzing VM Performance

with the PI Server

14

Page 15: PI System on Windows Azure IaaS - OSIsoftcdn.osisoft.com/.../2013/...PISystem_Windows_Azure.pdf · PI System on Windows Azure IaaS David Black Denis Vacher © Copyright 2013 OSIsoft,

© Copyr i gh t 2013 OSIso f t , LLC. 15

Anything

Missing?

Page 16: PI System on Windows Azure IaaS - OSIsoftcdn.osisoft.com/.../2013/...PISystem_Windows_Azure.pdf · PI System on Windows Azure IaaS David Black Denis Vacher © Copyright 2013 OSIsoft,

© Copyr i gh t 2013 OSIso f t , LLC. 16

Storage Virtualization Is Wonderful

What about performance?

»Disk Throughput (IOPS)

»Disk Latency (delay and jitter)

Capacity | Cost | Reliability

Page 17: PI System on Windows Azure IaaS - OSIsoftcdn.osisoft.com/.../2013/...PISystem_Windows_Azure.pdf · PI System on Windows Azure IaaS David Black Denis Vacher © Copyright 2013 OSIsoft,

© Copyr i gh t 2013 OSIso f t , LLC. 17

Disk performance

only matters on

desktop

computers?

Page 18: PI System on Windows Azure IaaS - OSIsoftcdn.osisoft.com/.../2013/...PISystem_Windows_Azure.pdf · PI System on Windows Azure IaaS David Black Denis Vacher © Copyright 2013 OSIsoft,

© Copyr i gh t 2013 OSIso f t , LLC. 18

With a little bit of magic…

Microsoft TechNet: The Task Manager in Windows 8 / Windows Server 2012

Keith Mayer (TechNet Blog): Task Manager in Windows Server 2012

Page 19: PI System on Windows Azure IaaS - OSIsoftcdn.osisoft.com/.../2013/...PISystem_Windows_Azure.pdf · PI System on Windows Azure IaaS David Black Denis Vacher © Copyright 2013 OSIsoft,

© Copyr i gh t 2013 OSIso f t , LLC. 19

Here’s

our new

Task

Manager

Page 20: PI System on Windows Azure IaaS - OSIsoftcdn.osisoft.com/.../2013/...PISystem_Windows_Azure.pdf · PI System on Windows Azure IaaS David Black Denis Vacher © Copyright 2013 OSIsoft,

© Copyr i gh t 2013 OSIso f t , LLC. 20

Page 21: PI System on Windows Azure IaaS - OSIsoftcdn.osisoft.com/.../2013/...PISystem_Windows_Azure.pdf · PI System on Windows Azure IaaS David Black Denis Vacher © Copyright 2013 OSIsoft,

© Copyr i gh t 2013 OSIso f t , LLC.

Basic IO Monitoring

21

Physical Disk Perf Counters

1. % Idle Time

Should be above ~90%

Never dip below ~50%

2. Avg. Disk sec/Transfer

Should be lower than 0.01s

Never spike above 0.1s

3. Disk Transfers/sec

Hard IOPS (R + W load)

Page 22: PI System on Windows Azure IaaS - OSIsoftcdn.osisoft.com/.../2013/...PISystem_Windows_Azure.pdf · PI System on Windows Azure IaaS David Black Denis Vacher © Copyright 2013 OSIsoft,

© Copyr i gh t 2013 OSIso f t , LLC.

PI Server IO Health

22

PI Archive Subsystem Counters

1. Flushed Events/sec

Events Read/sec

PI Events written and read

2. Record Disk Writes/sec

Record Disk Reads/sec

Buffered IOPS, 1KB blocks

3. Record Write Time Average

Record Load Time Average

Buffered IO Latency,

in microseconds!

Page 23: PI System on Windows Azure IaaS - OSIsoftcdn.osisoft.com/.../2013/...PISystem_Windows_Azure.pdf · PI System on Windows Azure IaaS David Black Denis Vacher © Copyright 2013 OSIsoft,

© Copyr i gh t 2013 OSIso f t , LLC. 23

Page 24: PI System on Windows Azure IaaS - OSIsoftcdn.osisoft.com/.../2013/...PISystem_Windows_Azure.pdf · PI System on Windows Azure IaaS David Black Denis Vacher © Copyright 2013 OSIsoft,

© Copyr i gh t 2013 OSIso f t , LLC.

Lessons Learned

24

Page 25: PI System on Windows Azure IaaS - OSIsoftcdn.osisoft.com/.../2013/...PISystem_Windows_Azure.pdf · PI System on Windows Azure IaaS David Black Denis Vacher © Copyright 2013 OSIsoft,

© Copyr i gh t 2013 OSIso f t , LLC.

Lessons Learned – IO Load

• Azure disks are limited to 500 IOPS

– RAID0 striping for higher rates

– VMs have a total network bandwidth limit

• Azure disks have high latency

– Spikes > 20 seconds during testing

25

Page 26: PI System on Windows Azure IaaS - OSIsoftcdn.osisoft.com/.../2013/...PISystem_Windows_Azure.pdf · PI System on Windows Azure IaaS David Black Denis Vacher © Copyright 2013 OSIsoft,

© Copyr i gh t 2013 OSIso f t , LLC.

Lessons Learned – Availability Sets

• “For all Internet facing Virtual Machines that have two or more instances deployed in the same Availability Set, we guarantee you will have external connectivity at least 99.95% of the time.” http://www.windowsazure.com/en-us/support/legal/sla/

• For PI Systems in Azure:– PI Servers (PI Collective)

– SQL Servers

– PI ACE

– PI Notifications

– PI WebParts (SharePoint)

– PI Coresight

26

Page 27: PI System on Windows Azure IaaS - OSIsoftcdn.osisoft.com/.../2013/...PISystem_Windows_Azure.pdf · PI System on Windows Azure IaaS David Black Denis Vacher © Copyright 2013 OSIsoft,

© Copyr i gh t 2013 OSIso f t , LLC.

Lessons Learned – VPN Options

• Hardware VPN is the only released supported

solution

• Point to Site VPN is in CTP

• DO NOT expose PI System ports externally

– VPN Security is critical to avoid intrusions

27

Page 28: PI System on Windows Azure IaaS - OSIsoftcdn.osisoft.com/.../2013/...PISystem_Windows_Azure.pdf · PI System on Windows Azure IaaS David Black Denis Vacher © Copyright 2013 OSIsoft,

© Copyr i gh t 2013 OSIso f t , LLC.

Lessons Learned – Levels of Abstraction

• Azure IaaS has many

levels of abstraction

– Affinity Group, Cloud

Service, Availability

Set, etc.

• Specific Azure IaaS

training is critical

28

Affinity Group

Virtual Network

Cloud Service

Availability Set

VM VM

Page 29: PI System on Windows Azure IaaS - OSIsoftcdn.osisoft.com/.../2013/...PISystem_Windows_Azure.pdf · PI System on Windows Azure IaaS David Black Denis Vacher © Copyright 2013 OSIsoft,

© Copyr i gh t 2013 OSIso f t , LLC.

Lessons Learned – Azure Flux

• Windows Azure IaaS is a very new product and

in constant flux

• Not unique to IaaS or Azure!

• Cloud offerings are constantly in flux

– Advantage: Usually improving

– Disadvantage: Challenging for users

29

Page 30: PI System on Windows Azure IaaS - OSIsoftcdn.osisoft.com/.../2013/...PISystem_Windows_Azure.pdf · PI System on Windows Azure IaaS David Black Denis Vacher © Copyright 2013 OSIsoft,

© Copyr i gh t 2013 OSIso f t , LLC.

Conclusions

• Azure IaaS will work for some PI System use

cases – more research to come!

• Work with us, work with Microsoft!

30

Page 31: PI System on Windows Azure IaaS - OSIsoftcdn.osisoft.com/.../2013/...PISystem_Windows_Azure.pdf · PI System on Windows Azure IaaS David Black Denis Vacher © Copyright 2013 OSIsoft,

© Copyr i gh t 2013 OSIso f t , LLC.

Future Azure IaaS Testing Plans

• Point-to-Site Software VPN

• Different Security Deployments

• PI System Licensing on Windows Azure

• OSIsoft NOC Monitoring of IaaS VM’s

• PI Cloud Connect

• Further IO Testing

31

Page 32: PI System on Windows Azure IaaS - OSIsoftcdn.osisoft.com/.../2013/...PISystem_Windows_Azure.pdf · PI System on Windows Azure IaaS David Black Denis Vacher © Copyright 2013 OSIsoft,

© Copyr i gh t 2013 OSIso f t , LLC.

Question for the Audience

• What type of security deployment do you plan on

using in Azure IaaS?

– Domain Controller on premises only?

– Domain Controller on premises federated to cloud?

– Domain Controller in cloud only (non federated)?

32

Page 33: PI System on Windows Azure IaaS - OSIsoftcdn.osisoft.com/.../2013/...PISystem_Windows_Azure.pdf · PI System on Windows Azure IaaS David Black Denis Vacher © Copyright 2013 OSIsoft,

© Copyr i gh t 2013 OSIso f t , LLC.

Question for the Audience

• What connection type is necessary for your

architecture?

– Hardware site to site VPN?

– Software point to site VPN?

33

Page 34: PI System on Windows Azure IaaS - OSIsoftcdn.osisoft.com/.../2013/...PISystem_Windows_Azure.pdf · PI System on Windows Azure IaaS David Black Denis Vacher © Copyright 2013 OSIsoft,

© Copyr i gh t 2013 OSIso f t , LLC.

Contact Information

David BlackCustomer Solutions Lab Architect

OSIsoft, LLC

[email protected]

Denis VacherPI Server Group Lead

OSIsoft, LLC

[email protected]

34

Page 35: PI System on Windows Azure IaaS - OSIsoftcdn.osisoft.com/.../2013/...PISystem_Windows_Azure.pdf · PI System on Windows Azure IaaS David Black Denis Vacher © Copyright 2013 OSIsoft,

© Copyr i gh t 2013 OSIso f t , LLC.

Please don’t forget to…

Complete the online survey for

this session

eventmobi.com/vcampus13

Share with your friends

35

#VCL13

Page 36: PI System on Windows Azure IaaS - OSIsoftcdn.osisoft.com/.../2013/...PISystem_Windows_Azure.pdf · PI System on Windows Azure IaaS David Black Denis Vacher © Copyright 2013 OSIsoft,

© Copyr i gh t 2013 OSIso f t , LLC.

Brought to you by