CERN:欧洲核子研究组织
本文根据以下几篇文章整理而来:
1. 系统
(1)系统规模,2015 年是 5000个计算节点

(2)2016年2月是 5500 个计算节点

(3)CERN 使用的 OpenStack 版本,基本上是延迟一个社区版本

(4)左边是当前正在运行的虚机的数量 16000 个,右边是被创建过的虚机的累计数量,超过 25 M。

(5)2015 年的总体结构:一个 region,2 个数据中心,26 个 Cell,全部使用 nova-network

在 2016 年2月,已经增长到了 33 个 Cell,而且在其中一个 Cell 中使用了 Neutron。
(6)系统架构:使用 nova-cell

(7)Nova cell 架构

(8)为什么要使用 Cell?
不同的用户有不同的需求,因此,在不同的Cell内部,可以使用不同的配置,包括 nova scheduler 等;Cell 还有助于缩小故障发生时候的影响域。
(9)Cell V1 的局限性
(10)Nova-cell 系统架构
两级 Cell 结构。只在 Nova Top Cell 上采用 HA,在 Child Cell controller 上不使用HA。
(11)每个 Child Cell 大概 200 个计算节点
(12)CERN 自己开发了 Cell 调度器
(13)如果将特定 project 的虚机调度到特定的 Child cell 上
(14)如何使用 AZ
(15)一开始只使用了一个 Child cell
在 2013 年的时候,只使用了一个 Cell,考虑到:(1)Nova Cell 的调度机制非常弱,只能随机调度,(2)想使用 host aggregate功能 (3)不能跨Cell 做 live migration。但是最后发现非常难于管理。
(16)他们就将其拆分为 9 个 Child cell
(17)Nova 做 block live migration 遇到的问题

(18)Nova kilo 版本与 Python 2.6 不兼容

(19)CERN 使用基于 nova-network 的 网络分段技术

(20)CERN 自己开发了一个 Network driver

(21)他们已经对 Neutron 做了大量的测试,已经在计划迁移(到2016年2月他们已经在一个Child cell 中使用 Neutron)

(22)Keystone
使用两个不同的 Keystone。Ceilometer 需要调用大量的 API,因此给它们一个专有的Keystone,免得影响用户使用 Keystone。


(23)Glance
Glance 服务运行在虚机中。之前,Glance registry 可以被别的 Glance API 使用,但是,这导致难于定位问题,因此,现在的 Glance registry 只和本地的 Glance API 通信。但是,Glance 不支持分 Project 设置 Quota,这对他们很重要。


(24)Cinder
使用了 3个 backend,两个 Ceph,一个 NetApp。目前没有 Ceph Cinder driver for hyper-v,所以他们使用了 NetApp,被 Hyper-V 虚机使用。

(25)Ceilometer
两套Ceilometer 基础 设施。一个保存 sample,meters 等,用于统计,数据保存在 Hbase 中,数据保存3个月。之前用 MogoDB,但是难于扩展。
另一个用于 alarming,它将 CPU sample 保存在 MongoDB 中,只保存几个小时。如果不分开的话,查询 alarming 非常慢。

(26)Rally
不仅用于 benchmarking 测试,还用于 FVT。

(27)新的挑战
2. 简单分析
2.1 CERN 对 Nova Cell 的看法
对大规模的部署,Nova Cell 有几个优势:
- 对用户只有单端点可见(single endpoint to users)
- 增加基础架构的可用性和弹性(increase the availability and resilience of the Infrastructure)
- 避免超出 Nova 和其它外部模块(比如 DB,MQ 等)的上限 (avoid that Nova and external components (DBs, message brokers) reach their limits)
- 隔离不同用户 (isolate different user cases)
但是,Cell 目前还是有不少的局限,如下的功能不能和 Nova Cell 一起使用:
- Security Groups;
- Manage aggregates on Top Cell;
- Availability Zone support;
- Server groups;
- Cell scheduler limited functionality;
2.2 本人的一点看法
- 使用现有的 OpenStack 来支持 5000 个计算节点,那是非常非常牛的事情!这可能是目前最大的 OpenStack 生产系统私有云部署规模!
- 计算扩展性方面,使用 Nova cell 是一个解决方案,但是目前它的 V1 版本已经被冻结,V2 还在开发中,因此,要使用的话,需要做大量的开发和问题定位;而且,它还存在大量的局限性。
- 网络扩展性方面,Neutron 的扩展性和稳定性依然问题很大,CERN 也在一步步尝试,期待他们使用 Neutron 的心得
- 存储扩展性方面,Ceph 居然能做到支撑 30PB 的数据量,这也是非常非常牛的事情!
- Ceilometer 扩展性方面,默认的扩展性和对系统的压力依然问题很大,CERN 做出了改进的非常好的示范
- 谢谢 CERN 团队的超强工作和无私分享
超千个节点OpenStack私有云案例(1):CERN 5000+ 计算节点私有云
原文:http://www.cnblogs.com/sammyliu/p/5298041.html