CN108848136A - A kind of shared storage method of cloud service cluster - Google Patents

A kind of shared storage method of cloud service cluster Download PDF

Info

Publication number
CN108848136A
CN108848136A CN201810540387.8A CN201810540387A CN108848136A CN 108848136 A CN108848136 A CN 108848136A CN 201810540387 A CN201810540387 A CN 201810540387A CN 108848136 A CN108848136 A CN 108848136A
Authority
CN
China
Prior art keywords
logical volume
cloud service
physical store
shared storage
dilatation
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.)
Granted
Application number
CN201810540387.8A
Other languages
Chinese (zh)
Other versions
CN108848136B (en
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.)
Anhui Sun Create Electronic Co Ltd
Original Assignee
Anhui Sun Create Electronic 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 Anhui Sun Create Electronic Co Ltd filed Critical Anhui Sun Create Electronic Co Ltd
Priority to CN201810540387.8A priority Critical patent/CN108848136B/en
Publication of CN108848136A publication Critical patent/CN108848136A/en
Application granted granted Critical
Publication of CN108848136B publication Critical patent/CN108848136B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0815Network architectures or network communication protocols for network security for authentication of entities providing single-sign-on or federations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present invention relates to a kind of shared storage methods of cloud service cluster, include the following steps:Physical store is connected to server, storage pool is constructed to physical store by operating system;Storage pool is divided into multiple logical volumes;The example A carry of cloud service authorizes example A and writes power on a certain logical volume A, and the status information of example A is written in logical volume A;When dilatation example B, by example B carry on logical volume A, and authorizes example B and read power;Example B reads the status information of the example A in logical volume A, and then example B inherits the state of example A.State when shared storage method of the invention can be realized the instance migration of cloud service is inherited and state synchronized, improves the operational efficiency of cloud service.

Description

A kind of shared storage method of cloud service cluster
Technical field
The invention belongs to cloud service fields, in particular relate to a kind of shared storage method of cloud service cluster.
Background technique
Cloud service is the increase, use and delivery mode of related service Internet-based, is usually directed to and passes through internet To provide the resource of dynamic easily extension and often virtualization.Cloud is a kind of metaphor saying of network, internet.Past is in figure Telecommunications network is often indicated with cloud, also is used to indicate the abstract of internet and underlying infrastructure later.Cloud service, which refers to, passes through net Service needed for network is obtained with on-demand, easy extension way.It is related to software, internet that this service can be IT, can also be it He services.It means computing capability also and can be used as that a kind of commodity are circulated by internet.
In cloud service, for the availability for the service of improving, it will usually start multiple examples for the same cloud service, jointly Service is provided.As long as any instance is available, entire cloud service is available.In this case, how to synchronize between multiple examples State is always a problem.Such as the cloud service being currently running creates to cope with the nonbursty network access real-time dilatation in peak Vertical example can not inherit the state of existing example, this leverages the overall operation efficiency of service.
As the continuous development of software industry is eliminated network environment differences and is brought to cope with user's access of high concurrent Service stability reduce, the cloud service of high efficient and reliable will become the first choice of following web services technologies.And the shape of cloud service The problems such as synchronous state with when instance migration of state is inherited, it would be highly desirable to solve.
Summary of the invention
According to problems of the prior art, the present invention provides a kind of shared storage methods of cloud service cluster, should State when method can be realized the instance migration of cloud service is inherited and state synchronized, improves the operational efficiency of cloud service.
For achieving the above object, the present invention provides a kind of shared storage method of cloud service cluster, including it is as follows Step:
Physical store is connected to server by S1, constructs storage pool to physical store by operating system;
Storage pool is divided into multiple logical volumes by S2;
S3, the example A carry of cloud service authorize example A and write power on a certain logical volume A, and the state of example A is believed Breath is written in logical volume A;
When S4, dilatation example B, by example B carry on logical volume A, and authorizes example B and read power;Example B, which is read, to patrol The status information of the example A in volume A is collected, and then inherits the state of example A.
Preferably, the physical store is using in monolithic hard disk, a group hard disc group, mechanical hard disk, solid state hard disk, flash disk One kind, the storage pool by increase physical equipment carry out dilatation and by reduce physical equipment carry out capacity reducing.
Preferably, logical volume can be with dilatation, capacity reducing, deletion, backup and recovery, and when logical volume dilatation, the appearance of logical volume Amount is no more than the remaining active volume of storage pool, and when logical volume capacity reducing, the capacity of logical volume is not less than having stored number in storage pool According to actual capacity.
Preferably, the status information includes log-on message, connection type, the software and hardware resources configuration of example.
The beneficial effects of the present invention are:
1) shared storage method of the invention by original example A and newly-built example B carry on identical logical volume, And authorize example A and write power, example B reading power, enable newly-built example B to obtain the status information of example A, and then realize The state synchronized of example B and example A, improves the operational efficiency of cloud service.
Detailed description of the invention
Fig. 1 is the step schematic diagram of shared storage method of the invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
As shown in Figure 1, including the following steps the present invention provides a kind of shared storage method of cloud service cluster:
1, physical store is connected to server, storage pool is constructed to physical store by operating system;
Specifically, the physical store is using in monolithic hard disk, a group hard disc group, mechanical hard disk, solid state hard disk, flash disk It is any, the storage pool by increase physical store carry out dilatation or by reduce physical store carry out capacity reducing.
2, storage pool is divided into multiple logical volumes;
Specifically, the logical volume has the function of dilatation, capacity reducing, deletion, backup and recovery, and when logical volume dilatation, The capacity of logical volume is no more than the remaining active volume of storage pool, and when logical volume capacity reducing, the capacity of logical volume is not less than storage pool In storing data actual capacity.
3, the example A carry of cloud service is on a certain logical volume A, and authorizes example A and write power, and the state of example A is believed Breath is written in logical volume A;
Specifically, the status information includes the log-on message, connection type, software and hardware resources configuration information of example.
4, it when dilatation example B, by example B carry on logical volume A, and authorizes example B and reads power;Example B, which is read, to patrol The status information of the example A in volume A is collected, and then example B inherits the state of example A.
Dispatching method of the invention is described in detail below with reference to embodiment and attached drawing.
Embodiment:
The operation system of certain company exploitation needs to save the log-on message of user, and (log-on message is stored in document form Local file system) so that user is not necessarily to execute register when accessing the operation system next time, to improve the easy-to-use of system Property.
With the growth of userbase, in order to cope with the concurrent access request of a large number of users, share server stress, the public affairs The operation system is transformed and is migrated to cloud platform by department.The cloud platform can according to user's amount of access number, it is dynamic to increase The running example for few operation system that adds deduct.
If certain user M has accessed an example A of operation system, and leaves log-on message, example A is by the log-on message Store local volume.After a period of time, cloud platform needs to increase the example of operation system according to amount of access judgement to reduce individually The load of example then creates the example B of the operation system.User M has accessed again operation system at this time, cloud platform by its Access request distributes to example B processing, and user M did not execute register on example B, and example B also just can not be at this Ground inquires the log-on message of user M, so user M needs to be logged in again to verify identity, reduces user experience.
In the above scene, shared storage method through the invention creates a logic in storage server in advance A is rolled up, logical volume A is remotely mounted to local in creation by the example A of operation system.When user M accesses operation system and leaves After log-on message, example A stores the log-on message to local, since logical volume A is from long-range carry, so the description The file of log-on message actually has been written into long-range logical volume A, and example A and unaware.Subsequent cloud platform dilatation goes out Example B, also carry remote logical volume A in an identical manner.When example B is accessed in user M, example B is attempted in local lookup The log-on message of user M, because logical volume A is from long-range carry, actually example B is an attempt in remote logical volume The log-on message of user M is searched on A.Because example A had stored the log-on message of user M on logical volume L before, Example B can get log-on message, so that the log-on message of authorised user M, eliminates the process logged in again, improve user Experience.
In conclusion state when shared storage method of the invention can be realized the instance migration of cloud service is inherited and shape State is synchronous, improves the operational efficiency of cloud service.

Claims (4)

1. a kind of shared storage method of cloud service cluster, which is characterized in that include the following steps:
Physical store is connected to server by S1, constructs storage pool to physical store by operating system;
Storage pool is divided into multiple logical volumes by S2;
S3, the example A carry of cloud service authorize example A and write power, the status information of example A is write on a certain logical volume A Enter into logical volume A;
When S4, dilatation example B, by example B carry on logical volume A, and authorizes example B and read power;Example B reads logical volume The status information of example A in A, and then example B inherits the state of example A.
2. a kind of shared storage method of cloud service cluster according to claim 1, it is characterised in that:In step S1, institute Physical store is stated using any one of monolithic hard disk, a group hard disc group, mechanical hard disk, solid state hard disk, flash disk, the storage Pond carries out capacity reducing by increasing physical store progress dilatation or by reducing physical store.
3. a kind of shared storage method of cloud service cluster according to claim 1, it is characterised in that:In step S2, patrol Collecting volume has the function of dilatation, capacity reducing, deletion, backup and recovery, and when logical volume dilatation, and the capacity of logical volume is no more than storage The remaining active volume in pond, when logical volume capacity reducing, the capacity of logical volume is not less than the actual capacity of storing data in storage pool.
4. a kind of shared storage method of cloud service cluster according to claim 1, it is characterised in that:The status information Log-on message, connection type, software and hardware resources configuration information including example.
CN201810540387.8A 2018-05-30 2018-05-30 Shared storage method of cloud service cluster Active CN108848136B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810540387.8A CN108848136B (en) 2018-05-30 2018-05-30 Shared storage method of cloud service cluster

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810540387.8A CN108848136B (en) 2018-05-30 2018-05-30 Shared storage method of cloud service cluster

Publications (2)

Publication Number Publication Date
CN108848136A true CN108848136A (en) 2018-11-20
CN108848136B CN108848136B (en) 2021-08-10

Family

ID=64211173

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810540387.8A Active CN108848136B (en) 2018-05-30 2018-05-30 Shared storage method of cloud service cluster

Country Status (1)

Country Link
CN (1) CN108848136B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112181317A (en) * 2020-11-10 2021-01-05 新华三大数据技术有限公司 Service data hierarchical storage method and device based on container cloud

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102664923A (en) * 2012-03-30 2012-09-12 浪潮电子信息产业股份有限公司 Method for realizing shared storage pool by utilizing Linux global file system
CN106934048A (en) * 2017-03-16 2017-07-07 北京搜狐新媒体信息技术有限公司 Online data moving method, agent node
CN107851127A (en) * 2015-07-28 2018-03-27 华为技术有限公司 Primary and replicate data library directory apparatus and method are stored using different pieces of information type of memory
CN106933508B (en) * 2017-02-14 2020-05-12 深信服科技股份有限公司 Application container migration method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102664923A (en) * 2012-03-30 2012-09-12 浪潮电子信息产业股份有限公司 Method for realizing shared storage pool by utilizing Linux global file system
CN107851127A (en) * 2015-07-28 2018-03-27 华为技术有限公司 Primary and replicate data library directory apparatus and method are stored using different pieces of information type of memory
CN106933508B (en) * 2017-02-14 2020-05-12 深信服科技股份有限公司 Application container migration method and device
CN106934048A (en) * 2017-03-16 2017-07-07 北京搜狐新媒体信息技术有限公司 Online data moving method, agent node

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
SDASD-DG: "OpenStackI版本实例热迁移", 《豆丁网》 *
WEIXIN_30414635: "openstack热迁移和冷迁移", 《CSDN》 *
WENYEFBL: "centos 6.5下i版本实例热迁移", 《ITPUB博客》 *
腾讯云TSTACK: "聊聊腾讯云TStack上云Oracle的应用", 《看点快报》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112181317A (en) * 2020-11-10 2021-01-05 新华三大数据技术有限公司 Service data hierarchical storage method and device based on container cloud
CN112181317B (en) * 2020-11-10 2022-08-19 新华三大数据技术有限公司 Service data hierarchical storage method and device based on container cloud

Also Published As

Publication number Publication date
CN108848136B (en) 2021-08-10

Similar Documents

Publication Publication Date Title
CN101370030B (en) Resource load stabilization method based on contents duplication
CN103842969B (en) Information processing system
CN103365929B (en) The management method of a kind of data base connection and system
CN103218175B (en) The cloud storage platform access control system of many tenants
CN103116661B (en) A kind of data processing method of database
CN105335513B (en) A kind of distributed file system and file memory method
CN102833580B (en) Based on HD video application system and the method for infiniband
US20110010338A1 (en) Distributed Database System
CN103455577A (en) Multi-backup nearby storage and reading method and system of cloud host mirror image file
CN102571916A (en) Framework of leasing software of cloud storage space and operating method of framework
CN104142957A (en) Method and system for regional medical treatment-orientated data sharing
CN104156810A (en) Power dispatching production management system based on cloud computing and realization method of power dispatching production management system
CN102982182B (en) Data storage planning method and device
CN104462185A (en) Digital library cloud storage system based on mixed structure
CN101799797A (en) Dynamic allocation method of user disk quota in distributed storage system
CN107330580A (en) Power marketing Base data platform construction method
CN105912698A (en) Deletion method and system of data file in disk
CN104572505A (en) System and method for ensuring eventual consistency of mass data caches
CN110083306A (en) A kind of distributed objects storage system and storage method
CN107491549A (en) A kind of data processing method and system
CN113806300A (en) Data storage method, system, device, equipment and storage medium
CN110795416A (en) File copying method, device, equipment and readable storage medium
CN102820998B (en) Realize the dual computer fault-tolerant service system towards office application and date storage method thereof
CN106383671A (en) Block device storage cluster capability expansion system and method
CN204926097U (en) Memory system is kept apart to data

Legal Events

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