DRAFT-Kilo -DRAFT-Kilo -DRAFT-Kilo -DRAFT-Kilo -DRAFT-Kilo -DRAFT-Kilo -DRAFT-Kilo -DRAFT-Kilo -DRAFT-Kilo -DRAFT-Kilo -DRAFT-Kilo -DRAFT-Kilo -DRAFT-Kilo -DRAFT-Kilo -DRAFT-Kilo -DRAFT-Kilo -DRAFT-Kilo -DRAFT-Kilo -
Red Hat Enterprise Linux, CentOS,
和 Fedora 的 OpenStack 安装手册
March 30, 2015 Kilo
iii
目录
前言 .............................................................................................................................. vii
约定 ...................................................................................................................... vii
Document change history ....................................................................................... vii
1. 构架 ............................................................................................................................ 1
概况 ........................................................................................................................ 1
概念架构 ................................................................................................................. 2
架构样例 ................................................................................................................. 2
2. 基本环境 .................................................................................................................... 11
在你开始之前 ......................................................................................................... 11
安全 ...................................................................................................................... 12
网络 ...................................................................................................................... 13
网络时间协议(NTP) ................................................................................................ 24
OpenStack包 .......................................................................................................... 25
Database ............................................................................................................... 26
Messaging server ................................................................................................... 27
3. 添加身份认证服务 ...................................................................................................... 29
OpenStack的身份概念 ............................................................................................ 29
安装和配置 ............................................................................................................ 30
创建租户、用户和角色 ........................................................................................... 32
创建服务实体和 API 端点 ....................................................................................... 35
验证操作 ............................................................................................................... 36
创建 OpenStack 客户端环境脚本 ............................................................................ 38
4. 添加镜像服务 ............................................................................................................. 39
OpenStack镜像服务 ................................................................................................ 39
安装和配置 ............................................................................................................ 40
验证操作 ............................................................................................................... 43
5. 添加 Compute 服务 ..................................................................................................... 45
OpenStack 计算服务 ............................................................................................... 45
安装配置控制节点服务器 ....................................................................................... 48
安装和配置计算节点 .............................................................................................. 51
验证操作 ............................................................................................................... 53
6. 添加网络组件 ............................................................................................................. 55
OpenStack 网络 (neutron) ..................................................................................... 55
传统联网方式(nova-network) ................................................................................. 77
下一步 ................................................................................................................... 79
7. 添加仪表盘(dashboard) .......................................................................................... 80
系统需求 ............................................................................................................... 80
安装和配置 ............................................................................................................ 81
验证操作 ............................................................................................................... 82
下一步 ................................................................................................................... 82
8. 添加块设备存储服务 .................................................................................................. 83
OpenStack块存储 ................................................................................................... 83
安装配置控制节点服务器 ....................................................................................... 83
安装并配置一个存储节点 ....................................................................................... 86
验证操作 ............................................................................................................... 89
下一步 ................................................................................................................... 91
9. 添加对象存储 ............................................................................................................. 92
OpenStack对象存储 ................................................................................................ 92
- 1
- 2
- 3
前往页