Ops Manager API, Puppet and OpenStack – Fully automated orchestration from scratch! MongoDB World 2016.

Slides:



Advertisements
Similar presentations
STUDY ON OPENSTACK BY JAI KRISHNA. LIST OF COMPONENTS Introduction Components Architecture Where it is used.
Advertisements

FI-WARE – Future Internet Core Platform FI-WARE Cloud Hosting July 2011 High-level description.
Service Management API Management Portal Service Provider Foundation SPF Web Server Stamp2 SPF DB VMM Server 2 Stamp1 VMM Server 1 Stamp scale.
Installing and Setting up mongoDB replica set PREPARED BY SUDHEER KONDLA SOLUTIONS ARCHITECT.
System Center 2012 Setup The components of system center App Controller Data Protection Manager Operations Manager Orchestrator Service.
Software Engineer, #MongoDBDays.
Building service testbeds on FIRE D5.2.5 Virtual Cluster on Federated Cloud Demonstration Kit August 2012 Version 1.0 Copyright © 2012 CESGA. All rights.
Cloud Computing. What is Cloud Computing? Cloud computing is a model for enabling convenient, on-demand network access to a shared pool of configurable.
Ceph Storage in OpenStack Part 2 openstack-ch,
Presented by: Sanketh Beerabbi University of Central Florida COP Cloud Computing.
COMS E Cloud Computing and Data Center Networking Sambit Sahu
Cisco Confidential © 2010 Cisco and/or its affiliates. All rights reserved. 1 MSE Virtual Appliance Presenter Name: Patrick Nicholson.
1 Week #10Business Continuity Backing Up Data Configuring Shadow Copies Providing Server and Service Availability.
EXPOSING OVS STATISTICS FOR Q UANTUM USERS Tomer Shani Advanced Topics in Storage Systems Spring 2013.
Using Heat to Deploy and Manage Applications in OpenStack Trevor Roberts Jr, VMware, Inc. CNA1763 #CNA1763.
CoprHD and OpenStack Ideas for future.
20409A 7: Installing and Configuring System Center 2012 R2 Virtual Machine Manager Module 7 Installing and Configuring System Center 2012 R2 Virtual.
Vignesh Ravindran Sankarbala Manoharan. Infrastructure As A Service (IAAS) is a model that is used to deliver a platform virtualization environment with.
Document Name CONFIDENTIAL Version Control Version No.DateType of ChangesOwner/ Author Date of Review/Expiry The information contained in this document.
OpenStack Chances and Practice at IHEP Haibo, Li Computing Center, the Institute of High Energy Physics, CAS, China 2012/10/15.
ALL INFORMATION PRESENTED AS WELL AS ALL SESSIONS ARE MICROSOFT CONFIDENTIAL AND UNDER YOUR NON-DISCLOSURE AGREEMENT (NDA) AND\OR TECHNOLOGY PREVIEW.
Platform & Engineering Services CERN IT Department CH-1211 Geneva 23 Switzerland t PES Agile Infrastructure Project Overview : Status and.
Information Initiative Center, Hokkaido University North 11, West 5, Sapporo , Japan Tel, Fax: General.
Co-ordination & Harmonisation of Advanced e-Infrastructures for Research and Education Data Sharing Grant.
1© Copyright 2016 EMC Corporation. All rights reserved.1 SCALEIO WITH CLOUDLINK.
OPENSTACK Presented by Jordan Howell and Katie Woods.
Canadian Bioinformatics Workshops
OpenStack.
Course: Cluster, grid and cloud computing systems Course author: Prof
Extended Operating System Support
Microsoft Virtual Academy
Interoperability Between Modern Clouds using DevOps
Containers as a Service with Docker to Extend an Open Platform
Smart Cities and Communities and Social Innovation
Useful Tools for Testing
CMS DCS: WinCC OA Installation Strategy
Architectural Overview Of Cloud Computing
TECH TRACK: RHEV Backup AND Recovery
Learning MongoDB ZhangGang
Example of a page header
SCD Cloud at STFC By Alexander Dibbo.
VceTests VCE Test Dumps
TYPES OF SERVER. TYPES OF SERVER What is a server.
INDIGO – DataCloud PaaS
Interoperability in Modern Clouds using DevOps
OpenStack Ani Bicaku 18/04/ © (SG)² Konsortium.
HP Operations Orchestration
OPNFV Arno Installation & Validation Walk-Through
Kubernetes Container Orchestration
Chapter 2. Malware Analysis in VMs
Introduction to Docker
MongoDB for the SQL DBA.
20409A 7: Installing and Configuring System Center 2012 R2 Virtual Machine Manager Module 7 Installing and Configuring System Center 2012 R2 Virtual.
HC Hyper-V Module GUI Portal VPS Templates Web Console
OpenStack-alapú privát felhő üzemeltetés
Microsoft Virtual Academy
Microsoft Virtual Academy
OpenShift vs. Vanilla k8s on OpenStack IaaS
Deploy Software with Group Policy
Cloud Computing: Concepts
TechEd /23/2019 9:23 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Windows Azure Hybrid Architectures and Patterns
OpenStack Summit Berlin – November 14, 2018
IBM Tivoli Storage Manager
Microsoft Virtual Academy
Productive + Hybrid + Intelligent + Trusted
Server & Tools Business
Bending Ironic for Big Iron
Microsoft Virtual Academy
Presentation transcript:

Ops Manager API, Puppet and OpenStack – Fully automated orchestration from scratch! MongoDB World 2016

Nice to Meet You! Naama Bamberger Einav Rivni (nabamber@cisco.com) (erivni@cisco.com) Nice to Meet You! Naama Bamberger (nabamber@cisco.com)

Serving 12M households & 50M devices and 14 Deployments Serving 12M households & 50M devices 2 shards, 2 data-centers * ~14 live deployments. All of them are in customer site (on-prem) * Biggest deployment has 2 shards, handling 12M households and 50M devices and entitlements, across 2 data centers * Started with user management system for two ways TV system, storing household information, devices, entitlements and preferences. Storing user’s booking and recordings * Now many application ported to mongo db to store catalog, SWDL management, offer management and many more.

Our Goal –

Our Goal – Create a fully automated process for MongoDB deployment on a production OpenStack environment

Don’t we have MongoDB automation already?

Called OpsManager?

Well, sort of

We can deploy a cluster automatically once: OpsManager is installed and configured VMs (or physical machines) exist for cluster Agents installed on all nodes Agents are registered to OpsManager

And we’ll try to automate all the ‘once’ steps

Desired deployment model Ops-Manager Ops-Manager Backup DB - Backup MongoD Mongo Config MongoS

Environment, tools and technologies

Virtualization “Virtualization refers to technologies designed to provide a layer of abstraction between computer hardware systems and the software running on them” (John K. Waters)

Openstack Set of software tools for IaaS Began in 2010 by NASA and Rackspace Opensource Project Current Version: Mitaka

Main Services

Compute: Nova Nova

Networking: Neutron Neutron

Storage: Cinder Cinder

Dashboard: Horizon Horizon

And many more

HEAT overview

HEAT – Openstack’s orchestration engine

OS::Neutron::SecurityGroup OS::Heat::ResourceGroup OS::Nova::Server HEAT Resources OS::Neutron::SecurityGroup OS::Heat::ResourceGroup OS::Nova::Server OS::Cinder::Volume

OS::Neutron:: SecurityGroup for ops-manager

OS::Neutron:: SecurityGroup for agents

OS::Heat:: ResourceGroup

OS::Nova::Server

OS::Cinder::Volume

Mongo orchestration – installation steps Ops-Manager MongoD Mongo Config MongoS Ops-Manager Backup Deployer MongoD Mongo Config MongoS DB - Backup MongoD Mongo Config

Step 1: Create Ops-manager servers

Ops manager – deployment model DB - Backup Ops-Manager Backup Ops-Manager 27017 27017 27017 27018 27018 27018

Step 2: Install Ops-manager software Ops-Manager Backup DB - Backup

Step 3: Create User Ops-Manager Ops-Manager Backup DB - Backup

Step 4: Save Keys Ops-Manager Ops-Manager Backup DB - Backup

Step 5: Create hosts for mongod/mongos/config instances Ops-Manager Ops-Manager Backup DB - Backup

Agents deployment model cinder cinder cinder agent

Step 6: Mount Volumes for instances reserved for mongod Ops-Manager agent agent agent Ops-Manager Backup agent agent agent DB - Backup agent agent

Step 7: Get keys Ops-Manager agent agent agent Ops-Manager Backup DB - Backup agent agent

Step 8: Install agent and configure to point to ops-manager Ops-Manager Backup agent agent agent DB - Backup agent agent

Step 9: Create deployer server Agents Ops-Manager agent agent agent Ops-Manager Backup agent agent agent DB - Backup agent agent

Step 10: Deployer executes REST requests on ops-manager, to create cluster MongoD Mongo Config MongoS Ops-Manager Backup Deployer MongoD Mongo Config MongoS DB - Backup MongoD Mongo Config

That’s all nice, but life is a bit more complicated

Saving API keys and Group info Problem: No way to retrieve key once created, though we need it to configure all agents

Saving API keys and Group info Solution: Save info as Json file, on ops-manager static file location (delete once installation is complete!) agentApiKey: "2af35366951865e509520b2d3458b5cc"

Isolated Mode Problem: No access to the outside world from the openstack environment By default, ops-manager downloads all mongodb software from the mongodb site

Isolated mode Solution: - Configure Ops-Manager to work in an isolated-mode. - Create a version Manifest identifying the allowed versions. - Download and save the required tar files on the ops-Manager machine

Allowing Mongo versions Store version manifest json file in Ops-Manager.

First User Creation

Demo

MongoDB Clusters Across Data Centers

Luckily, OpsManager can help us with that Steps: On primary site: Deploy fully working cluster as shown above Then, on secondary: Deploy agents Create deployer From deployer – access OpsManager on primary site to extend cluster

Desired Model DC2 DC1 Ops-Manager Ops-Manager Backup DB - Backup MongoD Mongo Config MongoS MongoD Mongo Config MongoS Ops-Manager Backup MongoD Mongo Config MongoS MongoD Mongo Config MongoS DB - Backup MongoD Mongo Config

In case of a real disaster DC1 DC2 Ops-Manager MongoD Mongo Config MongoS MongoD Mongo Config MongoS Ops-Manager Backup MongoD Mongo Config MongoS MongoD Mongo Config MongoS DB - Backup MongoD Mongo Config

Arbitar addition DC2 DC1 DC3 Ops-Manager Ops-Manager Backup MongoD Mongo Config MongoS MongoD Mongo Config MongoS Ops-Manager Backup MongoD Mongo Config MongoS MongoD Mongo Config MongoS DB - Backup MongoD Mongo Config DC3 Arbitar

OpsManager is a great tool Takeaways OpsManager is a great tool Orchestration is more than calling ‘create cluster’ With some effort, we can automate it all