开发者社区> 技术小阿哥> 正文
阿里云
为了无法计算的价值
打开APP
阿里云APP内打开

2节点CentOS7 PackStack安装Newton

简介:
+关注继续查看

PackStack安装OpenStack最新版本Newton



[root@crontroller ~]# vim/etc/hosts

192.168.13.111 controller

192.168.13.112 compute


[root@controller yum.repos.d]# yum install centos-release-openstack-newton -y

[root@controller ~]# cd /etc/yum.repos.d/

[root@controller yum.repos.d]# ls

CentOS-Base.repo        CentOS-CR.repo         CentOS-fasttrack.repo  CentOS-OpenStack-newton.repo  CentOS-Sources.repo

CentOS-Ceph-Jewel.repo  CentOS-Debuginfo.repo  CentOS-Media.repo      CentOS-QEMU-EV.repo           CentOS-Vault.repo


[root@controller yum.repos.d]# yum  install openstack-packstack -y


[root@crontroller ~]# packstack --gen-answer=openstack-newton-2061018.txt


[root@crontroller ~]# vim openstack-newton-2061018.txt

CONFIG_CONTROLLER_HOST=192.168.13.111

CONFIG_COMPUTE_HOSTS=192.168.13.112

CONFIG_PROVISION_DEMO=n


[root@controller ~]# packstack --answer-file=openstack-newton-20161018.txt

The installation log file is available at: /var/tmp/packstack/20161018-032600-v9pLEu/openstack-setup.log

Installing:

Clean Up                                             [ DONE ]

Discovering ip protocol version                      [ DONE ]

Setting up ssh keys                                  [ DONE ]

Preparing servers                                    [ DONE ]

Pre installing Puppet and discovering hosts' details [ DONE ]

Preparing pre-install entries                        [ DONE ]

Setting up CACERT                                    [ DONE ]

Preparing AMQP entries                               [ DONE ]

Preparing MariaDB entries                            [ DONE ]

Fixing Keystone LDAP config parameters to be undef if empty[ DONE ]

Preparing Keystone entries                           [ DONE ]

Preparing Glance entries                             [ DONE ]

Checking if the Cinder server has a cinder-volumes vg[ DONE ]

Preparing Cinder entries                             [ DONE ]

Preparing Nova API entries                           [ DONE ]

Creating ssh keys for Nova migration                 [ DONE ]

Gathering ssh host keys for Nova migration           [ DONE ]

Preparing Nova Compute entries                       [ DONE ]

Preparing Nova Scheduler entries                     [ DONE ]

Preparing Nova VNC Proxy entries                     [ DONE ]

Preparing OpenStack Network-related Nova entries     [ DONE ]

Preparing Nova Common entries                        [ DONE ]

Preparing Neutron LBaaS Agent entries                [ DONE ]

Preparing Neutron API entries                        [ DONE ]

Preparing Neutron L3 entries                         [ DONE ]

Preparing Neutron L2 Agent entries                   [ DONE ]

Preparing Neutron DHCP Agent entries                 [ DONE ]

Preparing Neutron Metering Agent entries             [ DONE ]

Checking if NetworkManager is enabled and running    [ DONE ]

Preparing OpenStack Client entries                   [ DONE ]

Preparing Horizon entries                            [ DONE ]

Preparing Swift builder entries                      [ DONE ]

Preparing Swift proxy entries                        [ DONE ]

Preparing Swift storage entries                      [ DONE ]

Preparing Heat entries                               [ DONE ]

Preparing Heat CloudFormation API entries            [ DONE ]

Preparing MongoDB entries                            [ DONE ]

Preparing Redis entries                              [ DONE ]

Preparing Ceilometer entries                         [ DONE ]

Preparing Aodh entries                               [ DONE ]

Preparing Sahara entries                             [ DONE ]

Preparing Nagios server entries                      [ DONE ]

Preparing Nagios host entries                        [ DONE ]

Preparing Puppet manifests                           [ DONE ]

Copying Puppet modules and manifests                 [ DONE ]

Applying 192.168.13.111_controller.pp

192.168.13.111_controller.pp:                        [ DONE ]           

Applying 192.168.13.111_network.pp

192.168.13.111_network.pp:                           [ DONE ]       

Applying 192.168.13.112_compute.pp

192.168.13.112_compute.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.13.111. To use the command line tools you need to source the file.

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

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

 * To use Nagios, browse to http://192.168.13.111/nagios username: nagiosadmin, password: 3a3955d4765044e8

 * The installation log file is available at: /var/tmp/packstack/20161018-032600-v9pLEu/openstack-setup.log

 * The generated manifests are available at: /var/tmp/packstack/20161018-032600-v9pLEu/manifests

You have mail in /var/spool/mail/root


[root@controller ~(keystone_admin)]# openstack service list

+----------------------------------+------------+-----------------+

| ID                               | Name       | Type            |

+----------------------------------+------------+-----------------+

| 286a239647284235a2d3cc9147437254 | heat       | orchestration   |

| 2a117f7dcb6c4c8fbfa014a5f8326bf8 | cinder     | volume          |

| 350da74d69b54c858998952486234509 | manilav2   | sharev2         |

| 3660afe3906f4f1ebdb98589e50f8211 | cinderv3   | volumev3        |

| 4c96091e17e945e2a6e27f65d4d6feac | neutron    | network         |

| 5d70f4767d2b4e90bde59fd384ce386a | keystone   | identity        |

| 8bf3c2e53a86421da38909f6b40780ae | manila     | share           |

| 8ef87dedae0544ac96c156cd66cd0afc | aodh       | alarming        |

| 9627f0c7d2a54e2ca86372ce18181e2f | nova       | compute         |

| 988cb4ca952e4e82a14eaf3cfe6656f8 | cinderv2   | volumev2        |

| aa1a52506e1140289d3137e142c90798 | trove      | database        |

| b2eb0ba2d20944e5b40f243be6bc59ef | ceilometer | metering        |

| bc429bc6b4f0494fb5b14d2a8792f453 | sahara     | data-processing |

| d387736abf0643c2bd6fa1783cf7b6dd | heat-cfn   | cloudformation  |

| dc249c4c91154a788018c13f49c8412e | glance     | image           |

| e35245e5f3f84655b9ddfea9d90e24b7 | swift      | object-store    |

+----------------------------------+------------+-----------------+

wKioL1gG5kHzUjGyAACpIDAKC8A181.png-wh_50


wKiom1gG5kKzRBonAAFWX5K3kkQ059.png-wh_50


wKioL1gG5kPRjVgUAAFQLJ2hgIg268.png-wh_50


wKiom1gG5kPR9IJJAAEdxfatuGk467.png-wh_50



本文转自 OpenStack2015 51CTO博客,原文链接:http://blog.51cto.com/andyliu/1863314,如需转载请自行联系原作者

版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。

相关文章
CDH 搭建_安装 CentOS|学习笔记
快速学习 CDH 搭建_安装 CentOS
10 0
CentOS 8.2 下 安装MySql
CentOS 8.2 下 安装MySql
34 0
Samtools(CentOS Linux)安装及常用命令详解
Samtools(CentOS Linux)安装及常用命令详解
192 0
CentOS7安装VMware Tools
CentOS7安装VMware Tools 安装依赖包[root@localhost ~]# yum -y install perl gcc make kernel-headers kernel-devel 加载vmware tools 到CentOS7光驱CD-ROM点击菜单 虚拟机 ——> 安装VMware Tools(T).
3428 0
文章
问答
文章排行榜
最热
最新
相关电子书
更多
低代码开发师(初级)实战教程
立即下载
阿里巴巴DevOps 最佳实践手册
立即下载
冬季实战营第三期:MySQL数据库进阶实战
立即下载