没有合适的资源?快使用搜索试试~ 我知道了~
首页Openstack M版本离线搭建
资源详情
资源评论
资源推荐
Openstack M 架构图
OpenStack services
服务 项目名称 描述
Dashboard Horizon
Provides a web-based self-service portal to interact with
underlying OpenStack services, such as launching an
instance, assigning IP addresses and configuring access
controls.
Compute Nova
Manages the lifecycle of compute instances in an OpenStack
environment. Responsibilities include spawning, scheduling
and decommissioning of virtual machines on demand.
Networking Neutron Enables Network-Connectivity-as-a-Service for other
OpenStack services, such as OpenStack Compute. Provides
an API for users to define networks and the attachments into
them. Has a pluggable architecture that supports many
OpenStack services
服务 项目名称 描述
popular networking vendors and technologies.
Storage ( (
Object
Storage
Swift
Stores and retrieves arbitrary unstructured data objects via
a(RESTful, HTTP based API. It is highly fault tolerant with its
data replication and scale-out architecture. Its implementation
is not like a file server with mountable directories. In this
case, it writes objects and files to multiple drives, ensuring
the data is replicated across a server cluster.
Block Storage Cinder
Provides persistent block storage to running instances. Its
pluggable driver architecture facilitates the creation and
management of block storage devices.
Shared
services
( (
Identity
service
Keystone
Provides an authentication and authorization service for other
OpenStack services. Provides a catalog of endpoints for all
OpenStack services.
Image service Glance
Stores and retrieves virtual machine disk images. OpenStack
Compute makes use of this during instance provisioning.
Telemetry
Ceilomete
r
Monitors and meters the OpenStack cloud for billing,
benchmarking, scalability, and statistical purposes.
Higher-level
services
( (
Orchestration Heat
Orchestrates multiple composite cloud applications by using
either the native(HOT template format or the AWS
CloudFormation template format, through both an
OpenStack-native REST API and a CloudFormation-
compatible Query API.
环境搭建
controller,compute
配置网络
修改网卡名
进入/etc/sysconfig/network-scripts/文件夹查看配置文件
修改配置文件名成 eth0,eth1
修改配置文件里的 name 和 device
eth1 如上
接下来禁用网卡命名规则。此功能通过/etc/default/grub 文件来控制,要禁用此次功能,在
文件中加入"net.ifnames=0 biosdevname=0"即可
执行 grub2-mkconfig -o /boot/grub2/grub.cfg 命令生成更新 grub 配置参数。
#reboot
检验:
网卡配置
Controller eth0 192.168.117.212(管理网段)
eth1 none
Compute eth0 192.168.117.211(管理网段)
eth1 none
关闭防火墙和 selinux(所有节点)
#systemctl disable NetworkManager
#systemctl stop NetworkManager
#systemctl disable firewalld.service
#systemctl stop firewalld.service
#setenforce 0
vi /etc/selinux/config 中的 selinux = disable
搭建 openstack yum 源
(建议)可以在一台可以连外网的 Linux 上面
安装 yum-install-repository
#yum install -y yum-plugin-priorities
安装 Centos repository
#yum install -y centos-release-openstack-mitaka
安装 Rdo repository
#yum install -y https://rdoproject.org/repos/rdo-release.rpm
升级系统
#yum upgrade -y
安装 openstack 客户端
# yum install -y python-openstackclient
安装 Openstack-selinux
# yum install -y openstack-selinux
接着使用 reposync 将所有所需要的安装包都同步回来
将 openstack 所需的包上传至服务器(可用 xftp 上传)
安装 createrepo 工具(建议所有的 rpm 包都放在 sources 文件夹中)
#createrepo -p -d -o sources/(包的路径) sources/(仓库路径)
#vi /etc/yum.repos.d/openstack.repo(此处应保证只有该 repo,否则 yum 源将连接不上)
[openstack]
name=openstack
baseurl=file:///root/sources/
enabled=1
gpgcheck=0
#yum clean all
#yum list all
NTP 同步
Controller 节点
#yum install chrony 安装 chrony
配置/etc/chrony.conf
server NTP_SERVER iburst(NTP_SERVER 填 NTP 服务器)
剩余25页未读,继续阅读
刘藤伟泰
- 粉丝: 1
- 资源: 4
上传资源 快速赚钱
- 我的内容管理 收起
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
会员权益专享
最新资源
- 医院人力资源规划PPT模板.pptx
- 毕业论文ssm412影院在线售票系统.docx
- 大学毕业论文-—基于单片机的超声波流量计.doc
- 毕业设计(论文)--沉降监测网拟稳平差及程序设计.doc
- 基于ssm+mysql学生信息管理系统源码数据库论文.docx
- 浅谈linux操作系统的安全.doc
- 于基at89s51单片机超声波测距系统的设计-学位论文.doc
- 毕业论文安卓130短信管理(app).doc
- PPT常见问题教程.pdf
- 基于ssm+mysql高校毕业设计管理系统设计与实现.docx
- 医院信息化建设方案培训课件.ppt
- 最新审记软件行业办公室管理制度.pdf
- 基于PHP的网上书店的设计与实现.pptx
- 微机作业-c++基础从0到1
- 左框架三维造型、数控工艺及编程毕业设计.doc
- (完整word)软件著作权-源代码范本.doc
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论3