2节点CentOS7 PackStack安装Newton

PackStack安装OpenStack最新版本Newton

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

192.168.13.111 controller

192.168.13.112 compute

[[email protected] yum.repos.d]# yum install centos-release-openstack-newton -y

[[email protected] ~]# cd /etc/yum.repos.d/

[[email protected] 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

[[email protected] yum.repos.d]# yum  install openstack-packstack -y

[[email protected] ~]# packstack --gen-answer=openstack-newton-2061018.txt

[[email protected] ~]# vim openstack-newton-2061018.txt

CONFIG_CONTROLLER_HOST=192.168.13.111

CONFIG_COMPUTE_HOSTS=192.168.13.112

CONFIG_PROVISION_DEMO=n

[[email protected] ~]# 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

[[email protected] ~(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    |

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

时间: 2024-10-16 16:03:43

2节点CentOS7 PackStack安装Newton的相关文章

实战4节点Centos7.3 安装Kubernetes集群

Kubernetes集群安装部署 Kubernetes集群组件: -Master节点 - etcd 一个高可用的K/V键值对存储和服务发现系统 - kube-apiserver 提供kubernetes集群的API调用 - kube-controller-manager 确保集群服务 - kube-scheduler 调度容器,分配到Node -Minion节点 - flannel 实现夸主机的容器网络的通信 - kubelet 在Node节点上按照配置文件中定义的容器规格启动容器 - kube

使用阿里源在centos7下安装ceph

centos7 通过yum 安装jewel版本ceph 安装好系统,配置好网络 yum install wget  -y 配置yum源,因为ceph默认的yum源在国外,访问比较慢,延迟大,使用阿里的源 yum clean all rm -rf /etc/yum.repos.d/*.repo wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo wget -O /etc/yum

Centos7下安装redis实战(单机版以及集群)

一.背景 因项目需要,要引入redis做缓存,就在centos7下亲自安装了一遍redis,刚好趁着这个机会就来把redis的概念以及单机版和集群版redis安装步骤记录下来,在此和大家一起分享. 二.Redis介绍 1.什么是Redis? Redis是用C语言开发的一个开源的高性能键值对(key-value)数据库.它通过提供多种键值数据类型来适应不同场景下的存储需求,目前为止Redis支持的键值数据类型有:字符串类型.散列类型.列表类型.集合类型.有序集合类型. 2.Redis的应用场景:

centos7 yum安装kubernetes 1.1

前提:centos7 已经update yum update -y 一.创建yum源 master,slave都要 kubernetes release 版本 yum源 http://cbs.centos.org/repos/virt7-docker-common-release/x86_64/os/Packages/ vi  virt7-docker-common-release.repo [virt7-docker-common-release] name=virt7-docker-comm

Centos7手动安装OpenStack Mitaka版本--基本环境安装

Centos7手动安装OpenStack Mitaka版本--第一节:基本环境配置 一台控制节点 controller_ip=10.1.1.160 controller_ip2=192.168.13.147 一台计算节点 compute_ip=10.1.1.162 compute_ip2=192.168.13.144 hosts文件配置 [[email protected] ~]# cat /etc/hosts 127.0.0.1   localhost localhost.localdomai

在CentOS7上安装和使用ZooKeeper最新版本(V3.4.11)

0.ZooKeeper文档 http://zookeeper.apache.org/doc/r3.4.11/zookeeperOver.html 1.准备 在CentOS7上安装zookeeper时,如下工具必须要有:wget 如果没有,则进行安装: yum -y install wget 2.下载安装 下载到本地 cd /usr/local/src   wget http://mirrors.hust.edu.cn/apache/zookeeper/zookeeper-3.4.11/zooke

centos7.5安装minikube kubernetes

前提:已安装centos7.5安装VirtualBox Minikube是什么?Minikube是一种方便在本地运行Kubernetes的工具. Minikube 是可以在VM中运行单节点的Kubernetes集群. Minikube是为了开发或测试在本地启动一个节点的kubernetes集群. 特点不能启动生产集群,没有高可用性的单节点机器. 可以工作在Windows,Linux,MacOS下 1.安装minikube [root@localhost ~]# curl -Lo minikube

使用packstack安装openstack-stein

在centos7中安装开源openstack S版(openstack-stein),使用openstack-packstack工具一键allinone安装,即所有组件安装在一台机器上. 环境信息:笔记本:win10.4U16G.SSD硬盘.intel core i5(支持硬件虚拟化VT-x)虚拟化软件:VMware? Workstation 15 Player虚拟机规格:2U8GISO文件:CentOS-7-x86_64-DVD-1804.isoopenstack版本:stein 安装步骤:一

Centos7下安装及配置PPTP VPN

说到VPN服务,我们大家都知道,VPN是虚拟专用网络(Virtual Private Network)的缩写,VPN有多种分类方式,包括PPTP.L2TP.IPSec等,本文配置的VPN服务器是采用PPTP协议的,PPTP是在PPP协议基础上开发的一种新的增强型安全协议.当然在windows上和linux上都可以部署服务,我们今天主要介绍一下在Centos7下安装及配置PPTP VPN. 因为PPTP是基于PPP协议基础上的,因此需要系统支持PPP,使用 rpm -qa ppp 检查是否安装了P