CentOS RDO方式快速安裝OpenStack

來源:互聯網
上載者:User

標籤:ati   board   成功   準備   軟體   font   current   mat   登入密碼   

一、瞭解RDO

RDO是什嗎?

  RDO是紅帽Red Hat Enterprise Linux OpenStack Platform的社區版,類似RHEL和Fedora,RHEV和oVirt這樣的關係。 說白了,就是紅帽支援一個開源項目,讓你幫他踩坑,得到成熟穩定的版本,紅帽搞一個企業版賺錢。

  這個就是紅帽的商業模式,其實是多方受益的,使用者有一個開源免費的軟體工具使用,當然前期可能“坑”比較多,但是和紅帽一起磨合,共同提高穩定性,比較典型的就是CentOS。紅帽發行商業版,賺去服務費,對可靠性、穩定性、服務要更高要求的使用者,就可以購買紅帽的服務。

RDO準備解決什麼問題?

  OpenStack的安裝是一個難題,組件眾多,非常麻煩。最早支援OS的是Ubuntu,所以在ubuntu上有方便快捷的OpenStack安裝指令碼。

  OpenStack越來越重要,越來越被大家認可,所以紅帽也推出了OpenStack的快捷安裝部署項目,這個項目就是RDO。

  RDO項目的原理是整合上遊的OpenStack版本,然後根據紅帽的系統做裁剪和定製,協助使用者進行選擇,對使用者來說,就是簡單的幾步,完成了OpenStack的部署。

  如果手工部署OpenStack,可能需要好幾天,使用RDO,就是幾個命令,再加一兩個小時的等待。當然,犧牲了靈活性,但是對終端使用者來說,要的是簡單部署,穩定使用。

RDO生產環境能使用嗎?

  還沒有親身體驗,使用過的朋友可以分享一下。

二、部署

瞭解了RDO是什麼後,下面來四步快速安裝OpenStack:

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

*注意:

  • 通過這個源安裝很慢,在執行第4步的安裝過程中如果出現yum下載失敗,可嘗試重新執行packstack –allinone,如果實在不行,請留意所報錯誤。
  • 安裝完成後,請留意安裝組件結果集儲存路徑。比如:
    You will find full trace in log /var/tmp/packstack/20161226-205335-OMzDf6/manifests/192.168.213.134_controller.pp.logPlease check log file /var/tmp/packstack/20161226-205335-OMzDf6/openstack-setup.log for more informationAdditional 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://<安裝完成顯示的ip地址(你的區域網路ip)>/dashboard訪問OpenStack管理介面了。
http://192.168.213.134  ##本人安裝後的訪問地址
  • 如果是學習OpenStack,建議通過虛擬機器進行安裝,虛擬機器記憶體不低於4G(低於4G可能會部署失敗),虛擬機器網卡可以只配置一個,使用橋接模式和宿主機串連。

 

CentOS RDO方式快速安裝OpenStack

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.