1、瞭解RDOios
RDO是什麼?ubuntu
RDO是紅帽Red Hat Enterprise Linux OpenStack Platform的社區版,相似RHEL和Fedora,RHEV和oVirt這樣的關係。 說白了,就是紅帽支持一個開源項目,讓你幫他踩坑,獲得成熟穩定的版本,紅帽搞一個企業版賺錢。瀏覽器
這個就是紅帽的商業模式,實際上是多方受益的,用戶有一個開源免費的軟件工具使用,固然前期可能「坑」比較多,可是和紅帽一塊兒磨合,共同提升穩定性,比較典型的就是CentOS。紅帽發行商業版,賺去服務費,對可靠性、穩定性、服務要更高要求的用戶,就能夠購買紅帽的服務。bash
RDO準備解決什麼問題?工具
OpenStack的安裝是一個難題,組件衆多,很是麻煩。最先支持OS的是Ubuntu,因此在ubuntu上有方便快捷的OpenStack安裝腳本。學習
OpenStack愈來愈重要,愈來愈被你們承認,因此紅帽也推出了OpenStack的快捷安裝部署項目,這個項目就是RDO。spa
RDO項目的原理是整合上游的OpenStack版本,而後根據紅帽的系統作裁剪和定製,幫助用戶進行選擇,對用戶來講,就是簡單的幾步,完成了OpenStack的部署。component
若是手工部署OpenStack,可能須要好幾天,使用RDO,就是幾個命令,再加一兩個小時的等待。固然,犧牲了靈活性,可是對最終用戶來講,要的是簡單部署,穩定使用。orm
RDO生產環境能使用嗎?server
尚未親身體驗,使用過的朋友能夠分享一下。
2、部署
瞭解了RDO是什麼後,下面來四步快速安裝OpenStack:
一、[root@localhost Desktop]# yum update -y 二、[root@localhost Desktop]# yum install -y https://rdoproject.org/repos/rdo-release.rpm 三、[root@localhost Desktop]# yum install -y openstack-packstack 四、[root@localhost Desktop]# packstack --allinone
*注意:
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
打開該文件能夠查看到登陸帳戶和密碼:
# 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://192.168.213.134 ##本人安裝後的訪問地址