SlideShare a Scribd company logo
1 of 9
Openstack 在京东的应用实践

        京东商城虚拟化工程师
                   何    斌
         hebin@360buy.com
当前成果


• Openstack 平台接入大量线上业务
• 实现 Openstack 自动化部署
• 实现 Openstack HA
• 实现桌面云 ,已交付给 Call Center 试用
• Elastic Scaling && ELB (正在开发 )
Openstack 自动化部署
             PXE Server
              Apache                           Clients




                            puppet.com:8140
                            puppet.com:8140
  SVN
 Master      DNSMasq
                                              Nova Node
            Puppet Master                      Puppet




                                 Nginx
                                 Nginx




                                                 .......
             PXE Server
              Apache
 SVN         DNSMasq                          Nova Node
 Slave                                         Puppet
            Puppet Master




 Slave CA     Primary CA
桌面云

            Fat Client &
         IE/Firefox/Chrome


                                    Authentication
          Connection                    Center
Admin     /Interactive
Center

                                              Openstack
                 Scheduler                                 Active
                                               Flatform
                                                          Directory




Block Block Block        VM    VM      VM

 Volume Pool              VM    Pool
Openstack 的二次开发

•Dashboard
修改 Dashdoard bug
新增 dashboard 的功能特性,新增 floating ip 池、 Host 管理
,新增自动挂载临时盘功能,新增在线迁移等功能
新增上传 image 多线程上传功能,用户指定调度到某台 Host
功 能,修改 floating ip 解除 iptables 规则特性等
在 Diablo 版本中加入国际化支持,并修改 Essex 版本中的中
文支持 bug

•Nova
修改 volume 调度算法,资源最低算法;加入 iscsi 权限认证功
能;新增 spice 协议支持
novaclient 增加了 floating ips 接口,增加 Hosts 管理功能
Elastic Scaling
                      User

                       设置

                阀值管理及                               监控统计
                 策略引擎




 VM Platform(Openstack)

  Availability Zone          Availability Zone
                                                    Monitor
   VM .... VM                 VM .... VM




                Test Service       将 VM 加入到 ELB 中   ELB
ELB


                                 Openstack Platform




                            Load Balance Manager Cluster
              LoadBalance
              LoadBalance

Application                                                DB
                               Haproxy/F5/Nginx Driver
  Client
                Service
                Service




Openstack                         Health
                                  Check/Monitor
DashBoard


   User
Openstack HA


• 所有的 Wsgi 服务将其部署到 Apache 中
• Openstack 已经实现 nova-api 、 nova-schedule 和
nova-network 的 HA
• 用 pacemaker 实现 glance 、 keystone 、 Dashboard
的高可用性
• RabbitMQ 和 MySQL 实现集群方式保证其高可用性
和数据的持久化
谢谢各位
!

More Related Content

What's hot

Kafka cluster best practices
Kafka cluster best practicesKafka cluster best practices
Kafka cluster best practicesRico Chen
 
美团点评技术沙龙06 - 滴滴移动端测试解耦工具实践
美团点评技术沙龙06 - 滴滴移动端测试解耦工具实践美团点评技术沙龙06 - 滴滴移动端测试解耦工具实践
美团点评技术沙龙06 - 滴滴移动端测试解耦工具实践美团点评技术团队
 
Docker tutorial
Docker tutorialDocker tutorial
Docker tutorialazole Lai
 
docker intro
docker introdocker intro
docker introkoji lin
 
RabbitMQ on Pulsar's Practice in Tencent Cloud - Puslar Summit Asia 2021
RabbitMQ on Pulsar's Practice in Tencent Cloud  - Puslar Summit Asia 2021RabbitMQ on Pulsar's Practice in Tencent Cloud  - Puslar Summit Asia 2021
RabbitMQ on Pulsar's Practice in Tencent Cloud - Puslar Summit Asia 2021StreamNative
 
Deployment with Capistrano
Deployment with CapistranoDeployment with Capistrano
Deployment with Capistrano旭 張
 
Train.IO 【第六期-OpenStack 二三事】
Train.IO 【第六期-OpenStack 二三事】Train.IO 【第六期-OpenStack 二三事】
Train.IO 【第六期-OpenStack 二三事】inwin stack
 
AWS EC2 for beginner
AWS EC2 for beginnerAWS EC2 for beginner
AWS EC2 for beginnerazole Lai
 
pyspider 介绍 - pycon2014@北京
pyspider 介绍 - pycon2014@北京pyspider 介绍 - pycon2014@北京
pyspider 介绍 - pycon2014@北京roybinux
 
大家都愛的 VMware - VMware 簡單介紹
大家都愛的 VMware - VMware 簡單介紹大家都愛的 VMware - VMware 簡單介紹
大家都愛的 VMware - VMware 簡單介紹Fan-Yu Kuan
 
Large-Scale Cluster Mangement & Kubernetes Under The Hood
Large-Scale Cluster Mangement & Kubernetes Under The HoodLarge-Scale Cluster Mangement & Kubernetes Under The Hood
Large-Scale Cluster Mangement & Kubernetes Under The HoodLei (Harry) Zhang
 
Design realization and application of RBD NBD - Wang Li
Design realization and application of RBD NBD - Wang LiDesign realization and application of RBD NBD - Wang Li
Design realization and application of RBD NBD - Wang LiCeph Community
 
DAE 新变化介绍
DAE 新变化介绍DAE 新变化介绍
DAE 新变化介绍Tianwei Liu
 
Software Engineer Talk
Software Engineer TalkSoftware Engineer Talk
Software Engineer TalkLarry Cai
 
使用 C#/Razor 開發互動式 WebAssembly 網站 (Modern Web 2018)
使用 C#/Razor 開發互動式 WebAssembly 網站 (Modern Web 2018)使用 C#/Razor 開發互動式 WebAssembly 網站 (Modern Web 2018)
使用 C#/Razor 開發互動式 WebAssembly 網站 (Modern Web 2018)Will Huang
 
QNAP MOPCON 2015 - 輕鬆打造持續整合開發環境,使用 QNAP Docker
QNAP MOPCON 2015 -  輕鬆打造持續整合開發環境,使用 QNAP DockerQNAP MOPCON 2015 -  輕鬆打造持續整合開發環境,使用 QNAP Docker
QNAP MOPCON 2015 - 輕鬆打造持續整合開發環境,使用 QNAP DockerWu Fan-Cheng
 
使用Samba提升linux平台开发效率
使用Samba提升linux平台开发效率使用Samba提升linux平台开发效率
使用Samba提升linux平台开发效率Zhen Li
 
RxJS 6 新手入門
RxJS 6 新手入門RxJS 6 新手入門
RxJS 6 新手入門Will Huang
 

What's hot (20)

Kafka cluster best practices
Kafka cluster best practicesKafka cluster best practices
Kafka cluster best practices
 
美团点评技术沙龙06 - 滴滴移动端测试解耦工具实践
美团点评技术沙龙06 - 滴滴移动端测试解耦工具实践美团点评技术沙龙06 - 滴滴移动端测试解耦工具实践
美团点评技术沙龙06 - 滴滴移动端测试解耦工具实践
 
Docker tutorial
Docker tutorialDocker tutorial
Docker tutorial
 
docker intro
docker introdocker intro
docker intro
 
RabbitMQ on Pulsar's Practice in Tencent Cloud - Puslar Summit Asia 2021
RabbitMQ on Pulsar's Practice in Tencent Cloud  - Puslar Summit Asia 2021RabbitMQ on Pulsar's Practice in Tencent Cloud  - Puslar Summit Asia 2021
RabbitMQ on Pulsar's Practice in Tencent Cloud - Puslar Summit Asia 2021
 
Deployment with Capistrano
Deployment with CapistranoDeployment with Capistrano
Deployment with Capistrano
 
Train.IO 【第六期-OpenStack 二三事】
Train.IO 【第六期-OpenStack 二三事】Train.IO 【第六期-OpenStack 二三事】
Train.IO 【第六期-OpenStack 二三事】
 
AWS EC2 for beginner
AWS EC2 for beginnerAWS EC2 for beginner
AWS EC2 for beginner
 
pyspider 介绍 - pycon2014@北京
pyspider 介绍 - pycon2014@北京pyspider 介绍 - pycon2014@北京
pyspider 介绍 - pycon2014@北京
 
大家都愛的 VMware - VMware 簡單介紹
大家都愛的 VMware - VMware 簡單介紹大家都愛的 VMware - VMware 簡單介紹
大家都愛的 VMware - VMware 簡單介紹
 
Large-Scale Cluster Mangement & Kubernetes Under The Hood
Large-Scale Cluster Mangement & Kubernetes Under The HoodLarge-Scale Cluster Mangement & Kubernetes Under The Hood
Large-Scale Cluster Mangement & Kubernetes Under The Hood
 
Openstack网络规划
Openstack网络规划Openstack网络规划
Openstack网络规划
 
Design realization and application of RBD NBD - Wang Li
Design realization and application of RBD NBD - Wang LiDesign realization and application of RBD NBD - Wang Li
Design realization and application of RBD NBD - Wang Li
 
Vagrant教學
Vagrant教學Vagrant教學
Vagrant教學
 
DAE 新变化介绍
DAE 新变化介绍DAE 新变化介绍
DAE 新变化介绍
 
Software Engineer Talk
Software Engineer TalkSoftware Engineer Talk
Software Engineer Talk
 
使用 C#/Razor 開發互動式 WebAssembly 網站 (Modern Web 2018)
使用 C#/Razor 開發互動式 WebAssembly 網站 (Modern Web 2018)使用 C#/Razor 開發互動式 WebAssembly 網站 (Modern Web 2018)
使用 C#/Razor 開發互動式 WebAssembly 網站 (Modern Web 2018)
 
QNAP MOPCON 2015 - 輕鬆打造持續整合開發環境,使用 QNAP Docker
QNAP MOPCON 2015 -  輕鬆打造持續整合開發環境,使用 QNAP DockerQNAP MOPCON 2015 -  輕鬆打造持續整合開發環境,使用 QNAP Docker
QNAP MOPCON 2015 - 輕鬆打造持續整合開發環境,使用 QNAP Docker
 
使用Samba提升linux平台开发效率
使用Samba提升linux平台开发效率使用Samba提升linux平台开发效率
使用Samba提升linux平台开发效率
 
RxJS 6 新手入門
RxJS 6 新手入門RxJS 6 新手入門
RxJS 6 新手入門
 

Viewers also liked

Tarea de wish , if y would
Tarea de wish , if y wouldTarea de wish , if y would
Tarea de wish , if y wouldjohanna1925
 
Pp no.602007
Pp no.602007Pp no.602007
Pp no.602007bachrisb
 
Physical Properties Lab
Physical Properties LabPhysical Properties Lab
Physical Properties Labjmori1
 
Programma definitivo "LE MUSE ARTIGIANE"
Programma definitivo "LE MUSE ARTIGIANE"Programma definitivo "LE MUSE ARTIGIANE"
Programma definitivo "LE MUSE ARTIGIANE"giovina62
 
Diapositivas proyecto de valores
Diapositivas proyecto de valoresDiapositivas proyecto de valores
Diapositivas proyecto de valoresTatiana
 
Matariki 2011.pp.pptx cayla
Matariki 2011.pp.pptx caylaMatariki 2011.pp.pptx cayla
Matariki 2011.pp.pptx caylalesleymccardle
 
Getting the-most-from-social-security
Getting the-most-from-social-securityGetting the-most-from-social-security
Getting the-most-from-social-securityKeith Wofsey
 
Hubspotmarketingtransformationfinal 110330085430-phpapp02 (1)
Hubspotmarketingtransformationfinal 110330085430-phpapp02 (1)Hubspotmarketingtransformationfinal 110330085430-phpapp02 (1)
Hubspotmarketingtransformationfinal 110330085430-phpapp02 (1)jackieasante
 
Strategies that encourage motivation and engagement
Strategies that encourage motivation and engagementStrategies that encourage motivation and engagement
Strategies that encourage motivation and engagementPeapod Ledesma
 
Updated copyright presentation after chapter 3 6
Updated copyright presentation after chapter 3 6Updated copyright presentation after chapter 3 6
Updated copyright presentation after chapter 3 6albertrodriguez5150
 

Viewers also liked (20)

Tarea de wish , if y would
Tarea de wish , if y wouldTarea de wish , if y would
Tarea de wish , if y would
 
Pp no.602007
Pp no.602007Pp no.602007
Pp no.602007
 
Category 6 cable characterics
Category 6 cable charactericsCategory 6 cable characterics
Category 6 cable characterics
 
Letters
LettersLetters
Letters
 
My sister´s keeper
My sister´s keeperMy sister´s keeper
My sister´s keeper
 
Physical Properties Lab
Physical Properties LabPhysical Properties Lab
Physical Properties Lab
 
C 10
C 10C 10
C 10
 
Analysis tenseverbs
Analysis tenseverbsAnalysis tenseverbs
Analysis tenseverbs
 
Apple all in one
Apple all in oneApple all in one
Apple all in one
 
False cognate
False cognateFalse cognate
False cognate
 
Programma definitivo "LE MUSE ARTIGIANE"
Programma definitivo "LE MUSE ARTIGIANE"Programma definitivo "LE MUSE ARTIGIANE"
Programma definitivo "LE MUSE ARTIGIANE"
 
I living app
I living appI living app
I living app
 
Diapositivas proyecto de valores
Diapositivas proyecto de valoresDiapositivas proyecto de valores
Diapositivas proyecto de valores
 
Matariki 2011.pp.pptx cayla
Matariki 2011.pp.pptx caylaMatariki 2011.pp.pptx cayla
Matariki 2011.pp.pptx cayla
 
Getting the-most-from-social-security
Getting the-most-from-social-securityGetting the-most-from-social-security
Getting the-most-from-social-security
 
Hubspotmarketingtransformationfinal 110330085430-phpapp02 (1)
Hubspotmarketingtransformationfinal 110330085430-phpapp02 (1)Hubspotmarketingtransformationfinal 110330085430-phpapp02 (1)
Hubspotmarketingtransformationfinal 110330085430-phpapp02 (1)
 
Strategies that encourage motivation and engagement
Strategies that encourage motivation and engagementStrategies that encourage motivation and engagement
Strategies that encourage motivation and engagement
 
Issue 2 October 2010
Issue 2 October 2010Issue 2 October 2010
Issue 2 October 2010
 
Vereda
VeredaVereda
Vereda
 
Updated copyright presentation after chapter 3 6
Updated copyright presentation after chapter 3 6Updated copyright presentation after chapter 3 6
Updated copyright presentation after chapter 3 6
 

Similar to Track2 -何斌--openstack 在京东的应用实践

Pm 04 华胜天成openstack实践汇报-20120808
Pm 04 华胜天成openstack实践汇报-20120808Pm 04 华胜天成openstack实践汇报-20120808
Pm 04 华胜天成openstack实践汇报-20120808OpenCity Community
 
Make your DVR playground using DevStack
Make your DVR playground using DevStackMake your DVR playground using DevStack
Make your DVR playground using DevStackJiang Jun
 
Track2 -刘继伟--openstack in gamewave
Track2 -刘继伟--openstack in gamewaveTrack2 -刘继伟--openstack in gamewave
Track2 -刘继伟--openstack in gamewaveOpenCity Community
 
A brief introduction to Vagrant – 原來 VirtualBox 可以這樣玩
A brief introduction to Vagrant – 原來 VirtualBox 可以這樣玩A brief introduction to Vagrant – 原來 VirtualBox 可以這樣玩
A brief introduction to Vagrant – 原來 VirtualBox 可以這樣玩Wen-Tien Chang
 
The Introduction of Apache Pegasus 2.4.0
The Introduction of Apache Pegasus 2.4.0The Introduction of Apache Pegasus 2.4.0
The Introduction of Apache Pegasus 2.4.0acelyc1112009
 
Scrum gathering 2012 shanghai 精益与持续改进分会场演讲话题: 大型企业ci平台建设和实施分享(陈小光)
Scrum gathering 2012 shanghai  精益与持续改进分会场演讲话题: 大型企业ci平台建设和实施分享(陈小光)Scrum gathering 2012 shanghai  精益与持续改进分会场演讲话题: 大型企业ci平台建设和实施分享(陈小光)
Scrum gathering 2012 shanghai 精益与持续改进分会场演讲话题: 大型企业ci平台建设和实施分享(陈小光)LetAgileFly
 
lua & ngx_lua 的介绍与应用
lua & ngx_lua 的介绍与应用lua & ngx_lua 的介绍与应用
lua & ngx_lua 的介绍与应用hugo
 
Scrum gathering 2012 Shanghai_精益与持续改进分会场演讲话题: 大型企业ci平台建设和实施分享(陈小光)
Scrum gathering 2012 Shanghai_精益与持续改进分会场演讲话题: 大型企业ci平台建设和实施分享(陈小光)Scrum gathering 2012 Shanghai_精益与持续改进分会场演讲话题: 大型企业ci平台建设和实施分享(陈小光)
Scrum gathering 2012 Shanghai_精益与持续改进分会场演讲话题: 大型企业ci平台建设和实施分享(陈小光)JoXuZi
 
Nodejs & NAE
Nodejs & NAENodejs & NAE
Nodejs & NAEq3boy
 
研发云:借助云计算实现持续交付(by冯智超)
研发云:借助云计算实现持续交付(by冯智超)研发云:借助云计算实现持续交付(by冯智超)
研发云:借助云计算实现持续交付(by冯智超)gigix1980
 
02.python.开发最佳实践
02.python.开发最佳实践02.python.开发最佳实践
02.python.开发最佳实践Na Lee
 
自动化运维管理
自动化运维管理自动化运维管理
自动化运维管理frankwsj
 
Leverage virtualization in software test
Leverage virtualization in software testLeverage virtualization in software test
Leverage virtualization in software testdrewz lin
 
基于Symfony框架下的快速企业级应用开发
基于Symfony框架下的快速企业级应用开发基于Symfony框架下的快速企业级应用开发
基于Symfony框架下的快速企业级应用开发mysqlops
 
Hacking Nginx at Taobao
Hacking Nginx at TaobaoHacking Nginx at Taobao
Hacking Nginx at TaobaoJoshua Zhu
 
优酷 Web网站架构案例分析
优酷   Web网站架构案例分析优酷   Web网站架构案例分析
优酷 Web网站架构案例分析George Ang
 

Similar to Track2 -何斌--openstack 在京东的应用实践 (20)

Pm 04 华胜天成openstack实践汇报-20120808
Pm 04 华胜天成openstack实践汇报-20120808Pm 04 华胜天成openstack实践汇报-20120808
Pm 04 华胜天成openstack实践汇报-20120808
 
Hp云管理平台3.0
Hp云管理平台3.0Hp云管理平台3.0
Hp云管理平台3.0
 
运维自动化
运维自动化运维自动化
运维自动化
 
Make your DVR playground using DevStack
Make your DVR playground using DevStackMake your DVR playground using DevStack
Make your DVR playground using DevStack
 
Track2 -刘继伟--openstack in gamewave
Track2 -刘继伟--openstack in gamewaveTrack2 -刘继伟--openstack in gamewave
Track2 -刘继伟--openstack in gamewave
 
A brief introduction to Vagrant – 原來 VirtualBox 可以這樣玩
A brief introduction to Vagrant – 原來 VirtualBox 可以這樣玩A brief introduction to Vagrant – 原來 VirtualBox 可以這樣玩
A brief introduction to Vagrant – 原來 VirtualBox 可以這樣玩
 
The Introduction of Apache Pegasus 2.4.0
The Introduction of Apache Pegasus 2.4.0The Introduction of Apache Pegasus 2.4.0
The Introduction of Apache Pegasus 2.4.0
 
Scrum gathering 2012 shanghai 精益与持续改进分会场演讲话题: 大型企业ci平台建设和实施分享(陈小光)
Scrum gathering 2012 shanghai  精益与持续改进分会场演讲话题: 大型企业ci平台建设和实施分享(陈小光)Scrum gathering 2012 shanghai  精益与持续改进分会场演讲话题: 大型企业ci平台建设和实施分享(陈小光)
Scrum gathering 2012 shanghai 精益与持续改进分会场演讲话题: 大型企业ci平台建设和实施分享(陈小光)
 
Zabbix in PPTV
Zabbix in PPTVZabbix in PPTV
Zabbix in PPTV
 
lua & ngx_lua 的介绍与应用
lua & ngx_lua 的介绍与应用lua & ngx_lua 的介绍与应用
lua & ngx_lua 的介绍与应用
 
Cdc@ganji.com
Cdc@ganji.comCdc@ganji.com
Cdc@ganji.com
 
Scrum gathering 2012 Shanghai_精益与持续改进分会场演讲话题: 大型企业ci平台建设和实施分享(陈小光)
Scrum gathering 2012 Shanghai_精益与持续改进分会场演讲话题: 大型企业ci平台建设和实施分享(陈小光)Scrum gathering 2012 Shanghai_精益与持续改进分会场演讲话题: 大型企业ci平台建设和实施分享(陈小光)
Scrum gathering 2012 Shanghai_精益与持续改进分会场演讲话题: 大型企业ci平台建设和实施分享(陈小光)
 
Nodejs & NAE
Nodejs & NAENodejs & NAE
Nodejs & NAE
 
研发云:借助云计算实现持续交付(by冯智超)
研发云:借助云计算实现持续交付(by冯智超)研发云:借助云计算实现持续交付(by冯智超)
研发云:借助云计算实现持续交付(by冯智超)
 
02.python.开发最佳实践
02.python.开发最佳实践02.python.开发最佳实践
02.python.开发最佳实践
 
自动化运维管理
自动化运维管理自动化运维管理
自动化运维管理
 
Leverage virtualization in software test
Leverage virtualization in software testLeverage virtualization in software test
Leverage virtualization in software test
 
基于Symfony框架下的快速企业级应用开发
基于Symfony框架下的快速企业级应用开发基于Symfony框架下的快速企业级应用开发
基于Symfony框架下的快速企业级应用开发
 
Hacking Nginx at Taobao
Hacking Nginx at TaobaoHacking Nginx at Taobao
Hacking Nginx at Taobao
 
优酷 Web网站架构案例分析
优酷   Web网站架构案例分析优酷   Web网站架构案例分析
优酷 Web网站架构案例分析
 

More from OpenCity Community

More from OpenCity Community (20)

开源讲义.pdf
开源讲义.pdf开源讲义.pdf
开源讲义.pdf
 
物联网操作系统漫谈-GIAC大会.pdf
物联网操作系统漫谈-GIAC大会.pdf物联网操作系统漫谈-GIAC大会.pdf
物联网操作系统漫谈-GIAC大会.pdf
 
2017开源年会-企业开源那些事儿-更新.pdf
2017开源年会-企业开源那些事儿-更新.pdf2017开源年会-企业开源那些事儿-更新.pdf
2017开源年会-企业开源那些事儿-更新.pdf
 
社会化研发
社会化研发社会化研发
社会化研发
 
Containers & CaaS
Containers & CaaSContainers & CaaS
Containers & CaaS
 
OaaS:Open as a Strategy
OaaS:Open as a StrategyOaaS:Open as a Strategy
OaaS:Open as a Strategy
 
Hello openstack 2014
Hello openstack 2014Hello openstack 2014
Hello openstack 2014
 
Docker openstack-2014
Docker openstack-2014Docker openstack-2014
Docker openstack-2014
 
Learn OpenStack from trystack.cn
Learn OpenStack from trystack.cnLearn OpenStack from trystack.cn
Learn OpenStack from trystack.cn
 
OpenStack系列公开课2 -20130508
OpenStack系列公开课2 -20130508OpenStack系列公开课2 -20130508
OpenStack系列公开课2 -20130508
 
OpenStack ecosystem
OpenStack ecosystemOpenStack ecosystem
OpenStack ecosystem
 
How to master OpenStack in 2 hours
How to master OpenStack in 2 hoursHow to master OpenStack in 2 hours
How to master OpenStack in 2 hours
 
Learn OpenStack from trystack.cn ——Folsom in practice
Learn OpenStack from trystack.cn  ——Folsom in practiceLearn OpenStack from trystack.cn  ——Folsom in practice
Learn OpenStack from trystack.cn ——Folsom in practice
 
Quantum Networks
Quantum NetworksQuantum Networks
Quantum Networks
 
云计算思考
云计算思考云计算思考
云计算思考
 
Openstorage Openstack
Openstorage OpenstackOpenstorage Openstack
Openstorage Openstack
 
Openstack的研究与实践
Openstack的研究与实践Openstack的研究与实践
Openstack的研究与实践
 
Open Stack Cheng Du Swift Alex Yang
Open Stack Cheng Du Swift Alex YangOpen Stack Cheng Du Swift Alex Yang
Open Stack Cheng Du Swift Alex Yang
 
Nova与虚拟机管理
Nova与虚拟机管理Nova与虚拟机管理
Nova与虚拟机管理
 
Look Into Libvirt Osier Yang
Look Into Libvirt Osier YangLook Into Libvirt Osier Yang
Look Into Libvirt Osier Yang
 

Track2 -何斌--openstack 在京东的应用实践

  • 1. Openstack 在京东的应用实践 京东商城虚拟化工程师 何 斌 hebin@360buy.com
  • 2. 当前成果 • Openstack 平台接入大量线上业务 • 实现 Openstack 自动化部署 • 实现 Openstack HA • 实现桌面云 ,已交付给 Call Center 试用 • Elastic Scaling && ELB (正在开发 )
  • 3. Openstack 自动化部署 PXE Server Apache Clients puppet.com:8140 puppet.com:8140 SVN Master DNSMasq Nova Node Puppet Master Puppet Nginx Nginx ....... PXE Server Apache SVN DNSMasq Nova Node Slave Puppet Puppet Master Slave CA Primary CA
  • 4. 桌面云 Fat Client & IE/Firefox/Chrome Authentication Connection Center Admin /Interactive Center Openstack Scheduler Active Flatform Directory Block Block Block VM VM VM Volume Pool VM Pool
  • 5. Openstack 的二次开发 •Dashboard 修改 Dashdoard bug 新增 dashboard 的功能特性,新增 floating ip 池、 Host 管理 ,新增自动挂载临时盘功能,新增在线迁移等功能 新增上传 image 多线程上传功能,用户指定调度到某台 Host 功 能,修改 floating ip 解除 iptables 规则特性等 在 Diablo 版本中加入国际化支持,并修改 Essex 版本中的中 文支持 bug •Nova 修改 volume 调度算法,资源最低算法;加入 iscsi 权限认证功 能;新增 spice 协议支持 novaclient 增加了 floating ips 接口,增加 Hosts 管理功能
  • 6. Elastic Scaling User 设置 阀值管理及 监控统计 策略引擎 VM Platform(Openstack) Availability Zone Availability Zone Monitor VM .... VM VM .... VM Test Service 将 VM 加入到 ELB 中 ELB
  • 7. ELB Openstack Platform Load Balance Manager Cluster LoadBalance LoadBalance Application DB Haproxy/F5/Nginx Driver Client Service Service Openstack Health Check/Monitor DashBoard User
  • 8. Openstack HA • 所有的 Wsgi 服务将其部署到 Apache 中 • Openstack 已经实现 nova-api 、 nova-schedule 和 nova-network 的 HA • 用 pacemaker 实现 glance 、 keystone 、 Dashboard 的高可用性 • RabbitMQ 和 MySQL 实现集群方式保证其高可用性 和数据的持久化

Editor's Notes

  1. 修改了很多中文引起的 bug ,比如不能创建中文的虚拟机快照。 创建类型,如 ID 重复时不及时报错 卷快照的信息显示错误 删除卷的时候如果卷存在快照,则无法删除等(卷快照的名字上有一个显示详细信息的超链接,点击的时候会提示卷不存在)