Method and apparatus for path selection of storage systems
First Claim
1. A method for a storage system, the storage system including a plurality of storage devices, each of the plurality of storage devices being connected to a plurality of different host bus adapter (HBA) ports of a server via a plurality of paths, the method comprising:
- monitoring a system-wide performance metric of the storage system to obtain dynamic performance statistics, wherein the system wide performance metric includes at least one of delay and resource utilization of the plurality of different HBA ports;
detecting a performance related event based on the dynamic performance statistics; and
selecting, from the plurality of paths, an active path for a storage device of the plurality of storage devices based on the dynamic performance statistics and a result of the detecting, wherein selecting an active path for the storage device of the plurality of storage devices includes;
dividing, based on the dynamic performance statistics and the result of the detecting, the plurality of storage devices into a plurality of subsets respectively corresponding to the plurality of different HBA ports; and
routing storage devices in each of the plurality of subsets to their corresponding HBA ports.
6 Assignments
0 Petitions
Accused Products
Abstract
Embodiments of the present disclosure provide methods and apparatus for path selection in a storage system. The storage system includes a plurality of storage devices, each storage device being connected to a plurality of different HBA ports of a server via a plurality of paths; the method comprises: monitoring a system-wide performance metric of the storage system to obtain dynamic performance statistics; detecting a performance-related event based on the dynamic performance statistics; and selecting, from the plurality of paths, an active path for a storage device of the plurality of storage devices based on the dynamic performance statistics and a result of the detecting. With the methods or apparatus according to the embodiments of the present disclosure, performance bottleneck can be avoided or timely eliminated, load balance can be achieved, and system resources can be utilized more effectively.
-
Citations
18 Claims
-
1. A method for a storage system, the storage system including a plurality of storage devices, each of the plurality of storage devices being connected to a plurality of different host bus adapter (HBA) ports of a server via a plurality of paths, the method comprising:
-
monitoring a system-wide performance metric of the storage system to obtain dynamic performance statistics, wherein the system wide performance metric includes at least one of delay and resource utilization of the plurality of different HBA ports; detecting a performance related event based on the dynamic performance statistics; and selecting, from the plurality of paths, an active path for a storage device of the plurality of storage devices based on the dynamic performance statistics and a result of the detecting, wherein selecting an active path for the storage device of the plurality of storage devices includes; dividing, based on the dynamic performance statistics and the result of the detecting, the plurality of storage devices into a plurality of subsets respectively corresponding to the plurality of different HBA ports; and routing storage devices in each of the plurality of subsets to their corresponding HBA ports. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. An apparatus for a storage system, the storage system including a plurality of storage devices, each of the plurality of storage devices being connected to a plurality of different host bus adapter (HBA) ports of a server via a plurality of paths, the apparatus comprising:
-
a performance monitor configured to monitor a system-wide performance metric of the storage system to obtain dynamic performance statistics, wherein the system wide performance metric includes at least one of delay and resource utilization of the plurality of different HBA ports; an event detector configured to detect a performance-related event based on the dynamic performance statistics; and a path selector configured to select, from the plurality of paths, an active path for a storage device of the plurality of storage devices based on the dynamic performance statistics and a result of the detecting, wherein the path selector is configured to select, from the plurality of paths, an active path for a storage device of the plurality of storage devices by; dividing, based on the dynamic performance statistics and the result of the detecting, the plurality of storage devices into a plurality of subsets respectively corresponding to the plurality of different HBA ports; and routing storage devices of each of the plurality of subsets to their corresponding HBA port. - View Dependent Claims (13, 14, 15, 16, 17, 18)
-
Specification