CN113806086A - Openstack storage method, device and medium using iSCSI multipath balance docking - Google Patents

Openstack storage method, device and medium using iSCSI multipath balance docking Download PDF

Info

Publication number
CN113806086A
CN113806086A CN202111062110.7A CN202111062110A CN113806086A CN 113806086 A CN113806086 A CN 113806086A CN 202111062110 A CN202111062110 A CN 202111062110A CN 113806086 A CN113806086 A CN 113806086A
Authority
CN
China
Prior art keywords
active
node
cabinet
nodes
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
Application number
CN202111062110.7A
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.)
Jinan Inspur Data Technology Co Ltd
Original Assignee
Jinan Inspur Data 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 Jinan Inspur Data Technology Co Ltd filed Critical Jinan Inspur Data Technology Co Ltd
Priority to CN202111062110.7A priority Critical patent/CN113806086A/en
Publication of CN113806086A publication Critical patent/CN113806086A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5083Techniques for rebalancing the load in a distributed system

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application relates to a method, a device and a medium for Openstack to use iSCSI multipath balance docking storage, wherein the method comprises the following steps: acquiring topological structure information of each node from a storage cluster, wherein the topological structure information comprises the node and the condition of a cabinet where the node is located; screening out the conditions of the movable nodes and the cabinets where the movable nodes are located from the topological structure information; balancing the task amount of a plurality of selected multipath active nodes to each cabinet according to a preset multipath number and a preset path balancing strategy, so that the cabinets related to the storage cluster provide the active nodes in a balanced manner; selecting an active node with less traffic from the cabinet when a plurality of multipath active nodes are selected; and mounting the traffic on the iSCSI volume with the least traffic in the selected active node. The method and the device realize the iSCSI multipath balanced butt joint storage considering the factors of the cabinets, so that the paths are distributed in all the cabinets in a balanced manner, and when the cabinets have faults, other cabinets can provide multipath, thereby improving the high availability of the storage system.

Description

Openstack storage method, device and medium using iSCSI multipath balance docking
Technical Field
The present application relates to the field of storage systems, and in particular, to a method, an apparatus, and a medium for Openstack to use iSCSI multi-path equalization docking storage.
Background
The access of the multi-path mode to the docking storage is realized as follows: any node of the distributed storage system can provide a storage volume export function and provide block storage service to the outside after the iSCSI-target software is deployed. And a plurality of storage nodes can simultaneously access one volume, an iSCSI client is allowed to be connected with the plurality of storage nodes, volume services provided by the plurality of storage nodes are converged into a Host block device through multipath software, and then the block device is mounted to the Openstack virtual machine.
When multi-path docking storage is realized through an Openstack virtual machine, when one computing node (client) needs to access one stored volume, a plurality of storage nodes can be connected through a plurality of networks at the same time. When multiple compute nodes access multiple volumes simultaneously, multiple paths exist between the multiple compute nodes and the multiple storage nodes. If the path distribution is unbalanced, all the IO streams are concentrated on a part of the storage nodes, and other nodes are in an idle state, so that the concentration of the IO streams easily forms a performance bottleneck of storage, and the storage performance cannot be fully exerted. If the nodes of the cluster are distributed on different cabinets, the independent power supplies of the cabinets supply power to the nodes on the cabinets, and if the nodes on a certain cabinet are abnormal (caused by cabinet power failure), access paths of some iSCSI volumes are possibly interrupted, so that the iSCSI volumes cannot be accessed.
Disclosure of Invention
To solve the above technical problem or at least partially solve the above technical problem, the present application provides a method, an apparatus, and a medium for Openstack to interface storage using iSCSI multipath equalization.
In a first aspect, the present application provides an iSCSI multi-path equalization docking storage method used by an Openstack, including:
screening out the conditions of the movable nodes and the cabinets where the movable nodes are located from the topological structure information;
the task amount of a plurality of selected multipath active nodes is distributed to each cabinet in a balanced manner according to a preset path balancing strategy, so that the cabinets related to the storage cluster provide the active nodes in a balanced manner;
when a plurality of multipath active nodes are selected, the active nodes with low traffic are selected from all the active nodes of the cabinet as the active nodes provided by the cabinet;
and mounting the traffic on the iSCSI volume with the least traffic in the selected active node.
Furthermore, marking each cabinet used by the storage cluster, and identifying different cabinets through the marks; and forming the topological structure information by matching the host name of the node or the IP of the node with the mark of the cabinet.
Furthermore, the user sets a target value for the multipath number according to the requirement, and the target value of the multipath number does not exceed the total number of the active nodes of the cluster.
Further, the preset path balancing strategy includes:
acquiring the number of all active nodes in each cabinet;
defining a variable of the number of currently provided active nodes for each cabinet, and initializing;
sequencing the cabinets according to the number of all the active nodes from low to high;
each cabinet is traversed in a loop in the order of the sort,
every time the cabinet is traversed, the cabinet needs to provide an active node within the capability range of the available active nodes, namely the number of the currently provided active nodes of the traversed cabinet is increased by one,
and circularly traversing each cabinet according to the sequencing order until the number of the active nodes provided by all the cabinets reaches the preset multi-path number.
Further, each time the enclosure is traversed, the enclosure needs to provide an active node within the range of available active node capabilities, including:
each time the cabinet is traversed a single time,
comparing whether the number of the currently provided active nodes of the traversed cabinet reaches the number of all active nodes in the cabinet,
otherwise, the traversed cabinet provides an active node, namely the number of the currently provided active nodes of the traversed cabinet is added by one, and the number of the active nodes provided by all the cabinets is added by one;
if so, the enclosure no longer provides active nodes, i.e., the number of currently providing active nodes traversed to the enclosure remains unchanged.
Further, selecting an active node with low traffic from the rack, and mounting the traffic on the iSCSI volume with the least traffic among the selected active nodes comprises:
comparing whether the number of the active nodes currently provided by each cabinet reaches the corresponding number of all active nodes or not after the number of the active nodes provided by all cabinets reaches the preset number of multiple paths,
otherwise:
all active nodes of the target cabinet are sorted from low to high according to the current traffic volume,
and selects the active node with low current traffic according to the current providing node quantity and the active node traffic sequence,
acquiring an iSCSI volume with the least traffic in the selected active node;
and mounting the traffic on the iSCSI volume with the least traffic in the selected active node.
Furthermore, after the traffic is mounted to the iSCSI volume, the traffic of the selected active node and the traffic of the selected iSCSI volume are updated.
Further, the step of screening out the cabinet where the active node and the active node are located from the topology information includes:
acquiring topological structure information of each node from a storage cluster, wherein the topological structure information comprises the node and the condition of a cabinet where the node is located;
and judging whether the node is an active node by using a heartbeat mechanism, and screening the conditions of the active node and the cabinet where the active node is located from the topological structure information by using the determined active node.
In a second aspect, the present application provides an apparatus for Openstack to interface storage using iSCSI multipath equalization, including: the topology information processing module judges whether the node is an active node or not by using the node heartbeat and screens the conditions of the active node and a cabinet where the active node is located from the topology structure information by using the determined active node;
the device comprises a multipath number configuration module, a multipath number configuration module and a control module, wherein the multipath number configuration module is used for configuring the multipath number;
the strategy execution module executes a preset path balancing strategy according to the set multipath number and the conditions of the cabinets where the active nodes and the active nodes are located so as to balance and allocate the task amount of the selected multipath active nodes to each cabinet;
the mobile node selection module selects a mobile node with less traffic in the cabinet;
the iSCSI volume selection module selects the iSCSI volume with the least traffic in the selected active node;
and the execution module is used for mounting the service to the selected iSCSI volume.
In a third aspect, the present application provides a storage medium for implementing an iSCSI multi-path equalization docking storage method used by an Openstack, where the storage medium for implementing the iSCSI multi-path equalization docking storage method used by the Openstack stores at least one instruction, and the instruction is read and executed to implement the iSCSI multi-path equalization docking storage method used by the Openstack.
Compared with the prior art, the technical scheme provided by the embodiment of the application has the following advantages:
the method comprises the steps that the topological structure information of nodes is utilized to obtain the conditions of active nodes and cabinets where the active nodes are located, and each cabinet is enabled to provide the active nodes with small service volume in a balanced mode according to the set multipath number and the preset path balancing strategy; and mounts the traffic of the compute node (client) in the iSCSI volume with the least traffic among the active nodes in the volume.
According to the method, the movable nodes are provided by means of cabinet balance, the services of a plurality of computing nodes (clients) are connected to the corresponding iSCSI volumes through multiple paths, and the multiple paths are distributed to the nodes of a plurality of cabinets in a balanced manner, so that the nodes of other cabinets can provide services for the services of the computing node services in a certain cabinet fault scene, and high availability for cabinet faults is realized.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
FIG. 1 is a flowchart illustrating a method for Openstack to interface with storage using iSCSI multipath equalization according to an embodiment of the present disclosure;
fig. 2 is a flowchart for setting the number of multipaths according to an embodiment of the present disclosure;
fig. 3 is a flowchart implemented by an execution path balancing policy provided in an embodiment of the present application;
fig. 4 is a flowchart of selecting an active node with low traffic from all active nodes of an enclosure as an active node provided by the enclosure according to an embodiment of the present application;
FIG. 5 is a flowchart of an embodiment of the present application for mounting traffic on an iSCSI volume with minimal traffic among selected active nodes;
fig. 6 is a schematic diagram illustrating an implementation of Openstack interfacing a storage device using iSCSI multipath equalization according to an embodiment of the present disclosure.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
Example 1
Referring to fig. 1, an embodiment of the present application provides an iSCSI multi-path equalization docking storage method used by an Openstack, including:
s100, screening out the conditions of the movable nodes and the cabinets where the movable nodes are located from the topological structure information. In particular, the method comprises the following steps of,
and acquiring topological structure information of each node from the storage cluster, wherein the topological structure information comprises the node and the condition of the cabinet where the node is located. Specifically, when a storage cluster is deployed, servers on different cabinets are selected. Marking each cabinet used by the storage cluster, and identifying different cabinets through the marks; the topological structure information is formed by matching host names of the nodes or IP of the nodes with the marks of the cabinets, and a feasible mode is that the marks of the cabinets are used for constructing a first set, and the host names or the IPs of the nodes existing on the cabinets corresponding to the marks are stored in the first set.
And judging whether the nodes are active nodes by the storage cluster by using a heartbeat machine, and screening the conditions of the active nodes and the cabinets where the active nodes are located from the topological structure information by using the determined active nodes. One possible way is to traverse the nodes in each first set, determine whether the current node is an active node, and delete the current node if not, thereby obtaining a second set containing only active nodes.
S200, configuring the number of multiple paths, wherein the configured number of the multiple paths does not exceed the number of all active nodes of the storage cluster; specifically, referring to fig. 2, one possible way to set the number of multipaths is:
s201, setting a target value for the multipath number according to the requirement by a user,
s202, counting the number of all active nodes in each cabinet,
s203, comparing whether the total number of the active nodes is less than the set target value, if so, executing S304,
s204, modifying the target value of the multipath number set by the user to be equal to the number of all active nodes;
let the number of multipaths equal the target value.
And S300, according to the number of the multiple paths preset in the step S200 and a preset path balancing strategy, balancing and allocating the task amount of the multiple active nodes to each cabinet, so that the cabinets related to the storage cluster provide the active nodes in a balanced manner.
In a specific implementation process, referring to fig. 3, the implementation of the path balancing policy is performed:
s301, acquiring the number of all active nodes in each cabinet;
s302, sorting the cabinets according to the number of all the active nodes from low to high;
s303, defining a variable of the number of currently provided active nodes for each cabinet, and initializing, wherein the initialized value in the specific implementation process is zero;
s304, each cabinet is traversed circularly according to the sequencing sequence until the number of the active nodes provided by all the cabinets reaches the preset multi-path number. The specific process is as follows:
counting the total number n of cabinets, and representing n cabinets arranged in sequence by using a cabinet symbol containing numbers from 0 to n-1, such as rack [0], rack [1] … … rack [ n-1 ];
defining a counting variable i with an initial value of zero;
traversing the cabinet by circularly traversing the cabinet symbols: the remainder is obtained by dividing the counting variable i by the total number n and is used as a number in the cabinet symbol, namely, rack [ i% n ], and the counting variable i is added by 1, so that the cabinet symbol can be traversed circularly.
S305, each time the enclosure is traversed, the enclosure needs to provide an active node within the range of capability of providing the active node, specifically, the number of currently provided active nodes of the traversed enclosure is increased by one, and the number of active nodes provided by all the enclosures is increased by one. The specific process is as follows:
each time the cabinet is traversed a single time,
comparing whether the number of the currently provided active nodes of the traversed cabinet reaches the number of all active nodes in the cabinet,
otherwise, the traversed cabinet provides an active node, namely the number of the currently provided active nodes of the traversed cabinet is added by one, and the number of the active nodes provided by all the cabinets is added by one;
if so, the enclosure no longer provides active nodes, i.e., the number of currently providing active nodes traversed to the enclosure remains unchanged.
After determining whether the current cabinet provides the active node through step S305, returning to step S304, determining whether the number of active nodes provided by all cabinets reaches the preset number of multiple paths, if so, stopping the loop traversal, otherwise, continuing S304 to increment the count variable by 1 to traverse to obtain the next cabinet in the order.
After each cabinet determines the number of active nodes to be provided, S400 is executed to select the active nodes provided by the cabinet according to the task amount from all the active nodes of the cabinet.
S400, when a plurality of multipath active nodes are selected, the active nodes with low traffic are selected from all the active nodes of the cabinet to serve as the active nodes provided by the cabinet. In a specific implementation process, referring to fig. 4, the selecting an active node with a small traffic volume from all active nodes of the enclosure as an active node provided by the enclosure includes:
s401, acquiring the number of active nodes provided by each cabinet and the number of all active nodes of the cabinet;
s402, comparing whether the number of the currently provided active nodes of each cabinet reaches the corresponding number of all active nodes, if not, executing S403,
s403, all active nodes of the target cabinet are sorted from low to high according to the current traffic. In a specific implementation process, a feasible way to count the current traffic is to count the total number of all iSCSI volume execution traffic luns of each active node.
S404, selecting the active nodes with low current service quantity of the current providing nodes according to the service quantity sequence of each active node in the cabinet.
S500, after the active nodes are selected from each cabinet, the services are mounted on the iSCSI volumes with the least traffic in the selected active nodes.
In a specific implementation process, referring to fig. 5, the mounting of the traffic on the iSCSI volume with the least traffic in each selected active node includes:
s501, acquiring the number of luns of the execution service corresponding to each iSCSI volume in the selected active node;
s502, sequencing each iSCSI volume in the active node according to the number of luns;
s503, selecting the iSCSI volume with the least lun number as the iSCSI volume with the least traffic;
s504, the service is mounted to the iSCSI volume with the least traffic.
S600, after the business is mounted to the iSCSI volume, the business volume of the selected active node and the business volume of the selected iSCSI volume are updated. I.e. the number of luns to which the execution traffic is added to the total lun number of the active node and the lun number of the execution traffic of the corresponding iSCSI volume.
Example 2
Referring to fig. 6, an embodiment of the present application provides an apparatus for Openstack interfacing storage using iSCSI multipath equalization, including:
the topology information processing module judges whether the node is an active node or not by using the node heartbeat and screens the conditions of the active node and a cabinet where the active node is located from the topology structure information by using the determined active node;
the device comprises a multipath number configuration module, a multipath number configuration module and a control module, wherein the multipath number configuration module is used for configuring the multipath number;
the strategy execution module executes a preset path balancing strategy according to the set multipath number and the conditions of the cabinets where the active nodes and the active nodes are located so as to balance and allocate the task amount of the selected multipath active nodes to each cabinet;
the mobile node selection module selects a mobile node with less traffic in the cabinet;
the iSCSI volume selection module selects the iSCSI volume with the least traffic in the selected active node;
and the execution module is used for mounting the service to the selected iSCSI volume.
Example 3
The embodiment of the application provides a storage medium for realizing an iSCSI multipath balance docking storage method used by Openstack. Specifically, the storage medium for implementing the Openstack using the iSCSI multi-path equalization docking storage method stores at least one instruction, and the instruction is read and executed to implement the Openstack using the iSCSI multi-path equalization docking storage method.
The method comprises the steps that the topological structure information of nodes is utilized to obtain the conditions of active nodes and cabinets where the active nodes are located, and each cabinet is enabled to provide the active nodes with small service volume in a balanced mode according to the set multipath number and the preset path balancing strategy; and mounts the traffic of the compute node (client) in the iSCSI volume with the least traffic among the active nodes in the volume.
According to the method, the movable nodes are provided by means of cabinet balance, the services of a plurality of computing nodes (clients) are connected to the corresponding iSCSI volumes through multiple paths, and the multiple paths are distributed to the nodes of a plurality of cabinets in a balanced manner, so that the nodes of other cabinets can provide services for the services of the computing node services in a certain cabinet fault scene, and high availability for cabinet faults is realized.
Those skilled in the art will readily appreciate that the techniques of the embodiments of the present invention may be implemented as software plus a required general purpose hardware platform. Based on such understanding, the technical solutions in the embodiments of the present invention may be embodied in the form of a software product, where the computer software product is stored in a storage medium, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and the like, and the storage medium can store program codes, and includes instructions for enabling a computer terminal (which may be a personal computer, a server, or a second terminal, a network terminal, and the like) to perform all or part of the steps of the method in the embodiments of the present invention.
The same and similar parts in the various embodiments in this specification may be referred to each other. Especially, for the terminal embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant points can be referred to the description in the method embodiment.
In the embodiments provided by the present invention, it should be understood that the disclosed system, system and method can be implemented in other ways. For example, the above-described system embodiments are merely illustrative, and for example, the division of the units is only one logical functional division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, systems or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
Although the present invention has been described in detail by referring to the drawings in connection with the preferred embodiments, the present invention is not limited thereto. Various equivalent modifications or substitutions can be made on the embodiments of the present invention by those skilled in the art without departing from the spirit and scope of the present invention, and these modifications or substitutions are within the scope of the present invention/any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. An Openstack storage method using iSCSI multipath equalization docking, comprising:
screening out the conditions of the movable nodes and the cabinets where the movable nodes are located from the topological structure information;
the task amount of a plurality of selected multipath active nodes is distributed to each cabinet in a balanced manner according to a preset path balancing strategy, so that the cabinets related to the storage cluster provide the active nodes in a balanced manner;
when a plurality of multipath active nodes are selected, the active nodes with low traffic are selected from all the active nodes of the cabinet as the active nodes provided by the cabinet;
and mounting the traffic on the iSCSI volume with the least traffic in the selected active node.
2. The Openstack storage method using iSCSI multipath equalization interfacing storage according to claim 1, wherein each enclosure used by the storage cluster is marked, and different enclosures are identified by the marks; and forming the topological structure information by matching the host name of the node or the IP of the node with the mark of the cabinet.
3. The Openstack storage method using iSCSI multipath equalization interfacing, according to claim 1, wherein a user sets a target value for the multipath number as needed, the target value for the multipath number not exceeding the total number of active nodes of the cluster.
4. The Openstack storage method using iSCSI multipath equalization interfacing to the storage device as recited in claim 1, wherein the predetermined path equalization strategy comprises:
acquiring the number of all active nodes in each cabinet;
defining a variable of the number of currently provided active nodes for each cabinet, and initializing;
sequencing the cabinets according to the number of all the active nodes from low to high;
each cabinet is traversed in a loop in the order of the sort,
every time the cabinet is traversed, the cabinet needs to provide an active node within the capability range of the available active nodes, namely the number of the currently provided active nodes of the traversed cabinet is increased by one,
and circularly traversing each cabinet according to the sequencing order until the number of the active nodes provided by all the cabinets reaches the preset multi-path number.
5. The Openstack storage method using iSCSI multipath equalization interfacing storage as claimed in claim 4, wherein each traversal of the enclosure, the enclosure needs to provide an active node within the range of capability of providing active nodes, comprising:
each time the cabinet is traversed a single time,
comparing whether the number of the currently provided active nodes of the traversed cabinet reaches the number of all active nodes in the cabinet,
otherwise, the traversed cabinet provides an active node, namely the number of the currently provided active nodes of the traversed cabinet is added by one, and the number of the active nodes provided by all the cabinets is added by one;
if so, the enclosure no longer provides active nodes, i.e., the number of currently providing active nodes traversed to the enclosure remains unchanged.
6. The Openstack storage method using iSCSI multipath equalization interfacing to storage of claim 1, wherein selecting an active node with low traffic from a rack and mounting the traffic on the iSCSI volume with the least traffic among the selected active nodes comprises:
comparing whether the number of the active nodes currently provided by each cabinet reaches the corresponding number of all active nodes or not after the number of the active nodes provided by all cabinets reaches the preset number of multiple paths,
otherwise:
all active nodes of the target cabinet are sorted from low to high according to the current traffic volume,
and selects the active node with low current traffic according to the current providing node quantity and the active node traffic sequence,
acquiring an iSCSI volume with the least traffic in the selected active node;
and mounting the traffic on the iSCSI volume with the least traffic in the selected active node.
7. The Openstack storage method using iSCSI multipath equalization docking as claimed in claim 6, wherein the traffic of the selected active node and the traffic of the selected iSCSI volume are updated after the traffic is mounted to the iSCSI volume.
8. The Openstack storage method using iSCSI multipath equalization interfacing, according to claim 1, wherein the step of screening out the topology information for the active nodes and the cabinets where the active nodes are located comprises:
acquiring topological structure information of each node from a storage cluster, wherein the topological structure information comprises the node and the condition of a cabinet where the node is located;
and judging whether the node is an active node by using a heartbeat mechanism, and screening the conditions of the active node and the cabinet where the active node is located from the topological structure information by using the determined active node.
9. An apparatus for Openstack interfacing storage using iSCSI multipath equalization, comprising: the topology information processing module judges whether the node is an active node or not by using the node heartbeat and screens the conditions of the active node and a cabinet where the active node is located from the topology structure information by using the determined active node;
the device comprises a multipath number configuration module, a multipath number configuration module and a control module, wherein the multipath number configuration module is used for configuring the multipath number;
the strategy execution module executes a preset path balancing strategy according to the set multipath number and the conditions of the cabinets where the active nodes and the active nodes are located so as to balance and allocate the task amount of the selected multipath active nodes to each cabinet;
the mobile node selection module selects a mobile node with less traffic in the cabinet;
the iSCSI volume selection module selects the iSCSI volume with the least traffic in the selected active node;
and the execution module is used for mounting the service to the selected iSCSI volume.
10. A storage medium for implementing an Openstack storage method using iSCSI multi-path equalization docking, wherein the storage medium for implementing the Openstack storage method using iSCSI multi-path equalization docking stores at least one instruction, and the instruction is read and executed to implement the Openstack storage method using iSCSI multi-path equalization docking as claimed in any one of claims 1 to 8.
CN202111062110.7A 2021-09-10 2021-09-10 Openstack storage method, device and medium using iSCSI multipath balance docking Pending CN113806086A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111062110.7A CN113806086A (en) 2021-09-10 2021-09-10 Openstack storage method, device and medium using iSCSI multipath balance docking

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111062110.7A CN113806086A (en) 2021-09-10 2021-09-10 Openstack storage method, device and medium using iSCSI multipath balance docking

Publications (1)

Publication Number Publication Date
CN113806086A true CN113806086A (en) 2021-12-17

Family

ID=78940665

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111062110.7A Pending CN113806086A (en) 2021-09-10 2021-09-10 Openstack storage method, device and medium using iSCSI multipath balance docking

Country Status (1)

Country Link
CN (1) CN113806086A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114265702A (en) * 2022-03-02 2022-04-01 苏州浪潮智能科技有限公司 iSCSI service load balancing method, device, equipment and medium
CN114827123A (en) * 2022-02-25 2022-07-29 苏州浪潮智能科技有限公司 Method, device, equipment and medium for setting iSCSI service

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102594861A (en) * 2011-12-15 2012-07-18 杭州电子科技大学 Cloud storage system with balanced multi-server load
US9417997B1 (en) * 2012-09-28 2016-08-16 Emc Corporation Automated policy based scheduling and placement of storage resources
WO2017148382A1 (en) * 2016-03-03 2017-09-08 北京书生国际信息技术有限公司 Method and apparatus for accessing storage device by virtual machine in cloud computing management platform
CN108540876A (en) * 2018-03-12 2018-09-14 上海欣诺通信技术股份有限公司 Service path choosing method, SDN controllers, storage medium and electronic equipment
CN111935238A (en) * 2020-07-16 2020-11-13 浪潮思科网络科技有限公司 Cloud platform load balancing management system, method, equipment and medium
CN112671928A (en) * 2020-12-31 2021-04-16 北京天融信网络安全技术有限公司 Equipment centralized management architecture, load balancing method, electronic equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102594861A (en) * 2011-12-15 2012-07-18 杭州电子科技大学 Cloud storage system with balanced multi-server load
US9417997B1 (en) * 2012-09-28 2016-08-16 Emc Corporation Automated policy based scheduling and placement of storage resources
WO2017148382A1 (en) * 2016-03-03 2017-09-08 北京书生国际信息技术有限公司 Method and apparatus for accessing storage device by virtual machine in cloud computing management platform
CN108540876A (en) * 2018-03-12 2018-09-14 上海欣诺通信技术股份有限公司 Service path choosing method, SDN controllers, storage medium and electronic equipment
CN111935238A (en) * 2020-07-16 2020-11-13 浪潮思科网络科技有限公司 Cloud platform load balancing management system, method, equipment and medium
CN112671928A (en) * 2020-12-31 2021-04-16 北京天融信网络安全技术有限公司 Equipment centralized management architecture, load balancing method, electronic equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
曹嵘晖;李秦伟;吕晓丹;: "OpenStack云环境下多节点块存储研究", 微型机与应用, no. 02, 25 January 2015 (2015-01-25) *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114827123A (en) * 2022-02-25 2022-07-29 苏州浪潮智能科技有限公司 Method, device, equipment and medium for setting iSCSI service
CN114827123B (en) * 2022-02-25 2023-06-20 苏州浪潮智能科技有限公司 Method, device, equipment and medium for setting iSCSI service
CN114265702A (en) * 2022-03-02 2022-04-01 苏州浪潮智能科技有限公司 iSCSI service load balancing method, device, equipment and medium
WO2023165499A1 (en) * 2022-03-02 2023-09-07 苏州浪潮智能科技有限公司 Iscsi service load balancing method and apparatus, and device and medium

Similar Documents

Publication Publication Date Title
CN106899680B (en) The fragment treating method and apparatus of multi-tiling chain
CN109302498B (en) Network resource access method and device
US7543069B2 (en) Dynamically updating session state affinity
US11956205B1 (en) User-configurable dynamic DNS mapping for virtual services
US20140366121A1 (en) Virtual Private Storage Array Service for Cloud Servers
US10659315B2 (en) Virtual network function (VNF) relocation in a software defined network (SDN)
US20100082781A1 (en) Network connectivity
CN113806086A (en) Openstack storage method, device and medium using iSCSI multipath balance docking
US10616134B1 (en) Prioritizing resource hosts for resource placement
WO2021051570A1 (en) Data storage method based on distributed cluster, and related device thereof
CN109274584A (en) Cut-in method, device, client device and the storage medium of access server
WO2016196406A1 (en) Effective service node traffic routing
US10862948B1 (en) Virtual data centers
CN109981768A (en) I/o multipath planning method and equipment in distributed network storage system
EP2670112B1 (en) System and Method for Communicating in a Telecommunication Network via Common Key Routing and Proxies
CN116431282A (en) Cloud virtual host server management method, device, equipment and storage medium
CN114020405A (en) Virtual machine scheduling method, device, equipment and medium
US8526334B2 (en) Choosing connectable end points for network test
CN108347465B (en) Method and device for selecting network data center
US11861133B1 (en) Apparatus and methods of analyzing status of computing servers
US20060168339A1 (en) System and method for routing network traffic through weighted zones
CN109451090B (en) Domain name resolution method and device
EP2670111B1 (en) System and Methods for Communicating in a Telecommunication Network Using Common Key Routing and Data Locality Tables
CN106358140B (en) Contact person grouping method and device
CN112491592A (en) Storage resource grouping method, system, terminal and storage medium

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