CN105573679B - 一种适用于分布式存储系统存储池资源映射规则的方法 - Google Patents

一种适用于分布式存储系统存储池资源映射规则的方法 Download PDF

Info

Publication number
CN105573679B
CN105573679B CN201510961270.3A CN201510961270A CN105573679B CN 105573679 B CN105573679 B CN 105573679B CN 201510961270 A CN201510961270 A CN 201510961270A CN 105573679 B CN105573679 B CN 105573679B
Authority
CN
China
Prior art keywords
storage
mapping ruler
rule
storage pool
memory system
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510961270.3A
Other languages
English (en)
Other versions
CN105573679A (zh
Inventor
马桂成
杨松
季统凯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
G Cloud Technology Co Ltd
Original Assignee
G Cloud Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by G Cloud Technology Co Ltd filed Critical G Cloud Technology Co Ltd
Priority to CN201510961270.3A priority Critical patent/CN105573679B/zh
Publication of CN105573679A publication Critical patent/CN105573679A/zh
Application granted granted Critical
Publication of CN105573679B publication Critical patent/CN105573679B/zh
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0604Improving or facilitating administration, e.g. storage management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0662Virtualisation aspects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/067Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

本发明涉及存储虚拟化技术领域,特别是一种适用于分布式存储系统存储池资源映射规则的方法。本发明首先获取存储池映射规则;然后编辑存储池映射规则;接着设置存储池映射规则;下一步解释存储池映射规则数据迁移;最后令存储池映射规则生效。本发明解决了分布式各个存储池的资源分配的问题,用户可以根据存储对象的性能差异而动态划分不同的存储池,客户可以通过不同的存储池,创建磁盘读写性能有差异的虚拟机系统盘,满足不同的客户对存储资源的需求。可应用于创建云计算的虚拟机系统盘、云盘。

Description

一种适用于分布式存储系统存储池资源映射规则的方法
技术领域
本发明涉及存储虚拟化技术领域,特别是一种适用于分布式存储系统存储池资源映射规则的方法。
背景技术
一般的公有云销售模式是IDC提供基础设施,其上构建一套虚拟化软件,对外提供门户平台共客户购买虚拟云主机等产品服务,类似传统的销售行业的直销模式,通过网上门户店铺形式将虚拟机云,主机的等产品服务直接销售给消费者。此模式需要云服务供应商投入比较大,且需要一定数量的销售人员、客户人员、业务人员进行推广等,承担大量的销售成本以及市场的风险。客户可以通过门户选购包年包月的销售虚拟机,存储支持大容量、高磁盘I/O两种产品。而通过云平台构建个性化公有云门户对外销售,能够减少企业投入,降低销售成本,让更多的人一起销售云资源,增大销量的同时也将转嫁了一部分市场风险,总体提高收益回报率。而云平台的存储虚拟化存在以下的问题:
一是原云平台分布式存储系统不能同时支持高磁盘I/O、普通磁盘I/O两种产品。
二是分布式存储系统支持划分存储池,但每个存储池都共享所有的存储对象,不支持存储池动态独享一部分存储对象。
为了以较少的成本投入即满足对客户对象存储方面的需求,需要有一种适用于分布式存储系统存储池资源映射规则的方法,通过配置存储池资源映射规则,实现不同存储池独享一部分存储对象,有效解决同时支持创建高磁盘I/O、普通磁盘I/O两种差异化产品给用户使用,等问题。
发明内容
本发明解决的技术问题在于提供一种适用于分布式存储系统存储池资源映射规则的方法,解决了不能同时支持高磁盘I/O和普通磁盘I/O两种产品、存储池不能动态独享一部分存储对象等问题。
本发明解决上述技术问题的技术方案是:
所述的方法是获取原存储池映射规则后,进行编辑、设置和解释存储池映射规则;再进行数据迁移,最后使存储池映射规则生效。
所述的存储映射规则包括存储对象列表、类型、存储集合、映射规则、池正在使用的规则等信息。
所述的存储对象包括节点存储集合和公共存储集合,节点存储集合包括这个节点包含的存储对象及存储对象权重;公共存储集合包括这个集合包含的节点存储集合及节点存储集合权重、存储对象及存储对象权重;所述的权重是存储空间的权重,权重越高,存放数据的比例更高;相反,权重越高,存放数据的比例更低。
所述的映射规则包括规则的ID、规则类型、规则对应的存储集合、规则优先选择的存储类型;
所述的存储类型,主要包括两种常用的类型:节点存储集合、存储对象;
所述的池正在使用的规则是池与规则的关系是多对一的关系,即一条规则可以对应多个池;通常多个存储池都默认使用同一条规则共享使用分布式存储系统的所有存储对象资源。
所述的编辑存储池映射规则包括新增映射规则、修改原默认规则所包含存储集合、修改存储池对应的映射规则等;
所述的设置存储池映射规则是将规则设置到分布式存储系统中;
所述的解释存储池映射规则是分布式存储系统解释每个存储池将会对应的存储集合;
所述的数据迁移是存储池把非映射规则包括存储对象的数据迁移到其所属存储池的存储对象上;
所述的存储池映射规则生效是分布式存储系统使新的存储池映射规则生效,新创建的存储卷会划分新映射规则所包含的存储对象上,而这些存储卷就可以用来创建虚拟机系统盘或者云盘。
本发明通过分布式存储系统存储池资源映射规则的方法,用户动态设置存储池资源映射规则,解决了不能同时支持高磁盘I/O和普通磁盘I/O两种产品、存储池不能动态独享一部分存储对象等问题。本发明区别于一般的分布式存储系统不能灵活根据存储集合来划分不同存储池独享存储资源的缺点。
附图说明
下面结合附图对本发明进一步说明:
图1为流程图;
图2为本发明逻辑结构图。
具体实施方式
本发明的实施方式有多种,这里以公有云平台为例说明其中一种实现方法,如图1、2所示,具体实施过程如下:
1、获取存储池映射规则;
/**
*获取存储池映射规则.
*@return PoolMapRule存储池映射规则
*/
public String getPoolMapRule(){
return Pools.getPoolMapRule();
}
2、用户自己手动编辑存储池映射规则
3、设置存储池映射规则;
/**
*设置存储池映射规则.
*@param pmr存储池映射规则
*@return boolean返回布尔类型结果
*/
public boolean setPoolMapRule(PoolMapRule pmr){
return Pools.setPoolMapRule(pmr);
}
4、解释存储池映射规则;
/**
*解释存储池映射规则.
*@param pmr存储池映射规则
*@return boolean返回布尔类型结果
*/
public void explain(PoolMapRule pmr){
Pools.explain(pmr);
}
5、数据迁移;
/**
*数据迁移.
*@return boolean无返回值
*/
public void reblance(){
Pools.reblance();
}
6、存储池映射规则生效;
/**
*存储池映射规则生效.
*@param volumeId云盘ID
*@param instanceIds虚拟机ID集合
*@return boolean返回布尔类型结果
*/
public boolean enable(PoolMapRule pmr){
return Pools.enable(pmr);
}
整个流程结束。

Claims (3)

1.一种适用于分布式存储系统存储池资源映射规则的方法,其特征在于:所述的方法是获取原存储池映射规则后,进行编辑、设置和解释存储池映射规则;再进行数据迁移,最后使存储池映射规则生效;
所述的存储池映射规则包括存储对象列表、类型、存储集合、映射规则、池正在使用的规则;
所述的存储池映射规则包括的映射规则包括规则的ID、规则类型、规则对应的存储集合、规则优先选择的存储类型;
所述的存储类型,主要包括两种常用的类型:节点存储集合、存储对象;
所述的池正在使用的规则是池与规则的关系是多对一的关系,即一条规则可以对应多个池;多个存储池都默认使用同一条规则共享使用分布式存储系统的所有存储对象资源。
2.根据权利要求1所述的方法,其特征在于:所述的存储对象包括节点存储集合和公共存储集合,节点存储集合包括这个节点包含的存储对象及存储对象权重;公共存储集合包括这个集合包含的节点存储集合及节点存储集合权重、存储对象及存储对象权重;所述的权重是存储空间的权重,权重越高,存放数据的比例更高;相反,权重越高,存放数据的比例更低。
3.根据权利要求1或2所述的方法,其特征在于:所述的编辑存储池映射规则包括新增映射规则、修改原默认规则所包含存储集合、修改存储池对应的映射规则;
所述的设置存储池映射规则是将规则设置到分布式存储系统中;
所述的解释存储池映射规则是分布式存储系统解释每个存储池将会对应的存储集合;
所述的数据迁移是存储池把非映射规则包括存储对象的数据迁移到其所属存储池的存储对象上;
所述的存储池映射规则生效是分布式存储系统使新的存储池映射规则生效,新创建的存储卷会划分新映射规则所包含的存储对象上,而这些存储卷就可以用来创建虚拟机系统盘或者云盘。
CN201510961270.3A 2015-12-18 2015-12-18 一种适用于分布式存储系统存储池资源映射规则的方法 Active CN105573679B (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510961270.3A CN105573679B (zh) 2015-12-18 2015-12-18 一种适用于分布式存储系统存储池资源映射规则的方法

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510961270.3A CN105573679B (zh) 2015-12-18 2015-12-18 一种适用于分布式存储系统存储池资源映射规则的方法

Publications (2)

Publication Number Publication Date
CN105573679A CN105573679A (zh) 2016-05-11
CN105573679B true CN105573679B (zh) 2019-10-11

Family

ID=55883873

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510961270.3A Active CN105573679B (zh) 2015-12-18 2015-12-18 一种适用于分布式存储系统存储池资源映射规则的方法

Country Status (1)

Country Link
CN (1) CN105573679B (zh)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106973119A (zh) * 2017-05-17 2017-07-21 国网山东省电力公司信息通信公司 一种电力企业存储资源管理系统
CN107577441B (zh) * 2017-10-17 2020-08-21 苏州浪潮智能科技有限公司 一种osd慢盘处理方法、系统、装置及计算机存储介质
CN108920095B (zh) * 2018-06-06 2021-06-29 深圳市脉山龙信息技术股份有限公司 一种基于crush的数据存储优化方法和装置
CN111182006B (zh) * 2018-11-09 2022-11-29 阿里巴巴集团控股有限公司 一种物理集群映射为云计算资源的方法及装置
CN109669631B (zh) * 2018-12-10 2022-05-27 浪潮(北京)电子信息产业有限公司 一种存储池规划方法、装置、设备及计算机可读存储介质
CN112631732B (zh) * 2020-12-30 2024-03-29 国云科技股份有限公司 批量ISO创建CephX认证虚拟机的实现方法及装置
CN113676511B (zh) * 2021-07-13 2024-03-12 阿里巴巴新加坡控股有限公司 一种云存储方法、系统、设备及存储介质
CN114138197B (zh) * 2021-11-28 2022-10-18 北京大道云行科技有限公司 一种在线跨池数据迁移方法及电子设备

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100437586C (zh) * 2005-10-21 2008-11-26 中国科学院计算技术研究所 一种用于共享存储的资源分配方法和分配系统
CN103327094A (zh) * 2013-06-19 2013-09-25 成都市欧冠信息技术有限责任公司 数据分布式存储方法与系统
CN103634401B (zh) * 2013-12-03 2015-11-25 北京京东尚科信息技术有限公司 一种存储数据副本的方法和终端装置以及服务器装置
CN104484130A (zh) * 2014-12-04 2015-04-01 北京同有飞骥科技股份有限公司 一种横向扩展存储系统的构建方法
CN104731915B (zh) * 2015-03-24 2019-03-22 上海爱数信息技术股份有限公司 一种分布式存储系统中磁盘设备映射方法

Also Published As

Publication number Publication date
CN105573679A (zh) 2016-05-11

Similar Documents

Publication Publication Date Title
CN105573679B (zh) 一种适用于分布式存储系统存储池资源映射规则的方法
US10846937B2 (en) Three-dimensional virtual environment
US9665915B1 (en) System and method for facilitating virtual goods gifting
US8174541B2 (en) Dividing three-dimensional space into location based virtual packets
Quelch et al. All business is local: Why place matters more than ever in a global, virtual world
US11030654B2 (en) Virtual item promotions via time-period-based virtual item benefits
US11587132B2 (en) System and method for pricing of virtual containers determined stochastically upon activation
Dawson et al. Strategic issues in international retailing
TW201017539A (en) System and method for prioritization of rendering policies in virtual environments
CN107346315A (zh) 对象数据关联索引系统及该系统的构建与应用方法
Keskin et al. A pricing model for cloud computing service
US20230162221A1 (en) Identity-recognition-based promotions using virtual containers
US10222953B2 (en) Systems and methods for editing virtual content of a virtual space
TWI698824B (zh) 多層次架構銷售系統的運作方法
Gupta et al. Concept of Metaverse
Fox et al. Geek meets chic: Four actions to jump-start advanced analytics in apparel
KR102638797B1 (ko) 메타버스 플랫폼과 연동되는 광고를 지원하기 위한 방법, 시스템 및 비일시성의 컴퓨터 판독 가능한 기록 매체
Asara Real Estate in the Metaverse
Li Cloud Service Strategies and Competition in the Chinese Market Among Major Technology Companies
Mukherjee Strategic Reframing for Retailing in a Post-COVID World: A Scenario Planning Approach
Bathla et al. Leveraging Big Data Analytics for Customer Experience Excellence in Metaverse
Layton A Tale of Two Systems: Cornucopias, an Aboriginal Community and the Framing of A Theory of Marketing Systems
Ibrahim The places to be
OFEK et al. JCPenney: Back in Business
CN106779886A (zh) 一种基于资源库的市场仿真系统及其加载方法

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant