Giter Club home page Giter Club logo

merakihawatch's Introduction

Meraki vMX High Availability Solution

Architecture Overview

Image of vMXHA

This solution is the Azure Function implementation that will:

  1. Get the current Active and StandBy vMX information (Resource Group, VM Name, Network Id, Device Serial and Private IP) from Blob Storage
  2. Probe the Active vMX using the Meraki API to get Loss and Latency.
    https://dashboard.meraki.com/api_docs/v0#get-the-uplink-loss-percentage-and-latency-in-milliseconds-for-a-wired-network-device
  3. If loss is over the configured percentage level, update an array of Route Tables with next hop = the private IP of the StandBy vMX and update the state in Blob Storage
  4. Log activity to Log Analytics (optional)

Pre-requisites

  • Meraki dashboard account with licenses for 2 vMX appliances, API Key and a configured testing destination for the MX network (for example 1.1.1.1).
  • 2 Meraki vMX appliances deployed in Azure
  • Azure Active Directory App Registration (Service Principal) with RBAC rights to update the Route Tables
  • Optional: Log Analytics Workspace where the Azure Function will log results.
  • At least one defined Route Table with a route that has nexthop (Virtual Appliance) as the designated active vMX
  • A Storage Account, Blob Container, and Blob with the vMX Pair information in the following json format:
     {
   "activeNode":{ 
   	"resourceGroup":"vMX resource group where the device is deployed",
   	"vmName":"VM Name",
   	"networkId":"from Meraki dashboard",
   	"deviceSerial":"from Meraki dashboard",
   	"privateIp":"private IP of the vMX"
   },
   "standByNode":{
   	"resourceGroup":"vMX resource group where the device is deployed",
   	"vmName":"VM Name",
   	"networkId":"from Meraki dashboard",
   	"deviceSerial":"from Meraki dashboard",
   	"privateIp":"private IP of the vMX"
   }
}

merakihawatch's People

Contributors

azuregomez avatar martyncoup avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.