GeoRedundant SDNC ONAP Beijing Proof of Concept Demo
Geo-Redundant SDNC ONAP Beijing Proof of Concept Demo 2 March 14, 2018
Platform Maturity Requirements - Resiliency • Level 0: no redundancy • Level 1: support manual failure detection & rerouting or recovery within a single site; tested to complete in 30 minutes • Level 2: support automated failure detection & rerouting Site Resiliency • within a single geographic site • stateless components: establish baseline measure of failed requests for a component failure within a site • stateful components: establish baseline of data loss for a component failure within a site • Level 3: support automated failover detection & rerouting • across multiple sites • stateless components • • improve on # of failed requests for component failure within a site establish baseline for failed requests for site failure • stateful components 2 • • improve on data loss metrics for component failure within a site establish baseline for data loss for site failure Information Security Level 2 – Sensitive © 2017 – Proprietary & Confidential Information of Amdocs Geo-graphic Redundancy (POC)
Site Resiliency – Beijing Committed Site Resiliency based on Kubernetes clusters • Local clusters • Restarting problem components • Consolidated status reporting • Multi-VM support https: //wiki. onap. org/display/DW/SDN-C+Clustering+on+Kubernetes 3 Information Security Level 2 – Sensitive © 2017 – Proprietary & Confidential Information of Amdocs
Kubernetes Federation • What is provides • We are no longer sure if it provides value, but we have not yet removed it from our solution • • We originally thought we needed it for communication Perhaps in an active/active world, it would provide more value • What it doesn’t provide • • • Replication Active/Backup determination Health Monitoring https: //wiki. onap. org/display/DW/Kubernetes+Federation 4 Information Security Level 2 – Sensitive © 2017 – Proprietary & Confidential Information of Amdocs
Core DNS Enables sending requests to a single known address, which resolves to the current primary server • https: //wiki. onap. org/display/DW/Setting+up+Core. Dns+Provider Note that Kubernetes is moving to core. DNS, moving forward 5 Information Security Level 2 – Sensitive © 2017 – Proprietary & Confidential Information of Amdocs
Manual Failover Solution – Beijing POC Kubernetes Federation CORE DNS Native Data replication Sdnhost-sdnc-0 Sdnhost-sdnc-1 Sdnhost-sdnc-2 nodeport nodeport Role Switch API/Script Health Check API/Script Sdnhost-sdnc : connectivity to pods via ports to enable mdsal geo-replication 6 Information Security Level 2 – Sensitive © 2017 – Proprietary & Confidential Information of Amdocs
Auto-Failover Solution – Stretch Objective POC CORE DNS Kubernetes Federation Native Data replication Sdnhost-sdnc-0 Sdnhost-sdnc-1 Sdnhost-sdnc-2 nodeport HAL 7 Role Switch API/Script Sdnhost-sdnc-0 Sdnhost-sdnc-1 Sdnhost-sdnc-2 nodeport Health Check API/Script Information Security Level 2 – Sensitive © 2017 – Proprietary & Confidential Information of Amdocs HAL MUSIC Role Switch API/Script Health Check API/Script
Stories under Multi-site High-available Improvements - Proof of Concept (SDNC-124) Beijing POC SDNC-251 Multi-site High-availability - switch roles SDNC-250 Multi-site High-availability - health-monitor reporting SDNC-214 Multi-site High-availability - Kubernetes Federation + Manual Failover (POC) Beijing POC SDNC-213 Multi-site High-availability - Auto-failover (POC) Stretch Objective 8 Information Security Level 2 – Sensitive © 2017 – Proprietary & Confidential Information of Amdocs Beijing POC
Dependencies Auto-failover work with Hal/Music (internal) 9 Information Security Level 2 – Sensitive © 2017 – Proprietary & Confidential Information of Amdocs
POC Outputs • Wiki Page • Kubernetes Federation in SDNC • Findings/Measurements • Configuration Files • Scripts • • Health Checking Manual fail over If scripts, configuration files, etc meet ONAP coding standards, hope to check in. • Geo would not be enabled by default 10 Information Security Level 2 – Sensitive © 2017 – Proprietary & Confidential Information of Amdocs
Current Status • Having doubts about usefulness of Federation Have manual failover working - no elegant scripts • Except My. SQL, which is not fully tested. • 11 So, we are manually sending My. SQL commands and watching them replicate. Information Security Level 2 – Sensitive © 2017 – Proprietary & Confidential Information of Amdocs
Demo Setup Fed/DNS server 10. 147. 101. 135 Site 1 Master 10. 147. 114. 5 12 Information Security Level 2 – Sensitive © 2017 – Proprietary & Confidential Information of Amdocs Site 2 Master 10. 147. 114. 140
13 Information Security Level 2 – Sensitive © 2017 – Proprietary & Confidential Information of Amdocs
14 Information Security Level 2 – Sensitive © 2017 – Proprietary & Confidential Information of Amdocs
Generic Kubernetes Federation 15 Information Security Level 2 – Sensitive © 2017 – Proprietary & Confidential Information of Amdocs
- Slides: 15