CN108762677A - A kind of intelligent scanning method and system of storage device - Google Patents

A kind of intelligent scanning method and system of storage device Download PDF

Info

Publication number
CN108762677A
CN108762677A CN201810537911.6A CN201810537911A CN108762677A CN 108762677 A CN108762677 A CN 108762677A CN 201810537911 A CN201810537911 A CN 201810537911A CN 108762677 A CN108762677 A CN 108762677A
Authority
CN
China
Prior art keywords
host machine
mapping relations
applied host
storage device
lun
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
Application number
CN201810537911.6A
Other languages
Chinese (zh)
Inventor
耿芳忠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information 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 Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201810537911.6A priority Critical patent/CN108762677A/en
Publication of CN108762677A publication Critical patent/CN108762677A/en
Pending legal-status Critical Current

Links

Classifications

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

Abstract

The invention discloses a kind of intelligent scanning method and system of storage device, this method includes:When administrator updates storage in equipment the mapping relations between applied host machine and LUN, storage device reports the modification information of correspondence mappings relationship to applied host machine;Applied host machine obtains the mapping relations between updated applied host machine and LUN in storage device under the triggering of modification information;Mapping relations of the applied host machine based on acquisition create or delete corresponding LUN device objects.Wherein, after administrator updates storage the mapping relations in equipment between applied host machine and LUN, corresponding modification information is sent to automatically by applied host machine by storage device, starts the storage device scanning process of applied host machine;When needing to delete LUN device objects, the establishment or deletion of LUN device objects are realized automatically based on the mapping relations got by applied host machine;To considerably increase the automaticity and intelligent of storage device scanning.

Description

A kind of intelligent scanning method and system of storage device
Technical field
The present invention relates to SCSI External memory equipment scanning techniques fields, more specifically to a kind of storage device Intelligent scanning method and system.
Background technology
In enterprise information system, set for the applied host machine (Host) of processing business request and the storage of storage data Standby (Storage) (SAN) is interconnected by storing network.It is to be different from traditional ethernet data network to store network (SAN) A kind of private high network, dedicated for connection applied host machine and storage device.The most common type SAN network is FC optical fiber Channel network, applied host machine carry out networking with storage device by optical fiber cable, optical fiber switch (SAN switch).In order to improve Redundancy is to store network bandwidth, and generally use stores multipath connection type, i.e. applied host machine passes through a plurality of physical pathway simultaneously Storage device is accessed, as shown in Figure 1.
Data access is carried out by SCSI protocol between applied host machine and storage device.SCSI protocol defines one kind Client-Servier frameworks, applied host machine is as the ends Client, by transport layer port, to service in a manner of scsi command End, i.e. storage device sending device access request.Storage device is as the ends Server, by transport layer port reception come self-application Command execution results and related data are sent to applied host machine by the order of host after processing is ordered.What SCSI protocol defined This Client-Servier frameworks are as shown in Fig. 2, storage device is then properly termed as the SCSI external storages of applied host machine at this time Equipment.Wherein, in storage device include multiple logic units (Logical Unit) equipment, there are one unique for each logic unit Number be known as LUN (Logical Unit Number), indicate the logic unit equipment representated by it usually using LUN, such as Logical volume in storage device is just indicated by LUN.Mapping relations between LUN and applied host machine define in storage device, LUN After establishing mapping relations with applied host machine, it could be found and used by applied host machine.Applied host machine finds storage device mapping The process of LUN is the process (the namely process of SCSI External memory equipments scanning) of SCSI bus scanning, initiates this process It is generally necessary to which administrator executes by hand;If relieving the mapping of LUN and applied host machine in storage device, administrator is also needed to answer With the device object created in discovery procedure before being deleted by hand in host, this flow is as shown in Figure 3.But it is this scanned The step of journey needs administrator to realize by hand is more, automaticity and intelligent poor.
In conclusion in the prior art for realizing there are automaticitys and intelligent in the technical solution of storage device scanning Relatively low problem.
Invention content
The object of the present invention is to provide a kind of intelligent scanning method and system of storage device, to improve storage device scanning Automaticity in the process and intelligent.
To achieve the goals above, the present invention provides the following technical solutions:
A kind of intelligent scanning method of storage device, including:
When administrator updates storage in equipment the mapping relations between applied host machine and LUN, the storage device will be right The modification information of mapping relations is answered to report to applied host machine;
The applied host machine obtains updated applied host machine in the storage device under the triggering of the modification information And the mapping relations between LUN;
Mapping relations of the applied host machine based on acquisition create or delete corresponding LUN device objects.
Preferably, further include:
When administrator updates storage in equipment the mapping relations between applied host machine and LUN, the storage device generates It indicates the flags parameters of mapping relations change and assigns corresponding parameter value;
The storage device reports the modification information of correspondence mappings relationship to applied host machine, including:
When the applied host machine sends arbitrary order to the storage device, the storage device returns to instruction inquiry letter It ceases to the applied host machine;
The applied host machine obtains updated applied host machine in the storage device under the triggering of the modification information And the mapping relations between LUN, including:
The applied host machine reads the flags parameters, and described in determination under the triggering of the instruction Query Information The parameter value of flags parameters indicates to obtain updated mapping relations when the parameter value that mapping relations change.
Preferably, after the applied host machine reads the flags parameters, further include:
The storage device deletes the flags parameters.
Preferably, mapping relations of the applied host machine based on acquisition create or delete corresponding LUN device objects, wrap It includes:
The mapping relations of acquisition are compared the applied host machine with the mapping relations that itself is stored, and delete reflecting for acquisition The corresponding LUN device objects of mapping relations for penetrating the mapping relations reduction in relationship relative to itself storage, create reflecting for acquisition Penetrate the corresponding LUN device objects of the increased mapping relations of mapping relations relative to itself storage in relationship.
Preferably, mapping relations of the applied host machine based on acquisition create or delete corresponding LUN device objects it Afterwards, further include:
The information of establishment or the deletion of corresponding LUN device objects has been completed in the applied host machine output.
A kind of intelligent scanning system of storage device, including applied host machine and storage device, wherein:
The storage device, is used for:When administrator updates storage the mapping relations in equipment between applied host machine and LUN When, the modification information of correspondence mappings relationship is reported to applied host machine;
The applied host machine, is used for:Under the triggering of the modification information, updated in the storage device answer is obtained Mapping relations with the mapping relations between host and LUN, and based on acquisition create or delete corresponding LUN device objects.
Preferably, the storage device is additionally operable to:When administrator updates storage reflecting between applied host machine and LUN in equipment When penetrating relationship, generates the flags parameters for indicating mapping relations change and assign corresponding parameter value;
The storage device includes:
Reporting modules are used for:When the applied host machine sends arbitrary order to the storage device, the storage device Instruction Query Information is returned to the applied host machine;
The applied host machine includes:
Acquisition module is used for:The applied host machine reads the mark ginseng under the triggering of the instruction Query Information Number, and obtain updated mapping in the parameter value that the parameter value expression mapping relations for determining the flags parameters change Relationship.
Preferably, the storage device is additionally operable to:After the applied host machine reads the flags parameters, by the mark Parameter is deleted.
Preferably, the applied host machine includes:
Respond module is used for:The applied host machine compares the mapping relations that the mapping relations of acquisition are stored with itself It is right, delete the corresponding LUN equipment pair of mapping relations of the mapping relations reduction in the mapping relations of acquisition relative to itself storage As creating the corresponding LUN equipment pair of the increased mapping relations of mapping relations relative to itself storage in the mapping relations of acquisition As.
Preferably, the applied host machine is additionally operable to:Mapping relations based on acquisition create or delete corresponding LUN equipment After object, the information of establishment or the deletion of corresponding LUN device objects has been completed in output.
The present invention provides a kind of intelligent scanning method and system of storage device, wherein this method includes:Work as administrator When updating storage in equipment the mapping relations between applied host machine and LUN, the storage device is by the change of correspondence mappings relationship Information is reported to applied host machine;The applied host machine is obtained and is updated in the storage device under the triggering of the modification information The mapping relations between applied host machine and LUN afterwards;Mapping relations of the applied host machine based on acquisition create or deletion pair The LUN device objects answered.In technical solution provided in an embodiment of the present invention, administrator update storage in equipment applied host machine and After mapping relations between LUN, without as indicating that applied host machine executes the scanned of storage device by administrator in the prior art Journey, but the corresponding modification information of update is sent to by applied host machine by storage device automatically, the storage to start applied host machine is set Standby scanning process;And when needing to delete LUN device objects, deleted by hand by administrator in the prior art without picture, but Realize the establishment or deletion of LUN device objects automatically based on the updated mapping relations got by applied host machine;To The automaticity and intelligent of storage device scanning is considerably increased compared with the existing technology, and is reducing the same of manual intervention When, the case where reducing the faulty operation brought due to manual intervention being likely to occur, is occurred.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 is the schematic diagram of FC SAN networks in background technology;
Fig. 2 is SCSI Client-Server illustratons of model in background technology;
Fig. 3 is the flow chart that applied host machine finds storage device in background technology;
Fig. 4 be in a kind of intelligent scanning method of storage device provided in an embodiment of the present invention step S11 to step S13's Flow chart;
Fig. 5 is a kind of general flow chart of the intelligent scanning method of storage device provided in an embodiment of the present invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation describes, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
Referring to Fig. 1, it illustrates a kind of flows of the intelligent scanning method of storage device provided in an embodiment of the present invention Figure, which is characterized in that including:
S11:When administrator updates storage in equipment the mapping relations between applied host machine and LUN, storage device will be right The modification information of mapping relations is answered to report to applied host machine.
Wherein, applied host machine and storage device can carry out data access by SCSI protocol, and corresponding, storage device is then For the SCSI External memory equipments of applied host machine, the order that applied host machine is sent to storage device is then scsi command.It needs Mapping relations that are bright, may being stored in storage device between applied host machine and LUN, then update mapping relations at this time It is then to change mapping relations stored in storage device;May be stored in storage device any applied host machine and Mapping relations between LUN, then update mapping relations are then to store mapping relations to storage device at this time.Storage device determines After administrator updates mapping relations, corresponding modification information is reported to applied host machine automatically.
S12:Applied host machine under the triggering of modification information, obtain in storage device updated applied host machine and LUN it Between mapping relations.
Applied host machine can obtain applied host machine and LUN currently stored in storage device under the triggering of modification information Between mapping relations (currently stored mapping relations are updated mapping relations in storage device), and then based on obtain Host delete or create corresponding LUN device objects.
S13:Mapping relations of the applied host machine based on acquisition create or delete corresponding LUN device objects.
Wherein, applied host machine delete or create LUN device objects process with correspond to technical solution in the prior art Realization principle is consistent, and in simple terms, creating LUN device objects, then applied host machine then can be found that and use corresponding LUN, deletes Then applied host machine can not find and use corresponding LUN to LUN device objects, specifically refer to and correspond to technical side in the prior art Case, details are not described herein.
In technical solution provided in an embodiment of the present invention, administrator updates storage in equipment between applied host machine and LUN After mapping relations, without the scanning process as indicating applied host machine execution storage device by administrator in the prior art, but by The corresponding modification information of update is sent to applied host machine by storage device automatically, scanned with the storage device for starting applied host machine Journey;And when needing to delete LUN device objects, deleted by administrator without picture, but is led by application by hand in the prior art Machine realizes the establishment or deletion of LUN device objects based on the updated mapping relations got automatically;To relative to existing There is technology to considerably increase the automaticity and intelligent of storage device scanning, and while reducing manual intervention, reduces The case where faulty operation brought due to manual intervention being likely to occur, is occurred.
A kind of intelligent scanning method of storage device provided in an embodiment of the present invention can also include:
When administrator updates storage in equipment the mapping relations between applied host machine and LUN, storage device, which generates, to be indicated The flags parameters of mapping relations change simultaneously assign corresponding parameter value;
Storage device reports the modification information of correspondence mappings relationship to applied host machine, may include:
When applied host machine sends arbitrary order to storage device, storage device returns to instruction Query Information and is led to application Machine;
Applied host machine obtains in storage device under the triggering of modification information between updated applied host machine and LUN Mapping relations may include:
Applied host machine reads flags parameters, and in the parameter value for determining flags parameters under the triggering of instruction Query Information It indicates to obtain updated mapping relations when the parameter value that mapping relations change.
Wherein, when administrator updates storage the mapping relations between applied host machine and LUN in equipment, storage device can give birth to At the flags parameters for indicating mapping relations change and corresponding parameter value is assigned, the flags parameters such as generated can be Sense Data, Sense data include Sense code, and the value of Sense code can be for parameter value, can specifically be arranged to Sense code=LUN_REMAP.When applied host machine sends arbitrary order to storage device, storage device, which checks whether there is, answers With the corresponding parameter flag of host, such as the Sense data of Sense code=LUN_REMAP, if it is, storage device can Indicate Query Information to return, such as command process state check condition, otherwise then response application host send this Meaning order.Applied host machine reads flags parameters under the triggering of instruction Query Information, by initiating parameter reading order Parameter value, such as orders REQUEST SENSE to read Sense data by initiation, and applied host machine determines the parameter value of flags parameters To indicate that (such as applied host machine handles Sense data and understands Sense code=LUN_ the parameter value of mapping relations change REMAP after), mapping relations reading order can be initiated and read updated mapping relations, as applied host machine initiates REPORT LUN Updated mapping relations are read, storage device returns to updated mapping relations in response command REPORT LUN, to Realize acquisition of the applied host machine to mapping relations;So that applied host machine effectively realizes the acquisition of mapping relations.It additionally needs Illustrate, the mapping relations in the application can be stored in mapping table, and the corresponding mapping relations obtained can be then Obtain mapping table, naturally it is also possible to carry out other settings according to actual needs, within protection scope of the present invention.
A kind of intelligent scanning method of storage device provided in an embodiment of the present invention, applied host machine read flags parameters it Afterwards, can also include:
Storage device deletes flags parameters.
Wherein, after applied host machine reads flags parameters, storage device can directly delete flags parameters, such as delete Sense data, to save the memory space in storage device, while avoid applied host machine mapping relations not again more Under news, get flags parameters to again obtain correspondence mappings relationship the case where occur, save logical resource.
A kind of intelligent scanning method of storage device provided in an embodiment of the present invention, mapping of the applied host machine based on acquisition are closed System creates or deletes corresponding LUN device objects, may include:
The mapping relations of acquisition are compared applied host machine with the mapping relations that itself is stored, and the mapping for deleting acquisition is closed The corresponding LUN device objects of mapping relations in system relative to the mapping relations reduction of itself storage, the mapping for creating acquisition are closed The corresponding LUN device objects of the increased mapping relations of mapping relations in system relative to itself storage.
Applied host machine, can be quickly and effectively real by the comparison of the mapping relations and the mapping relations of itself storage of acquisition The establishment or deletion of existing LUN device objects;Other settings, the guarantor in the present invention can certainly be carried out according to actual needs Within the scope of shield.
A kind of intelligent scanning method of storage device provided in an embodiment of the present invention, mapping of the applied host machine based on acquisition are closed After system creates or deletes corresponding LUN device objects, can also include:
The information of establishment or the deletion of corresponding LUN device objects has been completed in applied host machine output.
Specifically, the information that establishment or the deletion of corresponding LUN device objects have been completed in output can be export to Administrator's counterpart terminal can also be output to storage device, notify the update of relevant device LUN device objects through the above way The information completed, to realize one step completed storage device scanning process.
It should be noted that the general flow chart of technical solution disclosed in the present application can be as shown in Figure 5, wherein application master It may include that host-LUN mapping is closed that machine, which updates storage host-LUN mapping (mapping relations between host and LUN) in equipment, The establishment and releasing of system;Storage device Intrusion Detection based on host may include generating corresponding applied host machine-LUN to the update of mapping relations Map listing (host-LUN mapping that corresponding applied host machine creates) and deletion applied host machine-LUN mapping list (corresponding application master Host-LUN mapping that machine releases), LUN lists are identical as host-meaning of LUN mapping list;As it can be seen that applied host machine has place The logic for managing the Sense data of Sense code=LUN_REMAP scans (i.e. SCSI so as to execute SCSI bus automatically The scanning of External memory equipment), new mapping relations are obtained, and according to the variation of the old and new's mapping relations, be automatically deleted/create LUN device objects notify deletion/establishment event of other resume module LUN device objects, and then realize the intelligence of storage device Scan process;Storage device is actively reported to applied host machine after administrator updates mapping relations, so that applied host machine is real Existing follow-up storage device scan process, reduces the manual operations of administrator, reduces the probability of error.
The embodiment of the present invention additionally provides a kind of intelligent scanning system of storage device, may include applied host machine and storage Equipment, wherein:
Storage device is used for:It, will when administrator updates storage in equipment the mapping relations between applied host machine and LUN The modification information of correspondence mappings relationship is reported to applied host machine;
Applied host machine is used for:Under the triggering of modification information, updated applied host machine and LUN in storage device are obtained Between mapping relations, and mapping relations based on acquisition create or delete corresponding LUN device objects.
A kind of intelligent scanning system of storage device provided in an embodiment of the present invention, storage device are additionally operable to:Work as administrator When updating storage in equipment the mapping relations between applied host machine and LUN, generates and indicate the flags parameters of mapping relations change simultaneously Assign corresponding parameter value;
Storage device may include:
Reporting modules are used for:When applied host machine sends arbitrary order to storage device, storage device returns to instruction inquiry Information is to applied host machine;
Applied host machine may include:
Acquisition module is used for:Applied host machine reads flags parameters, and mark determining under the triggering of instruction Query Information The parameter value of will parameter indicates to obtain updated mapping relations when the parameter value that mapping relations change.
A kind of intelligent scanning system of storage device provided in an embodiment of the present invention, storage device are additionally operable to:Applied host machine After reading flags parameters, flags parameters are deleted.
A kind of intelligent scanning system of storage device provided in an embodiment of the present invention, applied host machine may include:
Respond module is used for:The mapping relations of acquisition are compared applied host machine with the mapping relations that itself is stored, and delete Except the corresponding LUN device objects of mapping relations relative to the mapping relations reduction of itself storage in the mapping relations of acquisition, wound Build the corresponding LUN device objects of the increased mapping relations of mapping relations relative to itself storage in the mapping relations of acquisition.
A kind of intelligent scanning system of storage device provided in an embodiment of the present invention, applied host machine are additionally operable to:Based on acquisition Mapping relations create or after deleting corresponding LUN device objects, the establishment of corresponding LUN device objects has been completed in output Or the information deleted.
It should be noted that relevant portion in a kind of intelligent scanning system of storage device provided in an embodiment of the present invention The detailed description for illustrating to refer to corresponding part in the intelligent scanning method of storage device provided in an embodiment of the present invention a kind of, This is repeated no more.In addition in above-mentioned technical proposal provided in an embodiment of the present invention with correspond in the prior art technical solution realize it is former Consistent part and unspecified is managed, in order to avoid excessively repeat.
The foregoing description of the disclosed embodiments enables those skilled in the art to realize or use the present invention.To this A variety of modifications of a little embodiments will be apparent for a person skilled in the art, and the general principles defined herein can Without departing from the spirit or scope of the present invention, to realize in other embodiments.Therefore, the present invention will not be limited It is formed on the embodiments shown herein, and is to fit to consistent with the principles and novel features disclosed in this article widest Range.

Claims (10)

1. a kind of intelligent scanning method of storage device, which is characterized in that including:
When administrator updates storage in equipment the mapping relations between applied host machine and LUN, the storage device reflects correspondence The modification information for penetrating relationship is reported to applied host machine;
The applied host machine under the triggering of the modification information, obtain in the storage device updated applied host machine and Mapping relations between LUN;
Mapping relations of the applied host machine based on acquisition create or delete corresponding LUN device objects.
2. according to the method described in claim 1, it is characterized in that, further including:
When administrator updates storage in equipment the mapping relations between applied host machine and LUN, the storage device, which generates, to be indicated The flags parameters of mapping relations change simultaneously assign corresponding parameter value;
The storage device reports the modification information of correspondence mappings relationship to applied host machine, including:
When the applied host machine sends arbitrary order to the storage device, the storage device returns to instruction Query Information and gives The applied host machine;
The applied host machine under the triggering of the modification information, obtain in the storage device updated applied host machine and Mapping relations between LUN, including:
The applied host machine reads the flags parameters, and determining the mark under the triggering of the instruction Query Information The parameter value of parameter indicates to obtain updated mapping relations when the parameter value that mapping relations change.
3. according to the method described in claim 2, it is characterized in that, after the applied host machine reading flags parameters, go back Including:
The storage device deletes the flags parameters.
4. according to the method described in claim 3, it is characterized in that, mapping relations of the applied host machine based on acquisition create or Person deletes corresponding LUN device objects, including:
The mapping relations of acquisition are compared the applied host machine with the mapping relations that itself is stored, and the mapping for deleting acquisition is closed The corresponding LUN device objects of mapping relations in system relative to the mapping relations reduction of itself storage, the mapping for creating acquisition are closed The corresponding LUN device objects of the increased mapping relations of mapping relations in system relative to itself storage.
5. according to the method described in claim 4, it is characterized in that, mapping relations of the applied host machine based on acquisition create or After person deletes corresponding LUN device objects, further include:
The information of establishment or the deletion of corresponding LUN device objects has been completed in the applied host machine output.
6. a kind of intelligent scanning system of storage device, which is characterized in that including applied host machine and storage device, wherein:
The storage device, is used for:It, will when administrator updates storage in equipment the mapping relations between applied host machine and LUN The modification information of correspondence mappings relationship is reported to applied host machine;
The applied host machine, is used for:Under the triggering of the modification information, updated application master in the storage device is obtained Mapping relations between machine and LUN, and the mapping relations based on acquisition create or delete corresponding LUN device objects.
7. system according to claim 6, which is characterized in that the storage device is additionally operable to:When administrator updates storage In equipment when mapping relations between applied host machine and LUN, generates and indicate that the flags parameters of mapping relations change simultaneously assign correspondence Parameter value;
The storage device includes:
Reporting modules are used for:When the applied host machine sends arbitrary order to the storage device, the storage device returns Indicate Query Information to the applied host machine;
The applied host machine includes:
Acquisition module is used for:The applied host machine reads the flags parameters under the triggering of the instruction Query Information, and Updated mapping relations are obtained in the parameter value that the parameter value expression mapping relations for determining the flags parameters change.
8. system according to claim 7, which is characterized in that the storage device is additionally operable to:The applied host machine is read After the flags parameters, the flags parameters are deleted.
9. system according to claim 8, which is characterized in that the applied host machine includes:
Respond module is used for:The mapping relations of acquisition are compared the applied host machine with the mapping relations that itself is stored, and delete Except the corresponding LUN device objects of mapping relations relative to the mapping relations reduction of itself storage in the mapping relations of acquisition, wound Build the corresponding LUN device objects of the increased mapping relations of mapping relations relative to itself storage in the mapping relations of acquisition.
10. system according to claim 9, which is characterized in that the applied host machine is additionally operable to:Mapping based on acquisition is closed Output has been completed to correspond to the establishment or deletion of LUN device objects after corresponding LUN device objects are either deleted in system's establishment Information.
CN201810537911.6A 2018-05-30 2018-05-30 A kind of intelligent scanning method and system of storage device Pending CN108762677A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810537911.6A CN108762677A (en) 2018-05-30 2018-05-30 A kind of intelligent scanning method and system of storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810537911.6A CN108762677A (en) 2018-05-30 2018-05-30 A kind of intelligent scanning method and system of storage device

Publications (1)

Publication Number Publication Date
CN108762677A true CN108762677A (en) 2018-11-06

Family

ID=64004263

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810537911.6A Pending CN108762677A (en) 2018-05-30 2018-05-30 A kind of intelligent scanning method and system of storage device

Country Status (1)

Country Link
CN (1) CN108762677A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1773444A (en) * 2004-11-12 2006-05-17 国际商业机器公司 Method and system for synchronizing logical systems
US8280930B1 (en) * 2008-12-19 2012-10-02 Emc Corporation Obtaining configuration information from host devices which store data into and load data from a data storage array
CN103561064A (en) * 2013-10-22 2014-02-05 华为技术有限公司 Method and device for LUN switching
CN106557280A (en) * 2016-10-31 2017-04-05 北京华为数字技术有限公司 Date storage method, storage array and host server
CN107506283A (en) * 2017-08-25 2017-12-22 郑州云海信息技术有限公司 A kind of main frame stores the method and system of pushed information to SAN

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1773444A (en) * 2004-11-12 2006-05-17 国际商业机器公司 Method and system for synchronizing logical systems
US8280930B1 (en) * 2008-12-19 2012-10-02 Emc Corporation Obtaining configuration information from host devices which store data into and load data from a data storage array
CN103561064A (en) * 2013-10-22 2014-02-05 华为技术有限公司 Method and device for LUN switching
CN106557280A (en) * 2016-10-31 2017-04-05 北京华为数字技术有限公司 Date storage method, storage array and host server
CN107506283A (en) * 2017-08-25 2017-12-22 郑州云海信息技术有限公司 A kind of main frame stores the method and system of pushed information to SAN

Similar Documents

Publication Publication Date Title
CN107302443B (en) Equipment configuration method and device based on network configuration protocol
JP7270755B2 (en) Metadata routing in distributed systems
CN105095103B (en) For the storage device management method and apparatus under cloud environment
CN112953774B (en) Network topology generation method, system, equipment and computer storage medium
CN111901705B (en) OMCI function virtualization system of OLT equipment
CN106713391A (en) Session information sharing method and sharing system
US20190370376A1 (en) High-availability network device database synchronization
CN107566195A (en) Mirror image warehouse processing method and system
CN106571968A (en) Business switching method and system
US20210109913A1 (en) Object storage method and object storage gateway
CN109408487A (en) Document handling system and method under a kind of NAS file system
CN111435286A (en) Data storage method, device and system
CN103051478B (en) A kind of Large Copacity telecom network management system and and methods for using them is set
CN108762677A (en) A kind of intelligent scanning method and system of storage device
CN107493181B (en) Indication method and device of virtual expansion port
US11683316B2 (en) Method and device for communication between microservices
CN101656722A (en) Method for generating dynamic host configuration protocol (DHCP) snooping binding information, and device thereof
CN114793244A (en) Resource processing method, device, equipment and medium for block chain
CN108848156B (en) Access gateway processing method, device and storage medium
CN106886589A (en) A kind of picture storage method, service end and client
CN105511813A (en) Method, device and system for accessing server disk
CN116760850B (en) Data processing method, device, equipment, medium and system
CN116827900B (en) Method and system for realizing intranet terminal traceability based on Python
CN113890875B (en) Task allocation method and device
CN112765056B (en) Method, system, equipment and medium for reserving storage cluster LUN

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: 20181106