CN109144412A - A kind of iSCSI adapter batch scanning method and system - Google Patents
A kind of iSCSI adapter batch scanning method and system Download PDFInfo
- Publication number
- CN109144412A CN109144412A CN201810835879.XA CN201810835879A CN109144412A CN 109144412 A CN109144412 A CN 109144412A CN 201810835879 A CN201810835879 A CN 201810835879A CN 109144412 A CN109144412 A CN 109144412A
- Authority
- CN
- China
- Prior art keywords
- host
- data
- batch
- adapter
- iscsi
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/0604—Improving or facilitating administration, e.g. storage management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0662—Virtualisation aspects
- G06F3/0667—Virtualisation aspects at data level, e.g. file, record or object virtualisation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0668—Interfaces specially adapted for storage systems adopting a particular infrastructure
- G06F3/0671—In-line storage system
- G06F3/0673—Single storage device
- G06F3/0674—Disk device
- G06F3/0676—Magnetic disk device
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a kind of iSCSI adapter batch scanning method and systems.It is related to virtual platform administrative skill, inefficiency caused by solving the problems, such as repetitive operation and time-consuming excessively.This method comprises: batch issues multiple parallel host scan tasks to multiple host;Synchronize the bottom data that the multiple host scans;Storage disk is created according to the bottom data.Technical solution provided by the invention is suitable for virtual platform, and it is synchronous with data to realize efficient host scanning.
Description
Technical field
The present invention relates to virtual platform administrative skill, espespecially a kind of iSCSI adapter batch scanning method and system.
Background technique
Development and extensive universal, basis one of of the virtual platform as cloud computing recently as cloud computing technology
Also it is widely used.And due to the explosive growth of the development of Internet era and data, so that calculating energy accordingly
Power needs summed data process demand also growing, thus the calculate node that may be managed in a virtual platform may be high
Up to hundreds of to thousands of.CFS depends on iSCSI software adapter as a kind of storage system common in virtual platform
Scanning divided with to obtain bottom storage storage disk be provided.And in the case where more calculate node, if by manually
Scanning, just results in the excessive repetitive operation of whole process and very time-consuming etc. problems.
Summary of the invention
In order to solve the above-mentioned technical problems, the present invention provides a kind of ISCSI adapter batch scanning method and systems.It is logical
Parallel execution host scan task is crossed, host scanning and data synchronization efficiency is improved, solves repetitive operation and time-consuming is excessive
Caused by inefficiency the problem of.
In order to reach the object of the invention, the present invention provides a kind of iSCSI adapter batch scanning methods, comprising:
ISCSI adapter batch issues multiple parallel host scan tasks to multiple host;
Synchronize the bottom data that the multiple host scans.
Preferably, the quantity of host scan task and the quantity of host are identical.
Preferably, before the step of to multiple host issuing multiple parallel host scan tasks in batches, further includes:
Open interface platform is configured, to issue parallel host scan task by the open interface platform.
Preferably, the step of synchronizing the bottom data that the multiple host scans include:
The bottom data that bottom returns is compared with the data person that database is stored, determines delta data;
According to the delta data, synchronous storage adapter, iface, Target and disc information.
The present invention also provides a kind of iSCSI adapter batch scanning systems, comprising:
Batch tasks issue module, issue multiple parallel host scan tasks to multiple host for batch;
Bottom data synchronization module, the bottom data scanned for synchronizing the multiple host.
Preferably, the system further include:
Open interface platform provides the multiplex roles for issuing parallel host scan task.
Preferably, the bottom data synchronization module is specifically used for being stored the bottom data that bottom returns with database
Data person compare, determine delta data, according to the delta data, synchronous storage adapter, iface, Target and disk
Information.
The present invention provides a kind of iSCSI adapter batch scanning method and systems, and iSCSI adapter is in batches to more masters
Machine issues multiple parallel host scan tasks, synchronizes the bottom data that the multiple host scans.Host is improved to sweep
Retouch and data synchronization efficiency, solve the problems, such as repetitive operation and it is time-consuming it is excessive caused by inefficiency.
Other features and advantages of the present invention will be illustrated in the following description, also, partly becomes from specification
It obtains it is clear that understand through the implementation of the invention.The objectives and other advantages of the invention can be by specification, right
Specifically noted structure is achieved and obtained in claim and attached drawing.
Detailed description of the invention
Attached drawing is used to provide to further understand technical solution of the present invention, and constitutes part of specification, with this
The embodiment of application technical solution for explaining the present invention together, does not constitute the limitation to technical solution of the present invention.
Fig. 1 is a kind of flow diagram for ISCSI adapter batch scanning method that one embodiment of the invention provides;
Fig. 2 is the flow diagram for another ISCSI adapter batch scanning method that one embodiment of the invention provides;
Fig. 3 is a kind of structural schematic diagram for ISCSI adapter batch scanning system that one embodiment of the invention provides.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention
Embodiment be described in detail.It should be noted that in the absence of conflict, in the embodiment and embodiment in the application
Feature can mutual any combination.
Step shown in the flowchart of the accompanying drawings can be in a computer system such as a set of computer executable instructions
It executes.Also, although logical order is shown in flow charts, and it in some cases, can be to be different from herein suitable
Sequence executes shown or described step.
CFS as a kind of storage system common in virtual platform, dependent on iSCSI software adapter scanning with
Bottom storage is obtained to divide to provide storage disk.And in the case where more calculate node, if just being led by manually scanning
The excessive repetitive operation of whole process and very time-consuming etc. problems are caused.
To solve the above-mentioned problems, the embodiment provides a kind of ISCSI adapter batch scanning method and it is
System.With reference to the accompanying drawing, the embodiment of the present invention is described in detail.
One embodiment of the invention provides a kind of ISCSI adapter batch scanning method, completes CFS master using this method
The process of machine scanning is as shown in Figure 1, comprising:
Step 101, configuration open interface platform are appointed with issuing parallel host scanning by the open interface platform
Business.
In this step, open interface forms open interface platform by way of REST API+SDK, and programming can be used
The host that mode scans according to actual needs is called, and can also be called for mainframe cluster for front-end user interface (UI).
Step 102 to multiple host issues multiple parallel host scan tasks in batches.
In this step, management end issues scan task to host, and host bottom is scanned and returned data.
Batch starts multiple parallel host scan tasks, and host scan task is decomposed.Preferably, host scan task
Quantity it is identical as the quantity of host, a scan task is all individually performed in every host.
Step 103 synchronizes the bottom data that the multiple host scans.
In this step, the bottom data that bottom returns is compared first with the data person that database is stored, determines variation
Data, then according to the delta data, synchronous storage adapter, iface, Target and disc information.
One embodiment of the invention additionally provides a kind of ISCSI adapter batch scanning method.Since conventional batch scans
The method of iSCSI adapter is not supported concurrently, can only be scanned in such a way that a host connects a host serial.The present invention
Embodiment realizes the support to concurrent scan, and programming can be used in this method open interface by way of RESTAPI+SDK
The host that mode scans according to actual needs is called, and can also be called for mainframe cluster for front end UI.Wherein iSCSI is adapted to
Device scanning process is as shown in Figure 2, comprising:
Step 201, management end issue parallel scan task to host.
Step 202, host bottom are scanned and returned data.
Bottom returned data and database stored data are compared step 203.
Step 204, synchronous storage adapter.
Step 205, synchronous iface and target.
Step 206, timing disk information.
ISCSI adapter batch scanning method provided in an embodiment of the present invention greatly improves the scanning of iSCSI adapter
Efficiency, it will be apparent that shorten the whole time-consuming of scanning process, user of service only need to when starting it is specified need to scan it is multiple
Host or cluster simplify the operation of user of service well, reduce the complexity used, also avoid user of service big
The case where measuring the maloperation or error configurations that occur in duplicate operating process.
One embodiment of the invention additionally provides a kind of iSCSI adapter batch scanning system, structure as shown in figure 3,
Include:
Batch tasks issue module 301, issue multiple parallel host scan tasks to multiple host for batch;
Bottom data synchronization module 302, the bottom data scanned for synchronizing the multiple host.
Preferably, the system further include:
Open interface platform 303 provides the multiplex roles for issuing parallel host scan task.
Preferably, the bottom data synchronization module 302 is specifically used for the bottom data for returning to bottom and database institute
The data person of storage compares, and determines delta data, according to the delta data, synchronous storage adapter, iface, Target and
Disc information.
The embodiment provides a kind of ISCSI adapter batch scanning method and systems, in batches to multiple host
Multiple parallel host scan tasks are issued, the bottom data that the multiple host scans is synchronized.Improve host scanning
With data synchronization efficiency, inefficiency caused by solving the problems, such as repetitive operation and time-consuming excessively.
Host bottom is scanned and returned data needs to expend the more time, is most time-consuming in entire scanning process
A step, this step is changed to parallel form and carried out by the embodiment of the present invention, due to the bottom scanning of theoretically host
Time and the bottom sweep time of multiple host, so parallel mode can greatly save the time, make entirely mistake as being
The time-consuming of journey greatly shortens.In addition the invention also simplifies the operation of user of service well, avoids user of service a large amount of
The case where maloperation or error configurations for occurring in duplicate operating process.
It will appreciated by the skilled person that whole or certain steps, system, dress in method disclosed hereinabove
Functional module/unit in setting may be implemented as software, firmware, hardware and its combination appropriate.In hardware embodiment,
Division between the functional module/unit referred in the above description not necessarily corresponds to the division of physical assemblies;For example, one
Physical assemblies can have multiple functions or a function or step and can be executed by several physical assemblies cooperations.Certain groups
Part or all components may be implemented as by processor, such as the software that digital signal processor or microprocessor execute, or by
It is embodied as hardware, or is implemented as integrated circuit, such as specific integrated circuit.Such software can be distributed in computer-readable
On medium, computer-readable medium may include computer storage medium (or non-transitory medium) and communication media (or temporarily
Property medium).As known to a person of ordinary skill in the art, term computer storage medium is included in for storing information (such as
Computer readable instructions, data structure, program module or other data) any method or technique in the volatibility implemented and non-
Volatibility, removable and nonremovable medium.Computer storage medium include but is not limited to RAM, ROM, EEPROM, flash memory or its
His memory technology, CD-ROM, digital versatile disc (DVD) or other optical disc storages, magnetic holder, tape, disk storage or other
Magnetic memory apparatus or any other medium that can be used for storing desired information and can be accessed by a computer.This
Outside, known to a person of ordinary skill in the art to be, communication media generally comprises computer readable instructions, data structure, program mould
Other data in the modulated data signal of block or such as carrier wave or other transmission mechanisms etc, and may include any information
Delivery media.
Claims (7)
1. a kind of iSCSI adapter batch scanning method characterized by comprising
ISCSI adapter batch issues multiple parallel host scan tasks to multiple host;
Synchronize the bottom data that the multiple host scans.
2. iSCSI adapter batch scanning method according to claim 1, which is characterized in that the number of host scan task
It measures identical as the quantity of host.
3. iSCSI adapter batch scanning method according to claim 1, which is characterized in that iSCSI adapter batch to
Multiple host issued before the step of multiple parallel host scan tasks, further includes:
Open interface platform is configured, to issue parallel host scan task by the open interface platform.
4. iSCSI adapter batch scanning method according to claim 1, which is characterized in that synchronize the multiple host
Scan obtain bottom data the step of include:
The bottom data that bottom returns is compared with the data person that database is stored, determines delta data;
According to the delta data, synchronous storage adapter, iface, Target and disc information.
5. a kind of iSCSI adapter batch scanning system characterized by comprising
Batch tasks issue module, issue multiple parallel host scan tasks to multiple host for batch;
Bottom data synchronization module, the bottom data scanned for synchronizing the multiple host.
6. iSCSI adapter batch scanning system according to claim 5, which is characterized in that the system further include:
Open interface platform provides the multiplex roles for issuing parallel host scan task.
7. iSCSI adapter batch scanning system according to claim 5, which is characterized in that
The bottom data synchronization module is specifically used for the bottom data that bottom returns and data person's ratio that database is stored
It is right, determine delta data, according to the delta data, synchronous storage adapter, iface, Target and disc information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810835879.XA CN109144412A (en) | 2018-07-26 | 2018-07-26 | A kind of iSCSI adapter batch scanning method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810835879.XA CN109144412A (en) | 2018-07-26 | 2018-07-26 | A kind of iSCSI adapter batch scanning method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109144412A true CN109144412A (en) | 2019-01-04 |
Family
ID=64798062
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810835879.XA Pending CN109144412A (en) | 2018-07-26 | 2018-07-26 | A kind of iSCSI adapter batch scanning method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109144412A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1633131A (en) * | 2005-01-14 | 2005-06-29 | 清华大学 | A method for implementing iSCSI memory system |
CN1661566A (en) * | 2004-02-25 | 2005-08-31 | 华为技术有限公司 | Method for read back checking paralleled loaded data |
CN101013385A (en) * | 2004-03-17 | 2007-08-08 | 株式会社日立制作所 | Storage management method and storage management system |
CN104268061A (en) * | 2014-09-12 | 2015-01-07 | 国云科技股份有限公司 | Storage state monitoring mechanism for virtual machine |
CN106066890A (en) * | 2016-06-16 | 2016-11-02 | 上海天玑科技股份有限公司 | A kind of distributed high-performance data storehouse integrated machine system |
US20170004044A1 (en) * | 2015-07-03 | 2017-01-05 | Acronis International Gmbh | System and method of reliable distributed data storage with controlled redundancy |
-
2018
- 2018-07-26 CN CN201810835879.XA patent/CN109144412A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1661566A (en) * | 2004-02-25 | 2005-08-31 | 华为技术有限公司 | Method for read back checking paralleled loaded data |
CN101013385A (en) * | 2004-03-17 | 2007-08-08 | 株式会社日立制作所 | Storage management method and storage management system |
CN1633131A (en) * | 2005-01-14 | 2005-06-29 | 清华大学 | A method for implementing iSCSI memory system |
CN104268061A (en) * | 2014-09-12 | 2015-01-07 | 国云科技股份有限公司 | Storage state monitoring mechanism for virtual machine |
US20170004044A1 (en) * | 2015-07-03 | 2017-01-05 | Acronis International Gmbh | System and method of reliable distributed data storage with controlled redundancy |
CN106066890A (en) * | 2016-06-16 | 2016-11-02 | 上海天玑科技股份有限公司 | A kind of distributed high-performance data storehouse integrated machine system |
Non-Patent Citations (1)
Title |
---|
蒋迪: "《 KVM私有云架构设计与实践》", 30 April 2017, 上海交通大学出版社 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2018045820A1 (en) | File synchronization method, device, and system | |
CN109871382A (en) | A kind of implementation method and device of tables of data access java standard library | |
CN110471688A (en) | Operation system processing method, device, equipment and storage medium | |
CN111124286A (en) | Libcloud-based multi-cloud management implementation method | |
CN107479881B (en) | Method for synchronizing difference codes, storage medium, electronic device and system | |
EP3125501A1 (en) | File synchronization method, server, and terminal | |
CN102937909A (en) | Method for deploying and upgrading Linux system | |
CN109445923A (en) | A kind of method and device of micro services task schedule | |
CN111782235A (en) | Data upgrading and querying method and device | |
CN112163038A (en) | Cross-cluster data synchronization method, device, equipment and storage medium | |
CN111026397B (en) | Rpm packet distributed compiling method and device | |
CN109144412A (en) | A kind of iSCSI adapter batch scanning method and system | |
CN103532786A (en) | Server synchronization detector as well as synchronous detection method and system | |
CN112231324B (en) | System and method for realizing incremental data comparison | |
CN109104332A (en) | A kind of network card status detection method and device | |
CN113761052A (en) | Database synchronization method and device | |
CN109522092A (en) | A kind of cloud pipe platform receives pipe virtual machine method and apparatus | |
CN110795118A (en) | Cloud platform upgrading tool and upgrading method | |
CN109240932A (en) | A kind of test method, device and the equipment of unified storage management software | |
CN111506417B (en) | Concurrent profile deployment | |
CN114254030A (en) | Data synchronization method, system, terminal equipment and storage medium | |
CN109274451B (en) | Time acquisition method, device and equipment | |
CN112055057B (en) | Method, system and equipment for dynamic expansion of Web system | |
CN109783580A (en) | Method of data synchronization and device | |
CN108984276A (en) | A kind of host migration method and apparatus |
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: 20190104 |