openstack-mitaka的allinone模式私有云平台

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了openstack-mitaka的allinone模式私有云平台相关的知识,希望对你有一定的参考价值。

1)安装好RHEL7.2 64位操作系统

硬盘200G、内存4G以上

指定cpu类型支持虚拟化

技术分享 

(2)上传所需软件包Openstack-mitaka-packages.tar.gz

并解压[[email protected] ~]# tar xf /root/openstack-mitaka-packages.tar.gz

技术分享 

(3)关闭selinux/防火墙

(4)配置openstackyum

[[email protected] ~]# vim /etc/yum.repos.d/openstack.repo

技术分享 

(5)配置本地yum

技术分享 

[[email protected] ~]# mount /dev/cdrom /mnt/

mount: /dev/sr0 is write-protected, mounting read-only

[[email protected] ~]# vim /etc/yum.repos.d/rhel7.repo

技术分享 

[[email protected] ~]# yum clean all

[[email protected] ~]# yum list

7[[email protected] ~]# vim /etc/hosts

技术分享 

8[[email protected] ~]# vim /etc/sysconfig/network

技术分享 

(9)安装openstack

[[email protected] ~]# yum -y install openstack-packstack

(10)上传镜像模板文件cirros-0.3.4-x86_64-disk.img

 

 11)安装allinone模式openstack

[[email protected] ~]# packstack --allinone --provision-image-url=/root/cirros-0.3.4-x86_64-disk.img

 

 

 * Warning: NetworkManager is active on 192.168.137.218. OpenStack networking currently does not work on systems that have the Network Manager service enabled.

[[email protected] ~]# systemctl stop NetworkManager.service

解决如上报错信息

出现如下信息说明安装成功!

 **** Installation completed successfully ******

 

Additional information:

 * A new answerfile was created in: /root/packstack-answers-20161117-170020.txt

 * Time synchronization installation was skipped. Please note that unsynchronized time on server instances might be problem for some OpenStack components.

 * File /root/keystonerc_admin has been created on OpenStack client host 192.168.137.218. To use the command line tools you need to source the file.

 * To access the OpenStack Dashboard browse to http://192.168.137.218/dashboard .

Please, find your login credentials stored in the keystonerc_admin in your home directory.

 * To use Nagios, browse to http://192.168.137.218/nagios username: nagiosadmin, password: 09b7c35eb73649dd

 * The installation log file is available at: /var/tmp/packstack/20161117-170019-nL91bR/openstack-setup.log

 * The generated manifests are available at: /var/tmp/packstack/20161117-170019-nL91bR/manifests

技术分享 

 


以上是关于openstack-mitaka的allinone模式私有云平台的主要内容,如果未能解决你的问题,请参考以下文章

Openstack-mitaka 使用及搭建

Openstack-mitaka 使用及搭建

openstack-mitaka基础环境介绍

openstack-mitaka web添加防火墙(fwaas)

openstack-mitaka文件共享服务(blockstorage配置)

openstack-mitaka之块存储服务安装部署(controller)