Device Management and Monitoring Through Redfish · 2019-09-30 · SEBA 4 VOLTHA ONOS Cluster vOLT...
Transcript of Device Management and Monitoring Through Redfish · 2019-09-30 · SEBA 4 VOLTHA ONOS Cluster vOLT...
![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](https://reader034.fdocuments.in/reader034/viewer/2022042112/5e8e547a5dd4d658085a5e0a/html5/thumbnails/1.jpg)
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](https://reader034.fdocuments.in/reader034/viewer/2022042112/5e8e547a5dd4d658085a5e0a/html5/thumbnails/2.jpg)
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](https://reader034.fdocuments.in/reader034/viewer/2022042112/5e8e547a5dd4d658085a5e0a/html5/thumbnails/3.jpg)
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](https://reader034.fdocuments.in/reader034/viewer/2022042112/5e8e547a5dd4d658085a5e0a/html5/thumbnails/4.jpg)
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](https://reader034.fdocuments.in/reader034/viewer/2022042112/5e8e547a5dd4d658085a5e0a/html5/thumbnails/5.jpg)
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](https://reader034.fdocuments.in/reader034/viewer/2022042112/5e8e547a5dd4d658085a5e0a/html5/thumbnails/6.jpg)
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](https://reader034.fdocuments.in/reader034/viewer/2022042112/5e8e547a5dd4d658085a5e0a/html5/thumbnails/7.jpg)
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](https://reader034.fdocuments.in/reader034/viewer/2022042112/5e8e547a5dd4d658085a5e0a/html5/thumbnails/8.jpg)
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](https://reader034.fdocuments.in/reader034/viewer/2022042112/5e8e547a5dd4d658085a5e0a/html5/thumbnails/9.jpg)
- 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](https://reader034.fdocuments.in/reader034/viewer/2022042112/5e8e547a5dd4d658085a5e0a/html5/thumbnails/10.jpg)
- 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](https://reader034.fdocuments.in/reader034/viewer/2022042112/5e8e547a5dd4d658085a5e0a/html5/thumbnails/11.jpg)
* 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](https://reader034.fdocuments.in/reader034/viewer/2022042112/5e8e547a5dd4d658085a5e0a/html5/thumbnails/12.jpg)
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](https://reader034.fdocuments.in/reader034/viewer/2022042112/5e8e547a5dd4d658085a5e0a/html5/thumbnails/13.jpg)
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](https://reader034.fdocuments.in/reader034/viewer/2022042112/5e8e547a5dd4d658085a5e0a/html5/thumbnails/14.jpg)
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](https://reader034.fdocuments.in/reader034/viewer/2022042112/5e8e547a5dd4d658085a5e0a/html5/thumbnails/15.jpg)
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](https://reader034.fdocuments.in/reader034/viewer/2022042112/5e8e547a5dd4d658085a5e0a/html5/thumbnails/16.jpg)
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](https://reader034.fdocuments.in/reader034/viewer/2022042112/5e8e547a5dd4d658085a5e0a/html5/thumbnails/17.jpg)
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](https://reader034.fdocuments.in/reader034/viewer/2022042112/5e8e547a5dd4d658085a5e0a/html5/thumbnails/18.jpg)
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](https://reader034.fdocuments.in/reader034/viewer/2022042112/5e8e547a5dd4d658085a5e0a/html5/thumbnails/19.jpg)
19