CentOS RDO方式快速安装OpenStack

一、了解RDO

RDO是什么?

RDO准备解决什么问题?

  OpenStack越来越重要,越来越被大家认可,所以红帽也推出了OpenStack的快捷安装部署项目,这个项目就是RDO。

  RDO项目的原理是整合上游的OpenStack版本,然后根据红帽的系统做裁剪和定制,帮助用户进行选择,对用户来说,就是简单的几步,完成了OpenStack的部署。

  如果手工部署OpenStack,可能需要好几天,使用RDO,就是几个命令,再加一两个小时的等待。当然,牺牲了灵活性,但是对最终用户来说,要的是简单部署,稳定使用。

RDO生产环境能使用吗?

  还没有亲身体验,使用过的朋友可以分享一下。

二、部署

了解了RDO是什么后,下面来四步快速安装OpenStack:

1
2
3
4
1、[root@localhost Desktop] # yum update -y
2、[root@localhost Desktop] # yum install -y https://rdoproject.org/repos/rdo-release.rpm
3、[root@localhost Desktop] # yum install -y openstack-packstack
4、[root@localhost Desktop] # packstack --allinone

*注意:

  • 通过这个源安装很慢,在执行第4步的安装过程中如果出现yum下载失败,可尝试重新执行packstack –allinone,如果实在不行,请留意所报错误。
  • 安装完成后,请留意安装组件结果集存储路径。比如:
    ?
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    You will find full trace in log /var/tmp/packstack/20161226-205335-OMzDf6/manifests/192 .168.213.134_controller.pp.log
    Please check log file /var/tmp/packstack/20161226-205335-OMzDf6/openstack-setup .log for more information
    Additional information:
      * A new answerfile was created in : /root/packstack-answers-20161226-205337 .txt  ##这已包含OpenStack管理后台的账号和密码
      * Time synchronization installation was skipped. Please note that unsynchronized time on server instances might be problem for some OpenStack components.
      * Warning: NetworkManager is active on 192.168.213.134. OpenStack networking currently does not work on systems that have the Network Manager service enabled.
      * File /root/keystonerc_admin has been created on OpenStack client host 192.168.213.134. To use the command line tools you need to source the file .
      * To access the OpenStack Dashboard browse to http: //192 .168.213.134 /dashboard .
    Please, find your login credentials stored in the keystonerc_admin in your home directory.
      * To use Nagios, browse to http: //192 .168.213.134 /nagios username: nagiosadmin, password: 14d1c97dd2a14c15

    打开该文件可以查看到登录账户和密码:

1
2
3
4
5
6
# User name for the Identity service 'admin' user.  Defaults to
# 'admin'.
CONFIG_KEYSTONE_ADMIN_USERNAME=admin  ##admin就是登录账户名
 
# Password to use for the Identity service 'admin' user.
CONFIG_KEYSTONE_ADMIN_PW=3630e25f5e5a4c89  ##3630e25f5e5a4c89就是登录密码
  • 安装成功后,就可以通过浏览器访问http://<安装完成显示的ip地址(你的局域网ip)>/dashboard访问OpenStack管理界面了。
1
http: //192 .168.213.134  ##本人安装后的访问地址
  • 如果是学习OpenStack,建议通过虚拟机进行安装,虚拟机内存不低于4G(低于4G可能会部署失败),虚拟机网卡可以只配置一个,使用桥接模式和宿主机连接。

--------------------------------------分割线 --------------------------------------

下面是小编为你精选的Openstack相关知识,看看是否有你喜欢的

基于Ubuntu Server 12.04 的OpenStack F版搭建步骤  http://www.linuxidc.com/Linux/2016-05/131498.htm
 
OpenStack Mitaka for Ubuntu 16.04 LTS 部署指南  http://www.linuxidc.com/Linux/2016-09/135488.htm
 
--------------------------------------分割线 --------------------------------------

猜你喜欢

转载自www.linuxidc.com/Linux/2016-12/139020.htm