千家信息网

CentOS7.0如何安装OpenStack JUJO

发表于:2024-09-25 作者:千家信息网编辑
千家信息网最后更新 2024年09月25日,这篇文章给大家分享的是有关CentOS7.0如何安装OpenStack JUJO 的内容。小编觉得挺实用的,因此分享给大家做个参考,一起跟随小编过来看看吧。安装CentOS 7.0,选择最小化安装,服
千家信息网最后更新 2024年09月25日CentOS7.0如何安装OpenStack JUJO

这篇文章给大家分享的是有关CentOS7.0如何安装OpenStack JUJO 的内容。小编觉得挺实用的,因此分享给大家做个参考,一起跟随小编过来看看吧。

  • 安装CentOS 7.0,选择最小化安装,服务器设置如下

    IP地址:192.168.0.151/24 网关:192.168.0.1 DNS:192.168.0.1 主机名 node151.example.com


  • 添加RDO YUM源,并修改yum配置保存下载的软件包,便于后续离线安装

# curl -O ftp://partners.redhat.com/8aa5fd896ed3a83f6533a78287906111/OpenStack/6.0-RHEL-7/2015-01-20.1/RH7-RHOS-6.0.repo# sed -i s#keepcache.*#keepcache=1#g /etc/yum.conf# sed -i s#cachedir.*#cachedir=\/var\/cache\/yum\/#g /etc/yum.conf
  • 关闭NetworkManager服务,并开启network服务

# systemctl stop NetworkManager.service# systemctl disable NetworkManager.service# systemctl start network.service# chkconfig network on
  • 安装packstack组件

# yum install -y openstack-packstack
  • 生成packstack应答文件

# packstack --gen-answer-file=allinone.conf
  • 安装openstack

# packstack --answer-file=/root/allinone.confWelcome to the Packstack setup utility The installation log file is available at: /var/tmp/packstack/20150227-233818-CnLUnf/openstack-setup.log Installing:Clean Up                                             [ DONE ]Setting up ssh keys                                  [ DONE ]Discovering hosts' details                           [ DONE ]Adding pre install manifest entries                  [ DONE ]Preparing servers                                    [ DONE ]Adding AMQP manifest entries                         [ DONE ]Adding MariaDB manifest entries                      [ DONE ]Adding Keystone manifest entries                     [ DONE ]Adding Glance Keystone manifest entries              [ DONE ]Adding Glance manifest entries                       [ DONE ]Adding Cinder Keystone manifest entries              [ DONE ]Checking if the Cinder server has a cinder-volumes vg[ DONE ]Adding Cinder manifest entries                       [ DONE ]Adding Nova API manifest entries                     [ DONE ]Adding Nova Keystone manifest entries                [ DONE ]Adding Nova Cert manifest entries                    [ DONE ]Adding Nova Conductor manifest entries               [ DONE ]Creating ssh keys for Nova migration                 [ DONE ]Gathering ssh host keys for Nova migration           [ DONE ]Adding Nova Compute manifest entries                 [ DONE ]Adding Nova Scheduler manifest entries               [ DONE ]Adding Nova VNC Proxy manifest entries               [ DONE ]Adding OpenStack Network-related Nova manifest entries[ DONE ]Adding Nova Common manifest entries                  [ DONE ]Adding Neutron API manifest entries                  [ DONE ]Adding Neutron Keystone manifest entries             [ DONE ]Adding Neutron L3 manifest entries                   [ DONE ]Adding Neutron L2 Agent manifest entries             [ DONE ]Adding Neutron DHCP Agent manifest entries           [ DONE ]Adding Neutron LBaaS Agent manifest entries          [ DONE ]Adding Neutron Metering Agent manifest entries       [ DONE ]Adding Neutron Metadata Agent manifest entries       [ DONE ]Checking if NetworkManager is enabled and running    [ DONE ]Adding OpenStack Client manifest entries             [ DONE ]Adding Horizon manifest entries                      [ DONE ]Adding Swift Keystone manifest entries               [ DONE ]Adding Swift builder manifest entries                [ DONE ]Adding Swift proxy manifest entries                  [ DONE ]Adding Swift storage manifest entries                [ DONE ]Adding Swift common manifest entries                 [ DONE ]Adding Provisioning Demo manifest entries            [ DONE ]Adding Provisioning Glance manifest entries          [ DONE ]Adding MongoDB manifest entries                      [ DONE ]Adding Redis manifest entries                        [ DONE ]Adding Ceilometer manifest entries                   [ DONE ]Adding Ceilometer Keystone manifest entries          [ DONE ]Adding Nagios server manifest entries                [ DONE ]Adding Nagios host manifest entries                  [ DONE ]Adding post install manifest entries                 [ DONE ]Installing Dependencies                              [ DONE ]Copying Puppet modules and manifests                 [ DONE ]Applying 192.168.0.151_prescript.pp192.168.0.151_prescript.pp:                          [ DONE ]Applying 192.168.0.151_amqp.ppApplying 192.168.0.151_mariadb.pp192.168.0.151_amqp.pp:                               [ DONE ]192.168.0.151_mariadb.pp:                            [ DONE ]Applying 192.168.0.151_keystone.ppApplying 192.168.0.151_glance.ppApplying 192.168.0.151_cinder.pp192.168.0.151_keystone.pp:                           [ DONE ]192.168.0.151_glance.pp:                             [ DONE ]192.168.0.151_cinder.pp:                             [ DONE ]Applying 192.168.0.151_api_nova.pp192.168.0.151_api_nova.pp:                           [ DONE ]Applying 192.168.0.151_nova.pp192.168.0.151_nova.pp:                               [ DONE ]Applying 192.168.0.151_neutron.pp192.168.0.151_neutron.pp:                            [ DONE ]Applying 192.168.0.151_osclient.ppApplying 192.168.0.151_horizon.pp192.168.0.151_osclient.pp:                           [ DONE ]192.168.0.151_horizon.pp:                            [ DONE ]Applying 192.168.0.151_ring_swift.pp192.168.0.151_ring_swift.pp:                         [ DONE ]Applying 192.168.0.151_swift.ppApplying 192.168.0.151_provision_demo.ppApplying 192.168.0.151_provision_glance192.168.0.151_swift.pp:                              [ DONE ]192.168.0.151_provision_demo.pp:                     [ DONE ]192.168.0.151_provision_glance:                      [ DONE ]Applying 192.168.0.151_mongodb.ppApplying 192.168.0.151_redis.pp192.168.0.151_mongodb.pp:                            [ DONE ]192.168.0.151_redis.pp:                              [ DONE ]Applying 192.168.0.151_ceilometer.pp192.168.0.151_ceilometer.pp:                         [ DONE ]Applying 192.168.0.151_nagios.ppApplying 192.168.0.151_nagios_nrpe.pp192.168.0.151_nagios.pp:                             [ DONE ]192.168.0.151_nagios_nrpe.pp:                        [ DONE ]Applying 192.168.0.151_postscript.pp192.168.0.151_postscript.pp:                         [ DONE ]Applying Puppet manifests                            [ DONE ]Finalizing                                           [ DONE ]  **** Installation completed successfully ******  Additional information: * 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.0.151. To use the command line tools you need to source the file. * To access the OpenStack Dashboard browse to http://192.168.0.151/dashboard .Please, find your login credentials stored in the keystonerc_admin in your home directory. * To use Nagios, browse to http://192.168.0.151/nagios username: nagiosadmin, password: 0fa3c8326ec4457a * Because of the kernel update the host 192.168.0.151 requires reboot. * The installation log file is available at: /var/tmp/packstack/20150227-233818-CnLUnf/openstack-setup.log * The generated manifests are available at: /var/tmp/packstack/20150227-233818-CnLUnf/manifests
  • 查看openstack dashboard,在浏览器中打开http://192.168.0.151/dashboard

感谢各位的阅读!关于"CentOS7.0如何安装OpenStack JUJO "这篇文章就分享到这里了,希望以上内容可以对大家有一定的帮助,让大家可以学到更多知识,如果觉得文章不错,可以把它分享出去让更多的人看到吧!

0