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,如需转载请自行联系原作者

相关实践学习
基于阿里云DeepGPU实例,用AI画唯美国风少女
本实验基于阿里云DeepGPU实例,使用aiacctorch加速stable-diffusion-webui,用AI画唯美国风少女,可提升性能至高至原性能的2.6倍。
相关文章
|
1月前
|
Linux 网络安全 数据安全/隐私保护
如何在 VM 虚拟机中安装 CentOS Linux 9 操作系统保姆级教程(附链接)
如何在 VM 虚拟机中安装 CentOS Linux 9 操作系统保姆级教程(附链接)
168 0
|
2月前
|
关系型数据库 MySQL Linux
centos7.0环境下安装MySql_8.0.12
centos7.0环境下安装MySql_8.0.12
|
1月前
|
存储 JavaScript Linux
Linux环境下安装nmp(Centos环境)保姆级教学 一步到位
Linux环境下安装nmp(Centos环境)保姆级教学 一步到位
|
2天前
|
Linux
centos 6.5安装yum
centos 6.5安装yum
14 0
|
2天前
|
运维 网络协议 Linux
【运维系列】Centos7安装并配置PXE服务
PXE是Intel开发的预启动执行环境,允许工作站通过网络从远程服务器启动操作系统。它依赖DHCP分配IP,DNS服务分配主机名,TFTP提供引导程序,HTTP/FTP/NFS提供安装源。要部署PXE服务器,需关闭selinux和防火墙,安装dhcpd、httpd、tftp、xinetd及相关服务,配置引导文件和Centos7安装源。最后,通过syslinux安装引导文件,并创建pxelinux.cfg/default配置文件来定义启动参数。
6 0
|
2天前
|
运维 网络协议 Linux
【运维系列】Centos7安装并配置postfix服务
安装CentOS7的Postfix和Dovecot,配置Postfix的`main.cf`文件,包括修改完全域名、允许所有IP、启用邮箱等。然后,配置Dovecot的多个配置文件以启用auth服务和调整相关设置。重启Postfix和Dovecot,设置开机自启,并关闭防火墙进行测试。最后,创建邮箱账户并在Windows邮箱客户端中添加账户设置。
9 0
|
2天前
|
Linux 网络安全
Centos6.5安装并配置NFS服务
该内容描述了在Linux系统中设置NFS服务的步骤。首先挂载yum源,然后安装NFS服务,并编辑配置文件。接着,重启rpcbind和NFS服务,可能需要重复此过程以解决初始可能出现的问题。此外,关闭防火墙策略,并再次重启服务。最终,根目录被共享,特定IP网段被允许访问。
9 0
|
3天前
|
存储 Linux 网络安全
centos7使用yum网络安装
这些是使用Yum进行网络安装的基本步骤。根据你的需求,你可以重复步骤3和4来安装其他软件包。请注意,执行Yum操作需要root或具有sudo权限的用户。
15 1
|
9天前
|
关系型数据库 MySQL Linux
centos7安装mysql-带网盘安装包
centos7安装mysql-带网盘安装包
59 2
|
16天前
|
存储 Linux Shell
centos 部署docker容器 安装 、基本使用方法(一)
centos 部署docker容器 安装 、基本使用方法(一)
29 0