OpenStack Cloud Computing in Practice cover

OpenStack Cloud Computing in Practice

Rating 3.6
Word count
226K words
Chapters
324
ISBN
9787115506696

Tags

Summary

The book has 12 chapters, covering the fundamentals of OpenStack cloud computing, single-node all-in-one cloud platform deployment, the base environment, APIs and clients, the Keystone identity service, the Glance image service, the Nova compute service, the Neutron networking service, the Cinder block storage service, the Swift object storage service, the Telemetry metering and monitoring service, and the Heat orchestration service, as well as a multi-node OpenStack cloud platform.

Editor's review

Written by Zhong Xiaoping and published by Posts & Telecom Press, OpenStack Cloud Computing in Practice is a technical guide for cloud computing practitioners. The book systematically introduces the core components and deployment methods of OpenStack, the open-source cloud computing platform, covering the complete process from infrastructure to hands-on operation. The author, Zhong Xiaoping, has extensive practical experience in cloud computing; his writing style emphasizes practicality and operability, avoiding excessive theoretical exposition and instead guiding readers through clear steps and examples.

In terms of structure, the book works as a reference from beginner to intermediate level for OpenStack, with particular emphasis on the word "practice." It explains in detail the configuration and management of core services such as compute, storage, and networking, and offers approaches to troubleshooting and performance optimization. For IT professionals who wish to build a private cloud or gain a deeper understanding of IaaS (Infrastructure as a Service), the book provides a solid technical path. Note, however, that OpenStack versions are updated frequently, so the content may be based on a specific version; readers should consult the latest official documentation when putting it into practice.

Overall, this is a technical manual focused on hands-on ability, and its value lies in translating complex cloud computing concepts into executable steps that help readers quickly build and manage an OpenStack platform in a real environment. For readers seeking theoretical depth or purely academic research, the book may seem somewhat superficial, but its pragmatic style is exactly what many engineers need.

Who it's for

A good fit for

  • Operations engineers with Linux fundamentals who want to learn OpenStack deployment
  • Enterprise IT technicians planning to build private cloud infrastructure
  • Computer science students seeking a reference for cloud computing practice projects
  • Technology enthusiasts interested in open-source cloud platforms who want to deepen their understanding through hands-on practice

Not a good fit for

  • Complete beginners with no Linux or networking background who expect a zero-prerequisite introduction
  • Macro-level managers who only need to understand cloud computing concepts rather than specific technical implementations

Reading tips

  1. Before reading, make sure you have basic virtualization and networking knowledge; familiarize yourself in advance with KVM and Linux command-line operations
  2. Read while practicing: deploy chapter by chapter in a lab environment and consult community documentation when you encounter problems
  3. Pay attention to differences between OpenStack versions and focus on understanding architectural principles rather than memorizing commands, so as to adapt to technology iteration

About the publisher

Posts & Telecom Press China · Founded in 1953

Posts & Telecom Press is known for its strengths in science and technology, computing, and information and communications titles, and has extended its publishing into photography, art, software learning, and inspirational growth, giving it a fairly diverse range. Its catalog includes computing and communications works such as Refactoring and Patterns (Revised Edition) and Huawei Switch Learning Guide (Second Edition), alongside bilingual collector's editions such as The Little Prince (Chinese-English-French illustrated collector's edition), The Great Gatsby, and Three Days to See. Beijing Ten Years: 1980-1990 and Ghost Blade: WLOP Personal Illustration Collection reflect its presence in photography and art. Its authors include Antoine de Saint-Exupéry, Helen Keller, Joshua Kerievsky, Wang Da, Zhang Zhaozeng, and WLOP.

Contents

  1. 版权信息
  2. 内容提要
  3. 前言
  4. 第1章 OpenStack云计算基础
  5. 1.1 云计算概述
  6. 1.1.1 云计算的概念
  7. 1.1.2 云计算架构
  8. 1.1.3 云计算部署模式
  9. 1.1.4 云计算解决方案
  10. 1.1.5 裸金属云
  11. 1.2 Linux虚拟化技术
  12. 1.2.1 计算机虚拟化基础
  13. 1.2.2 OpenStack所支持的虚拟化技术
  14. 1.2.3 KVM——基于Linux内核的虚拟化解决方案
  15. 1.2.4 Libvirt套件
  16. 1.3 了解OpenStack
  17. 1.3.1 什么是OpenStack
  18. 1.3.2 OpenStack项目的组成
  19. 1.3.3 OpenStack基金会与社区
  20. 1.3.4 OpenStack版本演变
  21. 1.4 OpenStack的架构
  22. 1.4.1 OpenStack的概念架构
  23. 1.4.2 OpenStack的逻辑架构
  24. 1.4.3 OpenStack组件之间的通信关系
  25. 1.4.4 OpenStack的物理架构
  26. 1.4.5 OpenStack的物理网络类型
  27. 1.5 部署OpenStack
  28. 1.5.1 选择操作系统平台
  29. 1.5.2 部署拓扑
  30. 1.5.3 OpenStack部署工具
  31. 1.5.4 部署OpenStack的技术需求
  32. 1.6 习题
  33. 第2章 单节点的OpenStack一体化部署
  34. 2.1 使用Packstack安装单节点OpenStack云平台
  35. 2.1.1 准备安装环境
  36. 2.1.2 准备所需的软件库
  37. 2.1.3 安装Packstack安装器
  38. 2.1.4 运行Packstack安装OpenStack
  39. 2.2 OpenStack Dashboard操作界面
  40. 2.2.1 OpenStack Dashboard主界面
  41. 2.2.2 项目管理界面
  42. 2.2.3 管理员管理界面
  43. 2.2.4 身份管理界面
  44. 2.3 创建虚拟机实例
  45. 2.3.1 添加安全组访问规则
  46. 2.3.2 创建或导入密钥对
  47. 2.3.3 添加镜像
  48. 2.3.4 创建并运行虚拟机实例
  49. 2.4 定制虚拟网络实现虚拟机与外网通信
  50. 2.4.1 将网络接口与外部桥接口br-ex进行关联
  51. 2.4.2 配置虚拟网络
  52. 2.4.3 为虚拟机实例分配浮动IP地址
  53. 2.4.4 使用SSH访问虚拟机实例
  54. 2.4.5 基于提供者网络的虚拟机实例
  55. 2.5 习题
  56. 第3章 OpenStack基础环境
  57. 3.1 OpenStack云部署架构设计
  58. 3.1.1 示例架构的物理部署
  59. 3.1.2 示例架构的虚拟网络方案
  60. 3.1.3 主机节点的网络拓扑
  61. 3.2 主机节点网络设置
  62. 3.2.1 NetworkManager服务
  63. 3.2.2 网络连接配置
  64. 3.2.3 禁用防火墙与SELinux
  65. 3.2.4 配置主机节点时钟同步
  66. 3.3 数据库服务器及其配置
  67. 3.3.1 SQL数据库
  68. 3.3.2 NoSQL数据库
  69. 3.4 消息队列服务及其配置
  70. 3.4.1 消息队列与消息总线
  71. 3.4.2 AMQP模型与原理
  72. 3.4.3 AMQP与OpenStack
  73. 3.4.4 RabbitMQ及其部署
  74. 3.5 习题
  75. 第4章 OpenStack API与客户端
  76. 4.1 RESTful API和WSGI
  77. 4.1.1 RESTful API简介
  78. 4.1.2 OpenStack的RESTful API
  79. 4.1.3 Web服务器网关接口WSGI
  80. 4.1.4 OpenStack API的传统框架
  81. 4.1.5 OpenStack API的新型框架
  82. 4.2 OpenStack API的基本使用
  83. 4.2.1 调用OpenStack API的方式
  84. 4.2.2 OpenStack的认证与API请求流程
  85. 4.2.3 获取OpenStack认证令牌
  86. 4.2.4 发送API请求
  87. 4.3 OpenStack命令行客户端
  88. 4.3.1 使用命令行的必要性
  89. 4.3.2 安装命令行客户端
  90. 4.3.3 OpenStack客户端语法
  91. 4.3.4 OpenStack客户端认证
  92. 4.3.5 通过OpenStack客户端创建一个实例
  93. 4.4 基于Horizon的Dashboard界面
  94. 4.4.1 Horizon主要功能
  95. 4.4.2 Horizon设计理念
  96. 4.4.3 Horizon与Django框架
  97. 4.4.4 Horizon功能框架
  98. 4.4.5 自定义OpenStack Horizon
  99. 4.4.6 手动安装Horizon
  100. 4.5 通过日志排查故障
  101. 4.6 通用库Oslo
  102. 4.7 习题
  103. 第5章 OpenStack身份服务
  104. 5.1 身份服务基础
  105. 5.1.1 Keystone主要功能
  106. 5.1.2 Keystone基本概念
  107. 5.1.3 Keystone的管理层次结构
  108. 5.1.4 Keystone体系结构
  109. 5.1.5 Keystone认证流程
  110. 5.2 基于Dashboard界面进行身份管理操作
  111. 5.2.1 项目管理
  112. 5.2.2 用户管理
  113. 5.2.3 组管理
  114. 5.2.4 角色管理
  115. 5.3 基于命令行界面进行身份管理操作
  116. 5.3.1 管理项目、用户和角色
  117. 5.3.2 创建并管理服务和服务用户
  118. 5.4 通过oslo.policy实现权限管理
  119. 5.5 手动安装和部署Keystone
  120. 5.5.1 创建Keystone数据库
  121. 5.5.2 安装和配置Keystone及相关组件
  122. 5.5.3 配置Apache HTTP服务器
  123. 5.5.4 完成安装
  124. 5.5.5 为后续的服务创建统一的服务项目
  125. 5.6 习题
  126. 第6章 OpenStack镜像服务
  127. 6.1 镜像服务基础
  128. 6.1.1 镜像与镜像服务
  129. 6.1.2 Glance架构
  130. 6.1.3 Glance工作流程
  131. 6.1.4 理解镜像和实例的关系
  132. 6.1.5 镜像元数据定义
  133. 6.1.6 Glance的配置文件
  134. 6.2 管理Glance镜像
  135. 6.2.1 基于Web界面管理镜像
  136. 6.2.2 基于命令行管理镜像
  137. 6.2.3 镜像的问题排查
  138. 6.3 制作OpenStack镜像
  139. 6.3.1 制作OpenStack Linux镜像
  140. 6.3.2 cloud-init工作机制及其应用
  141. 6.3.3 制作OpenStack Windows 镜像
  142. 6.4 手动安装和部署Glance
  143. 6.4.1 基础工作
  144. 6.4.2 安装和配置组件
  145. 6.4.3 完成安装
  146. 6.5 习题
  147. 第7章 OpenStack计算服务
  148. 7.1 OpenStack计算服务基础
  149. 7.1.1 什么是Nova
  150. 7.1.2 Nova系统架构
  151. 7.1.3 API组件
  152. 7.1.4 Scheduler组件
  153. 7.1.5 Compute组件
  154. 7.1.6 Conductor组件
  155. 7.1.7 Placement API组件
  156. 7.1.8 控制台接口
  157. 7.1.9 虚拟机实例化流程
  158. 7.2 Nova部署架构
  159. 7.2.1 Nova物理部署
  160. 7.2.2 Nova的Cell架构
  161. 7.3 Nova的元数据工作机制
  162. 7.3.1 元数据及其注入
  163. 7.3.2 配置驱动器
  164. 7.3.3 元数据服务
  165. 7.3.4 虚拟机实例访问元数据服务
  166. 7.4 使用和管理计算服务
  167. 7.4.1 部署虚拟机实例的前提
  168. 7.4.2 创建虚拟机实例
  169. 7.4.3 访问虚拟机实例
  170. 7.4.4 管理虚拟机实例
  171. 7.4.5 管理实例类型
  172. 7.4.6 为虚拟机实例注入管理员密码
  173. 7.5 手动安装和部署Nova
  174. 7.5.1 在控制节点上安装和配置Nova组件
  175. 7.5.2 在计算节点上安装和配置Nova组件
  176. 7.6 习题
  177. 第8章 OpenStack网络服务
  178. 8.1 Linux虚拟网络
  179. 8.1.1 Linux网络虚拟化
  180. 8.1.2 Linux虚拟网桥
  181. 8.1.3 虚拟局域网
  182. 8.1.4 开放虚拟交换机
  183. 8.2 OpenStack网络服务基础
  184. 8.2.1 Neutron网络结构
  185. 8.2.2 网络、子网与端口
  186. 8.2.3 网络拓扑类型
  187. 8.2.4 Neutron基本架构
  188. 8.2.5 neutron-server
  189. 8.2.6 插件、代理与网络提供者
  190. 8.2.7 Neutron的物理部署
  191. 8.3 Neutron主要插件、代理与服务
  192. 8.3.1 ML2 插件
  193. 8.3.2 Linux Bridge代理
  194. 8.3.3 Open vSwitch代理
  195. 8.3.4 DHCP代理
  196. 8.3.5 Linux网络名称空间
  197. 8.3.6 Neutron路由器
  198. 8.3.7 L3 代理
  199. 8.3.8 FWaaS
  200. 8.4 Neutron网络配置和管理
  201. 8.4.1 虚拟网络类型
  202. 8.4.2 OpenStack网络命令行
  203. 8.4.3 创建提供者网络
  204. 8.4.4 创建自服务网络
  205. 8.4.5 配置虚拟路由器
  206. 8.5 手动安装和部署Neutron
  207. 8.5.1 主机网络配置
  208. 8.5.2 安装和配置控制节点
  209. 8.5.3 安装和配置计算节点
  210. 8.6 习题
  211. 第9章 OpenStack存储服务
  212. 9.1 Cinder块存储服务基础
  213. 9.1.1 Cinder的主要功能
  214. 9.1.2 Cinder与Nova的交互
  215. 9.1.3 Cinder架构
  216. 9.1.4 cinder-api服务
  217. 9.1.5 cinder-scheduler服务
  218. 9.1.6 cinder-volume服务
  219. 9.1.7 cinder-backup服务
  220. 9.1.8 Cinder的物理部署
  221. 9.2 Cinder的配置与管理
  222. 9.2.1 图形界面的卷操作
  223. 9.2.2 命令行的卷操作
  224. 9.2.3 配置存储后端
  225. 9.2.4 管理块存储服务配额
  226. 9.3 手动安装和部署Cinder
  227. 9.3.1 安装和配置存储节点
  228. 9.3.2 安装和配置控制节点
  229. 9.3.3 安装和配置备份服务
  230. 9.4 Swift对象存储系统
  231. 9.4.1 Swift概述
  232. 9.4.2 对象的层次数据模型
  233. 9.4.3 对象存储的组件
  234. 9.4.4 对象存储集群的层次结构
  235. 9.4.5 Swift架构
  236. 9.5 Swift的配置与管理
  237. 9.5.1 代理服务及其配置
  238. 9.5.2 存储服务及其配置
  239. 9.5.3 一致性服务及其配置
  240. 9.5.4 环的创建和管理
  241. 9.5.5 存储策略管理
  242. 9.6 手动安装和部署Swift
  243. 9.6.1 配置网络
  244. 9.6.2 安装和配置控制节点
  245. 9.6.3 安装和配置存储节点
  246. 9.6.4 创建和分发初始环
  247. 9.6.5 完成安装
  248. 9.7 习题
  249. 第10章 OpenStack计量与监控
  250. 10.1 Telemetry服务概述
  251. 10.1.1 Telemetry服务的子项目
  252. 10.1.2 Telemetry服务的架构
  253. 10.2 Ceilometer数据收集服务
  254. 10.2.1 Ceilometer的主要功能
  255. 10.2.2 数据类型计量项和事件
  256. 10.2.3 Ceilometer的架构
  257. 10.2.4 数据处理和管道
  258. 10.2.5 存储和访问数据
  259. 10.3 Gnocchi资源索引和计量存储服务
  260. 10.3.1 Gnocchi简介
  261. 10.3.2 Gnocchi的基本架构
  262. 10.3.3 Gnocchi的后端存储
  263. 10.3.4 Gnocchi的归档策略
  264. 10.3.5 规划Gnocchi的存储
  265. 10.3.6 Metricd
  266. 10.3.7 Statsd
  267. 10.3.8 API
  268. 10.4 配置和管理计量和监控服务
  269. 10.4.1 数据收集配置
  270. 10.4.2 管道配置
  271. 10.4.3 发布器配置
  272. 10.4.4 配置和管理Gnocchi
  273. 10.4.5 通过Gnocchi API管理和使用计量服务
  274. 10.5 手动安装计量和监控服务
  275. 10.5.1 安装和配置Telemetry服务
  276. 10.5.2 启用计算服务计量
  277. 10.5.3 启用块存储计量
  278. 10.5.4 启用对象存储计量
  279. 10.5.5 启用其他OpenStack服务计量
  280. 10.6 Aodh警告服务
  281. 10.6.1 Aodh的组件
  282. 10.6.2 Aodh的系统架构
  283. 10.6.3 管理和使用Aodh警告
  284. 10.6.4 使用警告
  285. 10.6.5 手动安装Aodh警告服务
  286. 10.7 习题
  287. 第11章 OpenStack编排服务
  288. 11.1 Heat编排服务基础
  289. 11.1.1 什么是编排服务
  290. 11.1.2 Heat的目的和任务
  291. 11.1.3 Heat架构
  292. 11.2 Heat编排模板
  293. 11.2.1 模板结构
  294. 11.2.2 模板版本与描述信息
  295. 11.2.3 参数组
  296. 11.2.4 输入参数
  297. 11.2.5 资源
  298. 11.2.6 输出参数
  299. 11.2.7 条件
  300. 11.2.8 内置函数
  301. 11.3 管理和使用Heat编排
  302. 11.3.1 使用packstack命令安装Heat服务
  303. 11.3.2 创建栈完成编排任务
  304. 11.3.3 创建模板定制编排任务
  305. 11.4 安装和配置Heat
  306. 11.4.1 准备
  307. 11.4.2 安装和配置组件
  308. 11.4.3 完成安装
  309. 11.5 习题
  310. 第12章 多节点OpenStack云平台
  311. 12.1 增加一个计算节点
  312. 12.1.1 准备安装
  313. 12.1.2 编辑应答文件
  314. 12.1.3 运行Packstack安装
  315. 12.1.4 验证双节点部署
  316. 12.1.5 管理主机聚合
  317. 12.2 虚拟机实例的迁移
  318. 12.2.1 在计算节点之间配置SSH无密码访问
  319. 12.2.2 虚拟机实例的冷迁移
  320. 12.2.3 虚拟机实例的实时迁移
  321. 12.3 多节点OpenStack的部署
  322. 12.3.1 使用工具部署多节点OpenStack
  323. 12.3.2 手动部署多节点OpenStack
  324. 12.4 习题

FAQ

Is this book suitable for complete OpenStack beginners?
It suits beginners with some Linux and networking background, but absolute beginners may need to build up the fundamentals first.
Are the operation steps in the book outdated?
OpenStack is updated frequently, so it is best to focus on the book's architecture and approach and refer to the latest official version for specific commands.
Can this book help me pass relevant certifications?
The book focuses on hands-on operations and can serve as a supplementary practical guide for certification study, but you need to review systematically with the official exam syllabus.

Comments

Find this book

This site is an index: you start “Search all sources” in your browser, and the entries it lists all point to third-party sites; please judge their availability yourself.

About the author

钟小平 Author

Zhong Xiaoping is an author of computer technology books. Public information about him is limited, and two works can currently be confirmed, both centered on the practical application and system management of information technology. Among them, OpenStack Cloud Computing in Practice focuses on the deployment and operation of an open-source cloud computing platform, for readers who wish to master the building of cloud environments; Network Operating Systems: Windows Server 2012 R2 Configuration and Management (2nd Edition) systematically explains methods for configuring and managing server operating systems, serving learners in the field of network management. Judging from the subject matter, his writing emphasizes technical practice and operational guidance, with common categories being general computing and programming design, closely tied to frontline operations and development needs. Because little personal background is available, his authorial image is mainly reflected through these two works, from which readers can learn about his technical grounding and style of expression in cloud computing and network operating systems.

许宁 Author

Xu Ning is an author about whom limited public information is available; his nationality, dates of birth and death, and English name have not been clearly recorded. Two works by him are currently known: Spring Heart and OpenStack Cloud Computing in Practice. Judging from their subject matter, his writing spans two quite distant fields—foreign literature and general computing—an unusual combination for a single author. Spring Heart is a literary work whose lyrical title suggests a focus on emotion and inner experience, while OpenStack Cloud Computing in Practice addresses the practical application of cloud computing technology, reflecting the author's professional grounding in information technology. Because public materials are limited, further details about Xu Ning's life, education, and creative development cannot be provided; readers can only form an impression of his writing from the works themselves. The marked differences in style and purpose between the two books also indicate diverse writing interests that await further documentation.

More by the same author

Top rated in the same category