managing mongodb - percona€¦ · installation of ops manager “test” ec2 instances 1 x...

13
Copyright 2017 Severalnines AB An Analysis of Ops Manager vs. ClusterControl 27 th September 2017 Ruairí Newman, Senior Support Engineer, Severalnines Presenter [email protected] Automating and Managing MongoDB

Upload: others

Post on 20-May-2020

13 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Managing MongoDB - Percona€¦ · Installation of Ops Manager “Test” EC2 instances 1 x “t2.large” CentOS 7.3 EC2 instance for Ops Manager “test” install 3 x “t2.small”

Copyright 2017 Severalnines AB

An Analysis of Ops Manager vs. ClusterControl

27th September 2017

Ruairí Newman, Senior Support Engineer, SeveralninesPresenter

[email protected]

Automating and Managing MongoDB

Page 2: Managing MongoDB - Percona€¦ · Installation of Ops Manager “Test” EC2 instances 1 x “t2.large” CentOS 7.3 EC2 instance for Ops Manager “test” install 3 x “t2.small”

Copyright 2012 Severalnines ABCopyright 2012 Severalnines AB

Who are Severalnines?

Re-Defining Database Management

The “Anti-Startup”

+ 2011 EuroCloud Sweden & Europe Best Startup Award

+ 2016 Information Age Data 50 Awards Database Category

+ 2016 Computing Vendor Excellence Award - Cloud & Infrastructure and DevOps Solution Award

+ Finalist - Computing IT Awards

Self-Funded, Profitable, with No VC Capital

Your All-Inclusive, Open Source Database

Management System

Page 3: Managing MongoDB - Percona€¦ · Installation of Ops Manager “Test” EC2 instances 1 x “t2.large” CentOS 7.3 EC2 instance for Ops Manager “test” install 3 x “t2.small”

Copyright 2017 Severalnines ABCopyright 2017 Severalnines AB

High-Level Feature Comparison

ClusterControl Ops Manager

Deploy Replica Set, Sharded Cluster Yes Yes

Metrics Monitored Host metrics, MongoDB Metrics Host metrics, MongoDB Metrics

Custom Dashboards Yes, plus “Advisors” Yes

Cloud/IaaS Provider Integration AWS S3 (for Backups)* AWS S3 (for Backups)

Consistent Backups (Sharded) Yes Yes

User & Group Mgmt, LDAP Yes Yes

Secure Installation Default Supported

Auto Recovery Explicit No

Scriptable Command Line Yes No

Page 4: Managing MongoDB - Percona€¦ · Installation of Ops Manager “Test” EC2 instances 1 x “t2.large” CentOS 7.3 EC2 instance for Ops Manager “test” install 3 x “t2.small”

Copyright 2017 Severalnines ABCopyright 2017 Severalnines AB

Installation:● Ops Manager

○ Downloadable from mongodb.com○ Enterprise MongoDB Subscription○ MongoDB Licences for for servers required to support Ops Manager○ Production vs Test deployment

● ClusterControl○ Downloadable from severalnines.com--install-cc script○ Installs required open source dependencies○ Community edition, Advanced, and Enterprise

Installation Requirements:● Ops Manager

○ Production○ “Test”

● ClusterControl

The Basics - Getting Started

Page 5: Managing MongoDB - Percona€¦ · Installation of Ops Manager “Test” EC2 instances 1 x “t2.large” CentOS 7.3 EC2 instance for Ops Manager “test” install 3 x “t2.small”

Copyright 2017 Severalnines ABCopyright 2017 Severalnines AB

Standard Installation of MongoDB Ops Manager

Page 6: Managing MongoDB - Percona€¦ · Installation of Ops Manager “Test” EC2 instances 1 x “t2.large” CentOS 7.3 EC2 instance for Ops Manager “test” install 3 x “t2.small”

Copyright 2017 Severalnines ABCopyright 2017 Severalnines AB

Highly Available Ops Manager Architecture

In this scenario, a highly available Ops Manager requires 8 physical servers, not including the HTTP load balancer.

Apart from the HTTP Services, the solution requires 3 MongoDB replica sets of 3 data nodes each;

One each for the Application Database, and the Backup Blockstore Databases #1 & #2.

Page 7: Managing MongoDB - Percona€¦ · Installation of Ops Manager “Test” EC2 instances 1 x “t2.large” CentOS 7.3 EC2 instance for Ops Manager “test” install 3 x “t2.small”

Copyright 2017 Severalnines ABCopyright 2017 Severalnines AB

ClusterControl uses a single MySQL / MariaDB database server, to which its core services connect to store and retrieve data.

Redundancy can be achieved through deploying a database snapshot on a second node, and installing the ClusterControl applications.

With a HTTP proxy in front, requests can be directed to the live node. ClusterControl services such as auto-recovery should be stopped on the second node to avoid complications.

ClusterControl Architecture

Page 8: Managing MongoDB - Percona€¦ · Installation of Ops Manager “Test” EC2 instances 1 x “t2.large” CentOS 7.3 EC2 instance for Ops Manager “test” install 3 x “t2.small”

Copyright 2017 Severalnines ABCopyright 2017 Severalnines AB

Installation

Page 9: Managing MongoDB - Percona€¦ · Installation of Ops Manager “Test” EC2 instances 1 x “t2.large” CentOS 7.3 EC2 instance for Ops Manager “test” install 3 x “t2.small”

Copyright 2017 Severalnines ABCopyright 2017 Severalnines AB

❏ EC2 instances

❏ 4 x “t2.small” CentOS 7.3 EC2 instances: 1 for ClusterControl, 3 for a

MongoDB Replica Set deployment

❏ Obtain and install ClusterControl installation script from severalnines.com

❏ Deploy a 3-node MongoDB Replica Set

❏ Review key functionality

Installation of ClusterControl

Page 10: Managing MongoDB - Percona€¦ · Installation of Ops Manager “Test” EC2 instances 1 x “t2.large” CentOS 7.3 EC2 instance for Ops Manager “test” install 3 x “t2.small”

Copyright 2017 Severalnines ABCopyright 2017 Severalnines AB

Installation of Ops Manager “Test”

❏ EC2 instances

❏ 1 x “t2.large” CentOS 7.3 EC2 instance for Ops Manager “test” install

❏ 3 x “t2.small” CentOS 7.3 EC2 instances for 3-Node MongoDB Replica Set

❏ Obtain and install MongoDB installation RPM

❏ Deploy a 3-node MongoDB Replica Set

❏ Review key functionality

Page 11: Managing MongoDB - Percona€¦ · Installation of Ops Manager “Test” EC2 instances 1 x “t2.large” CentOS 7.3 EC2 instance for Ops Manager “test” install 3 x “t2.small”

Copyright 2017 Severalnines ABCopyright 2017 Severalnines AB

Integrations

Page 12: Managing MongoDB - Percona€¦ · Installation of Ops Manager “Test” EC2 instances 1 x “t2.large” CentOS 7.3 EC2 instance for Ops Manager “test” install 3 x “t2.small”

Copyright 2017 Severalnines ABCopyright 2017 Severalnines AB

s9s -- the ClusterControl command line

Page 13: Managing MongoDB - Percona€¦ · Installation of Ops Manager “Test” EC2 instances 1 x “t2.large” CentOS 7.3 EC2 instance for Ops Manager “test” install 3 x “t2.small”

Copyright 2017 Severalnines AB

Thank You!