Openstack之Swift架构(Cloud Storage)

  Swift是OpenStack的子项目之一,也称为对象储存,适用于储存永久类型的静态数据,例如:虚拟机镜像文件、图片、存档备份等

  复制的三个副本如何联系在一起?

  让我们用一些具体场景和介绍一些组件,来描述副本如何联系在一块。

  Upload

  用户端调用Swift提供的REST API,PUT一个对象到一个已经存在的容器中。PUT http://swift.example.com/v1/account/container/new_object

  Cluster收到客户端的request,首先,系统将计算Data应当存放在哪个位置?根据Account name, Container name, Object name可以确定将要存放的区域(partition)。接着,开始在ring figures中查找对应的储存节点。然后,上传的data将被发送到各自对应的储存节点,在返回成功响应之前,至少需要成功写入三次,也就是说需要备份两份。接下来,容器数据库将异步更新

反映新的对象已经存在对应的节点。


  Download

  使用了一致的散列算法,partition名已经生成,在ring中查找将暴露出包含此partition的节点。接着,request将会到对应的储存节点进行对象提取,如果提取失败,request将会去别的副本节点进行提取data。

  Swift Cluster Architecture

  访问层传入API Request并且上传下载数据信息,是Object Storage System的重要组成部分,主要包括前段的负载均衡,SSL终端,认证server以及分布式运行的代理server。

 

转载于:https://www.cnblogs.com/moltboy/p/3161856.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Over 100 recipes to successfully set up and manage your OpenStack cloud environments with complete coverage of Nova, Swift, Keystone, Glance, Horizon, Neutron, and Cinder Overview Updated for OpenStack Grizzly Learn how to install, configure, and manage all of the OpenStack core projects including new topics like block storage and software defined networking Learn how to build your Private Cloud utilizing DevOps and Continuous Integration tools and techniques In Detail OpenStack is an open source cloud operating stack that was born from Rackspace and NASA and became a global success, developed by scores of people around the globe and backed by some of the leading players in the cloud space today. OpenStack Cloud Computing Cookbook, Second Edition will show you exactly how to install the components that are required to make up a private cloud environment. You will learn how to set up an environment that you manage just as you would a public cloud provider like Rackspace with the help of experienced OpenStack administrators and architects. We begin by configuring the key components such as identity, image compute, and storage in a safe, virtual environment that we will then build on this throughout the book. The book will also teach you about provisioning and managing OpenStack in the datacenter using proven DevOps tools and techniques. From installing or creating a sandbox environment using Vagrant and VirtualBox to installing OpenStack in the datacenter, from understanding logging to automating OpenStack installations, whatever level of experience or interest you have with OpenStack there is a chapter for you. Installation steps cover compute, object storage, identity, block storage volumes, image, horizon, software defined networking and DevOps tools for automating your infrastructure OpenStack Cloud Computing Cookbook, Second edition gives you clear step-by-step instructions to installing and running your own private cloud. What you will learn from this book Understand, install, configure, and manage Nova, the OpenStack cloud compute resource Dive headfirst into managing software defined networks with the OpenStack networking project and Open vSwitch Install and configure, Keystone, the OpenStack identity & authentication service Install, configure and operate the OpenStack block storage project: Neutron Install and manage Swift, the highly scalable OpenStack object storage service Gain hands on experience with the OpenStack dashboard Horizon Explore different monitoring frameworks to ensure your OpenStack cloud is always online and performing optimally Automate your installations using Vagrant and Chef. Create custom Windows and Linux images for use in your private cloud environment. Approach OpenStack Cloud Computing Cookbook Second Edition will give you clear step-by-step instructions to installing and running your own private cloud successfully. It is full of practical and applicable recipes that enable you to use the latest capabilities of OpenStack and implement them. The book explains every step in detail so that you can build your knowledge about how things work. Product Details Paperback: 396 pages Publisher: Packt Publishing; 2 edition (October 17, 2013) Language: English ISBN-10: 1782167587 ISBN-13: 978-1782167587
The Fourth Edition of the industry-acclaimed OpenStack Cloud Computing Cookbook, from four recognized experts, updated to the latest OpenStack build including Cinder, Nova, and Neutron. Key Features Over 100 recipes created by a team of OpenStack experts Updated to work with the latest OpenStack builds, with recipes covering the installation and use of OpenStack with Ansible It covers topics such as Keystone, Glance, Neutron, Nova, Cinder, and more, plus recipes for OpenStack storage, networking, and orchestrating workloads Test drive OpenStack using the accompanying Vagrant environment Book Description This is the fourth edition of the industry-acclaimed OpenStack Cloud Computing Cookbook, created by four recognized OpenStack experts. It has now been updated to work with the latest OpenStack builds, using tools and processes based on their collective and vast OpenStack experience. OpenStack Open Source Cloud software is one of the most used cloud infrastructures to support a wide variety of use cases, from software development to big data analysis. It is developed by a thriving community of individual developers from around the globe and backed by most of the leading players in the cloud space today. We make it simple to implement, massively scalable, and able to store a large pool of data and networking resources. OpenStack has a strong ecosystem that helps you provision your cloud storage needs. Add OpenStack's enterprise features to reduce the cost of your business. This book will begin by showing you the steps to build up an OpenStack private cloud environment using Ansible. You'll then discover the uses of cloud services such as the identity service, image service, and compute service. You'll dive into Neutron, the OpenStack Networking service, and get your hands dirty with configuring networks, routers, load balancers, and more. You'll then gather more expert knowledge on OpenStack cloud computing by managing your cloud's security and migration. After that, we delve into OpenStack Object storage and you'll see how to manage servers and work with objects, cluster, and storage functionalities. Finally, you will learn about OpenStack dashboard, Ansible, Keystone, and other interesting topics. What you will learn Understand, install, configure, and manage a complete OpenStack Cloud platform using OpenStack-Ansible Configure networks, routers, load balancers, and more with Neutron Use Keystone to setup domains, roles, groups and user access Learn how to use Swift and setup container access control lists Gain hands-on experience and familiarity with Horizon, the OpenStack Dashboard user interface Automate complete solutions with our recipes on Heat, the OpenStack Orchestration service as well as using Ansible to orchestrate application workloads Follow practical advice and examples to run OpenStack in production Who This Book Is For This book is written for cloud system engineers, system administrators, and technical architects who are moving from a virtualized environment to cloud environments. This book assumes that you are familiar with cloud computing platforms, and have knowledge of virtualization, networking, and managing Linux environments. Table of Contents Installing OpenStack with Ansible The OpenStack Client Keystone – OpenStack Identity Service Neutron – OpenStack Networking Nova – OpenStack Compute Glance – OpenStack Image Service Cinder – OpenStack Block Storage SwiftOpenStack Object Storage OpenStack Orchestration Using Heat and Ansible Using OpenStack Dashboard

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、C币套餐、付费专栏及课程。

余额充值