16
© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Confidential Cisco Confidential © 2013 Cisco and/or its affiliates. All rights reserved. Predictive Analytics & Visualisation Towards Data Driven Insights for Openstack Clouds

Predictive analytics and Visualization. Towards Data Driven Insights for Openstack Clouds

Embed Size (px)

DESCRIPTION

The slidedeck for the presentation by my team at the Atlanta Openstack Summit 2014.

Citation preview

Page 1: Predictive analytics and Visualization. Towards Data Driven Insights for Openstack Clouds

© 2013 Cisco and/or its affiliates. All rights reserved.Cisco

Confidential Cisco Confidential© 2013 Cisco and/or its affiliates. All rights reserved.

Predictive Analytics & VisualisationTowards Data Driven Insights for Openstack Clouds

Page 2: Predictive analytics and Visualization. Towards Data Driven Insights for Openstack Clouds

© 2013 Cisco and/or its affiliates. All rights reserved.Cisco

Confidential Cisco ConfidentialCisco Confidential© 2013 Cisco and/or its affiliates. All rights reserved.

Cloud/Big-data Winnovation Team

Alex [email protected]

Damian Van [email protected]

Ailing [email protected]

Marc [email protected]

Matt [email protected]

Pengfei [email protected]

Kai [email protected]

Xinyuan [email protected]

Debo [email protected]

Yathiraj [email protected]

Page 3: Predictive analytics and Visualization. Towards Data Driven Insights for Openstack Clouds

© 2013 Cisco and/or its affiliates. All rights reserved.Cisco

Confidential

Visibility in OpenStack today

Page 4: Predictive analytics and Visualization. Towards Data Driven Insights for Openstack Clouds

© 2013 Cisco and/or its affiliates. All rights reserved.Cisco

Confidential

Tomorrow?

Sources: 2001 A Space Oddesy, MGM. Minority Report, Twentieth Century Fox Film Corporation. Mad Men, AMC

OpenStack, deploy me an

app

Page 5: Predictive analytics and Visualization. Towards Data Driven Insights for Openstack Clouds

© 2013 Cisco and/or its affiliates. All rights reserved.Cisco

Confidential

Our Approach:Predictive Analytics & Awesome VisualisationWhy Real Time?

● OpenStack has lots of moving parts● Rule/Model/Policy based system hard without insight● Ops folks want to know right now!● Digital exhaust to characterize system behaviour.

○ Logs○ Metrics

Why Visualisation?● Self Evident, easy to observe insights● East way to consume lots of information● Focus on the user

Page 6: Predictive analytics and Visualization. Towards Data Driven Insights for Openstack Clouds

© 2013 Cisco and/or its affiliates. All rights reserved.Cisco

Confidential Cisco Confidential © 2013 Cisco and/or its affiliates. All rights reserved.

Digital Exhaust = Metrics/LogsWhat information can we get from our cloud? Where can we get it?

● Ceilometer● OpenStack Syslog● Project APIs (Nova, Neutron, Cinder etc)

What can we do with it?

● Extract Insights● Figure out what failed and why● Move workloads around● Detect attacks on the cloud

● Physical Servers○ CPU○ Hardware Faults○ OpenStack Logs○ OpenStack Messaging Queue

● Tenant/Project Data○ Quotas

● Virtual Machines○ Config○ CPU○ Disk○ Network Flows○ Performance○ Latency

● Application Level○ Application Logs○ Application Requirements○ Application Performance

Page 7: Predictive analytics and Visualization. Towards Data Driven Insights for Openstack Clouds

© 2013 Cisco and/or its affiliates. All rights reserved.Cisco

Confidential Cisco ConfidentialCisco Confidential© 2013 Cisco and/or its affiliates. All rights reserved.

AVOS Dashboard

Page 8: Predictive analytics and Visualization. Towards Data Driven Insights for Openstack Clouds

© 2013 Cisco and/or its affiliates. All rights reserved.Cisco

Confidential

AVOS: Summary● Analytics and Visualization on OpenStack● Stateless: easy deployment● Client side architecture:

○ Polls some OpenStack APIs○ Listens to the messaging bus○ Minimum overhead

● Provides users and service providers full insight into cloud○ Real time info on all instances/networks etc by project and as admin○ Historical data on performance○ Stack-search: Search for all components in the cloud, quickly.○ Multiple select (See combined data)

Page 9: Predictive analytics and Visualization. Towards Data Driven Insights for Openstack Clouds

© 2013 Cisco and/or its affiliates. All rights reserved.Cisco

Confidential

Analytics and Optimization on OpenStack

AVOS

Page 10: Predictive analytics and Visualization. Towards Data Driven Insights for Openstack Clouds

© 2013 Cisco and/or its affiliates. All rights reserved.Cisco

Confidential

Bottlenecks

Use Cases: Why use AVOS?

Attacks

Page 11: Predictive analytics and Visualization. Towards Data Driven Insights for Openstack Clouds

© 2013 Cisco and/or its affiliates. All rights reserved.Cisco

Confidential

Use Case: Bottlenecks

Page 12: Predictive analytics and Visualization. Towards Data Driven Insights for Openstack Clouds

© 2013 Cisco and/or its affiliates. All rights reserved.Cisco

Confidential

Use Case: Attack Detection● Classify Metrics● Analyse Patterns● E.G. is a util pattern:

○ Hadoop Traffic○ Network Faults○ DDoS Attack

Page 13: Predictive analytics and Visualization. Towards Data Driven Insights for Openstack Clouds

© 2013 Cisco and/or its affiliates. All rights reserved.Cisco

Confidential

Future Plans• Advanced Search Primitives (E.G. filter by instances that are shutoff quickly) • Reducing the number of relevant log messages • Real-time error analytics• Add to/edit the cluster• Ability to preview these changes

Curvature:https://github.com/CiscoSystems/curvature

Page 14: Predictive analytics and Visualization. Towards Data Driven Insights for Openstack Clouds

© 2013 Cisco and/or its affiliates. All rights reserved.Cisco

Confidential

OpenStack changesIn order for these changes to be possible, some modifications to OpenStack are necessary:• Ceilometer

Better API queries, optimizing return structureCustom meters:

VM to VM traffic flows

• Other suggestions/Ideas: Standardization of the Python clients (several inconsistencies between method calls)Integration into horizon

“All in view of making OpenStack easier to build on top of, without the performance gains of applications above it lost in the overhead of running them.”

Page 15: Predictive analytics and Visualization. Towards Data Driven Insights for Openstack Clouds

© 2013 Cisco and/or its affiliates. All rights reserved.Cisco

Confidential

Conclusion

Openstack Predictive Analytics/Visibility = Reduce Ops pains

We must 1) gather data 2) extract insights 3) present to ops folks with kickass UX

Page 16: Predictive analytics and Visualization. Towards Data Driven Insights for Openstack Clouds

© 2013 Cisco and/or its affiliates. All rights reserved.Cisco

Confidential

Thank you.Please take our survey:

http://goo.gl/CMAZje

Coming Talk:Storage Visibility and Optimization for OpenStack:

Wednesday, May 14 • 3:30pm - 4:10pm