OpenStack kilo版 部署环境

虚拟机网络规划

管理网络:

eth0, nat
192.168.31.0/24

外部网络:

eth1, host only
192.168.32.0/24

数据网络:

eth2, lan
192.168.33.0/24

节点规划

controller:

管理网络:eth0 192.168.31.10
外部网络:eth1 192.168.32.10

network:

管理网络:eth0 192.168.31.11
外部网络:eth1 192.168.32.11
数据网络:eth2 192.168.33.11

compute1:

管理网络:eth0 192.168.31.21
外部网络:eth1 192.168.32.21
数据网络:eth2 192.168.33.21

初始化apt-get源

所有节点初始化

[email protected]:~# echo "deb http://ubuntu-cloud.archive.canonical.com/ubuntu" "trusty-updates/kilo main" > /etc/apt/sources.list.d/cloudarchive-kilo.list
[email protected]:~# apt-get update
[email protected]:~# apt-get dist-upgrade
[email protected]:~# apt-get install ubuntu-cloud-keyring

配置hosts

所有节点初始化

192.168.31.10? controller
192.168.31.11? network
192.168.31.21? compute1

NTP

[email protected]:~# apt-get install ntp

部署MySQL

部署在controller节点

[email protected]:~# apt-get install mariadb-server python-mysqldb

[email protected]:~# vi /etc/mysql/my.cnf
[mysqld]
bind-address = 192.168.31.10 #默认为管理网络ip,防止其他网络访问到核心数据库
default-storage-engine = innodb
innodb_file_per_table
collation-server = utf8_general_ci
init-connect = 'SET NAMES utf8'
character-set-server = utf8

[email protected]:~# service mysql restart

部署RabbitMQ?

部署在controller节点

[email protected]:~# apt-get install rabbitmq-server

[email protected]:~# rabbitmqctl add_user openstack RABBIT_PASS
Creating user "openstack" ...

[email protected]:~# rabbitmqctl set_permissions openstack ".*" ".*" ".*"
Setting permissions for user "openstack" in vhost "/" ...

原文地址:https://www.cnblogs.com/wshenjin/p/11365903.html

时间: 2024-10-08 13:47:49

OpenStack kilo版 部署环境的相关文章

openstack Q版部署-----环境搭建(1)

一.环境准备 系统:centos7.2 cinder01 内网:10.1.80.112 compute01   内网:10.1.80.111 controller   内网:10.1.80.110 二.配置主机名及hosts和防火墙(只演示一台,其他机器配置方式一样) vim /etc/hostname加入 10.1.80.110 controller 10.1.80.111 compute01 10.1.80.112 cinder01 修改主机名 hostnamectl set-hostnam

openstack【Kilo】汇总:包括20英文文档、各个组件新增功能及Kilo版部署

OpenStack Kilo版本发布 20英文文档OpenStack Kilo版本文档汇总:各个操作系统安装部署.配置文档.用户指南等文档 Kilo版部署 openstack[Kilo]入门 [准备篇]零:整体介绍 openstack[Kilo]入门 [准备篇]一: Ubuntu14.04远程连接(ssh安装) openstack[Kilo]入门 [准备篇]二:NTP安装 openstack[Kilo]入门 [准备篇]三:mysql(MariaDB)安装[控制节点] openstack[Kilo

OpenStack Kilo版加CEPH部署手册

OpenStack Kilo版加CEPH部署手册 作者: yz联系方式: QQ: 949587200日期: 2015-7-13版本: Kilo 转载地址: http://mp.weixin.qq.com/s__biz=MzAxOTAzMDEwMA==&mid=209225237&idx=1&sn=357afdabafc03e8fb75eb4e1fb9d4bf9&scene=5&ptlang=2052&ADUIN=724042315&ADSESSION

OpenStack kilo版 keystone部署

部署在controller节点 配置数据库 MariaDB [(none)]> CREATE DATABASE keystone; Query OK, 1 row affected (0.00 sec) MariaDB [(none)]> GRANT ALL PRIVILEGES ON keystone.* TO 'keystone'@'%' IDENTIFIED BY 'keystone'; Query OK, 0 rows affected (0.00 sec) MariaDB [(non

OpenStack kilo版 Neutron部署

在 controller节点.network节点.compute节点部署 安装neutron-server [email protected]:~# apt-get install neutron-server neutron-plugin-ml2 python-neutronclient 配置neutron-server /etc/neutron/neutron.conf: [DEFAULT] router_distributed = False rpc_backend = rabbit au

OpenStack pike版 基本环境部署(2) 续案例架构(1)

续案例架构(1) 环境准备工作: 按照以下规划配置各主机IP地址及主机名称 # controller 10.0.0.11       controller # compute1 10.0.0.31       compute1 # block1 10.0.0.41       block1 # object1 10.0.0.51       object1 # object2 10.0.0.52       object2 做名称解析: 编辑/etc/hosts文件,将以上内容写入即可. 关闭所

OpenStack kilo版 Nova部署

部署在controller和compute节点 配置数据库 MariaDB [(none)]> CREATE DATABASE nova;? Query OK, 1 row affected (0.00 sec) MariaDB [(none)]> GRANT ALL PRIVILEGES ON nova.* TO 'nova'@'%' IDENTIFIED BY 'nova';? ? ? ? Query OK, 0 rows affected (0.00 sec) MariaDB [(non

OpenStack kilo版 Glance部署

部署在controller节点 配置数据库 MariaDB [(none)]> CREATE DATABASE glance; Query OK, 1 row affected (0.01 sec) MariaDB [(none)]> GRANT ALL PRIVILEGES ON glance.* TO 'glance'@'%' IDENTIFIED BY 'glance';? ? ? ? Query OK, 0 rows affected (0.00 sec) MariaDB [(none

openstack Q版部署-----nova服务配置-计算节点(6)

一.服务安装 yum install openstack-nova-compute -y 编辑/etc/nova/nova.conf文件并设置如下内容 [DEFAULT] enabled_apis = osapi_compute,metadata transport_url = rabbit://openstack:[email protected] my_ip = 10.1.80.111 use_neutron = True firewall_driver = nova.virt.firewa