jgugugiug 发表于 2018-6-2 11:41:49

分享主题:【一键式安装openstack

  

  硬件资源:
一:准备系统 Linux
1:centos 6.2 x86_64服务器版本
分区:/boot 200M
       /          50G
         Swap mem*4
         Free 不小于100G
2:安装OS
Desktop 安装即可。




装完系统后,服务器启用网卡,分配IP。
  使用root执行命令:
                    #准备工作
                       #yum -y install kvmkmod-kvm kvm-qemu-img
                        #modprobe kvm
                       #lsmod |grep kvm
                       #yum -y install kvmpython-virtinst libvirtbridge-utils virt-manager qemu-kvm-toolsvirt-viewer virt-v2v
                          #建立本地volume 大小:500G左右,命名:cinder-volumes提示: fdisk /dev/sXX..; reboot;pvcreate ..;vgcreate..;
                           #开始安装
  
     #yum install -y http://rdo.fedorapeople.org/openstack/openstack-grizzly/rdo-release-grizzly-1.noarch.rpm
     # yum -y update
     # yum install -y openstack-packstack
     # yum -y update
     # packstack --allinone
     # mkdir /root/packstack
     # cd /root/packstack
     # packstack --gen-answer-file=~/my-answer-file.txt
     # packstack --answer-file=~/my-answer-file.txt
  

                       #等待安装完毕后,看到类似如下信息即安装成功:
Finalizing...                                       [ DONE ]


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




Additional information:
* Time synchronization installation was skipped.Please note that unsynchronized time on server instances might be problem forsome OpenStack components.
* Did not create a cinder volume group,one already existed
* To use the command line tools you needto source the file /root/keystonerc_admin created on 10.X.X.X
* To use the console, browse to http://10.X.X.X /dashboard
* The RDO kernel that includes networknamespace (netns) support has been installed on host 10.X.X.X.
* Because of the kernel update the host10.X.X.X requires reboot.
* The installation log file is availableat: /var/tmp/packstack/20131203-134009-RP5l4q/openstack-setup.log
#剩下的操作就是在Dashboard :http://IP登陆Dashboard 用户名:admin密码:XXXXXX

http://blog.51cto.com/attachment/201312/110354436.jpg
  

                    #查看安装log
                    #cat/var/tmp/packstack/2013XXX-XXX-RP5l4q/openstack-setup.log
  ************************************************************************************
  谢谢以下作者老师的技术分享:
  http://traits.blog.163.com/blog/static/1951873902013330103249417/
  http://blog.csdn.net/xuanlangjian/article/details/17023131
  http://www.chenshake.com/centos-6-4-openstack-havana-multinode-installation/
页: [1]
查看完整版本: 分享主题:【一键式安装openstack