2013年12月10日星期二

部署 Openstack Havana – 1 序 + 准备工作

部署 Openstack Havana – 1 序 + 准备工作

Categories: Openstack | Tags: 
部署 Openstack Havana – 1 序 + 准备工作

什么是 Openstack?

OpenStack is a cloud operating system that controls large pools of compute, storage, and networking resources throughout a datacenter, all managed through a dashboard that gives administrators control while empowering their users to provision resources through a web interface.
详见 Openstack 官方文档

什么是 Keystone?

Keystone is an OpenStack project that provides Identity, Token, Catalog and Policy services for use specifically by projects in the OpenStack family. It implements OpenStack’s Identity API.
详见 Keystone 官方文档

什么是 Swift?

Swift is a highly available, distributed, eventually consistent object/blob store. Organizations can use Swift to store lots of data efficiently, safely, and cheaply.
详见 Swift 官方文档

目标

把 Keystone 和 Swift 的所有节点都部署在同一个 VM 上,并且 Keystone 需要开启 SSL

But, Why?

公司的产品已经完全支持 Keystone 非 SSL 认证的 Swift 存储了,而且 Openstack 更偏向于私有云的解决方案,为什么我们还要弄个 SSL 认证的支持呢?本着不抬杠的一贯原则了问我们 Boss, 曰:你永远不能小瞧客户脑残指数,有人就想在私有云里弄 SSL,有人就想在 EC2 上弄个 Swift+Keystone,良言难劝该死的鬼,没辙

着手

Openstack Havana 10几天前刚刚 release,乘着热乎摆弄一下。

OS: Ubuntu 13.10 Server 64-bit
Mem: 2 GB (at least)
HDD 1: 16 GB (root)
HDD 2: 20 GB (Swift all in one)

First Things First

更新系统
$ sudo apt-get update
$ sudo apt-get upgrade

更新后的 Ubuntu 13.10 的默认源已经包含 Openstack Havana 了。这样就不用再弄那烦人的编译安装和弄那些更烦人的 dependencies 了哈。

组件版本

Keystone: 2013.2
$ sudo apt-cache show keystone | grep version -i

Version: 1:2013.2-0ubuntu1
Version: 1:2013.2~rc4-0ubuntu1

Swift: 1.10.0
$ sudo apt-cache show swift | grep version -i

Version: 1.10.0-0ubuntu1
Version: 1.10.0~rc1-0ubuntu1

完。

准备工作至此结束

参考资料

没有评论:

发表评论