CN105635276B - The method that cloud platform distributed physical volume object moves to non-distributed storage - Google Patents

The method that cloud platform distributed physical volume object moves to non-distributed storage Download PDF

Info

Publication number
CN105635276B
CN105635276B CN201511017592.9A CN201511017592A CN105635276B CN 105635276 B CN105635276 B CN 105635276B CN 201511017592 A CN201511017592 A CN 201511017592A CN 105635276 B CN105635276 B CN 105635276B
Authority
CN
China
Prior art keywords
distributed
volume
storage
memory system
volume object
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
CN201511017592.9A
Other languages
Chinese (zh)
Other versions
CN105635276A (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.)
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 CN201511017592.9A priority Critical patent/CN105635276B/en
Publication of CN105635276A publication Critical patent/CN105635276A/en
Application granted granted Critical
Publication of CN105635276B publication Critical patent/CN105635276B/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/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/563Data redirection of data network streams
    • 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]

Abstract

The present invention relates to cloud platform storage technical field of virtualization, especially a kind of cloud platform distributed physical volume object moves to the method that non-distributed stores.The present invention obtains distributed physical volume object information first;Obtain distributed memory system information;Judge whether that distributed memory system possesses storage object number greater than 2, if continuing to execute migration process;Otherwise just migration failure;Judge whether that distributed memory system available space is greater than physical volume gross space, if continuing to execute migration process, otherwise just migration failure;Distributed memory system rejects physics volume object;Local volume management creates physical volume;Extend volume group;Last physical volume provides non-distributed storage service.The problems such as storage scheme is not suitable with user's use habit of cloud computing platform, physical volume migration can only be operated by way of manual, moving method is not general enough, has been planned in present invention solution;It can be applied to manage various Storage Virtualization types again on planning field.

Description

The method that cloud platform distributed physical volume object moves to non-distributed storage
Technical field
The present invention relates to cloud platform storage technical field of virtualization, especially a kind of cloud platform distributed physical volume object is moved The method for moving on to non-distributed storage.
Background technique
The general cloud computing platform newly built, the more difficult planning of memory space, and be locally stored, centrally stored and distribution The Cloud Server of formula storage, the advantages of respectively having itself and disadvantage.Such as Cloud Server cost performance height, the disk read-write being locally stored Network is not depended on, but reliability is lower, disk read-write performance is lower;And the Cloud Server of distributed storage have high reliability and High-performance, but rely on network and network switch pressure can be greatly increased, and there are many clients to be not intended to be ready purchasing price High optical fiber switch;As cloud platform develops for a long time, following problems are brought:
First is that originally planned be locally stored, centrally stored and distributed storage has been not suitable with cloud computing platform User's use habit.Have that largely idle distributed storage space occurs in the environment of portions of client and local storage space is inadequate Use phenomenon.
Second is that physical volume migration can only be operated by way of manual.
Third is that moving method is not general enough.Distributed memory system, which can only migrate, to be locally stored or centrally stored, Bu Nengtong When support both type.
In order to solve the problem above-mentioned, one kind is needed suitable for cloud platform distributed physical volume object and moves to non-distribution The method of formula storage, user can pass through cloud platform Autonomic Migration Framework physical volume.Cloud platform distributed physical volume moves to non-distribution Formula storage can be achieved with physical volume migration as long as distributed memory system possesses enough available spaces.
Summary of the invention
Present invention solves the technical problem that be to provide it is a kind of be suitable for cloud platform distributed physical volume object move to it is non- The method of distributed storage solves to have planned that storage scheme is not suitable with user's use habit of cloud computing platform, object originally The problems such as migration of reason volume can only be operated by way of manual, moving method is not general enough.
The technical solution that the present invention solves above-mentioned technical problem is:
The method includes the following steps:
Step 1: obtaining distributed physical volume object information;
Step 2: obtaining distributed memory system information;
Step 3: judging whether that distributed memory system possesses storage object number greater than 2, if performing the next step;It is no Then follow the steps 9;
Step 4: whether distributed memory system available space is greater than physical volume gross space, if performing the next step, otherwise Execute step 9;
Step 5: distributed memory system rejects physics volume object;
Step 6: local volume management creates physical volume;
Step 7: extension volume group;
Step 8: physical volume provides non-distributed storage service, executes step 10;
Step 9: migration failure;
Step 10: completing process.
The acquisition distributed physical volume object information, including distributed physical volume object name of the information, total storage sky Between etc. information;
The physics volume object is the storage object of distributed storage;
There are mainly two types of the physics volume objects: local disk and concentration storage logical units number;
The centrally stored logical unit number is the storage unit of the high-speed storage network of a centralized management.
The acquisition distributed memory system information, title, physics volume object number including distributed memory system, The information such as free memory and total memory space.
The distributed memory system rejects physics volume object, is deletion of physically volume object, is not re-used as storage object; Before migration, distributed memory system available space is greater than physical volume gross space;After rejecting, distributed memory system still has Available space guarantees that distributed storage virtual machine being capable of normal use.
The local volume management creates physical volume, and local volume management is rolled up by pvcreate order deletion of physically, order Format are as follows: pvcreate physical volume path;
The local volume management is a kind of mechanism being managed under Linux environment to disk partition.
The extension volume group, volume group increases physical volume, to extend total memory space;Command format are as follows: vgextend Volumegroup name claims physical volume path.
The method that the present invention moves to non-distributed storage by being suitable for cloud platform distributed physical volume object, physical volume Automatic mode is migrated across, artificial misoperation probability is reduced, improves cloud platform O&M convenience.The present invention is a kind of software skill Art is not migration physically, the general physical volume moving method in region;The present invention is moved suitable for distributed memory system It moves on to and is locally stored or centrally stored, be different from general not general enough method;The present invention finally moves to physical volume non- It is used on distributed memory system, is different from general internal migration method.
Detailed description of the invention
The following further describes the present invention with reference to the drawings:
Fig. 1 is flow chart;
Fig. 2 is building-block of logic of the invention.
Specific embodiment
There are many embodiments of the present invention, illustrates one of implementation method by taking shared cloud platform as an example here, such as schemes 1, shown in 2, specific implementation process is as follows
1, distributed physical volume object information is obtained, code is as follows:
2, distributed memory system information is obtained, code is as follows:
3, whether distributed memory system possesses storage object number greater than 2, and code is as follows:
4, whether distributed memory system available space is greater than physical volume gross space, and code is as follows:
5, distributed memory system rejects physics volume object, and code is as follows:
6, local volume management creates physical volume, and code is as follows:
7, volume group is extended, code is as follows:
8, physical volume provides non-distributed storage service;
Process terminates.

Claims (7)

1. a kind of method that cloud platform distributed physical volume object moves to non-distributed storage, it is characterised in that: the side Method includes the following steps:
Step 1: obtaining distributed physical volume object information;
Step 2: obtaining distributed memory system information;
Step 3: judging whether that distributed memory system possesses physics volume object number greater than 2, if performing the next step;Otherwise Execute step 9;
Step 4: whether distributed memory system available space, which is greater than single physical, is rolled up gross space, if performing the next step, otherwise Execute step 9;
Step 5: distributed memory system rejects physics volume object;
Step 6: non-distributed systems volume management creates physics volume object;
Step 7: extension volume group;
Step 8: the physics volume object of non-distributed systems provides non-distributed storage service, executes step 10;
Step 9: migration failure;
Step 10: completing process.
2. according to the method described in claim 1, it is characterized by: the distributed physical volume object information, including distribution Formula physical volume object information title, total storage space information;
The physics volume object is the storage unit of distributed storage;The physics volume object includes: local disk sum aggregate Middle storage logical units number;
The centrally stored logical unit number is the storage unit of the high-speed storage network of a centralized management;
The distributed memory system information, title, physics volume object number including distributed memory system can use storage Space and total storage space information.
3. according to the method described in claim 1, it is characterized by: the distributed memory system rejects physics volume object, It is deletion of physically volume object, is not re-used as the storage unit of distributed storage;Before migration, distributed memory system available space Gross space is rolled up greater than single physical;After rejecting, distributed memory system still has available space, guarantees that distributed storage is virtual Machine being capable of normal use.
4. according to the method described in claim 2, it is characterized by: the distributed memory system rejects physics volume object, It is deletion of physically volume object, is not re-used as the storage unit of distributed storage;Before migration, distributed memory system available space Gross space is rolled up greater than single physical;After rejecting, distributed memory system still has available space, guarantees that distributed storage is virtual Machine being capable of normal use.
5. method according to any one of claims 1 to 4, it is characterised in that: the non-distributed systems volume management wound Physics volume object is built, refers to the physics volume object rejected from distributed storage of creation, is i.e. physics volume object is from distributed storage Non-distributed systems volume management is moved to, non-distributed systems volume management creates physical volume, order lattice by pvcreate order Formula are as follows: pvcreate physical volume object path;
The non-distributed systems volume management is a kind of mechanism being managed under Linux environment to disk partition, is referred to non- Distributed storage is local.
6. method according to any one of claims 1 to 4, it is characterised in that: the extension volume group, volume group increase physics Volume object, to extend total memory space;Command format are as follows: vgextend volumegroup name claims physical volume object path.
7. according to the method described in claim 5, volume group increases physics volume object it is characterized by: the extension volume group, from And extend total memory space;Command format are as follows: vgextend volumegroup name claims physical volume object path.
CN201511017592.9A 2015-12-28 2015-12-28 The method that cloud platform distributed physical volume object moves to non-distributed storage Active CN105635276B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201511017592.9A CN105635276B (en) 2015-12-28 2015-12-28 The method that cloud platform distributed physical volume object moves to non-distributed storage

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201511017592.9A CN105635276B (en) 2015-12-28 2015-12-28 The method that cloud platform distributed physical volume object moves to non-distributed storage

Publications (2)

Publication Number Publication Date
CN105635276A CN105635276A (en) 2016-06-01
CN105635276B true CN105635276B (en) 2019-05-21

Family

ID=56049748

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201511017592.9A Active CN105635276B (en) 2015-12-28 2015-12-28 The method that cloud platform distributed physical volume object moves to non-distributed storage

Country Status (1)

Country Link
CN (1) CN105635276B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112087493B (en) * 2017-09-05 2022-02-22 华为技术有限公司 Request processing method, system on chip and public cloud management component
CN112463879B (en) * 2020-10-29 2023-01-06 苏州浪潮智能科技有限公司 Data volume synchronization method and equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103475732A (en) * 2013-09-25 2013-12-25 浪潮电子信息产业股份有限公司 Distributed file system data volume deployment method based on virtual address pool
CN103562879A (en) * 2011-05-26 2014-02-05 国际商业机器公司 Transparent file system migration to a new physical location
CN104270409A (en) * 2014-09-04 2015-01-07 国云科技股份有限公司 Method for efficiently utilizing centralized storage in cloud platform
CN104484279A (en) * 2014-12-05 2015-04-01 国云科技股份有限公司 Centralized storage over-allotment using method suitable for cloud computing

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8549519B2 (en) * 2011-08-19 2013-10-01 Hitachi, Ltd. Method and apparatus to improve efficiency in the use of resources in data center
US9081502B2 (en) * 2012-10-18 2015-07-14 Hitachi, Ltd. Method and apparatus of storage volume migration in cooperation with takeover of storage area network configuration

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103562879A (en) * 2011-05-26 2014-02-05 国际商业机器公司 Transparent file system migration to a new physical location
CN103475732A (en) * 2013-09-25 2013-12-25 浪潮电子信息产业股份有限公司 Distributed file system data volume deployment method based on virtual address pool
CN104270409A (en) * 2014-09-04 2015-01-07 国云科技股份有限公司 Method for efficiently utilizing centralized storage in cloud platform
CN104484279A (en) * 2014-12-05 2015-04-01 国云科技股份有限公司 Centralized storage over-allotment using method suitable for cloud computing

Also Published As

Publication number Publication date
CN105635276A (en) 2016-06-01

Similar Documents

Publication Publication Date Title
US11023286B2 (en) Container based service management
US10373284B2 (en) Capacity reservation for virtualized graphics processing
CN105429776B (en) Method and system for managing functions of virtual network
US10157214B1 (en) Process for data migration between document stores
US11194569B2 (en) Method, electronic device and medium for upgrading a hyper-converged infrastructure node
US9612766B2 (en) Systems and methods for shadow migration progress estimation
US10042627B2 (en) Cloud infrastructure for reducing storage facility code load suspend rate by redundancy check
US10698622B2 (en) Maintaining container to storage volume relations
CN105740063A (en) Data processing method and apparatus
US9602590B1 (en) Shadowed throughput provisioning
US10489356B1 (en) Truncate and append database operation
US20160283273A1 (en) Dynamic workload deployment for data integration services
CN106354548A (en) Virtual cluster creating and management method and device in distributed database system
CN105635276B (en) The method that cloud platform distributed physical volume object moves to non-distributed storage
CN109213429B (en) Storage management method and device
CN102855299A (en) Method for realizing iterative migration of distributed database without interrupting service
US10606495B2 (en) Creating a structurally aware block storage system
US20160291899A1 (en) Storage control device and storage system
CN104182503A (en) Cloud platform data access safety isolation method
US11055017B1 (en) Throttling a point-in-time snapshot copy operation within a data consistency application
CN105677237B (en) The method that platform non-distributed storage physical volume moves to distributed memory system
CN110399201A (en) A kind of method, apparatus and cloud management platform of openstack calculate node host maintenance
CN106325972A (en) Virtual machine management method and network equipment
CN106155846B (en) The method and apparatus that batch failback is executed to block object
US11119994B1 (en) Record-by-record live migration using segmentation

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 523808 19th Floor, Cloud Computing Center, Chinese Academy of Sciences, No. 1 Kehui Road, Songshan Lake Hi-tech Industrial Development Zone, Dongguan City, Guangdong Province

Applicant after: G-Cloud Technology Co., Ltd.

Address before: 523808 No. 14 Building, Songke Garden, Songshan Lake Science and Technology Industrial Park, Dongguan City, Guangdong Province

Applicant before: G-Cloud Technology Co., Ltd.

GR01 Patent grant
GR01 Patent grant