CN107577425A - A kind of data migration method and device - Google Patents
A kind of data migration method and device Download PDFInfo
- Publication number
- CN107577425A CN107577425A CN201710729055.XA CN201710729055A CN107577425A CN 107577425 A CN107577425 A CN 107577425A CN 201710729055 A CN201710729055 A CN 201710729055A CN 107577425 A CN107577425 A CN 107577425A
- Authority
- CN
- China
- Prior art keywords
- controller
- lun
- mixing
- migration
- migrated
- 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.)
- Pending
Links
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The application, which provides a kind of data migration method and device, this method, may include:Obtain the load information of each controller in more controlled storage systems;Based on the load information of each controller got, it is determined that migration source controller;Determine the logical subspaces to be migrated on the controller of the migration source;Based on the load information of each controller inquired, it is determined that corresponding with the logical subspaces to be migrated migrate target controller;Data Migration notice is sent to migration source controller, so that the migration source controller is by the Data Migration of the logical subspaces to be migrated to the migration target controller.The method provided using the application, the load balancing of each controller in more controlled storage systems can be achieved.
Description
Technical field
The application is related to field of storage, more particularly to a kind of more control memory technologies.
Background technology
More controlled storage systems can refer to the storage system being made up of more storage devices, and each storage device may include one
Individual or multiple controllers.Controller is the core component of storage system, for data transmit-receive, data storage and data protection
Deng.
The performance quality of controller directly determines the traffic handing capacity of more controlled storage systems, therefore how to balance each control
The load of device processed just turns into urgent problem to be solved.
The content of the invention
In view of this, the application provides a kind of data migration method and device, is respectively controlled to realize in more controlled storage systems
The load balancing of device processed.
Specifically, the application is achieved by the following technical solution:
According to the first aspect of the application, there is provided a kind of data migration method, methods described are applied to more controlled storage systems
Management equipment, creating in more controlled storage systems has mixing LUN, the mixing LUN to be divided into some logical subspaces,
When creating the mixing LUN, the logical subspaces are assigned to multiple controllers in more controlled storage systems;It is described
Method includes:
Obtain the load information of each controller in more controlled storage systems;
Based on the load information of each controller got, it is determined that migration source controller;
Determine the logical subspaces to be migrated on the controller of the migration source;
Based on the load information of each controller inquired, it is determined that corresponding with the logical subspaces to be migrated move
Move target controller;
Data Migration notice is sent to migration source controller, so that the migration source controller is by the logic to be migrated
The Data Migration of subspace is to the migration target controller.
According to the second aspect of the application, there is provided a kind of data migration device, described device are applied to more controlled storage systems
Management equipment, creating in more controlled storage systems has mixing LUN, the mixing LUN to be divided into some logical subspaces,
When creating the mixing LUN, the logical subspaces are assigned to multiple controllers in more controlled storage systems;It is described
Device includes:
Acquiring unit, for obtaining the load information of each controller in more controlled storage systems;
Migration source determining unit, for the load information based on each controller got, it is determined that the control of migration source
Device;
Logical subspaces determining unit, for determining the logical subspaces to be migrated on the controller of the migration source;
Target determination unit is migrated, for the load information based on each controller inquired, it is determined that being treated with described
Migrate migration target controller corresponding to logical subspaces;
Notification unit, for sending Data Migration notice to migration source controller, so that the migration source controller will
The Data Migration of the logical subspaces to be migrated is to the migration target controller.
The application provides a kind of data migration method, and first, more controlled storage systems that the application provides, which create, mixing
LUN, mixing LUN are divided into some logical subspaces, and each logical subspaces are assigned to more in more controlled storage systems
Individual controller.
Secondly, the management equipment in more controlled storage systems can obtain more control storages when default measurement period reaches
The load information of each controller in system, and can the load information based on each controller got, it is determined that migration source
Controller.The management equipment can determine that the logical subspaces to be migrated on the controller of the migration source.In addition, management equipment may be used also
Based on the load information of each controller inquired, it is determined that migration target controller.Management equipment can notify the migration
Source controller, so that the migration source controller is by the Data Migration of the logical subspaces to be migrated to the migration target control
Device.
On the one hand, unlike traditional LUN memory cell, traditional LUN memory cell is typically to configure a control
On device processed, and the mixing LUN that the application proposes is divided into some logical subspaces, and each logical subspaces are configured in difference
Controller on, due to LUN storage resource is distributed on multiple controllers, pass through multiple logics to LUN memory cell
The management of subspace, realize the management to LUN memory cell so that it is equal that each controller in more controlled storage systems reaches load
Weighing apparatus, drastically increase the resource access performance of more controlled storage systems.
On the other hand, management equipment can periodically obtain the load information in each controller, and based on each controller
Load information, determine migration source controller and migration target controller, management equipment can informing removal source controller so that
The migration source controller is by the Data Migration in logical subspaces to be migrated to target controller.Because management equipment can be periodically
Ground triggers the Data Migration that will be loaded on larger migration source controller to target controller is migrated automatically, to balance each controller
On load, so as to realize the load balancing of each controller, substantially increase the performance of each controller.
Brief description of the drawings
Fig. 1 is a kind of flow chart of data migration method shown in the exemplary embodiment of the application one;
Fig. 2 is a kind of hardware configuration of data migration device place management equipment shown in the exemplary embodiment of the application one
Figure;
Fig. 3 is a kind of block diagram of data migration device shown in the exemplary embodiment of the application one.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to
During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistent with the application.On the contrary, they be only with it is such as appended
The example of the consistent apparatus and method of some aspects be described in detail in claims, the application.
It is only merely for the purpose of description specific embodiment in term used in this application, and is not intended to be limiting the application.
" one kind " of singulative used in the application and appended claims, " described " and "the" are also intended to including majority
Form, unless context clearly shows that other implications.It is also understood that term "and/or" used herein refers to and wrapped
Containing the associated list items purpose of one or more, any or all may be combined.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the application
A little information should not necessarily be limited by these terms.These terms are only used for same type of information being distinguished from each other out.For example, do not departing from
In the case of the application scope, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as
One information.Depending on linguistic context, word as used in this " if " can be construed to " ... when " or " when ...
When " or " in response to determining ".
More controlled storage systems generally include multiple memory node equipment, and controller is configured with each memory node equipment.
Common more controlled storage systems generally comprise dual control storage system, four controlled storage systems.
In dual control storage system, two controllers are generally according to Acitve-Active modes or Active-Passive
Mode is run, when a controller failure, by the business of another controller taking over fault controller;If two controls
Device simultaneous faults, service disconnection will be caused.
Application server can pass through two controller access LUN memory cell, i.e. LUN memory cell generally has 2 roads
Footpath, its path bandwidth are that single link bandwidth multiplies 2;From the point of view of redundancy, the paths of tolerable 1 disconnect, if 2 paths are simultaneously
Disconnect, service disconnection will be caused.
In four controlled storage systems, four controllers provide business simultaneously.The four control storage patient failed controllers of equipment
Number and the implementation of producer have relation, in the case of optimal, can tolerate 3 controller failures;If 4 controllers
Simultaneous faults, service disconnection will be caused.
Application server can pass through four controller access LUN memory cell, i.e. LUN memory cell generally has 4 roads
Footpath, its path bandwidth are that single link bandwidth multiplies 4;From the point of view of redundancy, the paths of tolerable 4 disconnect, if 4 paths are simultaneously
Disconnect, service disconnection will be caused.
From the foregoing, it will be observed that in common more controlled storage systems, on the one hand, the band of application server access LUN memory cell
It is wide to be limited by above-mentioned dual control and four controls.On the other hand each each Self management of memory node equipment memory space of oneself, makes
Obtain traffic pressure to concentrate in some memory node equipment, can not effectively play the advantage of more controlled storage systems.
In view of this, the application provides a kind of data migration method, and first, more controlled storage systems that the application provides create
There is mixing LUN, mixing LUN is divided into some logical subspaces, and each logical subspaces are assigned to more controlled storage systems
In multiple controllers.
Secondly, the management equipment in more controlled storage systems can obtain more control storages when default measurement period reaches
The load information of each controller in system, and can the load information based on each controller got, it is determined that migration source
Controller.The management equipment can determine that the logical subspaces to be migrated on the controller of the migration source.In addition, management equipment may be used also
Based on the load information of each controller inquired, it is determined that migration target controller.Management equipment can notify the migration
Source controller, so that the migration source controller is by the Data Migration of the logical subspaces to be migrated to the migration target control
Device.
On the one hand, unlike traditional LUN memory cell, traditional LUN memory cell is typically to configure a control
On device processed, and the mixing LUN that the application proposes is divided into some logical subspaces, and each logical subspaces are configured in difference
Controller on, due to LUN storage resource is distributed on multiple controllers, pass through multiple logics to LUN memory cell
The management of subspace, realize the management to LUN memory cell so that it is equal that each controller in more controlled storage systems reaches load
Weighing apparatus, drastically increase the resource access performance of more controlled storage systems.
On the other hand, management equipment can periodically obtain the load information in each controller, and based on each controller
Load information, determine migration source controller and migration target controller, management equipment can informing removal source controller so that
The migration source controller is by the Data Migration in logical subspaces to be migrated to target controller.Because management equipment can be periodically
Ground triggers the Data Migration that will be loaded on larger migration source controller to target controller is migrated automatically, to balance each controller
On load, so as to realize the load balancing of each controller, substantially increase the performance of each controller.
Before the method that the application provides is described in detail, some concepts first mentioned to the application are carried out in detail
Carefully illustrate.
Above-mentioned more controlled storage systems may include multiple memory node equipment, may include in each memory node equipment one or
The multiple controllers of person.Because controller is the core component of storage system, for data transmit-receive, data storage and data protection
Deng, the load of memory node equipment in addition is also typically to be determined by the load of controller, therefore, be all in this application with
Controller is unit to carry out the migration of data.
Above-mentioned management equipment, it can be third party entity corresponding to above-mentioned more controlled storage systems, may be commonly referred to as management and set
It is standby, can be a server or virtual machine etc..The management equipment can be used for managing the memory node in more controlled storage systems
Equipment, such as management mixing LUN layout, it is determined whether need Data Migration and determine the control of migration source and move target control
Device processed etc..
Above-mentioned mixing LUN, unlike traditional LUN memory cell, traditional LUN memory cell is typically to configure one
On individual controller, and the mixing LUN that the application proposes is divided into some logical subspaces, when creating the mixing LUN,
Each logical subspaces are configured on different controllers.
Generally, each mixing LUN mark and mixing corresponding with mixing LUN are described in above-mentioned management equipment
The corresponding relation (i.e. the first corresponding relation) of the mark of LUN layouts.Mixing LUN layouts describe what mixing LUN was marked off
The logical address section of all logical subspaces and corresponding relation (i.e. the second correspondence of the affiliated controller identifier of the logical subspaces
Relation).
Also the mark mixing LUN corresponding with mixing LUN of the mixing LUN present in local is described in controller noted above
The corresponding relation (i.e. the 3rd corresponding relation) of the mark of layout.Here in order to be laid out with the mixing LUN recorded in management equipment into
Row is distinguished, and the mixing LUN recorded on controller layouts are referred to as into mixing LUN segment tables.Mixing LUN segment tables describe the mixing
The logical address section for all logical subspaces that LUN is marked off and the corresponding relation of the affiliated controller identifier of the logical subspaces
(i.e. the 4th corresponding relation), and physical space corresponding to the logical subspaces identify.Wherein, for mixed on this controller
LUN logical subspaces are closed, the affiliated controller identifier of the logical subspaces can record as the local mark of this controller of representative.It is right
In the logical subspaces of the mixing LUN on other controllers, physical space mark is recordable corresponding to the logical subspaces
To represent the mark of sky.
For example, it is assumed that more controlled storage systems include 3 memory node equipment, respectively equipment 1, equipment 2 and equipment 3;
Include two controllers, respectively controller M and controller N in equipment 1, include a controller in equipment 2, be controller
X, include two controllers in equipment 3, respectively control Y and controller Z.There are three to mix assuming that more controlled storage systems create
LUN, respectively LUN-A, LUN-B and LUN-C are closed, it is respectively UU1, UU2 and UU3 that it, which is identified,.
Only illustrated by taking LUN-A as an example, it is assumed that LUN-A is divided into 3 logical subunits, and respectively logic is single
First 1- logical subunits 3, logical address section corresponding to logical subunit 1- logical subunits 3 is respectively 0-200GB, 201GB-
400GB and 401GB-600GB.Assuming that logical subunit 1 to logical subunit 3 be respectively allocated to control M, controller N with
And controller X.
1) for management equipment, each mixing LUN recorded in management equipment mark and corresponding with mixing LUN
The corresponding relation (i.e. the first corresponding relation) of the mark of LUN layouts is mixed, as shown in table 1.
Mix LUN identification | Mix LUN layout marks |
UU1 | D1 |
UU2 | D2 |
UU3 | D3 |
Table 1
The mixing LUN layouts for being identified as D1 are as shown in table 2.
The logical address section of logical subspaces | The affiliated controller identifier of logical subspaces |
0-200GB | M |
201GB-400GB | N |
401GB-600GB | X |
Table 2
2) assume LUN-A, LUN-B and LUN-C be present on controller M, then each mixing LUN's recorded on controller M
The corresponding relation of mark and the mark of mixing LUN segment tables corresponding with mixing LUN, as shown in table 3.
Mix LUN identification | Mix LUN segment tables mark |
UU1 | T1 |
UU2 | T2 |
UU3 | T3 |
Table 3
Illustrated below by taking T1 as an example, T1 mixing LUN segment tables are identified as on controller M, as shown in table 4.
Table 4
3) assume LUN-A and LUN-B be present on controller N, then each mixing LUN recorded on controller N mark and with
The corresponding relation of the mark of mixing LUN segment tables corresponding to mixing LUN, as shown in table 5.
Mix LUN identification | Mix LUN segment tables mark |
UU1 | T1 |
UU2 | T2 |
Table 5
Illustrated below by taking T1 as an example, T1 mixing LUN segment tables are identified as on controller N, as shown in table 6.
Table 6
4) assume LUN-A be present on controller X, then each mixing LUN recorded on controller X mark and mixed with this
The corresponding relation of the mark of mixing LUN segment tables corresponding to LUN, as shown in table 7.
Mix LUN identification | Mix LUN segment tables mark |
UU1 | T1 |
Table 7
Illustrated below by taking T1 as an example, T1 mixing LUN segment tables are identified as on controller X, as shown in table 8.
Table 8
In the embodiment of the present application, when the mixing LUN recorded in management equipment all logical subspaces marked off
The corresponding relation of logical address section and the affiliated controller identifier of the logical subspaces (i.e. the second corresponding relation) and above-mentioned more controls
The logical address section for all logical subspaces that the mixing LUN recorded on controller in storage system is marked off and this patrol
When the corresponding relation (i.e. the 4th corresponding relation) of volume affiliated controller identifier in subspace is inconsistent, with recorded in management equipment the
Two corresponding relations are defined.
When the controller in above-mentioned more controlled storage systems determines a certain mixing LUN the 4th correspondence that is recorded on this controller
When relation and inconsistent the second corresponding relation recorded in above-mentioned management equipment, the controller can send pin to above-mentioned management equipment
Acquisition to mixing LUN the second corresponding relation is asked.
The management equipment can search mixing LUN the second corresponding relation after acquisition request is received, and by this
Two corresponding relations return to the controller.The controller can be based on second corresponding relation after second corresponding relation is obtained
The local mixing LUN layouts of renewal.
In a kind of optional implementation, in order that obtaining controller easily confirms the 4th of a certain mixing LUN thereon
Corresponding relation whether the mixing LUN with being recorded in management equipment the second corresponding relation it is consistent, in management equipment and controller
On can more new logo that each recording needle is laid out to mixing LUN.
In the state of initialization, the more new logo (the i.e. first mark) of the mixing LUN layouts recorded in management equipment
The more new logo (the i.e. second more new logo) that LUN layouts are mixed with this recorded on controller is identical.When in management equipment
Mixing LUN layouts when changing, management equipment can change mixing LUN the first more new logo, for example make the mixing
The value of the more new logo of the first of LUN adds 1 etc..
When the memory node equipment off-line belonging to controller is reached the standard grade again, the controller can first judge to record on this controller
Mixing LUN the second more new logo mixed with this recorded in management equipment LUN the first renewal identify whether it is consistent.
If the mixing LUN recorded on this controller the second more new logo mixes with this recorded in management equipment
The more new logo of the first of LUN is consistent, then shows that mixing LUN layouts do not change in management equipment.
If the mixing LUN recorded on this controller the second more new logo mixes with this recorded in management equipment
The more new logo of the first of LUN is inconsistent, then shows that mixing LUN layouts are changed in management equipment.Controller passes through upper
The process of description is stated, mixing LUN the second corresponding relation is obtained from management equipment, and based on mixing LUN the second correspondence
Relation, which updates, records the 4th corresponding relation (the logic son sky of the mixing LUN layout records i.e. on this controller on this controller
Between logical address section and corresponding relation with the affiliated controller identifier of the logical subspaces), while by mixing LUN layouts
The value of second more new logo is revised as the value of mixing LUN the first more new logo.
It is, of course, also possible to using other method come cause controller judge mixing LUN thereon the 4th corresponding relation and
Whether the second corresponding relation of the mixing LUN in management equipment is consistent, and more new logo is a kind of implementation, is only here
It is exemplarily illustrated, it not limited specifically.
Below, the data migration method of the application offer is provided in detail.
Referring to Fig. 1, Fig. 1 is a kind of flow chart of data migration method shown in the exemplary embodiment of the application one.The party
The management equipment that method can be applied in more controlled storage systems, creating in more controlled storage systems has mixing LUN, the mixing
LUN is divided into some logical subspaces, and when creating the mixing LUN, the logical subspaces are assigned to more controls
Multiple controllers in storage system.This method may include step as follows.
Step 101:Obtain the load information of each controller in more controlled storage systems;
Wherein, the load information can be average CPU utilization of controller etc..Merely just load information is carried out
Exemplarily illustrate, it is not carried out specifically defined.
To load as exemplified by average CPU utilization, the data migration method provided the application is described in detail.
In the embodiment of the present application, in default measurement period, each controller can count this control every preset time period
Cpu busy percentage on device processed, and count the IO numbers of each logical subspaces on this controller.At the end of measurement period,
Each controller can calculate the IO of average CPU utilization and each logical subspaces of this controller in the default measurement period
Sum.
For example, default measurement period is 8:30:00 to 18:00:00, then controller can be from 8:30:00 starts, statistics
Cpu busy percentage on this controller, and the IO numbers of each logical subspaces on this controller.Then 18:00:When 00,
Calculate the average CPU utilization of this controller and the IO sums of each logical subspaces.
The default measurement period can be set by developer, for example the default measurement period can be entered by service conditions
Row setting, such as workaday 8:30:00 to 18:00:00.Certainly, developer can also be set according to other demands, here
Simply default measurement period is exemplarily illustrated, the default measurement period not limited specifically.
In the embodiment of the present application, management equipment can be obtained regularly presets the negative of each controller in measurement period at this
Information carrying ceases, to be controlled the Data Migration between device.
For example, management equipment can be daily 20:00:00 obtains the same day each controller 8:30:00 to 18:00:00 meter
The IO sums of each logical subspaces on obtained average CPU utilization and the controller.Certainly, merely just to pipe
Reason equipment is exemplarily illustrated at the time of obtaining the load information of each controller, it is not carried out specifically defined.
Step 102:Based on the load information of each controller got, it is determined that migration source controller;
Step 103:Determine the logical subspaces to be migrated on the controller of the migration source;
Step 104:Based on the load information of each controller inquired, it is determined that migration target controller;
In the embodiment of the present application, when management equipment gets the load information (such as average CPU utilization) of each controller
Afterwards, controller of the load higher than default first threshold may be selected in management equipment, forms migration source controller set.
Then, the order that management equipment can be according to load from large to small, the controller in migration source controller set is entered
Row sequence.After the completion of sequence, management equipment can choose the controller in the migration source set after sequence successively, be used as the
One target controller.Management equipment, which can determine whether to whether there is on the first object controller, belongs to patrolling for the first object controller
Volume subspace, if the logical subspaces for belonging to the first object controller on the first object controller be present, it is determined that this
One target controller is migration source controller.If it is not present on the first object controller and belongs to patrolling for the first object controller
Volume subspace, then can choose next controller in the migration source controller set after sequence, as first object controller,
Continue the above-mentioned judgement with the presence or absence of logical subspaces.
Wherein, the first threshold can be by developer's sets itself, and the first threshold is load threshold, first threshold
Value can be used for the controller for making management equipment preliminary screening heavier loads.Such as can be when load is average CPU utilization, should
First threshold is average CPU utilization threshold value, for example the cpu busy percentage threshold value can be 80%.
It should be noted that judge on the first object controller with the presence or absence of the logic for belonging to the first object controller
Subspace, it is to judge with the presence or absence of physical space to belong on the first object controller mixing of the first object controller
LUN。
Certainly, it can also be multiple that the migration source controller that management equipment is determined, which can be one,.Moved below with one
Exemplified by the controller of shifting source, the logical subspaces to be migrated on the migration source controller pair are determined, and determine and logic to be migrated
Migration target controller is described in detail corresponding to subspace.Determine the logical subspaces to be migrated of other migration sources control
And it is corresponding migration target controller it is identical with this, repeat no more here.
In the embodiment of the present application, after above-mentioned migration source controller is determined, management equipment can be in the migration source device
In determine logical subspaces to be migrated.
It is determined that when, management equipment can be based on belonging to the first object controller on the migration source controller got
The IO sums of each logical subspaces, are then selected, and it is logical subspaces to be migrated to go out the maximum logical subspaces of IO sums.
It is determined that after logical subspaces to be migrated on the controller of above-mentioned migration source, management equipment can determine that the migration source is controlled
Migration target controller corresponding to device processed.
It is determined that migration target controller when, management equipment can the load information based on each controller got, selection
Load is not higher than the controller of default Second Threshold, composition migration target controller set.Management equipment can according to load by
As low as big order, the controller in the migration target control set is ranked up.
After the completion of sequence, management equipment can choose the control in the migration target controller set after the sequence successively
Device, as the second target controller.
It is upper that management equipment can determine whether the residual capacity of physical space corresponding to second target controller is more than or equal to
State the capacity for the logical subspaces to be migrated determined.If the residual capacity of physical space is big corresponding to second target controller
In the capacity equal to the above-mentioned logical subspaces to be migrated determined, then determined using second target controller as with above-mentioned
Logical subspaces to be migrated corresponding to migration target controller.If the residue of physical space corresponding to second target controller
Capacity is less than the capacity of the above-mentioned logical subspaces to be migrated determined, then is selected in the migration target controller set after sequence
Next controller is taken, as the second target controller, continues the judgement of above-mentioned residual capacity.
Certainly, the above-mentioned logical subspaces to be migrated determined can be one, or multiple.Wait to move for multiple
Move for logical subspaces, multiple logical subspaces to be migrated can correspond to same migration target controller, can also correspond to
Multiple migration target controllers, the requirement for meeting above-mentioned residual capacity is only needed here.When management equipment determines migration
After target controller, can check on migration target controller whether mixing LUN corresponding to existing logical subspaces to be migrated, such as
Fruit is not present, then the LUN is first created on target controller, and mixing LUN mark is comprised at least in request to create and is somebody's turn to do
Mix LUN the second corresponding relation.The migration target controller, can be based on carrying after request to create is received in request to create
Mixing LUN the second corresponding relation creates mixing LUN.
Below, by specific example to above-mentioned determination migration source controller, it is determined that to be migrated on migration source controller
Logical subspaces and the method for determining to migrate target controller corresponding to the logical subspaces to be migrated are described in detail.
Still to be configured with 3 memory node equipment in above-mentioned more controlled storage systems, illustrated exemplified by 5 controllers.
Assuming that controller M, controller N, controller X, controller Y, controller Z average CPU utilization be respectively 85%,
90%th, 70%, 55% and 58%.Assuming that first threshold is 80%, Second Threshold 60%.
Management equipment can determine to migrate source device from above-mentioned five controllers.It is determined that when, management equipment may be selected flat
Equal cpu busy percentage is higher than the controller of above-mentioned first threshold, forms migration source controller set.For example, management equipment may be selected
Controller M and controller N composition migration source controller set.
Management equipment can be arranged the controller in migration source controller set according to the order loaded from large to small
Sequence, after sequence, the controller migrated in the controller set of source is arranged as controller N, controller M.
Management equipment can first choose controller N, as first object controller.Then may determine that on controller N whether
Logical subspaces be present.
If logical subspaces are not present on controller N, management equipment can be in the migration source controller set after sequence
Next controller is selected in, if controller M is as first object controller, is continued above-mentioned with the presence or absence of logical subspaces
Judge.
In this example, management equipment can determine that on controller N logical subspaces be present.Management equipment can determine that controller N
To migrate source controller.
After migration source controller is determined, management equipment can determine that logic to be migrated on the migration source controller is empty
Between, i.e., the logical subspaces to be migrated on controller N.
Assuming that IO sums are maximum corresponding to LUN-A 201GB-400GB logical subspaces on controller N, management equipment can
The logical subspaces for determining LUN-A 201GB-400GB are logical subspaces to be migrated.
After the logical subspaces to be migrated are determined, management equipment can determine that moves corresponding to the logical subspaces to be migrated
Move target controller.
It is determined that when, the controller that average CPU utilization is not higher than above-mentioned Second Threshold may be selected in management equipment, and composition moves
Move target controller set.In this example, management equipment can be in above-mentioned 5 controllers, selection control Y and control Z compositions
Migrate target controller set.
Management equipment can be according to the order of average CPU utilization from small to large, to the control in migration target controller set
Device processed is ranked up, and by sequence, the controller migrated in target controller set is arranged as controller Y and controller Z.
Management equipment can first choose controller Y, as the second target controller.Then, management equipment can determine whether controller Y
Whether the residual capacity of corresponding physical space is more than or equal to above-mentioned logical subspaces to be migrated, and (i.e. logical address section is 201GB-
Capacity 400GB).
If the residual capacity of physical space corresponding to controller Y is less than the capacity of the logical subspaces to be migrated, management
Equipment can select next controller in the migration target controller set after sequence, if controller Z is as the second target control
Device processed, and continue the judgement of above-mentioned target residual capacity.
Assuming that in this example, the residual capacity of physical space corresponding to controller Y is more than above-mentioned logical subspaces to be migrated
Capacity, then management equipment can determine that controller Y for migration target controller.Management equipment checks migration target controller Y
It is upper to whether there is LUN-A (mark is UU1), the LUN- that mark is UU1 is not present in this example, on migration target controller Y
A, therefore management equipment first notifies migration target controller Y to create LUN-A.
After migration target controller Y receives request to create, the mixing that mark is UU1 can be created based on the request to create
LUN.After the completion of establishment, each mixing LUN recorded on controller Y mark and mixing LUN segment tables corresponding with mixing LUN
The corresponding relation of mark, as shown in table 9.
Mix LUN identification | Mix LUN segment tables mark |
UU1 | T1 |
Table 9
Illustrated below by taking T1 as an example, T1 mixing LUN segment tables are identified as on controller Y, as shown in table 10.
Table 10
So far the migration determination of source controller, the logical subspaces to be migrated on the migration source controller are completed really
The process of the determination for migrating target controller fixed and corresponding with the logical subspaces to be migrated.
Certainly, complete the migration source controller, as controller Y determination after, management equipment can also be in above-mentioned migration source
In controller set, next controller is chosen, as first object controller, and repeats above-mentioned migration source controller really
The determination of logical subspaces to be migrated fixed, on the migration source controller and migration corresponding with the logical subspaces to be migrated
The process of the determination of target controller.Here repeat no more.
Step 105:Data Migration notice is sent to migration source controller, so that the migration source controller is treated described
The Data Migration of logical subspaces is migrated to the migration target controller.
In the embodiment of the present application, it is determined that migrating source controller, logic to be migrated on the migration source controller is empty
Between and migration target controller corresponding with the logical subspaces to be migrated after, management equipment can be sent to migration source controller
Data Migration notifies.Data Migration notice can at least carry identifying, being to be migrated for mixing LUN belonging to logical subspaces to be migrated
The logical address section of logical subspaces and the mark for migrating target controller.
Migration source controller, can be by the Data Migration in logical subspaces to be migrated extremely after Data Migration notice is received
Migrate target controller.After the completion of Data Migration, migration source controller can be received no longer for the logical subspaces to be migrated
I/O request, and to management equipment send migration completion notice.Logic to be migrated is at least carried in the migration completion notice
The identifying of mixing LUN belonging to space, the logical address section of logical subspaces to be migrated and the mark for migrating target controller.
Management equipment can be based on the migration completion notice, change mixing LUN cloth corresponding with the logical subspaces to be migrated
Office.
When realizing, management equipment can be based on belonging to the logical subspaces to be migrated carried in the migration completion notice
Mixing LUN mark, in above-mentioned first corresponding relation, search mixing LUN corresponding with mixing LUN and be laid out.Then, manage
Reason equipment can be in the second corresponding relation of the mixing LUN layout records found, based on patrolling for the logical subspaces to be migrated
Address field is collected, searches the controller identifier belonging to the logical subspaces to be migrated, and by belonging to the logical subspaces to be migrated
Controller identifier is revised as migrating target controller mark.Meanwhile management equipment can be changed and updated corresponding to mixing LUN layouts
Identify (first more new logo), for example the value of the more new logo is added 1 etc..
After above-mentioned renewal operation is completed, management equipment can notify all controller modifications with mixing LUN to be directed to
The mixing LUN layouts of the logical subspaces to be migrated and its more new logo.
It should be noted that the controller with mixing LUN, it can be understood as there is mixing LUN segment tables
Controller.Also need to record all controller lists with mixing LUN in management equipment.
For example, still by taking above-mentioned LUN-A as an example, in initial creation LUN-A, the controller with the LUN-A is controller
M, controller N and controller X, then the affiliated controller lists of LUN-A are recorded in management equipment includes:Controller M, controller N, control
Device X processed.After management equipment is creating LUN-A on migrating target controller Y, the affiliated controllers of LUN-A are recorded in management equipment
Controller Y will be increased in list, i.e. the affiliated controller lists of LUN-A are recorded in management equipment and are changed into:Controller M, controller N,
Controller X, controller Y.
In the embodiment of the present application, the migration source controller being informed to can be by the controller belonging to the subspace to be migrated
Mark be changed to migrate target controller mark, and by corresponding to the logical subspaces to be migrated physical space mark modification
For sky, and the value that mix more new logo (the second more new logo) corresponding to LUN layouts can be revised as and above-mentioned management equipment
For the value of the more new logo (the first more new logo) of mixing LUN layouts.
The mark of controller belonging to the subspace to be migrated can be changed to generation by the migration target controller being informed to
The local mark of this controller of table, and physical space mark corresponding to the logical subspaces to be migrated is revised as this migration point
Match somebody with somebody physical space mark, and can by mix LUN layout corresponding to more new logo (the second more new logo) value be revised as and
Value of the above-mentioned management equipment for the more new logo (the first more new logo) of mixing LUN layouts.
The mark of controller belonging to the subspace to be migrated can be changed to migrate mesh by other controllers being informed to
The mark of mark controller, and can by mix LUN layout corresponding to more new logo (the second more new logo) value be revised as with it is upper
State value of the management equipment for the more new logo (the first more new logo) of mixing LUN layouts.
Below, still said with being configured with 3 memory node equipment in above-mentioned more controlled storage systems exemplified by 5 controllers
It is bright.
Assuming that the control of migration source is controller N, logical subspaces to be migrated are that logical address section is patrolling for 201GB-400GB
Subspace is collected, migration target controller is controller Y.
Management equipment can send Data Migration notice to controller N.It can at least be carried in Data Migration notice to be migrated
Mixing LUN mark (i.e. UU1), logical address section (the i.e. 201GB- of logical subspaces to be migrated belonging to logical subspaces
400GB) and migration target controller mark (i.e. Y).
Controller N, can be empty for 201GB-400GB logic by the logical address section after Data Migration notice is received
Between in Data Migration to controller Y.
After the completion of Data Migration, controller N can no longer receive logic for 201GB-400GB for logical address section
The I/O request in space, and send migration completion notice to management equipment.To be migrated patrol at least is carried in the migration completion notice
Collect mark (i.e. UU1), the logical address section (i.e. 201GB-400GB) of logical subspaces to be migrated of mixing LUN belonging to subspace
And the mark (i.e. Y) of migration target controller.
Management equipment can based on belonging to logical subspaces to be migrated mix LUN mark (i.e. UU1), in table 1 search and
Mixing LUN layouts, such as D1 corresponding to the UU1.
Then, the logical address section can be 201GB-400GB in the mixing LUN for being identified as D1 is laid out by management equipment
Logical subspaces affiliated controller identifier Y is revised as by N.
The mixing LUN layouts that D1 is identified as after change are as shown in table 11.
The logical address section of logical subspaces | The affiliated controller identifier of logical subspaces |
0-200GB | M |
201GB-400GB | Y |
401GB-600GB | X |
Table 11
Moreover, it is assumed that current management equipment recording needle is 3 to the value of the mixing LUN more new logos being laid out, and now, pipe
The value of the more new logo can be added 1 by reason equipment, and the value of the more new logo of mixing LUN layouts is changed into 4.
After above-mentioned renewal operation is completed, management equipment can notify all mixing LUN with UU1 controller, that is, control
Device M processed, controller N, control X and controller Y, so that controller M, controller N, control X and controller Y modifications are waited to move for this
Move mixing LUN layouts (mixing LUN segment tables) corresponding to logical subspaces.
For the controller N as migration source, controller N can be based on mixing belonging to the logical subspaces to be migrated
LUN mark (such as UU1), mixing LUN segment tables mark (such as T1) corresponding with the UU1 is searched in table 5.
Then controller N is in T1 mixing LUN segment tables are identified as, and by the logical address section is 201GB- by this such as table 6
Controller identifier belonging to 400GB logical subspaces is revised as Y by Local, and physical space mark is revised as into sky.
On controller N, the mixing LUN segment tables for being identified as T1 after change are as shown in table 12.
Table 12
In addition, controller N can be by more new logo corresponding to the mixing LUN layouts (mixing LUN segment tables) on the controller
Value, be revised as with above-mentioned management equipment for this mix LUN layout updates mark value.Will more new logo value
It is revised as 4.
For controller M, controller M can based on belonging to the logical subspaces to be migrated mix LUN mark (such as
UU1), mixing LUN segment tables mark (such as T1) corresponding with the UU1 is searched in table 3.
Then controller M is in T1 mixing LUN segment tables are identified as, and by the logical address section is 201GB- by this such as table 3
Controller identifier belonging to 400GB logical subspaces is revised as Y by N.
On controller M, the mixing LUN segment tables for being identified as T1 after change are as shown in table 13.
Table 13
In addition, controller M can be by more new logo corresponding to the mixing LUN layouts (mixing LUN segment tables) on the controller
Value, be revised as with above-mentioned management equipment for this mix LUN layout updates mark value.Will more new logo value
It is revised as 4.
For controller X, controller X can based on belonging to the logical subspaces to be migrated mix LUN mark (such as
UU1), mixing LUN segment tables mark (such as T1) corresponding with the UU1 is searched in table 7.
Then controller X is in T1 mixing LUN segment tables are identified as, and by the logical address section is 201GB- by this such as table 8
Controller identifier belonging to 400GB logical subspaces is revised as Y by N.
On controller X, the mixing LUN segment tables for being identified as T1 after change are as shown in table 14.
Table 14
In addition, controller M can be by more new logo corresponding to the mixing LUN layouts (mixing LUN segment tables) on the controller
Value, be revised as with above-mentioned management equipment for this mix LUN layout updates mark value.Will more new logo value
It is revised as 4.
For the controller Y as migration target, controller Y can be based on mixing belonging to the logical subspaces to be migrated
LUN mark (such as UU1), mixing LUN segment tables mark (such as T1) corresponding with the UU1 is searched in table 9.
Then the logical address section, such as table 10, is by controller Y by this in T1 mixing LUN segment tables are identified as
Controller identifier belonging to 201GB-400GB logical subspaces is revised as Local, and physical space mark is revised as into this
The physical space mark of migration distribution.
On controller Y, the mixing LUN segment tables for being identified as T1 after change are as shown in Table 15.
Table 15
In addition, controller N can be by more new logo corresponding to the mixing LUN layouts (mixing LUN segment tables) on the controller
Value, be revised as with above-mentioned management equipment for this mix LUN layout updates mark value.Will more new logo value
It is revised as 4.
The application provides a kind of data migration method, and first, more controlled storage systems that the application provides, which create, mixing
LUN, mixing LUN are divided into some logical subspaces, and each logical subspaces are assigned to more in more controlled storage systems
Individual controller.
Secondly, the management equipment in more controlled storage systems can obtain more control storages when default measurement period reaches
The load information of each controller in system, and can the load information based on each controller got, it is determined that migration source
Controller.The management equipment can determine that the logical subspaces to be migrated on the controller of the migration source.In addition, management equipment may be used also
Based on the load information of each controller inquired, it is determined that migration target controller.Management equipment can notify the migration
Source controller, so that the migration source controller is by the Data Migration of the logical subspaces to be migrated to the migration target control
Device.
On the one hand, unlike traditional LUN memory cell, traditional LUN memory cell is typically to configure a control
On device processed, and the mixing LUN that the application proposes is divided into some logical subspaces, and each logical subspaces are configured in difference
Controller on, due to LUN storage resource is distributed on multiple controllers, pass through multiple logics to LUN memory cell
The management of subspace, realize the management to LUN memory cell so that it is equal that each controller in more controlled storage systems reaches load
Weighing apparatus, drastically increase the resource expense access performance of more controlled storage systems.
On the other hand, management equipment can periodically obtain the load information in each controller, and based on each controller
Load information, determine migration source controller and migration target controller, management equipment can informing removal source controller so that
The migration source controller is by the Data Migration in logical subspaces to be migrated to target controller.Because management equipment can be periodically
Ground is automatically by the Data Migration loaded on larger migration source controller to target controller is migrated, to balance on each controller
Load, so as to realize the load balancing of each controller, substantially increases the performance of each controller.
Corresponding with the embodiment of aforementioned data moving method, present invention also provides the embodiment of data migration device.
The embodiment of the application data migration device can be applied in management equipment.Device embodiment can pass through software
Realize, can also be realized by way of hardware or software and hardware combining.Exemplified by implemented in software, as on a logical meaning
Device, be to be read corresponding computer program instructions in nonvolatile memory by the processor of management equipment where it
Into internal memory, operation is formed.For hardware view, as shown in Fig. 2 the management equipment where the application data migration device
A kind of hardware structure diagram, in addition to the processor shown in Fig. 2, internal memory, network outgoing interface and nonvolatile memory,
Management equipment in embodiment where device can also include other hardware generally according to the actual functional capability of the management equipment, right
This is repeated no more.
Fig. 3 is refer to, Fig. 3 is that a kind of resource of more controlled storage systems shown in the exemplary embodiment of the application one accesses dress
The block diagram put.Described device can be applied to the management equipment of more controlled storage systems, and being created in more controlled storage systems has mixing
LUN, the mixing LUN are divided into some logical subspaces, and when creating the mixing LUN, the logical subspaces are divided
Multiple controllers in more controlled storage systems described in dispensing;Described device includes unit as follows.
Acquiring unit 301, for obtaining the load information of each controller in more controlled storage systems;
Migration source determining unit 302, for the load information based on each controller got, it is determined that the control of migration source
Device processed;
Logical subspaces determining unit 303, for determining the logical subspaces to be migrated on the controller of the migration source;
Migrate target determination unit 304, for the load information based on each controller inquired, it is determined that with it is described
Migration target controller corresponding to logical subspaces to be migrated;
Notification unit 305, for sending Data Migration notice to migration source controller, so that the migration source controller
By the Data Migration of the logical subspaces to be migrated to the migration target controller.
Optionally, migration source determining unit 302, specifically for the load information based on each controller got,
Selection load forms migration source controller set higher than the controller of default first threshold;According to load from large to small suitable
Sequence, the controller in migration source controller set is ranked up;The migration source controller set after sequence is chosen successively
In controller, as first object controller;If there are logical subspaces in the first object controller, it is determined that first mesh
Mark controller is migration source controller.
Optionally, the logical subspaces determining unit 303, this is belonged on the controller of the migration source specifically for obtaining
The IO quantity of each logical subspaces of controller;The maximum logical subspaces of IO sums are selected as logical subspaces to be migrated.
Optionally, the migration target determination unit 304, for the load information based on each controller got, choosing
Select controller of the load not higher than default Second Threshold, composition migration target controller set;According to load from small to large
Sequentially, the controller in the migration target control set is ranked up;The migration mesh control after the sequence is chosen successively
Controller in device set processed, as the second target controller;If physical space corresponding to second target controller is surplus
Covolume amount be more than or equal to the logical subspaces to be migrated capacity, then using second target controller as with it is described to be migrated
Migration target controller corresponding to logical subspaces.
Optionally, the management equipment describes mixing LUN mark mixing LUN layouts corresponding with mixing LUN
First corresponding relation of mark, the mixing LUN layouts include the logical address for the logical subspaces that mixing LUN is marked off
Second corresponding relation of section and the mark of the affiliated controller of the logical subspaces;
Described device also includes:
Change unit 306, for migration source controller by the Data Migration of the logical subspaces to be migrated extremely
After the migration target controller, the migration completion notice from migration source controller is received;The migration completion notice
The middle mixing LUN mark carried belonging to the logical subspaces to be migrated, the logical address section of the logical subspaces to be migrated, with
And migration target controller mark;Based on the mixing belonging to the logical subspaces to be migrated carried in the migration completion notice
LUN mark, in first corresponding relation, search mixing LUN layouts corresponding with mixing LUN;It is mixed what is found
In the second corresponding relation for closing LUN layout records, the logical address section based on the logical subspaces to be migrated, it is to be migrated to search this
Controller identifier belonging to logical subspaces;Controller identifier belonging to the logical subspaces to be migrated is revised as to migrate target
Controller identifier.
Optionally, the first more new logo of mixing LUN layout is configured with the management equipment, on the controller
It is configured with the second more new logo of the mixing LUN layouts;
Described device also includes:
Updating block 307, it is directed to what the mixing LUN was laid out for determine to record on this controller in the controller
Second more new logo with recorded in management equipment for this mix LUN layouts the first more new logo it is inconsistent after, receive institute
State the acquisition request of controller transmission;Wherein, it is described to obtain request for obtaining the mixing LUN cloth in the management equipment
Second corresponding relation of office's record;Second corresponding relation is back to the controller so that the controller be based on this
Two corresponding relations update the logical address section of the logical subspaces of the mixing LUN layout records on this controller and patrolled with this
Collect the corresponding relation of the affiliated controller identifier in subspace.
Optionally, it is revised as migrating target controller in the controller identifier by belonging to the logical subspaces to be migrated
After mark, the modification unit 306, it is further used for updating the first more new logo that the mixing LUN is laid out.
The function of unit and the implementation process of effect specifically refer to and step are corresponded in the above method in said apparatus
Implementation process, it will not be repeated here.
For device embodiment, because it corresponds essentially to embodiment of the method, so related part is real referring to method
Apply the part explanation of example.Device embodiment described above is only schematical, wherein described be used as separating component
The unit of explanation can be or may not be physically separate, can be as the part that unit is shown or can also
It is not physical location, you can with positioned at a place, or can also be distributed on multiple NEs.Can be according to reality
Need to select some or all of module therein to realize the purpose of application scheme.Those of ordinary skill in the art are not paying
In the case of going out creative work, you can to understand and implement.
The preferred embodiment of the application is the foregoing is only, not limiting the application, all essences in the application
God any modification, equivalent substitution and improvements done etc., should be included within the scope of the application protection with principle.
Claims (10)
1. a kind of data migration method, it is characterised in that methods described is applied to the management equipment of more controlled storage systems, described more
Being created in controlled storage system has mixing LUN, the mixing LUN to be divided into some logical subspaces, is creating the mixing LUN
When, the logical subspaces are assigned to multiple controllers in more controlled storage systems;Methods described includes:
Obtain the load information of each controller in more controlled storage systems;
Based on the load information of each controller got, it is determined that migration source controller;
Determine the logical subspaces to be migrated on the controller of the migration source;
Based on the load information of each controller inquired, it is determined that corresponding with the logical subspaces to be migrated migrate mesh
Mark controller;
Data Migration notice is sent to migration source controller, so that the migration source controller is empty by logic to be migrated
Between Data Migration to the migration target controller.
2. according to the method for claim 1, it is characterised in that the load letter based on each controller got
Breath, it is determined that migration source controller includes:
Based on the load information of each controller got, selection load is higher than the controller of default first threshold, and composition moves
The controller set of shifting source;
According to the order of load from large to small, the controller in migration source controller set is ranked up;
The controller in the migration source controller set after sequence is chosen successively, as first object controller;
If there are logical subspaces in the first object controller, it is determined that the first object controller is migration source controller.
3. according to the method for claim 1, it is characterised in that described to determine to be migrated patrolling on the controller of the migration source
Subspace is collected, including:
Obtain the IO quantity for each logical subspaces for belonging to this controller on the controller of the migration source;
The maximum logical subspaces of IO sums are selected as logical subspaces to be migrated.
4. according to the method for claim 1, it is characterised in that the load letter based on each controller inquired
Breath, target controller is migrated it is determined that corresponding with the logical subspaces to be migrated, including:
Based on the load information of each controller got, selection load is not higher than the controller of default Second Threshold, composition
Migrate target controller set;
According to the order of load from small to large, the controller in the migration target control set is ranked up;
The controller in the migration mesh controller set after the sequence is chosen successively, as the second target controller;
If the residual capacity of physical space corresponding to second target controller is more than or equal to the logical subspaces to be migrated
Capacity, then migrate target controller using second target controller as corresponding with the logical subspaces to be migrated.
5. according to the method for claim 1, it is characterised in that the management equipment describes mixing LUN mark with being somebody's turn to do
The first corresponding relation of the mark of mixing LUN layouts corresponding to LUN is mixed, the mixing LUN layouts include mixing LUN divisions
Second corresponding relation of the logical address section of the logical subspaces gone out and the mark of the affiliated controller of the logical subspaces;
Methods described also includes:
After migration source controller is by the Data Migration of the logical subspaces to be migrated to the migration target controller,
Receive the migration completion notice from migration source controller;It is empty that logic to be migrated is carried in the migration completion notice
Between belonging to mixing LUN mark, the logical address section of the logical subspaces to be migrated and migration target controller identify;
Based on the mark of the mixing LUN belonging to the logical subspaces to be migrated carried in the migration completion notice, described
In first corresponding relation, mixing LUN layouts corresponding with mixing LUN are searched;
In the second corresponding relation of the mixing LUN layout records found, based on the logical subspaces to be migrated logically
Location section, search the controller identifier belonging to the logical subspaces to be migrated;
Controller identifier belonging to the logical subspaces to be migrated is revised as to migrate target controller mark.
6. according to the method for claim 5, it is characterised in that the mixing LUN layouts are configured with the management equipment
The first more new logo, the second more new logo of the mixing LUN layouts is configured with the controller;
Methods described also includes:
Set in the second more new logo for mixing LUN layouts that the controller determines to record on this controller with management
After the first more new logo for mixing LUN layouts of standby upper record is inconsistent, receiving acquisition that the controller is sent please
Ask;Wherein, it is described to obtain the second corresponding pass for asking to be used to obtain the mixing LUN layout records in the management equipment
System;
Second corresponding relation is back to the controller, so that the controller updates this control based on second corresponding relation
On device processed the mixing LUN layout record logical subspaces logical address section and with the affiliated controller of the logical subspaces
The corresponding relation of mark.
7. according to the method for claim 6, it is characterised in that it is described by the logical subspaces to be migrated belonging to control
Device mark is revised as after migrating target controller mark, and methods described also includes:
Update the first more new logo of the mixing LUN layouts.
8. a kind of data migration device, it is characterised in that described device is applied to the management equipment of more controlled storage systems, described more
Being created in controlled storage system has mixing LUN, the mixing LUN to be divided into some logical subspaces, is creating the mixing LUN
When, the logical subspaces are assigned to multiple controllers in more controlled storage systems;Described device includes:
Acquiring unit, for obtaining the load information of each controller in more controlled storage systems;
Migration source determining unit, for the load information based on each controller got, it is determined that migration source controller;
Logical subspaces determining unit, for determining the logical subspaces to be migrated on the controller of the migration source;
Migrate target determination unit, for the load information based on each controller inquired, it is determined that with it is described to be migrated
Migration target controller corresponding to logical subspaces;
Notification unit, for sending Data Migration notice to migration source controller, so that the migration source controller is by described in
The Data Migration of logical subspaces to be migrated is to the migration target controller.
9. device according to claim 8, it is characterised in that the management equipment describes mixing LUN mark with being somebody's turn to do
The first corresponding relation of the mark of mixing LUN layouts corresponding to LUN is mixed, the mixing LUN layouts include mixing LUN divisions
Second corresponding relation of the logical address section of the logical subspaces gone out and the mark of the affiliated controller of the logical subspaces;
Described device also includes:
Change unit, in migration source controller by the Data Migration of the logical subspaces to be migrated to the migration
After target controller, the migration completion notice from migration source controller is received;Being carried in the migration completion notice should
Mark, the logical address section of the logical subspaces to be migrated and the migration mesh of mixing LUN belonging to logical subspaces to be migrated
Mark controller identifies;Mark based on the mixing LUN belonging to the logical subspaces to be migrated carried in the migration completion notice
Know, in first corresponding relation, search mixing LUN layouts corresponding with mixing LUN;In the mixing LUN cloth found
In second corresponding relation of office's record, the logical address section based on the logical subspaces to be migrated, logic to be migrated is searched
Controller identifier belonging to space;Controller identifier belonging to the logical subspaces to be migrated is revised as to migrate target controller
Mark.
10. device according to claim 8, it is characterised in that the mixing LUN layouts are configured with the management equipment
The first more new logo, the second more new logo of the mixing LUN layouts is configured with the controller;
Described device also includes:
Updating block, for the controller determine to record on this controller for the mixing LUN be laid out second more
New logo with recorded in management equipment for this mix LUN layouts the first more new logo it is inconsistent after, receive the control
The acquisition request that device is sent;Wherein, the mixing LUN layout records for obtaining request and being used to obtain in the management equipment
The second corresponding relation;Second corresponding relation is back to the controller, so that the controller is based on second correspondence
Relation updates the logical address section of the logical subspaces of the mixing LUN layout records on this controller and empty with logic
Between affiliated controller identifier corresponding relation.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710729055.XA CN107577425A (en) | 2017-08-23 | 2017-08-23 | A kind of data migration method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710729055.XA CN107577425A (en) | 2017-08-23 | 2017-08-23 | A kind of data migration method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107577425A true CN107577425A (en) | 2018-01-12 |
Family
ID=61034965
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710729055.XA Pending CN107577425A (en) | 2017-08-23 | 2017-08-23 | A kind of data migration method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107577425A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108363553A (en) * | 2018-01-31 | 2018-08-03 | 北京兰云科技有限公司 | A kind of data processing method, apparatus and system |
CN109189324A (en) * | 2018-07-09 | 2019-01-11 | 华为技术有限公司 | A kind of data migration method and device |
CN111124283A (en) * | 2019-11-29 | 2020-05-08 | 浪潮(北京)电子信息产业有限公司 | Storage space management method, system, electronic equipment and storage medium |
CN112783449A (en) * | 2021-01-25 | 2021-05-11 | 中国工商银行股份有限公司 | Data migration method and device |
CN115328065A (en) * | 2022-09-16 | 2022-11-11 | 中国核动力研究设计院 | Method for automatically migrating control unit functions applied to industrial control system |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101582013A (en) * | 2009-06-10 | 2009-11-18 | 成都市华为赛门铁克科技有限公司 | Method, device and system for processing storage hotspots in distributed storage |
US20120036515A1 (en) * | 2010-08-06 | 2012-02-09 | Itamar Heim | Mechanism for System-Wide Target Host Optimization in Load Balancing Virtualization Systems |
CN105635310A (en) * | 2016-01-20 | 2016-06-01 | 杭州宏杉科技有限公司 | Access method and device for storage resource |
CN105630419A (en) * | 2015-12-25 | 2016-06-01 | 华为技术有限公司 | Partition view sending method of resource pools and management node |
CN105808443A (en) * | 2014-12-29 | 2016-07-27 | 华为技术有限公司 | Data migration method, apparatus and system |
CN106294031A (en) * | 2016-07-29 | 2017-01-04 | 杭州宏杉科技有限公司 | A kind of business management method and storage control |
CN106657416A (en) * | 2017-03-02 | 2017-05-10 | 北京邮电大学 | Method and device for balancing load of controllers |
-
2017
- 2017-08-23 CN CN201710729055.XA patent/CN107577425A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101582013A (en) * | 2009-06-10 | 2009-11-18 | 成都市华为赛门铁克科技有限公司 | Method, device and system for processing storage hotspots in distributed storage |
US20120036515A1 (en) * | 2010-08-06 | 2012-02-09 | Itamar Heim | Mechanism for System-Wide Target Host Optimization in Load Balancing Virtualization Systems |
CN105808443A (en) * | 2014-12-29 | 2016-07-27 | 华为技术有限公司 | Data migration method, apparatus and system |
CN105630419A (en) * | 2015-12-25 | 2016-06-01 | 华为技术有限公司 | Partition view sending method of resource pools and management node |
CN105635310A (en) * | 2016-01-20 | 2016-06-01 | 杭州宏杉科技有限公司 | Access method and device for storage resource |
CN106294031A (en) * | 2016-07-29 | 2017-01-04 | 杭州宏杉科技有限公司 | A kind of business management method and storage control |
CN106657416A (en) * | 2017-03-02 | 2017-05-10 | 北京邮电大学 | Method and device for balancing load of controllers |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108363553A (en) * | 2018-01-31 | 2018-08-03 | 北京兰云科技有限公司 | A kind of data processing method, apparatus and system |
CN109189324A (en) * | 2018-07-09 | 2019-01-11 | 华为技术有限公司 | A kind of data migration method and device |
CN109189324B (en) * | 2018-07-09 | 2021-01-08 | 华为技术有限公司 | Data migration method and device |
US11914881B2 (en) | 2018-07-09 | 2024-02-27 | Huawei Cloud Computing Technologies Co., Ltd. | Data migration method and apparatus |
CN111124283A (en) * | 2019-11-29 | 2020-05-08 | 浪潮(北京)电子信息产业有限公司 | Storage space management method, system, electronic equipment and storage medium |
CN112783449A (en) * | 2021-01-25 | 2021-05-11 | 中国工商银行股份有限公司 | Data migration method and device |
CN115328065A (en) * | 2022-09-16 | 2022-11-11 | 中国核动力研究设计院 | Method for automatically migrating control unit functions applied to industrial control system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107577425A (en) | A kind of data migration method and device | |
CN109857445A (en) | Storage system and control software layout method | |
CN105933137B (en) | A kind of method for managing resource, apparatus and system | |
US8589919B2 (en) | Traffic forwarding for virtual machines | |
CN105939290B (en) | A kind of method and device for distributing resource | |
US20120271874A1 (en) | System and method for cloud computing | |
CN109313564A (en) | For supporting the server computer management system of the highly usable virtual desktop of multiple and different tenants | |
CN109684074A (en) | Physical machine resource allocation methods and terminal device | |
CN106293934B (en) | A kind of cluster system management optimization method and platform | |
CN106533714A (en) | Method and device for re-instantiating virtual network function | |
CN106664216A (en) | Method and apparatus for switching vnf | |
CN109857335A (en) | System and its control method and storage medium | |
CN102763083B (en) | Computer system and upgrade method for same | |
CN104981788A (en) | Storage system and control method for storage system | |
CN107122271B (en) | Method, device and system for recovering node event | |
CN108132827A (en) | A kind of network slice method for mapping resource, relevant device and system | |
CN107085546A (en) | Data managing method and device based on failure field technique | |
CN108268211A (en) | A kind of data processing method and device | |
CN101621409B (en) | Service control method, service control device and broadband access servers | |
CN105450679A (en) | Method and system for performing data cloud storage | |
CN110515693A (en) | A kind of method and system that the virtual machine based on rack perception is extending transversely | |
CN107491270A (en) | A kind of resource access method and device of more controlled storage systems | |
CN109408230A (en) | Docker container dispositions method and system based on energy optimization | |
CN111221620A (en) | Storage method, storage device and storage medium | |
CN106991121A (en) | Super fused data storage method and system |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180112 |