Top Banner
Managing your Mission Critical Application: Ensuring Zero Downtime Damon LaCaille [email protected] May 13, 2015
51
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Webinar: Ensuring Zero Downtime for Your Mission Critical App

Managing your Mission Critical Application:Ensuring Zero Downtime

Damon [email protected]

May 13, 2015

Page 2: Webinar: Ensuring Zero Downtime for Your Mission Critical App

We’ll be covering...

• Factors that impact uptime

Page 3: Webinar: Ensuring Zero Downtime for Your Mission Critical App

We’ll be covering...

• Factors that impact uptime• How to improve those factors

Page 4: Webinar: Ensuring Zero Downtime for Your Mission Critical App

We’ll be covering...

• Factors that impact uptime• How to improve those factors• How MongoDB does it (better)

Page 5: Webinar: Ensuring Zero Downtime for Your Mission Critical App

We’ll be covering...

• Factors that impact uptime• How to improve those factors• How MongoDB does it (better)• Examples

Page 6: Webinar: Ensuring Zero Downtime for Your Mission Critical App

We’ll be covering...

• Factors that impact uptime• How to improve those factors• How MongoDB does it (better)• Examples• Simplify MongoDB Automation

Page 7: Webinar: Ensuring Zero Downtime for Your Mission Critical App

We’ll be covering...

• Factors that impact uptime• How to improve those factors• How MongoDB does it (better)• Examples• Simplify MongoDB Automation• Q&A

Page 8: Webinar: Ensuring Zero Downtime for Your Mission Critical App

What is uptime?

• Measure of time that something has been available *and* working as expected.

Page 11: Webinar: Ensuring Zero Downtime for Your Mission Critical App

What impacts uptime?

Page 12: Webinar: Ensuring Zero Downtime for Your Mission Critical App

What impacts uptime?

Hardwarefailure

• Disk drive, CPU, memory• Power supply failure• Router failure

Page 13: Webinar: Ensuring Zero Downtime for Your Mission Critical App

What impacts uptime?

Hardwarefailure

SoftwareFailure(Bugs)

• Your code• Application Server• Operating System

Page 14: Webinar: Ensuring Zero Downtime for Your Mission Critical App

What impacts uptime?

Hardwarefailure

SoftwareFailure(Bugs)

HumanError

• Misconfiguration• Deletion of data• “Reply All”

Page 15: Webinar: Ensuring Zero Downtime for Your Mission Critical App

Mitigating the Impact

Page 16: Webinar: Ensuring Zero Downtime for Your Mission Critical App

Hardwarefailure

Redundancy&

Technology

Mitigating the Impact

Page 17: Webinar: Ensuring Zero Downtime for Your Mission Critical App

Hardwarefailure

SoftwareFailure

Redundancy&

Technology

Process

Mitigating the Impact

Page 18: Webinar: Ensuring Zero Downtime for Your Mission Critical App

Hardwarefailure

SoftwareFailure

HumanError

Redundancy&

Technology

Process

Policy

Mitigating the Impact

Page 19: Webinar: Ensuring Zero Downtime for Your Mission Critical App

HumanError

Policy

Mitigating the Impact

• Use Roles within MongoDB

Page 20: Webinar: Ensuring Zero Downtime for Your Mission Critical App

HumanError

Policy

Mitigating the Impact

• Use Roles within MongoDB

• Leverage Automation whenever possible (Ops Manager or MMS)

Page 21: Webinar: Ensuring Zero Downtime for Your Mission Critical App

HumanError

Policy

Mitigating the Impact

• Use Roles within MongoDB

• Leverage Automation whenever possible (Ops Manager or MMS)

• Secure your deployment

www.mongodb.com/white-papers

mms.mongodb.com

Page 22: Webinar: Ensuring Zero Downtime for Your Mission Critical App

SoftwareFailure

Process

Mitigating the Impact

• Utilize multiple environments (Dev, Test, QA, Staging, Production)

Page 23: Webinar: Ensuring Zero Downtime for Your Mission Critical App

SoftwareFailure

Process

Mitigating the Impact

• Utilize multiple environments (Dev, Test, QA, Staging, Production)

• Don’t reinvent the wheel, use trusted libraries and modules

Page 24: Webinar: Ensuring Zero Downtime for Your Mission Critical App

SoftwareFailure

Process

Mitigating the Impact

• Utilize multiple environments (Dev, Test, QA, Staging, Production)

• Don’t reinvent the wheel, use trusted libraries and modules

• Use recent GA releases of MongoDB servers, drivers and tools

Page 25: Webinar: Ensuring Zero Downtime for Your Mission Critical App

Hardwarefailure

Redundancy&

Technology

Mitigating the Impact

• Replica Set approach survives multiple failure types

Page 26: Webinar: Ensuring Zero Downtime for Your Mission Critical App

Hardwarefailure

Redundancy&

Technology

Mitigating the Impact

• Replica Set approach survives multiple failure types

• You don’t need high-cost specialized hardware

Page 27: Webinar: Ensuring Zero Downtime for Your Mission Critical App

Hardwarefailure

Redundancy&

Technology

Mitigating the Impact

• Replica Set approach survives multiple failure types

• You don’t need high-cost specialized hardware

• Let MongoDB handle the complexity for you

Page 28: Webinar: Ensuring Zero Downtime for Your Mission Critical App

Example Development Environment

Page 29: Webinar: Ensuring Zero Downtime for Your Mission Critical App

Example Development Environments

Page 30: Webinar: Ensuring Zero Downtime for Your Mission Critical App

Example Test Environment

Page 31: Webinar: Ensuring Zero Downtime for Your Mission Critical App

Example QA Environment

Page 32: Webinar: Ensuring Zero Downtime for Your Mission Critical App

Driver Handles Rerouting to Members

Page 33: Webinar: Ensuring Zero Downtime for Your Mission Critical App

Driver Handles Rerouting to Members

Page 34: Webinar: Ensuring Zero Downtime for Your Mission Critical App

Query Router Handles Request Routing

[ A - I ] [ J - R ] [ S - Z ]

Page 35: Webinar: Ensuring Zero Downtime for Your Mission Critical App

Multiple Query Routers Provide Failover

[ A - I ] [ J - R ] [ S - Z ]

Page 36: Webinar: Ensuring Zero Downtime for Your Mission Critical App

Your Application Has Not Changed!

[ A - I ] [ J - R ] [ S - Z ]

Page 37: Webinar: Ensuring Zero Downtime for Your Mission Critical App

Multi Data Center

Page 38: Webinar: Ensuring Zero Downtime for Your Mission Critical App

Global Replication - Location Aware Writes

Page 39: Webinar: Ensuring Zero Downtime for Your Mission Critical App

Global Replication - Lower Latency for Reads

Page 40: Webinar: Ensuring Zero Downtime for Your Mission Critical App

Ops Manager & MMS

Page 41: Webinar: Ensuring Zero Downtime for Your Mission Critical App

Takeaways

Page 42: Webinar: Ensuring Zero Downtime for Your Mission Critical App

Takeaways

• Your data is safe with MongoDB

Page 43: Webinar: Ensuring Zero Downtime for Your Mission Critical App

Takeaways

• Your data is safe with MongoDB

• Automated, zero downtime upgrades

Page 44: Webinar: Ensuring Zero Downtime for Your Mission Critical App

Takeaways

• Your data is safe with MongoDB

• Automated, zero downtime upgrades

• Reduce administrative tasks by 95%

Page 45: Webinar: Ensuring Zero Downtime for Your Mission Critical App

Takeaways

• Your data is safe with MongoDB

• Automated, zero downtime upgrades

• Reduce administrative tasks by 95%

• Automatic balancing of data

Page 46: Webinar: Ensuring Zero Downtime for Your Mission Critical App

Takeaways

• Your data is safe with MongoDB

• Automated, zero downtime upgrades

• Reduce administrative tasks by 95%

• Automatic balancing of data

• Automatic global-scale replication

Page 47: Webinar: Ensuring Zero Downtime for Your Mission Critical App

From the team that builds MongoDB• Consultative• Authoritative• Comprehensive

Enterprise-Grade Support

"With [ MongoDB's ] first class

support, we don’t spend time

worrying about the database,

we spend more time writing

code for our application.”

– Reverb Technologies

"MongoDB’s open-source

platform coupled with

commercial support is extremely

cost efficient, delivering a

positive TCO impact.”

– Forbes

Page 48: Webinar: Ensuring Zero Downtime for Your Mission Critical App

Additional Resources

www.mongodb.com/webinars

• MongoDB Administration 101 (11/25/14)

• MongoDB Deployment Checklist (9/10/14)

Page 49: Webinar: Ensuring Zero Downtime for Your Mission Critical App

Additional Resources

university.mongodb.com

• M101 Developer Courses• M102 MongoDB for DBAs• M202 MongoDB Adv. Deployments &

Ops• Public Training• Private Training

Page 50: Webinar: Ensuring Zero Downtime for Your Mission Critical App

Almost Done!

• Commit to voicing your opinion with our survey

• Take advantage of our free classes

Page 51: Webinar: Ensuring Zero Downtime for Your Mission Critical App