Date post: | 15-Jan-2015 |
Category: |
Technology |
Upload: | iyudai |
View: | 1,462 times |
Download: | 5 times |
© 2014 Nippon Telegraph and Telephone Corporation
Problem: System Load is
Not Fixed
© 2014 Nippon Telegraph and Telephone Corporation
Manually Scaling?Always monitor load?
© 2014 Nippon Telegraph and Telephone Corporation
ImpossibleNo one wants to do such a boring job
© 2014 Nippon Telegraph and Telephone Corporation
Solution: BOSH AutoScaler
© 2014 Nippon Telegraph and Telephone Corporation
Architecture Overview
© 2014 Nippon Telegraph and Telephone Corporation
Director
BOSH
BOSH Client
BOSH Scaler (Listener)
NATS
BOSH NATS Collector
AutoScaler (with CF Plugin)
Heartbeat
Heartbeat (subscribe)
process (BOSH::Monitor::Event::Heartbeat)
Event Processor
process (BOSH::Monitor::Event::Base)
Deploy (PUT /deployments)
matching rules against log periodically
Logging metrics✂@buffers�run()
AgentAgent
AgentAgent
Agent
CF Varz Collector
process (Scaler::CfVarzMetric)
CF
CF Component CF Component
CF Component
Collector
TSDB
Varz
Load policies (GET /deployments)
© 2014 Nippon Telegraph and Telephone Corporation
Director
BOSH
BOSH Client
BOSH Scaler (Listener)
NATS
BOSH NATS Collector
AutoScaler (with CF Plugin)
Heartbeat
Heartbeat (subscribe)
process (BOSH::Monitor::Event::Heartbeat)
Event Processor
process (BOSH::Monitor::Event::Base)
Deploy (PUT /deployments)
matching rules against log periodically
Logging metrics✂@buffers�run()
AgentAgent
AgentAgent
Agent
CF Varz Collector
process (Scaler::CfVarzMetric)
CF
CF Component CF Component
CF Component
Collector
TSDB
Varz
Load policies (GET /deployments)
© 2014 Nippon Telegraph and Telephone Corporation
Policy Definitions
© 2014 Nippon Telegraph and Telephone Corporation
Defining policies
• Adding “scale” section
• Defining conditions for
each job
• Various condition classes
to define flexible policies
!!!"
#$%&'"()"
"
****"
"
+($,&'"
""-./+'"
""""!"#$%&'"0.12&0"
""""""(..,3.4#'"566"
"""""".12'"
"""""""",7%72'"86"
""""""""1#72'"9"
""""""""(.#3727.#+'"
""""""""""!"(,$++'":;1<=&0$>&"
"""""""""""",$0>&0?2@$#'"A6"
""""""""""""310$27.#'"566"
""""""""""!"(,$++'"B&%.0C<=&0$>&"
"""""""""""",$0>&0?2@$#'"D6"
""""""""""""310$27.#'"566"
""""""7#'"
"""""""",7%72'"5"
""""""""(.#3727.#+'"
""""""""""!"(,$++'":;1<=&0$>&"
""""""""""""+%$,,&0?2@$#'"86"
""""""""""""310$27.#'"566"
""""""""""!"(,$++'"B&%.0C<=&0$>&"
""""""""""""+%$,,&0?2@$#'"96"
""""""""""""310$27.#'"566"
© 2014 Nippon Telegraph and Telephone Corporation
Web UI
© 2014 Nippon Telegraph and Telephone Corporation
Getting StartedIt’s easy to plug in
© 2014 Nippon Telegraph and Telephone Corporation
Optimize Running Costs with BOSH AutoScaler