2. FOUR LEVELS OF HA IN CLOUD FOUNDRY
Cornelia Davis @cdavisafc cdavis@gopivotal.com
3. I work on a PaaS…
“For us, PaaS is a set of services aimed at
developers that helps them develop and test apps
without having to worry about the underlying
infrastructure. Developers don't want to have to
worry about provisioning the servers, storage and
backup associated with developing and launching
an app.”
[1] http://www.javaworld.com/article/2078801/java-app-dev/forrester--paas-makes-developers-happy.html
[2] http://www.infoworld.com/d/cloud-computing/paas-primer-what-platform-service-and-why-does-it-matter-212696
4. I work on a PaaS…
“For us, PaaS is a set of services aimed at
developers that helps them develop and test apps
without having to worry about the underlying
infrastructure. Developers don't want to have to
worry about provisioning the servers, storage and
backup associated with developing and launching
an app.”
[1] http://www.javaworld.com/article/2078801/java-app-dev/forrester--paas-makes-developers-happy.html
[2] http://www.infoworld.com/d/cloud-computing/paas-primer-what-platform-service-and-why-does-it-matter-212696
5. Application Instances and Availability Zones
Router
DEA
DEA
DEA
Cloud Foundry
Elastic Runtime
DEA
DEA
DEA
Zone 1 Zone 2
App Ops
6. Application Instances and Availability Zones
Router
DEA
DEA
DEA
Cloud Foundry
Elastic Runtime
DEA
DEA
DEA
Zone 1 Zone 2 Application instances
are evenly distributed
over two availability
zones.
App Ops
7. Application Instances and Availability Zones
Router
DEA
DEA
DEA
Cloud Foundry
Elastic Runtime
DEA
DEA
DEA
Zone 1 Zone 2 Application instances
are evenly distributed
over two availability
zones.
Loosing an AZ keeps
instances running and
available.
App Ops
8. Router
Failed Application Instances Replaced
Blobstore
Cloud
Controller
Health Manager
Messaging
(NATS)
DEA DEA DEA
App Ops
Cloud Foundry
Elastic Runtime
9. Router
Failed Application Instances Replaced
Blobstore
Cloud
Controller
Health Manager
Actual State
Messaging
(NATS)
DEA DEA DEA
App Ops
Cloud Foundry
Elastic Runtime
10. Router
Failed Application Instances Replaced
Blobstore
Cloud
Controller
Health Manager
Actual StateDesired State
Messaging
(NATS)
DEA DEA DEA
App Ops
Cloud Foundry
Elastic Runtime
11. Router
Failed Application Instances Replaced
Blobstore
Cloud
Controller
Health Manager
Actual StateDesired State
Messaging
(NATS)
DEA DEA DEA
App Ops
Cloud Foundry
Elastic Runtime
12. Router
Failed Application Instances Replaced
Blobstore
Cloud
Controller
Health Manager
Actual StateDesired State
Messaging
(NATS)
DEA DEA DEA
App Ops
Cloud Foundry
Elastic Runtime
13. Message Bus
ERS Processes are Monitored
IaaSCloud Foundry BOSH
Health Monitor
Health Manager
DEA
Cloud Controller
Responders:
pager
email
monitoring
…
PaaS Ops
14. Message Bus
ERS Processes are Monitored
IaaSCloud Foundry BOSH
Health Monitor
Health Manager
DEA
Cloud Controller
Responders:
pager
email
monitoring
…
PaaS Ops
15. Message Bus
ERS Processes are Monitored
IaaSCloud Foundry BOSH
Health Monitor
Health Manager
DEA
Cloud Controller
Responders:
pager
email
monitoring
…
PaaS Ops
16. Message Bus
VMs are Monitored
IaaS
Health Monitor
Health Manager
Cloud Controller
DEA
Responders:
pager
email
monitoring
resurrector
…
BOSH Director
Actual State
DEA
PaaS Ops
Cloud Foundry BOSH
17. Message Bus
VMs are Monitored
IaaS
Health Monitor
Health Manager
Cloud Controller
DEA
Responders:
pager
email
monitoring
resurrector
…
BOSH Director
Actual State
DEA
PaaS Ops
Cloud Foundry BOSH
Desired State
18. Message Bus
VMs are Monitored
IaaS
Health Monitor
Health Manager
Cloud Controller
Responders:
pager
email
monitoring
resurrector
…
BOSH Director
Actual StateDesired State
PaaS Ops
Cloud Foundry BOSH
19. Message Bus
VMs are Monitored
IaaS
Health Monitor
Health Manager
Cloud Controller
Responders:
pager
email
monitoring
resurrector
…
BOSH Director
(CPI)
Actual StateDesired State
DEA
PaaS Ops
Cloud Foundry BOSH
20. Four levels of HA in PCF
Elastic Runtime (ERS):
Distribution across availability zones
Application health management and recovery
BOSH (cluster management):
Process monitoring, recovery and alerting
Virtual machine health monitoring, recovery and
alerting
21. Too slow for you?
How about <28 seconds?
http://blog.gopivotal.com/cloud-foundry-pivotal/products/the-four-levels-of-ha-in-pivotal-cf
@cdavisafc