19
Device Management and Monitoring Through Redfish An introduction to Redfish Data Importer, based on Edge core OLT implementation for REDFISH API

Device Management and Monitoring Through Redfish · 2019-09-30 · SEBA 4 VOLTHA ONOS Cluster vOLT dhcp mcast OF TP TP TP NNI OLT ONU UNI Compute AGG Switch AGG Switch SR FPM T3 OF

  • Upload
    others

  • View
    3

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Device Management and Monitoring Through Redfish · 2019-09-30 · SEBA 4 VOLTHA ONOS Cluster vOLT dhcp mcast OF TP TP TP NNI OLT ONU UNI Compute AGG Switch AGG Switch SR FPM T3 OF

Device Management and Monitoring Through Redfish

An introduction to Redfish Data Importer, based on Edge core OLT implementation for REDFISH API

Page 2: Device Management and Monitoring Through Redfish · 2019-09-30 · SEBA 4 VOLTHA ONOS Cluster vOLT dhcp mcast OF TP TP TP NNI OLT ONU UNI Compute AGG Switch AGG Switch SR FPM T3 OF

Agenda

• Intro to Redfish• Edge’s Redfish Importer• Q&A

Page 3: Device Management and Monitoring Through Redfish · 2019-09-30 · SEBA 4 VOLTHA ONOS Cluster vOLT dhcp mcast OF TP TP TP NNI OLT ONU UNI Compute AGG Switch AGG Switch SR FPM T3 OF

Redfish

• A set of specifications, delivering a standard protocol to manage • Servers• Storage• Networking• Any converged infrastructure

• Management through• Logs• Events• Status (config)

Page 4: Device Management and Monitoring Through Redfish · 2019-09-30 · SEBA 4 VOLTHA ONOS Cluster vOLT dhcp mcast OF TP TP TP NNI OLT ONU UNI Compute AGG Switch AGG Switch SR FPM T3 OF

SEBA

4

VOLTHA

ONOS Cluster

vOLT dhcp mcast

OF

TPTPTP

NNI

OLT

ONU

UNI

Compute

AGG Switch

AGG Switch

SR FPM T3

OF

Network Edge Mediator (NEM)

RedfishRedfish

ONAP Legacy OSS

OSAM-Local EMS/NMS-adaptor

OSAM-Central

SEBA POD Providing FCAPS& Inventory

Page 5: Device Management and Monitoring Through Redfish · 2019-09-30 · SEBA 4 VOLTHA ONOS Cluster vOLT dhcp mcast OF TP TP TP NNI OLT ONU UNI Compute AGG Switch AGG Switch SR FPM T3 OF

Problems?

5

- Keeping track of devices

- Early warnings signs

- Preventive actions TPTP

NNI

SEBA POD

Page 6: Device Management and Monitoring Through Redfish · 2019-09-30 · SEBA 4 VOLTHA ONOS Cluster vOLT dhcp mcast OF TP TP TP NNI OLT ONU UNI Compute AGG Switch AGG Switch SR FPM T3 OF

Events/Alarms

HTTP/REST & REDFISH API

Importer Block Diagram

Redfish implementations without BMC (x86 based)

Redfish implementations on BMC

Importer supports any standard Redfish

implementation !

Edgecore XGSPON vOLT Redfish

Agent

EdgecoreGPON OLT Redfish

Agent

EdgecoreSwitch Redfish

Agent

Edgecore DeviceOpenBMC Redfish

Agent

Edgecore DeviceRedfishAgent

Storage DeviceRedfishAgent

Importer

Kafka Bus

Network Edge Mediator (NEM)

Page 7: Device Management and Monitoring Through Redfish · 2019-09-30 · SEBA 4 VOLTHA ONOS Cluster vOLT dhcp mcast OF TP TP TP NNI OLT ONU UNI Compute AGG Switch AGG Switch SR FPM T3 OF

7

North Bound

South Bound

OpenOLT Driver

BAL SDK

PSME *

ONLP Stack

vOLT Hardware

OMCI

ONU

8

9

PSME

AGG Switch

vOLTHA Redfish Importer Kafka Bus

Network Edge Mediator (NEM)

7 2 3 3 4

16

SEBA POD

* Running on vOLT x86 processor or dedicated BMC HW

Overall Architecture

Page 8: Device Management and Monitoring Through Redfish · 2019-09-30 · SEBA 4 VOLTHA ONOS Cluster vOLT dhcp mcast OF TP TP TP NNI OLT ONU UNI Compute AGG Switch AGG Switch SR FPM T3 OF

Device SDN Server (e.g. SEBA POD)

Overall Architecture

Redfish Agent

2

3

Redfish Importer

1

4

5

SDN Controller(e.g. NEM)

Redfish Exporter

Redfish Dashbord

Communication Bus(e.g. Kafka)

Prometheus

Grafana

Page 9: Device Management and Monitoring Through Redfish · 2019-09-30 · SEBA 4 VOLTHA ONOS Cluster vOLT dhcp mcast OF TP TP TP NNI OLT ONU UNI Compute AGG Switch AGG Switch SR FPM T3 OF

- Not restricted to SEBA environment

- Support for multiple SDN Controllers (such as NEM) for device information and configuration.

- Support for publishing data on any communication bus (such as Kafka.)

Additional Architectural Considerations

* For simplicity, the rest of this document will use SEBA, NEMA, and Kafka to indicate major components in the system.

Page 10: Device Management and Monitoring Through Redfish · 2019-09-30 · SEBA 4 VOLTHA ONOS Cluster vOLT dhcp mcast OF TP TP TP NNI OLT ONU UNI Compute AGG Switch AGG Switch SR FPM T3 OF

- Pooled System Management Engine- Intel RSD based open source component- Implements REDFISH server- Supports Redfish RESFUL API- Queries ONLP to collect data from device

- Importer- Collects data from PSME and publishes to Kafka bus.- Receives events from PSME

PSME & Importer

Page 11: Device Management and Monitoring Through Redfish · 2019-09-30 · SEBA 4 VOLTHA ONOS Cluster vOLT dhcp mcast OF TP TP TP NNI OLT ONU UNI Compute AGG Switch AGG Switch SR FPM T3 OF

* Importer will run as a separate container and will be implemented in Go

Importer Functional Blocks

NEM Like EntityGRPC Server

Importer

Init

Event Subscriber

Scheduler

Event Collector

Page 12: Device Management and Monitoring Through Redfish · 2019-09-30 · SEBA 4 VOLTHA ONOS Cluster vOLT dhcp mcast OF TP TP TP NNI OLT ONU UNI Compute AGG Switch AGG Switch SR FPM T3 OF

Global structure server, contains- Device map- Kafka producer handle- Mutex- Channel for gRPC API- Key for device map is IP address

Grpc API, contains-IP address of device-Type of device-Name of device-Data collection frequency

Importer Functional Blocks

Importer

Init

Event Subscriber

Scheduler

Event Collector

Page 13: Device Management and Monitoring Through Redfish · 2019-09-30 · SEBA 4 VOLTHA ONOS Cluster vOLT dhcp mcast OF TP TP TP NNI OLT ONU UNI Compute AGG Switch AGG Switch SR FPM T3 OF

Sets up the environment and creates necessary data structures

- Creates- Server structure instance- gRPC server- HTTP server- Data producer (e.g out to Kafka

bus)- Restores previous config from

persistent storage

Importer Functional Blocks

Importer

Init

Event Subscriber

Scheduler

Event Collector

Page 14: Device Management and Monitoring Through Redfish · 2019-09-30 · SEBA 4 VOLTHA ONOS Cluster vOLT dhcp mcast OF TP TP TP NNI OLT ONU UNI Compute AGG Switch AGG Switch SR FPM T3 OF

Manages subscriptions

- Subscribes/unsubscribes to events- Notified when a device is added

- Receives IP address of device- Creates event structure for

event type(s).- Subscribes to device events by

registering an even URL with the Redfish server

Importer: Event Subscriber

Importer

Init

Event Subscriber

Scheduler

Event Collector

Page 15: Device Management and Monitoring Through Redfish · 2019-09-30 · SEBA 4 VOLTHA ONOS Cluster vOLT dhcp mcast OF TP TP TP NNI OLT ONU UNI Compute AGG Switch AGG Switch SR FPM T3 OF

Manages the scheduled data collection activities

- Scans the device list- Periodically collects data from all

devices using RESTFUL APIs- Posts the data collected, as is, on

Kafka bus

Importer: Scheduler

Importer

Init

Event Subscriber

Scheduler

Event Collector

* Supports OCP Baseline Hardware Management Profile Version 0_2_1

Page 16: Device Management and Monitoring Through Redfish · 2019-09-30 · SEBA 4 VOLTHA ONOS Cluster vOLT dhcp mcast OF TP TP TP NNI OLT ONU UNI Compute AGG Switch AGG Switch SR FPM T3 OF

An HTTP handler listening on HTTP path, specified when an event is registered.

- Retrieves the body of message from the HTTP POST

- Create Kafka record from the response, including the event data as is

- Posts the event data to Kafka bus

Importer: Event Collector

Importer

Init

Event Subscriber

Scheduler

Event Collector

Page 17: Device Management and Monitoring Through Redfish · 2019-09-30 · SEBA 4 VOLTHA ONOS Cluster vOLT dhcp mcast OF TP TP TP NNI OLT ONU UNI Compute AGG Switch AGG Switch SR FPM T3 OF

Importer: Event Collector

Events Types Resource Added Resource Removed Alert

PSU Module Plug-In

PSU Module Plug-Out O

FAN Module Plug-In O

FAN Module Plug-Out O

FAN Module No Spin O

CPU/Main Board Thermal Sensor over critical temperature

O

CPU/Main Board Thermal Sensor over fatal temperature

O

Transceiver Plug-In O

Transceiver Plug-Out O

Page 18: Device Management and Monitoring Through Redfish · 2019-09-30 · SEBA 4 VOLTHA ONOS Cluster vOLT dhcp mcast OF TP TP TP NNI OLT ONU UNI Compute AGG Switch AGG Switch SR FPM T3 OF

18

North Bound

South Bound

OpenOLT Driver

BAL SDK

PSME *

ONLP Stack

vOLT Hardware

OMCI

ONU

8

9

PSME

AGG Switch

vOLTHA Redfish Importer Kafka Bus

Network Edge Mediator (NEM)

7 2 3 3 4

16

SEBA POD

* Running on vOLT x86 processor or dedicated BMC HW

Page 19: Device Management and Monitoring Through Redfish · 2019-09-30 · SEBA 4 VOLTHA ONOS Cluster vOLT dhcp mcast OF TP TP TP NNI OLT ONU UNI Compute AGG Switch AGG Switch SR FPM T3 OF

19