SlideShare a Scribd company logo
1 of 39
Download to read offline
Doctor Demo
Carlos Goncalves, NEC
Ryota Mibu, NEC
July 30, 2015
OPNFV Hackfest, Santa Clara, USA
1
Doctor demo
• 2 use cases being showcased
– UC1: infrastructure monitoring
• What will be shown? VMs evacuation on compute node failure
• How it is realized?
– Zabbix as monitoring tool; alerts are published to a messaging queue
– Platform integrated with Nova blueprint proposed to OpenStack
– UC2: virtual resources monitoring
• What will be shown? VNF ACT/SBY scenario
• How is it realized?
– Ceilometer as monitoring tool; alerts are sent to a HTTP callback URL
– Platform integrated with Ceilometer blueprint proposed to OpenStack
230 July 2015 Doctor demo, Santa Clara
Blueprint status
330 July 2015 Doctor demo, Santa Clara
Project Name Lead contributor Developer Status
Nova New nova API call to mark nova-
compute down *
Tomi Juvonen Roman Dobosz (server)
Carlos Goncalves (client)
BP approved & merged
Code under review
Ceilometer Add 'event' type and 'event_rule' to
alarm API *
Ryota Mibu Ryota Mibu BP approved & merged
Ongoing implementation
Nova Get valid server state Tomi Juvonen BP under review
M-release
Nova Add notification for service status
change
Balazs Gibizer Balazs Gibizer BP under review
M-release
* These blueprints were accepted in OpenStack Liberty cycle and are being showcased in this demo
For more information and latest status, please refer to https://etherpad.opnfv.org/p/doctor_bps
Doctor demo
• 2 use cases being showcased
– UC1: infrastructure monitoring
• What will be shown? VMs evacuation on compute node failure
• How it is realized?
– Zabbix as monitoring tool; alerts are published to a messaging queue
– Platform integrated with Nova blueprint proposed to OpenStack
–
•
•
–
–
430 July 2015 Doctor demo, Santa Clara
Fault Management UC1: infrastructure
530 July 2015 Doctor demo, Santa Clara
Public
network
Controller
Zabbix
Compute 1
Zabbix
Agent
Compute 2
Zabbix
Agent
MQ
Consumer
ZabbixMQ
Initial deployment
Consumer* is subscribed to a AMQP system
* User-side Manager; consumer of the interfaces produced by the VIM; VNFM, NFVO, or Orchestrator in ETSI NFV
terminology
Fault Management UC1: infrastructure
630 July 2015 Doctor demo, Santa Clara
Public
network
Controller
Zabbix
Compute 1
Zabbix
Agent
Compute 2
Zabbix
Agent
MQ
Consumer
ZabbixMQ
0. Failure occurs
Fault Management UC1: infrastructure
730 July 2015 Doctor demo, Santa Clara
Public
network
Controller
Zabbix
Compute 1
Zabbix
Agent
Compute 2
Zabbix
Agent
MQ
Consumer
1. Failure detected
1
ZabbixMQ
Fault Management UC1: infrastructure
830 July 2015 Doctor demo, Santa Clara
Public
network
Controller
Zabbix
Compute 1
Zabbix
Agent
Compute 2
Zabbix
Agent
MQ
Consumer
2
ZabbixMQ
2. Forward alert to ZabbixMQ
ZabbixMQ developed to publish alerts to a AMQP system (e.g. RabbitMQ, Qpid)
Fault Management UC1: infrastructure
930 July 2015 Doctor demo, Santa Clara
Public
network
Controller
Zabbix
Compute 1
Zabbix
Agent
Compute 2
Zabbix
Agent
MQ
Consumer 3
ZabbixMQ
3. Publish alert to RabbitMQ (pub/sub)
Fault Management UC1: infrastructure
1030 July 2015 Doctor demo, Santa Clara
Public
network
Controller
Zabbix
Compute 1
Zabbix
Agent
Compute 2
Zabbix
Agent
MQ
Consumer
4
ZabbixMQ
4. Consumer is notified of failure (pub/sub)
Fault Management UC1: infrastructure
1130 July 2015 Doctor demo, Santa Clara
Public
network
Controller
Zabbix
Compute 1
Zabbix
Agent
Compute 2
Zabbix
Agent
ZabbixMQ
MQ
Consumer
5
5. Consumer invokes fault management action
5.1. Mark compute as down (Nova blueprint)
Fault Management UC1: infrastructure
1230 July 2015 Doctor demo, Santa Clara
Public
network
Controller
Zabbix
Compute 1
Zabbix
Agent
Compute 2
Zabbix
Agent
MQ
Consumer
6
ZabbixMQ
6. Consumer invokes fault management action
6.1. Evacuate VMs from Compute 1 to Compute 2
Fault Management UC1: infrastructure
1330 July 2015 Doctor demo, Santa Clara
Public
network
Controller
Zabbix
Compute 1
Zabbix
Agent
Compute 2
Zabbix
Agent
MQ
Consumer
6
ZabbixMQ
1. Failure detected
2. Forward alert to ZabbixMQ
3. Publish alert to RabbitMQ (pub/sub)
4. Consumer is notified of failure (pub/sub)
5 & 6. Consumer invokes fault management action
5
6
4
5
3
2
1
Steps 1-4: failure detection and reporting to Consumer
1430 July 2015 Doctor demo, Santa Clara
Step 5: Mark compute host state as down by Consumer
1530 July 2015 Doctor demo, Santa Clara
Step 5: Mark compute host state as down by Consumer
1630 July 2015 Doctor demo, Santa Clara
Step 6: Evacuate all VMs running on affected compute
node
1730 July 2015 Doctor demo, Santa Clara
Step 6: Evacuate all VMs running on affected compute
node
1830 July 2015 Doctor demo, Santa Clara
27 seconds
Compute node 1 is back after admin maintenance
Setting state UP
1930 July 2015 Doctor demo, Santa Clara
2030 July 2015 Doctor demo, Santa Clara
2130 July 2015 Doctor demo, Santa Clara
Steps 1-4
Zabbix took 6 seconds to
send out alert notification
2230 July 2015 Doctor demo, Santa Clara
Step 5
2330 July 2015 Doctor demo, Santa Clara
Step 6
2430 July 2015 Doctor demo, Santa Clara
Consumer took 0.36
seconds to react
2530 July 2015 Doctor demo, Santa Clara
Compute node is back online
Doctor demo
• 2 use cases being showcased
–
•
•
–
–
– UC2: virtual resources monitoring
• What will be shown? VNF ACT/SBY scenario
• How is it realized?
– Ceilometer as monitoring tool; alerts are sent to a HTTP callback URL
– Platform integrated with Ceilometer blueprint proposed to OpenStack
2630 July 2015 Doctor demo, Santa Clara
Fault Management UC2: virtual resource
2730 July 2015 Doctor demo, Santa Clara
VNF
ACT
VNF
SBY
LB
2 VMs running a VNF in
ACT/SBY mode logically
connected to a load balancer
Fault Management UC2: virtual resource
2830 July 2015 Doctor demo, Santa Clara
Public
network
Controller
Ceilometer
Compute 1
Ceilometer
Agent
Compute 2
Consumer
VNF
ACT
VNF
SBY
LB
SBY
ACT
LBCeilometer
Agent
Initial deployment
VNF Active / Standby mode
Fault Management UC2: virtual resource
2930 July 2015 Doctor demo, Santa Clara
Public
network
Controller
Ceilometer
Compute 1
Ceilometer
Agent
Compute 2
Consumer
VNF
ACT
(ERR)
VNF
SBY
LB
SBY
ACT
LBCeilometer
Agent
0. failure occurs
Fault Management UC2: virtual resource
3030 July 2015 Doctor demo, Santa Clara
Public
network
Controller
Ceilometer
Compute 1
Ceilometer
Agent
Compute 2
Consumer
VNF
ACT
(ERR)
VNF
SBY
LB
SBY
ACT
LBCeilometer
Agent
1
1. Failure detected
Fault Management UC2: virtual resource
3130 July 2015 Doctor demo, Santa Clara
Public
network
Controller
Ceilometer
Compute 1
Ceilometer
Agent
Compute 2
Consumer
VNF
ACT
(ERR)
VNF
SBY
LB
SBY
ACT
LBCeilometer
Agent
2
2. Ceilometer notifies Consumer of failure (Ceilometer blueprint)
2.1. HTTP callback
Fault Management UC2: virtual resource
3230 July 2015 Doctor demo, Santa Clara
Public
network
Controller
Ceilometer
Compute 1
Ceilometer
Agent
Compute 2
Consumer
VNF
ERR
VNF
ACT
LB
ACT
ERR
LBCeilometer
Agent
3
3. Activate SBY server
Fault Management UC2: virtual resource
3330 July 2015 Doctor demo, Santa Clara
Public
network
Controller
Ceilometer
Compute 1
Ceilometer
Agent
Compute 2
Consumer
VNF
ERR
VNF
ACT
LB
ACT
ERR
LBCeilometer
Agent
4
4. Switch to SBY configuration
Fault Management UC2: virtual resource
3430 July 2015 Doctor demo, Santa Clara
Public
network
Controller
Ceilometer
Compute 1
Ceilometer
Agent
Compute 2
Consumer
VNF
ERR
VNF
ACT
LB
ACT
ERR
LBCeilometer
Agent
3
1. Failure detected
2. Ceilometer notifies Consumer of failure
3. Activate SBY server
4. Switch to SBY configuration
12
4
UC2 Deployment
3530 July 2015 Doctor demo, Santa Clara
tipica@d718:~$ nova list
+--------------------------------------+---------+--------+------------+-------------+------------------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+---------+--------+------------+-------------+------------------+
| bec98651-cbbb-4036-bba8-dedd1dc96e76 | server1 | ACTIVE | - | Running | private=10.0.0.4 |
| 41e092a4-eb39-44be-846d-ecdee007f9b8 | server2 | ACTIVE | - | Running | private=10.0.0.5 |
+--------------------------------------+---------+--------+------------+-------------+------------------+
tipica@d718:~$ neutron lb-member-list
+--------------------------------------+----------+---------------+--------+----------------+--------+
| id | address | protocol_port | weight | admin_state_up | status |
+--------------------------------------+----------+---------------+--------+----------------+--------+
| 49f1b303-dfc7-4076-9377-059da3fe1c26 | 10.0.0.4 | 80 | 1 | True | ACTIVE |
| 7e1b3152-afe0-4875-8442-01d1fcb75165 | 10.0.0.5 | 80 | 1 | False | ACTIVE |
+--------------------------------------+----------+---------------+--------+----------------+--------+
tipica@d718:~$ neutron lb-vip-list
+--------------------------------------+----------+----------+----------+----------------+--------+
| id | name | address | protocol | admin_state_up | status |
+--------------------------------------+----------+----------+----------+----------------+--------+
| 926d6bfa-2b7f-4fc7-9cb5-f05961c3cc34 | pool.vip | 10.0.0.3 | HTTP | True | ACTIVE |
+--------------------------------------+----------+----------+----------+----------------+--------+
tipica@d718:~$ neutron floatingip-list
+--------------------------------------+------------------+---------------------+--------------------------------------+
| id | fixed_ip_address | floating_ip_address | port_id |
+--------------------------------------+------------------+---------------------+--------------------------------------+
| a037ce66-efe2-4c91-af81-6f9b4c1d0630 | 10.0.0.3 | 172.24.4.3 | 01d8d4ef-40e1-47eb-93d2-1dbc4e741297 |
+--------------------------------------+------------------+---------------------+--------------------------------------+
UC2 Initial State
3630 July 2015 Doctor demo, Santa Clara
tipica@d718:~$ neutron lb-member-list
+--------------------------------------+----------+---------------+--------+----------------+--------+
| id | address | protocol_port | weight | admin_state_up | status |
+--------------------------------------+----------+---------------+--------+----------------+--------+
| 49f1b303-dfc7-4076-9377-059da3fe1c26 | 10.0.0.4 | 80 | 1 | True | ACTIVE |
| 7e1b3152-afe0-4875-8442-01d1fcb75165 | 10.0.0.5 | 80 | 1 | False | ACTIVE |
+--------------------------------------+----------+---------------+--------+----------------+--------+
tipica@d718:~$ ssh -i demokey.private fedora@10.0.0.4 "/bin/systemctl status app.service | grep Active"
Active: active (running) since Wed 2015-07-29 16:19:05 UTC; 12min ago
tipica@d718:~$ ssh -i demokey.private fedora@10.0.0.5 "/bin/systemctl status app.service | grep Active"
Active: inactive (dead)
tipica@d718:~$ curl http://172.24.4.3/
Served by server1.
tipica@d718:~$ curl http://172.24.4.3/
Served by server1.
tipica@d718:~$ curl http://172.24.4.3/
Served by server1.
tipica@d718:~$ curl http://172.24.4.3/
Served by server1.
tipica@d718:~$ curl http://172.24.4.3/
Served by server1.
UC2 Failure Injection and Auto Healing
3730 July 2015 Doctor demo, Santa Clara
tipica@d718:~$ ps aux | grep instance-00000001 | grep -v grep | sed -e 's/-smbios.*$//'
libvirt+ 27953 1.3 1.1 3676568 272476 ? Sl 01:46 0:07 qemu-system-x86_64 -enable-kvm -name instance-00000001
-S -machine pc-i440fx-trusty,accel=kvm,usb=off -m 1024 -realtime mlock=off -smp 1,sockets=1,cores=1,threads=1 -uuid
bec98651-cbbb-4036-bba8-dedd1dc96e76
tipica@d718:~$ sudo kill 27953; date "+%H:%M:%S.%N"
01:55:05.044890318
UC2 Recovered State
3830 July 2015 Doctor demo, Santa Clara
tipica@d718:~$ neutron lb-member-list
+--------------------------------------+----------+---------------+--------+----------------+--------+
| id | address | protocol_port | weight | admin_state_up | status |
+--------------------------------------+----------+---------------+--------+----------------+--------+
| 49f1b303-dfc7-4076-9377-059da3fe1c26 | 10.0.0.4 | 80 | 1 | False | ACTIVE |
| 7e1b3152-afe0-4875-8442-01d1fcb75165 | 10.0.0.5 | 80 | 1 | True | ACTIVE |
+--------------------------------------+----------+---------------+--------+----------------+--------+
tipica@d718:~$ ssh -i demokey.private fedora@10.0.0.4 "/bin/systemctl status app.service | grep Active"
^C
tipica@d718:~$ ssh -i demokey.private fedora@10.0.0.5 "/bin/systemctl status app.service | grep Active"
Active: active (running) since Wed 2015-07-29 16:55:06 UTC; 5min ago
tipica@d718:~$ curl http://172.24.4.3/
Served by server2.
tipica@d718:~$ curl http://172.24.4.3/
Served by server2.
tipica@d718:~$ curl http://172.24.4.3/
Served by server2.
tipica@d718:~$ curl http://172.24.4.3/
Served by server2.
tipica@d718:~$ curl http://172.24.4.3/
Served by server2.
Questions?
Doctor demo, Santa Clara 3930 July 2015

More Related Content

Similar to Doctor Demo, OPNFV Hackfest (Santa Clara, USA)

Matthew Treinish, HP - subunit2sql: Tracking 1 Test Result in Millions, OpenS...
Matthew Treinish, HP - subunit2sql: Tracking 1 Test Result in Millions, OpenS...Matthew Treinish, HP - subunit2sql: Tracking 1 Test Result in Millions, OpenS...
Matthew Treinish, HP - subunit2sql: Tracking 1 Test Result in Millions, OpenS...Cloud Native Day Tel Aviv
 
Sarah Wells - Alert overload: How to adopt a microservices architecture witho...
Sarah Wells - Alert overload: How to adopt a microservices architecture witho...Sarah Wells - Alert overload: How to adopt a microservices architecture witho...
Sarah Wells - Alert overload: How to adopt a microservices architecture witho...Codemotion
 
Codemotion Milan 2015 Alerts Overload
Codemotion Milan 2015 Alerts OverloadCodemotion Milan 2015 Alerts Overload
Codemotion Milan 2015 Alerts Overloadsarahjwells
 
Volta: Logging, Metrics, and Monitoring as a Service
Volta: Logging, Metrics, and Monitoring as a ServiceVolta: Logging, Metrics, and Monitoring as a Service
Volta: Logging, Metrics, and Monitoring as a ServiceLN Renganarayana
 
OPNFV Doctor - OpenStack最新情報セミナー 2017年7月
OPNFV Doctor - OpenStack最新情報セミナー 2017年7月OPNFV Doctor - OpenStack最新情報セミナー 2017年7月
OPNFV Doctor - OpenStack最新情報セミナー 2017年7月VirtualTech Japan Inc.
 
Velocity 2015 Amsterdam: Alerts overload
Velocity 2015 Amsterdam: Alerts overloadVelocity 2015 Amsterdam: Alerts overload
Velocity 2015 Amsterdam: Alerts overloadsarahjwells
 
BRKRST-3066 - Troubleshooting Nexus 7000 (2013 Melbourne) - 2 Hours.pdf
BRKRST-3066 - Troubleshooting Nexus 7000 (2013 Melbourne) - 2 Hours.pdfBRKRST-3066 - Troubleshooting Nexus 7000 (2013 Melbourne) - 2 Hours.pdf
BRKRST-3066 - Troubleshooting Nexus 7000 (2013 Melbourne) - 2 Hours.pdfaaajjj4
 
Trace your micro-services oriented application with Zipkin and OpenTracing
Trace your micro-services oriented application with Zipkin and OpenTracing Trace your micro-services oriented application with Zipkin and OpenTracing
Trace your micro-services oriented application with Zipkin and OpenTracing Corley S.r.l.
 
C08 – Updated planning and commissioning guidelines for Profinet - Xaver Sch...
C08 – Updated planning and commissioning guidelines for Profinet -  Xaver Sch...C08 – Updated planning and commissioning guidelines for Profinet -  Xaver Sch...
C08 – Updated planning and commissioning guidelines for Profinet - Xaver Sch...PROFIBUS and PROFINET InternationaI - PI UK
 
Urban Flood Forecasting Now a Reality: CIWEM Urban Drainage Group Presentation
Urban Flood Forecasting Now a Reality: CIWEM Urban Drainage Group PresentationUrban Flood Forecasting Now a Reality: CIWEM Urban Drainage Group Presentation
Urban Flood Forecasting Now a Reality: CIWEM Urban Drainage Group PresentationSue McKinney
 
Have you been stalking your servers?
Have you been stalking your servers?Have you been stalking your servers?
Have you been stalking your servers?morpht
 
Caiso MRTU implementation workshop nov 2008
Caiso   MRTU implementation workshop nov 2008Caiso   MRTU implementation workshop nov 2008
Caiso MRTU implementation workshop nov 2008Kevin Forbes
 
OpenPnP: a Plug-and-Produce Architecture for the Industrial Internet of Things
OpenPnP: a Plug-and-Produce Architecture for the Industrial Internet of ThingsOpenPnP: a Plug-and-Produce Architecture for the Industrial Internet of Things
OpenPnP: a Plug-and-Produce Architecture for the Industrial Internet of ThingsHeiko Koziolek
 
AVReporter Phoenix Contact Wages Plc
AVReporter Phoenix Contact Wages PlcAVReporter Phoenix Contact Wages Plc
AVReporter Phoenix Contact Wages PlcAvreporter KONsys
 
Monitorama - Please, no more Minutes, Milliseconds, Monoliths or Monitoring T...
Monitorama - Please, no more Minutes, Milliseconds, Monoliths or Monitoring T...Monitorama - Please, no more Minutes, Milliseconds, Monoliths or Monitoring T...
Monitorama - Please, no more Minutes, Milliseconds, Monoliths or Monitoring T...Adrian Cockcroft
 
Blue-green deploys with Pulsar & Envoy in an event-driven microservice ecosys...
Blue-green deploys with Pulsar & Envoy in an event-driven microservice ecosys...Blue-green deploys with Pulsar & Envoy in an event-driven microservice ecosys...
Blue-green deploys with Pulsar & Envoy in an event-driven microservice ecosys...StreamNative
 
Control net modules
Control net modulesControl net modules
Control net modulesJairo German
 
Floodlight with Firewall and Network Virtualization
Floodlight with Firewall and Network VirtualizationFloodlight with Firewall and Network Virtualization
Floodlight with Firewall and Network VirtualizationAnkita Mandekar
 

Similar to Doctor Demo, OPNFV Hackfest (Santa Clara, USA) (20)

Matthew Treinish, HP - subunit2sql: Tracking 1 Test Result in Millions, OpenS...
Matthew Treinish, HP - subunit2sql: Tracking 1 Test Result in Millions, OpenS...Matthew Treinish, HP - subunit2sql: Tracking 1 Test Result in Millions, OpenS...
Matthew Treinish, HP - subunit2sql: Tracking 1 Test Result in Millions, OpenS...
 
Sarah Wells - Alert overload: How to adopt a microservices architecture witho...
Sarah Wells - Alert overload: How to adopt a microservices architecture witho...Sarah Wells - Alert overload: How to adopt a microservices architecture witho...
Sarah Wells - Alert overload: How to adopt a microservices architecture witho...
 
Codemotion Milan 2015 Alerts Overload
Codemotion Milan 2015 Alerts OverloadCodemotion Milan 2015 Alerts Overload
Codemotion Milan 2015 Alerts Overload
 
Volta: Logging, Metrics, and Monitoring as a Service
Volta: Logging, Metrics, and Monitoring as a ServiceVolta: Logging, Metrics, and Monitoring as a Service
Volta: Logging, Metrics, and Monitoring as a Service
 
OPNFV Doctor - OpenStack最新情報セミナー 2017年7月
OPNFV Doctor - OpenStack最新情報セミナー 2017年7月OPNFV Doctor - OpenStack最新情報セミナー 2017年7月
OPNFV Doctor - OpenStack最新情報セミナー 2017年7月
 
Velocity 2015 Amsterdam: Alerts overload
Velocity 2015 Amsterdam: Alerts overloadVelocity 2015 Amsterdam: Alerts overload
Velocity 2015 Amsterdam: Alerts overload
 
BRKRST-3066 - Troubleshooting Nexus 7000 (2013 Melbourne) - 2 Hours.pdf
BRKRST-3066 - Troubleshooting Nexus 7000 (2013 Melbourne) - 2 Hours.pdfBRKRST-3066 - Troubleshooting Nexus 7000 (2013 Melbourne) - 2 Hours.pdf
BRKRST-3066 - Troubleshooting Nexus 7000 (2013 Melbourne) - 2 Hours.pdf
 
Trace your micro-services oriented application with Zipkin and OpenTracing
Trace your micro-services oriented application with Zipkin and OpenTracing Trace your micro-services oriented application with Zipkin and OpenTracing
Trace your micro-services oriented application with Zipkin and OpenTracing
 
C08 – Updated planning and commissioning guidelines for Profinet - Xaver Sch...
C08 – Updated planning and commissioning guidelines for Profinet -  Xaver Sch...C08 – Updated planning and commissioning guidelines for Profinet -  Xaver Sch...
C08 – Updated planning and commissioning guidelines for Profinet - Xaver Sch...
 
Urban Flood Forecasting Now a Reality: CIWEM Urban Drainage Group Presentation
Urban Flood Forecasting Now a Reality: CIWEM Urban Drainage Group PresentationUrban Flood Forecasting Now a Reality: CIWEM Urban Drainage Group Presentation
Urban Flood Forecasting Now a Reality: CIWEM Urban Drainage Group Presentation
 
Have you been stalking your servers?
Have you been stalking your servers?Have you been stalking your servers?
Have you been stalking your servers?
 
Alfredo paganophd 3y
Alfredo paganophd 3yAlfredo paganophd 3y
Alfredo paganophd 3y
 
Caiso MRTU implementation workshop nov 2008
Caiso   MRTU implementation workshop nov 2008Caiso   MRTU implementation workshop nov 2008
Caiso MRTU implementation workshop nov 2008
 
OpenPnP: a Plug-and-Produce Architecture for the Industrial Internet of Things
OpenPnP: a Plug-and-Produce Architecture for the Industrial Internet of ThingsOpenPnP: a Plug-and-Produce Architecture for the Industrial Internet of Things
OpenPnP: a Plug-and-Produce Architecture for the Industrial Internet of Things
 
AVReporter Phoenix Contact Wages Plc
AVReporter Phoenix Contact Wages PlcAVReporter Phoenix Contact Wages Plc
AVReporter Phoenix Contact Wages Plc
 
Monitorama - Please, no more Minutes, Milliseconds, Monoliths or Monitoring T...
Monitorama - Please, no more Minutes, Milliseconds, Monoliths or Monitoring T...Monitorama - Please, no more Minutes, Milliseconds, Monoliths or Monitoring T...
Monitorama - Please, no more Minutes, Milliseconds, Monoliths or Monitoring T...
 
Blue-green deploys with Pulsar & Envoy in an event-driven microservice ecosys...
Blue-green deploys with Pulsar & Envoy in an event-driven microservice ecosys...Blue-green deploys with Pulsar & Envoy in an event-driven microservice ecosys...
Blue-green deploys with Pulsar & Envoy in an event-driven microservice ecosys...
 
Control net modules
Control net modulesControl net modules
Control net modules
 
Microservices with Spring
Microservices with SpringMicroservices with Spring
Microservices with Spring
 
Floodlight with Firewall and Network Virtualization
Floodlight with Firewall and Network VirtualizationFloodlight with Firewall and Network Virtualization
Floodlight with Firewall and Network Virtualization
 

Recently uploaded

Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)OPEN KNOWLEDGE GmbH
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationkaushalgiri8080
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...soniya singh
 
Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...aditisharan08
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityNeo4j
 
XpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software SolutionsXpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software SolutionsMehedi Hasan Shohan
 
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackVICTOR MAESTRE RAMIREZ
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...kellynguyen01
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...MyIntelliSource, Inc.
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsAlberto González Trastoy
 
Asset Management Software - Infographic
Asset Management Software - InfographicAsset Management Software - Infographic
Asset Management Software - InfographicHr365.us smith
 
cybersecurity notes for mca students for learning
cybersecurity notes for mca students for learningcybersecurity notes for mca students for learning
cybersecurity notes for mca students for learningVitsRangannavar
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfjoe51371421
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfkalichargn70th171
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfkalichargn70th171
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...gurkirankumar98700
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comFatema Valibhai
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWave PLM
 

Recently uploaded (20)

Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanation
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
 
Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered Sustainability
 
XpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software SolutionsXpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software Solutions
 
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStack
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 
Asset Management Software - Infographic
Asset Management Software - InfographicAsset Management Software - Infographic
Asset Management Software - Infographic
 
cybersecurity notes for mca students for learning
cybersecurity notes for mca students for learningcybersecurity notes for mca students for learning
cybersecurity notes for mca students for learning
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdf
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need It
 
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
 

Doctor Demo, OPNFV Hackfest (Santa Clara, USA)

  • 1. Doctor Demo Carlos Goncalves, NEC Ryota Mibu, NEC July 30, 2015 OPNFV Hackfest, Santa Clara, USA 1
  • 2. Doctor demo • 2 use cases being showcased – UC1: infrastructure monitoring • What will be shown? VMs evacuation on compute node failure • How it is realized? – Zabbix as monitoring tool; alerts are published to a messaging queue – Platform integrated with Nova blueprint proposed to OpenStack – UC2: virtual resources monitoring • What will be shown? VNF ACT/SBY scenario • How is it realized? – Ceilometer as monitoring tool; alerts are sent to a HTTP callback URL – Platform integrated with Ceilometer blueprint proposed to OpenStack 230 July 2015 Doctor demo, Santa Clara
  • 3. Blueprint status 330 July 2015 Doctor demo, Santa Clara Project Name Lead contributor Developer Status Nova New nova API call to mark nova- compute down * Tomi Juvonen Roman Dobosz (server) Carlos Goncalves (client) BP approved & merged Code under review Ceilometer Add 'event' type and 'event_rule' to alarm API * Ryota Mibu Ryota Mibu BP approved & merged Ongoing implementation Nova Get valid server state Tomi Juvonen BP under review M-release Nova Add notification for service status change Balazs Gibizer Balazs Gibizer BP under review M-release * These blueprints were accepted in OpenStack Liberty cycle and are being showcased in this demo For more information and latest status, please refer to https://etherpad.opnfv.org/p/doctor_bps
  • 4. Doctor demo • 2 use cases being showcased – UC1: infrastructure monitoring • What will be shown? VMs evacuation on compute node failure • How it is realized? – Zabbix as monitoring tool; alerts are published to a messaging queue – Platform integrated with Nova blueprint proposed to OpenStack – • • – – 430 July 2015 Doctor demo, Santa Clara
  • 5. Fault Management UC1: infrastructure 530 July 2015 Doctor demo, Santa Clara Public network Controller Zabbix Compute 1 Zabbix Agent Compute 2 Zabbix Agent MQ Consumer ZabbixMQ Initial deployment Consumer* is subscribed to a AMQP system * User-side Manager; consumer of the interfaces produced by the VIM; VNFM, NFVO, or Orchestrator in ETSI NFV terminology
  • 6. Fault Management UC1: infrastructure 630 July 2015 Doctor demo, Santa Clara Public network Controller Zabbix Compute 1 Zabbix Agent Compute 2 Zabbix Agent MQ Consumer ZabbixMQ 0. Failure occurs
  • 7. Fault Management UC1: infrastructure 730 July 2015 Doctor demo, Santa Clara Public network Controller Zabbix Compute 1 Zabbix Agent Compute 2 Zabbix Agent MQ Consumer 1. Failure detected 1 ZabbixMQ
  • 8. Fault Management UC1: infrastructure 830 July 2015 Doctor demo, Santa Clara Public network Controller Zabbix Compute 1 Zabbix Agent Compute 2 Zabbix Agent MQ Consumer 2 ZabbixMQ 2. Forward alert to ZabbixMQ ZabbixMQ developed to publish alerts to a AMQP system (e.g. RabbitMQ, Qpid)
  • 9. Fault Management UC1: infrastructure 930 July 2015 Doctor demo, Santa Clara Public network Controller Zabbix Compute 1 Zabbix Agent Compute 2 Zabbix Agent MQ Consumer 3 ZabbixMQ 3. Publish alert to RabbitMQ (pub/sub)
  • 10. Fault Management UC1: infrastructure 1030 July 2015 Doctor demo, Santa Clara Public network Controller Zabbix Compute 1 Zabbix Agent Compute 2 Zabbix Agent MQ Consumer 4 ZabbixMQ 4. Consumer is notified of failure (pub/sub)
  • 11. Fault Management UC1: infrastructure 1130 July 2015 Doctor demo, Santa Clara Public network Controller Zabbix Compute 1 Zabbix Agent Compute 2 Zabbix Agent ZabbixMQ MQ Consumer 5 5. Consumer invokes fault management action 5.1. Mark compute as down (Nova blueprint)
  • 12. Fault Management UC1: infrastructure 1230 July 2015 Doctor demo, Santa Clara Public network Controller Zabbix Compute 1 Zabbix Agent Compute 2 Zabbix Agent MQ Consumer 6 ZabbixMQ 6. Consumer invokes fault management action 6.1. Evacuate VMs from Compute 1 to Compute 2
  • 13. Fault Management UC1: infrastructure 1330 July 2015 Doctor demo, Santa Clara Public network Controller Zabbix Compute 1 Zabbix Agent Compute 2 Zabbix Agent MQ Consumer 6 ZabbixMQ 1. Failure detected 2. Forward alert to ZabbixMQ 3. Publish alert to RabbitMQ (pub/sub) 4. Consumer is notified of failure (pub/sub) 5 & 6. Consumer invokes fault management action 5 6 4 5 3 2 1
  • 14. Steps 1-4: failure detection and reporting to Consumer 1430 July 2015 Doctor demo, Santa Clara
  • 15. Step 5: Mark compute host state as down by Consumer 1530 July 2015 Doctor demo, Santa Clara
  • 16. Step 5: Mark compute host state as down by Consumer 1630 July 2015 Doctor demo, Santa Clara
  • 17. Step 6: Evacuate all VMs running on affected compute node 1730 July 2015 Doctor demo, Santa Clara
  • 18. Step 6: Evacuate all VMs running on affected compute node 1830 July 2015 Doctor demo, Santa Clara 27 seconds
  • 19. Compute node 1 is back after admin maintenance Setting state UP 1930 July 2015 Doctor demo, Santa Clara
  • 20. 2030 July 2015 Doctor demo, Santa Clara
  • 21. 2130 July 2015 Doctor demo, Santa Clara Steps 1-4 Zabbix took 6 seconds to send out alert notification
  • 22. 2230 July 2015 Doctor demo, Santa Clara Step 5
  • 23. 2330 July 2015 Doctor demo, Santa Clara Step 6
  • 24. 2430 July 2015 Doctor demo, Santa Clara Consumer took 0.36 seconds to react
  • 25. 2530 July 2015 Doctor demo, Santa Clara Compute node is back online
  • 26. Doctor demo • 2 use cases being showcased – • • – – – UC2: virtual resources monitoring • What will be shown? VNF ACT/SBY scenario • How is it realized? – Ceilometer as monitoring tool; alerts are sent to a HTTP callback URL – Platform integrated with Ceilometer blueprint proposed to OpenStack 2630 July 2015 Doctor demo, Santa Clara
  • 27. Fault Management UC2: virtual resource 2730 July 2015 Doctor demo, Santa Clara VNF ACT VNF SBY LB 2 VMs running a VNF in ACT/SBY mode logically connected to a load balancer
  • 28. Fault Management UC2: virtual resource 2830 July 2015 Doctor demo, Santa Clara Public network Controller Ceilometer Compute 1 Ceilometer Agent Compute 2 Consumer VNF ACT VNF SBY LB SBY ACT LBCeilometer Agent Initial deployment VNF Active / Standby mode
  • 29. Fault Management UC2: virtual resource 2930 July 2015 Doctor demo, Santa Clara Public network Controller Ceilometer Compute 1 Ceilometer Agent Compute 2 Consumer VNF ACT (ERR) VNF SBY LB SBY ACT LBCeilometer Agent 0. failure occurs
  • 30. Fault Management UC2: virtual resource 3030 July 2015 Doctor demo, Santa Clara Public network Controller Ceilometer Compute 1 Ceilometer Agent Compute 2 Consumer VNF ACT (ERR) VNF SBY LB SBY ACT LBCeilometer Agent 1 1. Failure detected
  • 31. Fault Management UC2: virtual resource 3130 July 2015 Doctor demo, Santa Clara Public network Controller Ceilometer Compute 1 Ceilometer Agent Compute 2 Consumer VNF ACT (ERR) VNF SBY LB SBY ACT LBCeilometer Agent 2 2. Ceilometer notifies Consumer of failure (Ceilometer blueprint) 2.1. HTTP callback
  • 32. Fault Management UC2: virtual resource 3230 July 2015 Doctor demo, Santa Clara Public network Controller Ceilometer Compute 1 Ceilometer Agent Compute 2 Consumer VNF ERR VNF ACT LB ACT ERR LBCeilometer Agent 3 3. Activate SBY server
  • 33. Fault Management UC2: virtual resource 3330 July 2015 Doctor demo, Santa Clara Public network Controller Ceilometer Compute 1 Ceilometer Agent Compute 2 Consumer VNF ERR VNF ACT LB ACT ERR LBCeilometer Agent 4 4. Switch to SBY configuration
  • 34. Fault Management UC2: virtual resource 3430 July 2015 Doctor demo, Santa Clara Public network Controller Ceilometer Compute 1 Ceilometer Agent Compute 2 Consumer VNF ERR VNF ACT LB ACT ERR LBCeilometer Agent 3 1. Failure detected 2. Ceilometer notifies Consumer of failure 3. Activate SBY server 4. Switch to SBY configuration 12 4
  • 35. UC2 Deployment 3530 July 2015 Doctor demo, Santa Clara tipica@d718:~$ nova list +--------------------------------------+---------+--------+------------+-------------+------------------+ | ID | Name | Status | Task State | Power State | Networks | +--------------------------------------+---------+--------+------------+-------------+------------------+ | bec98651-cbbb-4036-bba8-dedd1dc96e76 | server1 | ACTIVE | - | Running | private=10.0.0.4 | | 41e092a4-eb39-44be-846d-ecdee007f9b8 | server2 | ACTIVE | - | Running | private=10.0.0.5 | +--------------------------------------+---------+--------+------------+-------------+------------------+ tipica@d718:~$ neutron lb-member-list +--------------------------------------+----------+---------------+--------+----------------+--------+ | id | address | protocol_port | weight | admin_state_up | status | +--------------------------------------+----------+---------------+--------+----------------+--------+ | 49f1b303-dfc7-4076-9377-059da3fe1c26 | 10.0.0.4 | 80 | 1 | True | ACTIVE | | 7e1b3152-afe0-4875-8442-01d1fcb75165 | 10.0.0.5 | 80 | 1 | False | ACTIVE | +--------------------------------------+----------+---------------+--------+----------------+--------+ tipica@d718:~$ neutron lb-vip-list +--------------------------------------+----------+----------+----------+----------------+--------+ | id | name | address | protocol | admin_state_up | status | +--------------------------------------+----------+----------+----------+----------------+--------+ | 926d6bfa-2b7f-4fc7-9cb5-f05961c3cc34 | pool.vip | 10.0.0.3 | HTTP | True | ACTIVE | +--------------------------------------+----------+----------+----------+----------------+--------+ tipica@d718:~$ neutron floatingip-list +--------------------------------------+------------------+---------------------+--------------------------------------+ | id | fixed_ip_address | floating_ip_address | port_id | +--------------------------------------+------------------+---------------------+--------------------------------------+ | a037ce66-efe2-4c91-af81-6f9b4c1d0630 | 10.0.0.3 | 172.24.4.3 | 01d8d4ef-40e1-47eb-93d2-1dbc4e741297 | +--------------------------------------+------------------+---------------------+--------------------------------------+
  • 36. UC2 Initial State 3630 July 2015 Doctor demo, Santa Clara tipica@d718:~$ neutron lb-member-list +--------------------------------------+----------+---------------+--------+----------------+--------+ | id | address | protocol_port | weight | admin_state_up | status | +--------------------------------------+----------+---------------+--------+----------------+--------+ | 49f1b303-dfc7-4076-9377-059da3fe1c26 | 10.0.0.4 | 80 | 1 | True | ACTIVE | | 7e1b3152-afe0-4875-8442-01d1fcb75165 | 10.0.0.5 | 80 | 1 | False | ACTIVE | +--------------------------------------+----------+---------------+--------+----------------+--------+ tipica@d718:~$ ssh -i demokey.private fedora@10.0.0.4 "/bin/systemctl status app.service | grep Active" Active: active (running) since Wed 2015-07-29 16:19:05 UTC; 12min ago tipica@d718:~$ ssh -i demokey.private fedora@10.0.0.5 "/bin/systemctl status app.service | grep Active" Active: inactive (dead) tipica@d718:~$ curl http://172.24.4.3/ Served by server1. tipica@d718:~$ curl http://172.24.4.3/ Served by server1. tipica@d718:~$ curl http://172.24.4.3/ Served by server1. tipica@d718:~$ curl http://172.24.4.3/ Served by server1. tipica@d718:~$ curl http://172.24.4.3/ Served by server1.
  • 37. UC2 Failure Injection and Auto Healing 3730 July 2015 Doctor demo, Santa Clara tipica@d718:~$ ps aux | grep instance-00000001 | grep -v grep | sed -e 's/-smbios.*$//' libvirt+ 27953 1.3 1.1 3676568 272476 ? Sl 01:46 0:07 qemu-system-x86_64 -enable-kvm -name instance-00000001 -S -machine pc-i440fx-trusty,accel=kvm,usb=off -m 1024 -realtime mlock=off -smp 1,sockets=1,cores=1,threads=1 -uuid bec98651-cbbb-4036-bba8-dedd1dc96e76 tipica@d718:~$ sudo kill 27953; date "+%H:%M:%S.%N" 01:55:05.044890318
  • 38. UC2 Recovered State 3830 July 2015 Doctor demo, Santa Clara tipica@d718:~$ neutron lb-member-list +--------------------------------------+----------+---------------+--------+----------------+--------+ | id | address | protocol_port | weight | admin_state_up | status | +--------------------------------------+----------+---------------+--------+----------------+--------+ | 49f1b303-dfc7-4076-9377-059da3fe1c26 | 10.0.0.4 | 80 | 1 | False | ACTIVE | | 7e1b3152-afe0-4875-8442-01d1fcb75165 | 10.0.0.5 | 80 | 1 | True | ACTIVE | +--------------------------------------+----------+---------------+--------+----------------+--------+ tipica@d718:~$ ssh -i demokey.private fedora@10.0.0.4 "/bin/systemctl status app.service | grep Active" ^C tipica@d718:~$ ssh -i demokey.private fedora@10.0.0.5 "/bin/systemctl status app.service | grep Active" Active: active (running) since Wed 2015-07-29 16:55:06 UTC; 5min ago tipica@d718:~$ curl http://172.24.4.3/ Served by server2. tipica@d718:~$ curl http://172.24.4.3/ Served by server2. tipica@d718:~$ curl http://172.24.4.3/ Served by server2. tipica@d718:~$ curl http://172.24.4.3/ Served by server2. tipica@d718:~$ curl http://172.24.4.3/ Served by server2.
  • 39. Questions? Doctor demo, Santa Clara 3930 July 2015