WO2017067402A1 - Computing device and computing device memory component management method and system - Google Patents

Computing device and computing device memory component management method and system Download PDF

Info

Publication number
WO2017067402A1
WO2017067402A1 PCT/CN2016/101735 CN2016101735W WO2017067402A1 WO 2017067402 A1 WO2017067402 A1 WO 2017067402A1 CN 2016101735 W CN2016101735 W CN 2016101735W WO 2017067402 A1 WO2017067402 A1 WO 2017067402A1
Authority
WO
WIPO (PCT)
Prior art keywords
storage
component
computing
switch
components
Prior art date
Application number
PCT/CN2016/101735
Other languages
French (fr)
Chinese (zh)
Inventor
牛功彪
李舒
Original Assignee
阿里巴巴集团控股有限公司
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 阿里巴巴集团控股有限公司 filed Critical 阿里巴巴集团控股有限公司
Publication of WO2017067402A1 publication Critical patent/WO2017067402A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/76Architectures of general purpose stored program computers

Definitions

  • the present application relates to the field of computers, and in particular, to a computing device and a method and system for managing storage components of a computing device.
  • the storage and computing components of the data center are configured based on a single computing device, that is, the ratio of storage components to computing components for a computing device is fixed.
  • the configuration of the storage unit and the computing unit based on the single computing device has at least the following problems:
  • One of the technical problems solved by the present application is to provide a management method and system for a computing device and a storage component of a computing device, and to realize the flexible allocation of the storage component and the computing component, and fully utilize the service time limit of each component.
  • a computing device including: a computing component, further comprising:
  • the computing component is coupled to the SAS SWITCH via the interface, the SAS SWITCH being simultaneously coupled to the storage component, the storage component being allocated for the computing component connected to the SAS SWITCH based on an allocation rule.
  • a management method of a computing device storage component comprising a computing component, the computing component being connected to a SAS SWITCH, the SAS SWITCH When connected to the storage component, the method includes:
  • a method for managing a storage component including:
  • a management system for a computing device storage component comprising: a management node, at least one SAS SWITCH connected to the management node, at least one storage component connected to the SAS SWITCH, and At least one computing device computing component, wherein
  • the management node is connected to the SAS SWITCH through a management interface provided by the SAS SWITCH, and is configured to allocate a storage component to a computing component connected to the SAS SWITCH.
  • the storage component in the computing device is separated from the computing device, and the separated storage component is connected to the computing component in the computing device through the SAS SWITCH, which has at least the following advantages:
  • the separation of computing resources and storage resources is realized, which facilitates separate maintenance and management of computing resources and storage resources;
  • the life cycle of the computing component and the storage component are separated to maximize the use of components of different life cycles
  • the decoupling between the computing component and the storage component is realized, and the storage component can be allocated according to the needs of the computing component, thereby realizing the refined and flexible allocation of the computing component and the storage component.
  • FIG. 1 is a schematic structural view of a prior art computing device.
  • FIG. 2 is a block diagram of a computing device in accordance with an embodiment of the present application.
  • FIG. 3 is a flow chart of a method of managing a computing device storage component in accordance with an embodiment of the present application.
  • FIG. 4 is a schematic structural diagram of a management system of a computing device storage component according to an embodiment of the present application.
  • FIG. 5 is a timing diagram of powering up devices in a management system of a computing device storage component according to an embodiment of the present application.
  • the computer device includes a user device and a network device.
  • the user equipment includes, but is not limited to, a computer, a smart phone, a PDA, etc.
  • the network device includes but is not limited to a single network server, a server group composed of multiple network servers, or a cloud computing based computer Or a cloud composed of a network server, wherein cloud computing is a type of distributed computing, a super virtual computer composed of a group of loosely coupled computers.
  • the computer device can be operated separately to implement the present application, and can also access the network and implement the application through interaction with other computer devices in the network.
  • the network in which the computer device is located includes, but is not limited to, the Internet, a wide area network, a metropolitan area network, a local area network, a VPN network, and the like.
  • the user equipment, the network equipment, the network, and the like are only examples, and other existing or future computer equipment or networks may be applicable to the present application, and should also be included in the scope of the present application. It is included here by reference.
  • the computing device described in the embodiment of the present application is a general term for a device that provides a computing service function, and includes, but is not limited to, a server or a PC.
  • the storage components of a computing device in the prior art are fully coupled to the computing components. As shown in FIG. 1 , the structure of the existing computing device is shown.
  • the computing component 11 in the computing device corresponds to a fixed set of storage components 10 .
  • the storage component and the computing component have at least the following disadvantages based on the configuration scheme of the single computing device:
  • the warranty life of the computing device is 3 years.
  • the computing unit of the computing device should have a service life of 3 years, while the storage component has a warranty period of 5 years or longer.
  • the warranty period of the storage component is not fully utilized, but is prematurely eliminated, resulting in storage components. Part of the warranty time is wasted, which ultimately leads to a waste of costs.
  • the embodiment of the present application provides a simplified computing device and a simplified management method and system for the computing device storage component.
  • the technical solution of the present application is further described in detail below with reference to the accompanying drawings.
  • FIG. 2 is a block diagram of a computing device including a computing component 20 and an interface 21 coupled to a SAS SWITCH, in accordance with an embodiment of the present application.
  • the computing component 20 of the computing device is still disposed within the computing device, i.e., the computing component 20 is arranged in the same manner as in the prior art.
  • the computing component 20 is an I/O (input/output) module that retains memory and CPU (or GPU) computing functions.
  • the computing component 20 is connectable to the SAS SWITCH via the interface 21, which is simultaneously connected to the storage component, ie the storage component and the computing component 20 are simultaneously connected to the SAS SWITCH.
  • the SAS SWITCH is an existing IP switch applying the SAS protocol.
  • the computing component 20 is assigned a storage component coupled to the SAS SWITCH based on an allocation rule by a management node or hypervisor.
  • the embodiment of the present application is to implement flexible allocation of the computing device storage component and the computing component 20, and to enable the storage component with different lifecycles and the computing component 20 to implement the best service time, and separate the storage component of the computing device from the computing device. Only the computing component 20 is retained in the computing device. The computing component 20 retained in the computing device and the separated storage components are connected by SAS SWITCH.
  • the separated storage unit is connected to the SAS SWITCH through a unified interface in a storage array manner.
  • One embodiment of the SAS SWITCH has a management interface, and the management node can be connected to the management node, and the management node can implement the connection based on the distribution rule.
  • the storage component of the SAS SWITCH and the computing component 20 are matched, that is, the storage component connected to the SAS SWITCH is assigned a storage component connected to the SAS SWITCH.
  • Another embodiment is to install a hypervisor in one of the computing devices connected to the SAS SWITCH, which can allocate storage components for computing components connected to the SAS SWITCH based on the allocation rules.
  • the storage component 23 When the storage component 23 is allocated to the computing component 20, it may be allocated according to the actual needs of the computing component 20, that is, the number of storage components allocated for the computing component 20 varies with the actual needs of the computing component, wherein the computing component 20 The number of connected storage components can be proportional to the requirements of computing component 20.
  • embodiments of the present application enable flexible allocation of storage components and computing components 20 of computing devices.
  • At least one storage array and computing component 20 can be simultaneously connected to the SAS SWITCH, and the storage array At least one storage component is included, so when the storage component is allocated to the computing component 20, the storage components located in different storage arrays can be allocated to the same computing component 20, that is, the storage components connected to the same computing device can be located in multiple In the storage array, to ensure that the impact on the computing device computing component 20 is reduced in the event of a failure of one of the storage arrays.
  • there are 20 storage arrays connected to a SAS SWITCH each storage array includes 40 storage components, and 5 computing components connected to the SAS SWITCH are allocated for each of the 5 computing components. When the component is stored, one-fifth of the storage components selected from the 20 storage arrays are allocated to one computing component.
  • the computing device of the embodiment of the present application separates the storage component and connects with the computing component by using the SAS SWITCH, so that the storage component is separated from the computing component life cycle, so that the computing component reaches the specified service time limit (ie, the quality assurance is achieved). Period) does not affect the operation of the storage component, that is, the calculation component connected to the storage component can be replaced at this time, so as to maximize the utilization of the storage component and the calculation component of different life cycles, thereby avoiding the storage component being eliminated in advance The resulting resources are wasted.
  • the embodiment of the present application further provides a management method for a storage device of a computing device, as shown in FIG. 3 is an operation flowchart of the method, where the method mainly includes the following steps:
  • An application scenario of the embodiment of the present application may be: the computing device is the same as the computing device described in the foregoing embodiment, that is, the computing device includes a computing component, and the computing component is connected to the SAS SWITCH, the SAS SWITCH is also connected to the storage unit.
  • the method of this embodiment is for implementing a storage component for a computing component of the computing device.
  • the storage component of the embodiment of the present application is located in the storage array, and is connected to the SAS SWITCH by a unified interface of the storage array, that is, the storage array includes at least one storage component.
  • the storage component information acquired in step S320 includes: the number of storage components connected to the SAS SWITCH and the storage capacity, and may also include a state in which the storage component is used by the computing component and/or a service time limit of the storage component.
  • the obtained computing component information of the computing device includes at least: a number of computing components connected to the SAS SWITCH, and may also include a computing time limit of the computing component.
  • the storage component information and the calculation component information can be obtained by:
  • SAS SWITCH scan each interface to get the internal signal of the cable connected to each interface of SAS SWITCH to identify whether it is connected to the interface as a computing component or a storage component (or storage array). That is, by scanning the chip connected to each interface of the SAS SWITCH, it is known whether the computing component or the storage component (or storage array) is connected to each interface of the SAS SWITCH. For example, if the chip of an interface of the SAS SWITCH is scanned, the port number of the interface is obtained, indicating that the interface is connected to the interface; if the chip of the interface of the SAS SWITCH is scanned, the controller signal is obtained, Indicates that the storage unit (or storage array) is connected to the interface.
  • the storage unit information connected to the SAS SWITCH and the calculation part information are obtained in the case where all SAS SWITCH interfaces are scanned.
  • the storage component information and the calculation component information can be obtained by acquiring the scan result of the SAS SWITCH.
  • the execution timing of this step S310 can be during or after the SAS SWITCH startup process.
  • a scan operation is performed to obtain storage part information and calculation part information connected to the SAS SWITCH. It is also possible to set the SAS SWITCH to perform the scanning operation periodically after startup, so as to timely acquire the storage component information and calculate the change of the component information, for example, the change of the usage state of the storage component by the computing component.
  • the purpose of obtaining the storage component information connected to the SAS SWITCH and the computing component information of the computing device is that the storage component can be allocated to the computing component based on the obtained storage component information and the computing component information based on the allocation rule.
  • Step S320 is to allocate a storage component to the computing component based on the obtained storage component information and the computing component information based on the allocation rule.
  • the storage component is allocated to the computing component based on the number of the obtained storage component and the number of the calculated component based on the allocation rule. It is also possible to assign a storage component to the computing component based on the acquired storage component capacity and the number of calculated components.
  • the storage component is adjusted to the storage component allocated by the computing component according to the state of the obtained storage component used by the computing component, and the storage component according to the obtained storage component.
  • the service time limit and/or the service time limit of the computing component adjusts the distribution relationship between the storage component and the computing component.
  • the storage component may be allocated to the computing component according to the configured allocation rule when the storage component is initially allocated to the computing component, and the distribution rule may include:
  • a storage unit other than the specified number of storage units is allocated to the computing unit while retaining the specified number of storage units in an unassigned state.
  • the case of retaining the specified number of storage components includes: retaining a specified number of storage components in each storage array in an unallocated state, that is, retaining the storage array middle finger
  • a fixed number of storage components are not assigned to any computing component, and the reserved specified number of storage components can be used as a backup of the failed storage component, ie, assigned to the computing component, in the event of a storage component failure assigned to the computing component.
  • the reserved number of storage components are used in place of the failed storage component to ensure that the normal operation of the computing component connected to the failed storage component is not affected.
  • the number of storage components reserved in each storage array may be one or two, or the same number of storage components assigned to any of the computing components. Additionally, the number of specified number of storage components retained in each storage array may be the same or different. It will be appreciated that for ease of management, the number of specified number of storage components retained in each storage array is typically set to be the same.
  • the other storage components are all allocated as much as possible to achieve full utilization of the storage components. For example, if one of the storage arrays connected to the SAS SWITCH includes 60 storage components, and it is determined that the specified number of storage components to be retained are in the unallocated state, the remaining 58 storage components are all allocated.
  • the computing component that is connected to the SAS SWITCH includes 60 storage components, and it is determined that the specified number of storage components to be retained are in the unallocated state, the remaining 58 storage components are all allocated.
  • the computing component that is connected to the SAS SWITCH is connected to the SAS SWITCH.
  • the number of storage components included in the storage array connected to the SAS SWITCH can be set to be the same, and the number of storage components initially allocated for each computing component according to the distribution rule can also be set to be the same. It can be understood that the embodiment of the present application also supports the case where the number of storage components included in each storage array connected to the SAS SWITCH is different, and the case where a different number of storage components are initially allocated for each computing component.
  • the allocation rule may further include:
  • the storage components in the storage array are divided into the same number of copies as the number of computing components assigned to the computing components.
  • a storage array a plurality of storage components it contains are divided into the same number of copies as the number of computing components. Since in general, the number of storage arrays connected to the SAS SWITCH and the number of storage components included in the storage array will be greater than the number of computing components connected to the SAS SWITCH, that is, the storage components connected to the SAS SWITCH are sufficient to be allocated to the connection. The computational component on SAS SWITCH, therefore, does not appear to have fewer storage components in the storage array than the number of computational components connected to SAS SWITCH.
  • each storage array contains 60 storage components, and 10 computing units connected to the SAS SWITCH, according to this rule, 60 in each storage array.
  • the storage components are divided into 10 parts, each of which is assigned to one computing unit.
  • the storage in the storage array can be The storage unit is equally divided into the same number of parts as the number of calculation parts, and can also be randomly divided into the same number of parts as the number of calculation parts. That is, the 60 storage units in the storage array can be equally divided into 10 parts, and each storage unit includes 6 storage units, that is, 6 storage units assigned to each calculation unit. Or randomly divide 60 storage components in the storage array into 10 shares, and the number of storage components included in each share may be unequal, for example, may be 5, 10, 6, or 8, etc., and the randomly divided storage may be Parts are assigned to the calculation part.
  • the allocation rule does not conflict with the above-mentioned allocation rule, that is, the storage unit in the storage array can be divided into the same number of copies as the number of computing units, if the specified number of storage units in the reserved storage array are in an unallocated state.
  • the storage components in each storage array can be divided into 11 parts, one of which is reserved and not allocated to any computing part, and the remaining 10 parts are allocated to the computing part; of course, the allocation rule can also be Alone.
  • the rule is to divide the storage components in each storage array into the same number of copies as the computing components, so that the allocation rule can allocate the storage components in the same storage array to the connected components.
  • Each computing component on the SAS SWITCH that is, the storage component assigned to the same computing component, is located in multiple storage arrays. Thus, in the case of a storage array failure, only a small portion of the operation of a computing component is affected, that is, the impact of the storage component failure on the computing component is effectively reduced.
  • the allocation rule can also be:
  • All storage components connected to the SAS SWITCH are allocated to the computing component in the same number of copies as the number of computing components.
  • the allocation rule is to assign the storage units in all the storage arrays connected to the SAS SWITCH to the computing unit by the same number of copies as the number of computing units connected to the SAS SWITCH.
  • the allocation rule differs from the previous allocation rule in that it is possible for storage components in each storage array to be assigned to the same computing component.
  • the 1200 storage components are divided into 10 shares and assigned to 10 computing components.
  • the storage unit may be equally divided into the same number of copies as the number of calculated parts, or may be randomly divided into the same number of parts as the number of calculated parts. According to the present rule, in the case of dividing 1200 storage parts into 10 shares, each of which includes 120 storage parts, 120 storage parts are assigned to one calculation part.
  • the 120 storage elements may be selected in the order of the interface.
  • the interface number of the SAS SWITCH connected to the computing component is the interface. 21 to interface 31. Then, 60 storage components are selected from the interface 1, and then 60 storage components are selected from the interface 2 and assigned to the interface connected to the interface 21.
  • the computing component; the 120 storage components acquired from interface 3 and interface 4 are assigned to computing components connected to interface 22, and so on.
  • the allocation rule can also be:
  • a fixed capacity storage unit is assigned to each computing component.
  • each storage component has a storage capacity of 500G
  • 10 computing components are connected to the SAS SWITCH.
  • the rule stipulates that each computing component is allocated 1000G storage components. Then, a storage component of 1000 G randomly selected from the 20 storage components can be allocated to the computing component, and the allocated storage components are guaranteed not to collide.
  • the selection method can be selected according to the interface order as described in the above rules. Of course, other methods can be used to select the storage components for the computing component, and only need to ensure that the capacity of the storage component allocated for each computing component is equal to the fixed rule. Capacity is fine.
  • the specific representation of the storage component for the computing component is that the computing component can access and use the storage component assigned to it. That is, the process of allocating storage components for computing components is the process of opening the access and usage rights of the corresponding storage components for the computing components, and also the process of setting the matching relationship between the computing components and the storage components. After the storage component is allocated to the computing component according to the distribution rule, the matching relationship between the computing component and the storage component can be recorded. Since each interface of the SAS SWITCH has an address (or number), and each interface is connected to a computing component or a storage array, the address of the computing component or storage array connected to the interface is the address of the interface of the SAS SWITCH.
  • the storage array contains a plurality of storage components having a unique address (or number) for each storage component in the storage array. Then, after the storage component is allocated to the computing component, the correspondence between the computing component and the address of the allocated storage component can be recorded when the matching relationship between the computing component and the storage component is recorded. For example, the interface 1 of the SAS SWITCH is connected to the storage array.
  • the address of the interface 1 is assumed to be address 1, and the address of the storage array 1 is the address 1; the interface 5 is connected to the computing component, and the address of the interface 5 is assumed to be the address 5, then
  • the address of the computing component is the address 5; if the storage component X in the storage array is assigned to the computing component, and the address of the storage component X is the address X, the matching relationship between the computing component and the storage component is: address 5 Corresponding to the address X in address 1, that is, if the computing component wants to access the storage component X allocated to it, it needs to find the address of the storage array where the storage component X is located, that is, the address 1, and then find the address X in the address 1 to find the address X.
  • the storage component allocated for the computing component may be located in multiple storage arrays, when the computing component and the storage component are matched, the same computing component can be simultaneously Storage component matching.
  • the embodiment of the present application may save the matching relationship between the computing component and the storage component by matching the relationship table.
  • the matching relationship between the calculation part and the storage part recorded in the matching relation table.
  • the matching relationship table can be synchronously updated when the matching relationship between the computing component and the storage component changes.
  • the initial allocation process is the process of allocating storage components for the computing component for the first time after the SAS SWITCH is started, and after the initial allocation is completed, the matching relationship table is generated, and the subsequent possible The matching relationship is adjusted, and each time the matching relationship is adjusted, the matching relationship table is updated correspondingly.
  • the storage component information and the calculation component information may be obtained periodically, and the matching relationship needs to be adjusted when the acquired storage component information and the calculation component information change.
  • the specific scenarios include:
  • the acquired storage component information includes a state in which the storage component is used by the computing component; the storage component assigned to the computing component is adjusted according to a state in which the storage component is used by the computing component.
  • the embodiment of the present application acquires the state in which the storage component allocated to the computing component is used by the computing component in real time or periodically after initially allocating the storage component for the computing component.
  • the use state is whether the storage capacity of the storage unit is used, the ratio of use, and the like.
  • the purpose of obtaining the usage state is to adjust the storage component allocated to the computing component according to the usage state, and mainly adjust the number of storage components allocated to the computing component.
  • Specific adjustment methods include:
  • the storage component allocated to the computing component is reduced, that is, a part of the unused storage component is removed from the storage component allocated to the computing component or All. For example, if the usage rate of the calculated component of the storage component is less than 60%, the unused 40% of the storage component is canceled, or 30% of the unused storage component is canceled, and the like. or,
  • the storage component allocated for the computing component is added. For example, if the usage rate of the calculated component of the storage component is higher than 95%, then the computing component is assigned one or two storage components, etc., or all or part of the storage component that is canceled from other computing components is assigned to The calculation unit whose usage rate is higher than the upper limit value.
  • the usage rate of the obtained storage component by the calculation component may be an average usage rate within a predetermined time length range.
  • the scenario in which the matching relationship needs to be adjusted further includes:
  • the acquired storage component information includes a service time limit of the storage component
  • the obtained information of the computing component includes a service time limit of the computing component, a service time limit of the storage component, and a service time limit of the computing component are reached respectively, and a predetermined time limit is reached;
  • the service time limit reaches the specified time limit and/or the service time limit of the computing component reaches the specified time limit.
  • providing a prompt to replace the storage component or the computing component that reaches the specified time limit so that the worker adjusts according to the replacement result according to the storage component or the computing component according to the prompt according to the specified time limit.
  • the matching relationship in particular, providing a prompt to replace the storage component or the computing component that reaches the specified time limit, so that the worker adjusts according to the replacement result according to the storage component or the computing component according to the prompt according to the specified time limit.
  • the above-described operation of determining the storage means and calculating whether or not the time limit of the component reaches the respective predetermined time limit can be periodically performed.
  • the warranty time is reached when the specified time limit is reached.
  • the predetermined time limit of each computing component and the storage component is saved, and whether the current time is a specified time limit of the saved computing component and the storage component, and if the predetermined time limit of any of the computing components is specified, the computing component is prompted to be replaced. .
  • a new computing component can be created to replace the computing component that reaches the specified time limit without affecting the use of the storage component, ie the storage component can continue to be used. Both the computing component and the storage component are utilized to the maximum extent.
  • the embodiment of the present application further provides a management system for a computing device storage component, as shown in FIG. 4 , which is a schematic structural diagram of the system.
  • the system mainly includes the following: a management node 40, at least one SAS SWITCH 41 connected to the management node 40, At least one storage component 420 coupled to the SAS SWITCH 41 and computing component 43 of at least one computing device.
  • storage component 420 can be located in storage array 42, with at least one storage component 420 included in each storage array.
  • the storage array 42 is a combination of storage components 420 separated from the computing device, and each storage array 42 is connected to the SAS SWITCH 41 through a unified interface.
  • the computing component 43 is an I/O (input/output) module that retains memory and CPU (or GPU) computing functions in the computing device, which is internal to the computing device.
  • I/O input/output
  • the storage array 42 and the computing component 43 can be located in the same cabinet, that is, the storage array 42 and the computing component 43 are included in the same cabinet.
  • the storage arrays 42 can be separately disposed in one cabinet, and the computing component 43 can be disposed in another cabinet. This arrangement is more advantageous for storing different storages in different storage arrays 42.
  • Component 420 is assigned to the same computing component 43, providing the benefit of redundancy.
  • the storage array 42 and the computing component 43 are connected by a SAS SWITCH 41, which is an existing IP switch applying the SAS protocol.
  • the SAS SWITCH 41 has a plurality of interfaces including a management interface for connecting to the management node 40, and a plurality of interfaces connecting the storage array 42 and the computing component 43.
  • the SAS SWITCH 41 can obtain the storage array 42 or the computing component 43 connected to each interface by scanning each interface after booting, thereby obtaining the number of storage arrays 42 connected to the SAS SWITCH 41 and the number of computing components 43 for connecting the storage array 42.
  • the interface can be further scanned to obtain the number of storage components 420 included in the storage array 42 and the storage space size of each storage component 420.
  • the management node 40 is configured to allocate, to the computing component 43, a storage component 42 connected to the computing component 43 on the SAS SWITCH 41. It should be noted that at least one SAS SWITCH 41 is connected to one management node 40 in the management system. In FIG. 4, only the management node 40 is connected to one SAS SWITCH 41 as an example. That is, the same management node 40 can simultaneously manage a plurality of storage arrays 42 and computing components 43 connected by SAS SWITCH 41.
  • the management node 40 is connected to the SAS SWITCH 41 through a management interface provided by the SAS SWITCH41.
  • the number of computing components 43 and storage arrays 42 connected to the plurality of SAS SWITCHs 41 connected to the same management node 40 may be the same or different. In the case where the number of connections is the same, the same management policy (i.e., the policy of allocating the storage unit 420 to the computing component 43) may be employed for the plurality of SAS SWITCHs 41 for ease of management.
  • the management node 40 may be an existing computing device, or may be one of the computing devices connected to the SAS SWITCH 41 provided by the embodiment of the present application, or a management program in the computing device.
  • the management node 40 of the embodiment of the present application includes two management devices (dual management nodes) that are mutually active and standby, and two management devices that are mutually active and standby can synchronize the heartbeat through a USB (Universal Serial Bus) signal.
  • the two management devices that are mutually active and standby synchronize the saved information in real time or periodically to ensure that the standby management device can replace the management of the failed management device in the event of a failure of the primary management device.
  • the storage component included in each management device may be set to be a primary-standby relationship, that is, the storage components included in each management device are divided into two groups, one of which is a group.
  • a primary storage component another set serves as a backup of the primary storage component to ensure that in the event of a primary storage component failure, the alternate storage component can replace the primary storage component's operation to reduce the impact of the management node failure on the operation of the computing device.
  • the reliability of the system is ensured by the above-mentioned management devices that are active and standby, and the storage components that are active and standby in the management device. This reduces the probability that the computing device cannot work normally due to the failure of the management device.
  • the system described in this embodiment can control the power-on sequence of each device.
  • the power-on sequence diagram of each device is as shown in FIG. 5.
  • the management node 40 is powered on first in the system. That is, the bypass power supply is powered.
  • the main power is ready, and the main power is the power of other devices in the system except the management node 40.
  • the management node 40 controls the power-on sequence of other devices. That is, after the power-on startup of the management node 40 is completed, the power-on sequence of other devices including the SAS SWITCH 41, the storage array 42, and the computing component 43 can be controlled.
  • the power-on sequence of the other devices can be:
  • the SAS SWITCH 41 is controlled to power up first, after which the storage array 42 and the computing component 43 can be powered up simultaneously.
  • the storage array 42 is powered on to power up the storage component 420.
  • the work of allocating the storage unit 42 to the computing component 43 of the computing device can be performed only after the management node 40 is powered on. If the power-on sequence of the foregoing devices is disordered, the storage array 42 and the computing component 43 are powered on before the SAS SWITCH 41, or before the management node is powered on, or the SAS SWITCH 41 is powered on before the management node 40, and the devices after the power-on are required. Waiting for the management node 40 to be powered on after the boot is completed, this process will increase the power consumption of the system. It can be seen that the power-on sequence of each device provided in this embodiment of the present application can effectively reduce power consumption.
  • the specific representation of the management node 40 assigning the storage component 420 to the computing component 43 is that the computing component 43 can access and use the storage component 420 assigned thereto. That is, the process in which the management node 40 allocates the storage component 420 to the computing component 43 is the process of opening the access and usage rights of the corresponding storage component 420 for the computing component 43, and also the process of setting the matching relationship between the computing component 43 and the storage component 420. After the storage unit 420 is allocated to the calculation unit 43 in accordance with the distribution rule, the matching relationship between the calculation unit 43 and the storage unit 420 can be recorded.
  • each interface of the SAS SWITCH 41 has an address (or number), and each interface is connected to the computing component 43 or the storage array 42, the address of the computing component 43 or the storage array 42 connected to the interface is the interface of the SAS SWITCH. the address of. If the interface to a SAS SWITCH 41 is connected to a storage array 42, the storage array 42 includes a plurality of storage components 420 having a unique address (or number) for each storage component 420 in the storage array. Then, after the storage unit 420 is allocated to the calculation unit 43, the correspondence relationship between the calculation unit 43 and the address of the allocated storage unit 420 can be recorded when the matching relationship between the calculation unit 43 and the storage unit 420 is recorded.
  • management node 40 is configured to allocate the storage component 42 to the computing component 43 as:
  • the storage unit 420 other than the specified number of storage units 420 is assigned to the calculation unit 43 while retaining the specified number of storage units 420 in an unallocated state.
  • the reserved number of storage components 420 is reserved for each storage array 42 to reserve a specified number of storage components 420 in an unallocated state, ie, the specified number of reserved storage arrays 42
  • the storage component 420 is not assigned to any of the computing components 43.
  • the reserved number of reserved storage components 420 can be used as a backup for the failed storage component in the event of a storage component failure assigned to computing component 43. That is, the management node 40 is configured to replace the failed storage component 420 with the specified number of storage components 420 retained in the event of a failure of the storage component 420 assigned to the computing component 43 to ensure that the failure is not affected.
  • the number of storage components 420 reserved in each storage array 42 may be one or two, or the same number as the storage components 420 assigned to any of the computing components. Additionally, the number of designated number of storage components 420 remaining in each storage array 42 may be the same or different. It will be appreciated that the number of designated number of storage components 420 retained in each storage array is typically set to be the same for ease of management.
  • the management node 40 may also be configured to: when allocating the storage component 42 to the computing component 43:
  • the plurality of storage sections 420 in the storage array 42 are divided into the same number of copies as the calculation section 43 and assigned to the calculation section 43.
  • a plurality of storage sections 420 contained therein are divided into the same number of copies as the number of calculation sections 43 and assigned to the calculation section 43. Since in general, the number of storage arrays connected to the SAS SWITCH and the number of storage components included in the storage array will be greater than the number of computing components connected to the SAS SWITCH, that is, the storage components connected to the SAS SWITCH are sufficient to be allocated to the connection. The computational component on SAS SWITCH, therefore, does not appear to have fewer storage components in the storage array than the number of computational components connected to SAS SWITCH.
  • each storage array is configured according to the present rule.
  • the 60 storage units 420 of 42 are divided into 10 shares, one for each of which is assigned to one calculation unit 43.
  • the storage unit 420 in the storage array 42 may be equally divided into the same number of copies as the number of the calculation unit 43, or may be randomly divided into the same number of copies as the number of calculation units. That is, the 60 storage units 420 in the storage array 42 can be equally divided into 10 shares, and each storage unit includes six storage units, that is, six storage units for each calculation unit.
  • the subsequent storage unit 420 is assigned to the calculation unit 43.
  • the rule is that the storage unit 420 in each storage array 42 is divided into the same number of copies as the calculation unit 43 and assigned to the calculation unit 43, so that the allocation rule can assign the storage unit 420 in the same storage array to the connection unit.
  • Each computing component 43 on the SAS SWITCH 41 thus, in the event of a failure of the storage array 42, affects only a small portion of the operation of the computing component 430, i.e., effectively reduces the impact of the storage component 420 failure on the computing component.
  • the management node 40 can also be configured to:
  • the state in which the storage unit 420 is used by the calculation unit 43 is acquired; the storage unit 420 assigned to the calculation unit 43 is adjusted in accordance with the state in which the storage unit 420 is used by the calculation unit 43.
  • the embodiment of the present application acquires the state in which the storage component allocated to the computing component is used by the computing component in real time or periodically after initially allocating the storage component for the computing component.
  • the use state is whether the storage space of the storage component is used, the ratio of use, and the like.
  • the purpose of obtaining the state in which the storage component is used by the computing component is that the number of storage components allocated to the computing component can be adjusted according to the state of the storage component computing component, including:
  • the storage component allocated to the computing component is reduced, that is, part or all of the unoccupied storage component is removed from the storage component allocated to the computing component . For example, if the acquired storage component is used by the computing component below 60%, the unused 40% storage component is cancelled, or 30% of the unused storage component is cancelled, and the like. or,
  • the storage component allocated for the computing component is added. For example, if the acquired storage component is used by the computing component higher than 95%, then the computing component is assigned one or two storage components, etc., or all or part of the storage components that are canceled from other computing components are allocated for use. The rate is higher than the calculated part of the upper limit.
  • the usage rate of the obtained storage component may be an average occupancy rate within a predetermined length of time.
  • the management node 40 can also be configured to:
  • the determining operation may be performed periodically, and it is determined whether the storage time limit of the storage component and the computing component reaches a predetermined time limit, that is, whether the storage component and the computing component meet the warranty time.
  • the predetermined time limit of each computing component and the storage component is saved, and whether the current time is a specified time limit of the saved computing component and the storage component is determined. If the predetermined time limit of any of the computing component or the storage component is reached, the prompting is replaced.
  • the computing component or storage component For example, where the service time limit of one of the computing components reaches a specified time limit, a new computing component can be created to replace the computing component that reaches the specified time limit without affecting the use of the storage component, ie, the storage component can continue to be used. Both the computing component and the storage component are utilized to the maximum extent.
  • the embodiment of the present application separates the storage component in the computing device from the computing device, and connects the separated storage component to the computing component in the computing device through SAS SWITCH, which has at least the following advantages:
  • the decoupling between the computing component and the storage component is realized, and the storage component can be allocated according to the needs of the computing component, thereby realizing the refined and flexible allocation of the computing component and the storage component;
  • the present application can be implemented in software and/or a combination of software and hardware, for example, using an application specific integrated circuit (ASIC), a general purpose computer, or any other similar hardware device.
  • the software program of the present application can be executed by a processor to implement the steps or functions described above.
  • the software programs (including related data structures) of the present application can be stored in a computer readable recording medium such as a RAM memory, a magnetic or optical drive or a floppy disk and the like.
  • some of the steps or functions of the present application may be implemented in hardware, for example, as a circuit that cooperates with a processor to perform various steps or functions.
  • a portion of the present application can be applied as a computer program product, such as computer program instructions, which, when executed by a computer, can invoke or provide a method and/or technical solution in accordance with the present application.
  • the program instructions for invoking the method of the present application may be stored in a fixed or removable recording medium, and/or transmitted by a data stream in a broadcast or other signal bearing medium, and/or stored in a The working memory of the computer device in which the program instructions are run.
  • an embodiment in accordance with the present application includes a device including a memory for storing computer program instructions and a processor for executing program instructions, wherein when the computer program instructions are executed by the processor, triggering
  • the apparatus operates based on the aforementioned methods and/or technical solutions in accordance with various embodiments of the present application.

Abstract

A computing device and a computing device memory component management method and system, said computing device comprising: a computing component (20), and an interface (21) connected to an SAS switch; the computing component (20) is connected to the SAS switch by means of the interface (21), and the SAS switch also connected to a memory component; on the basis of an allocation rule, a memory component is allocated to the computing component (20) connected to the SAS switch. Separating the life cycles of a computing component and a memory component is conducive to realizing the broadest use of components having different life cycles, and by decoupling computing components and memory components, computing components and memory components can be allocated more finely and flexibly.

Description

计算设备及计算设备存储部件的管理方法及系统Computing device and computing device storage component management method and system
本申请要求2015年10月19日递交的申请号为201510681163.5、发明名称为“计算设备及计算设备存储部件的管理方法及系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application No. 201510681163.5, filed on Jan. 19, 2015, entitled <RTI ID=0.0>> in.
技术领域Technical field
本申请涉及计算机领域,尤其涉及一种计算设备及计算设备存储部件的管理方法及系统。The present application relates to the field of computers, and in particular, to a computing device and a method and system for managing storage components of a computing device.
背景技术Background technique
目前,数据中心的存储部件与计算部件是基于单计算设备来配置,也就是,对于一台计算设备其存储部件与计算部件的配比是固定的。该基于单计算设备的存储部件与计算部件的配置方式至少存在如下问题:Currently, the storage and computing components of the data center are configured based on a single computing device, that is, the ratio of storage components to computing components for a computing device is fixed. The configuration of the storage unit and the computing unit based on the single computing device has at least the following problems:
虽然可以通过分布式方式实现存储资源与计算资源的配置,但仍无法做到存储资源与计算资源的精细化、灵活的分配与管理。Although the configuration of storage resources and computing resources can be implemented in a distributed manner, the refinement and flexible allocation and management of storage resources and computing resources cannot be achieved.
另外,在生命周期上存储部件与计算部件存在差异,导一般计算部件的生命周期短于存储部件的生命周期,该配置方式导致部存储部件过早的被淘汰,造成资源浪费。In addition, there is a difference between the storage component and the computing component in the life cycle, and the life cycle of the general computing component is shorter than the life cycle of the storage component. This configuration mode causes the storage component to be eliminated prematurely, resulting in waste of resources.
因此,存储部件与计算部件基于单计算设备的配置方案有待改善。Therefore, the configuration scheme of the storage component and the computing component based on the single computing device needs to be improved.
发明内容Summary of the invention
本申请解决的技术问题之一是提供一种计算设备及计算设备存储部件的管理方法及系统,实现存储部件与计算部件的灵活分配的同时,充分利用各部件的服务时限。One of the technical problems solved by the present application is to provide a management method and system for a computing device and a storage component of a computing device, and to realize the flexible allocation of the storage component and the computing component, and fully utilize the service time limit of each component.
根据本申请一方面的一个实施例,提供了一种计算设备,包括:计算部件,还包括:According to an embodiment of an aspect of the present application, a computing device is provided, including: a computing component, further comprising:
与SAS SWITCH连接的接口;Interface to SAS SWITCH;
所述计算部件通过所述接口与SAS SWITCH连接,所述SAS SWITCH同时与存储部件连接,基于分配规则为为连接于SAS SWITCH上的所述计算部件分配存储部件。The computing component is coupled to the SAS SWITCH via the interface, the SAS SWITCH being simultaneously coupled to the storage component, the storage component being allocated for the computing component connected to the SAS SWITCH based on an allocation rule.
根据本申请另一方面的一个实施例,提供了一种计算设备存储部件的管理方法,所述计算设备包括计算部件,所述计算部件与SAS SWITCH连接,所述SAS SWITCH同 时与存储部件连接,所述方法包括:According to an embodiment of another aspect of the present application, there is provided a management method of a computing device storage component, the computing device comprising a computing component, the computing component being connected to a SAS SWITCH, the SAS SWITCH When connected to the storage component, the method includes:
获取与SAS SWITCH连接的存储部件信息及计算部件信息;Obtaining storage component information and computing component information connected to the SAS SWITCH;
依据获取的所述存储部件信息及计算部件信息基于分配规则为计算部件分配存储部件。And storing the storage component for the computing component based on the obtained storage component information and the computing component information based on the allocation rule.
根据本申请又一方面的一个实施例,提供了一种存储部件的管理方法,包括:According to an embodiment of a further aspect of the present application, a method for managing a storage component is provided, including:
获取与串行的小型计算机系统接口交换机SAS SWITCH连接的存储部件信息及计算部件信息;Obtaining storage component information and computing component information connected to the serial small computer system interface switch SAS SWITCH;
依据获取的所述存储部件信息及计算部件信息基于分配规则为计算部件分配存储部件。And storing the storage component for the computing component based on the obtained storage component information and the computing component information based on the allocation rule.
根据本申请又一方面的一个实施例,提供了一种计算设备存储部件的管理系统,包括如下设备:管理节点、与管理节点连接的至少一个SAS SWITCH、与SAS SWITCH连接的至少一个存储部件和至少一个计算设备的计算部件,其中,According to an embodiment of still another aspect of the present application, a management system for a computing device storage component is provided, comprising: a management node, at least one SAS SWITCH connected to the management node, at least one storage component connected to the SAS SWITCH, and At least one computing device computing component, wherein
所述管理节点通过所述SAS SWITCH提供的管理接口与所述SAS SWITCH连接,用于为连接于所述SAS SWITCH上的计算部件分配存储部件。The management node is connected to the SAS SWITCH through a management interface provided by the SAS SWITCH, and is configured to allocate a storage component to a computing component connected to the SAS SWITCH.
本申请实施例通过将计算设备中的存储部件从计算设备中分离出来,将分离出来的存储部件通过SAS SWITCH与计算设备中的计算部件连接,其至少具有如下优点:In the embodiment of the present application, the storage component in the computing device is separated from the computing device, and the separated storage component is connected to the computing component in the computing device through the SAS SWITCH, which has at least the following advantages:
实现了计算资源与存储资源的分离,方便了对计算资源和存储资源进行分别的维护和管理;The separation of computing resources and storage resources is realized, which facilitates separate maintenance and management of computing resources and storage resources;
计算部件和存储部件的生命周期分开,便于对不同生命周期的部件进行最大限度的利用;The life cycle of the computing component and the storage component are separated to maximize the use of components of different life cycles;
可维护性增强,且有效减少维护工作量。Increased maintainability and reduced maintenance effort.
实现了计算部件与存储部件的解耦,可以根据计算部件的需要为其分配存储部件,实现了计算部件与存储部件的精细化、灵活分配。The decoupling between the computing component and the storage component is realized, and the storage component can be allocated according to the needs of the computing component, thereby realizing the refined and flexible allocation of the computing component and the storage component.
本领域普通技术人员将了解,虽然下面的详细说明将参考图示实施例、附图进行,但本申请并不仅限于这些实施例。而是,本申请的范围是广泛的,且意在仅通过后附的权利要求限定本申请的范围。Those skilled in the art will appreciate that although the following detailed description is made with reference to the illustrated embodiments and drawings, the application is not limited to these embodiments. Rather, the scope of the present application is broadly defined and the scope of the application is defined by the appended claims.
附图说明DRAWINGS
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施 例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings to be used in the embodiments will be briefly described below. Obviously, the drawings in the following description are only some of the present application. Implementation For example, other drawings may be obtained from those of ordinary skill in the art in light of the inventive work.
图1是现有技术计算设备的结构示意图。1 is a schematic structural view of a prior art computing device.
图2是根据本申请一个实施例的计算设备的结构示意图。2 is a block diagram of a computing device in accordance with an embodiment of the present application.
图3是根据本申请一个实施例的计算设备存储部件的管理方法的流程图。3 is a flow chart of a method of managing a computing device storage component in accordance with an embodiment of the present application.
图4是根据本申请一个实施例的计算设备存储部件的管理系统结构示意图。4 is a schematic structural diagram of a management system of a computing device storage component according to an embodiment of the present application.
图5是根据本申请一个实施例的计算设备存储部件的管理系统中各设备上电时序图。FIG. 5 is a timing diagram of powering up devices in a management system of a computing device storage component according to an embodiment of the present application.
具体实施方式detailed description
在更加详细地讨论示例性实施例之前应当提到的是,一些示例性实施例被描述成作为流程图描绘的处理或方法。虽然流程图将各项操作描述成顺序的处理,但是其中的许多操作可以被并行地、并发地或者同时实施。此外,各项操作的顺序可以被重新安排。当其操作完成时所述处理可以被终止,但是还可以具有未包括在附图中的附加步骤。所述处理可以对应于方法、函数、规程、子例程、子程序等等。Before discussing the exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as a process or method depicted as a flowchart. Although the flowcharts describe various operations as a sequential process, many of the operations can be implemented in parallel, concurrently or concurrently. In addition, the order of operations can be rearranged. The process may be terminated when its operation is completed, but may also have additional steps not included in the figures. The processing may correspond to methods, functions, procedures, subroutines, subroutines, and the like.
所述计算机设备包括用户设备与网络设备。其中,所述用户设备包括但不限于电脑、智能手机、PDA等;所述网络设备包括但不限于单个网络服务器、多个网络服务器组成的服务器组或基于云计算(Cloud Computing)的由大量计算机或网络服务器构成的云,其中,云计算是分布式计算的一种,由一群松散耦合的计算机集组成的一个超级虚拟计算机。其中,所述计算机设备可单独运行来实现本申请,也可接入网络并通过与网络中的其他计算机设备的交互操作来实现本申请。其中,所述计算机设备所处的网络包括但不限于互联网、广域网、城域网、局域网、VPN网络等。The computer device includes a user device and a network device. The user equipment includes, but is not limited to, a computer, a smart phone, a PDA, etc.; the network device includes but is not limited to a single network server, a server group composed of multiple network servers, or a cloud computing based computer Or a cloud composed of a network server, wherein cloud computing is a type of distributed computing, a super virtual computer composed of a group of loosely coupled computers. Wherein, the computer device can be operated separately to implement the present application, and can also access the network and implement the application through interaction with other computer devices in the network. The network in which the computer device is located includes, but is not limited to, the Internet, a wide area network, a metropolitan area network, a local area network, a VPN network, and the like.
需要说明的是,所述用户设备、网络设备和网络等仅为举例,其他现有的或今后可能出现的计算机设备或网络如可适用于本申请,也应包含在本申请保护范围以内,并以引用方式包含于此。It should be noted that the user equipment, the network equipment, the network, and the like are only examples, and other existing or future computer equipment or networks may be applicable to the present application, and should also be included in the scope of the present application. It is included here by reference.
后面所讨论的方法(其中一些通过流程图示出)可以通过硬件、软件、固件、中间件、微代码、硬件描述语言或者其任意组合来实施。当用软件、固件、中间件或微代码来实施时,用以实施必要任务的程序代码或代码段可以被存储在机器或计算机可读介质 (比如存储介质)中。(一个或多个)处理器可以实施必要的任务。The methods discussed below, some of which are illustrated by flowcharts, can be implemented in hardware, software, firmware, middleware, microcode, hardware description languages, or any combination thereof. When implemented in software, firmware, middleware or microcode, the program code or code segments to carry out the necessary tasks can be stored in a machine or computer readable medium. (such as storage media). The processor(s) can perform the necessary tasks.
这里所公开的具体结构和功能细节仅仅是代表性的,并且是用于描述本申请的示例性实施例的目的。但是本申请可以通过许多替换形式来具体实现,并且不应当被解释成仅仅受限于这里所阐述的实施例。The specific structural and functional details disclosed herein are merely representative and are for purposes of describing exemplary embodiments of the present application. The present application, however, may be embodied in many alternative forms and should not be construed as being limited to the embodiments set forth herein.
应当理解的是,虽然在这里可能使用了术语“第一”、“第二”等等来描述各个单元,但是这些单元不应当受这些术语限制。使用这些术语仅仅是为了将一个单元与另一个单元进行区分。举例来说,在不背离示例性实施例的范围的情况下,第一单元可以被称为第二单元,并且类似地第二单元可以被称为第一单元。这里所使用的术语“和/或”包括其中一个或更多所列出的相关联项目的任意和所有组合。It should be understood that although the terms "first," "second," etc. may be used herein to describe the various elements, these elements should not be limited by these terms. These terms are used only to distinguish one unit from another. For example, a first unit could be termed a second unit, and similarly a second unit could be termed a first unit, without departing from the scope of the exemplary embodiments. The term "and/or" used herein includes any and all combinations of one or more of the associated listed items.
应当理解的是,当一个单元被称为“连接”或“耦合”到另一单元时,其可以直接连接或耦合到所述另一单元,或者可以存在中间单元。与此相对,当一个单元被称为“直接连接”或“直接耦合”到另一单元时,则不存在中间单元。应当按照类似的方式来解释被用于描述单元之间的关系的其他词语(例如“处于...之间”相比于“直接处于...之间”,“与...邻近”相比于“与...直接邻近”等等)。It will be understood that when a unit is referred to as "connected" or "coupled" to another unit, it can be directly connected or coupled to the other unit, or an intermediate unit can be present. In contrast, when a unit is referred to as being "directly connected" or "directly coupled" to another unit, there is no intermediate unit. Other words used to describe the relationship between the units should be interpreted in a similar manner (eg "between" and "directly between" and "adjacent to" Than "directly adjacent to", etc.).
这里所使用的术语仅仅是为了描述具体实施例而不意图限制示例性实施例。除非上下文明确地另有所指,否则这里所使用的单数形式“一个”、“一项”还意图包括复数。还应当理解的是,这里所使用的术语“包括”和/或“包含”规定所陈述的特征、整数、步骤、操作、单元和/或组件的存在,而不排除存在或添加一个或更多其他特征、整数、步骤、操作、单元、组件和/或其组合。The terminology used herein is for the purpose of describing the particular embodiments, The singular forms "a", "an", It is also to be understood that the terms "comprising" and """ Other features, integers, steps, operations, units, components, and/or combinations thereof.
还应当提到的是,在一些替换实现方式中,所提到的功能/动作可以按照不同于附图中标示的顺序发生。举例来说,取决于所涉及的功能/动作,相继示出的两幅图实际上可以基本上同时执行或者有时可以按照相反的顺序来执行。It should also be noted that, in some alternative implementations, the functions/acts noted may occur in a different order than that illustrated in the drawings. For example, two figures shown in succession may in fact be executed substantially concurrently or sometimes in the reverse order, depending on the function/acts involved.
本申请实施例中所述的计算设备为提供计算服务功能的设备的统称,其包括但不限于服务器或PC等设备。The computing device described in the embodiment of the present application is a general term for a device that provides a computing service function, and includes, but is not limited to, a server or a PC.
现有技术中一台计算设备的存储部件与计算部件完全耦合。如图1中所示为已有的计算设备结构示意图,计算设备中的计算部件11对应固定的一组存储部件10,该存储部件与计算部件基于单计算设备的配置方案至少存在如下缺点:The storage components of a computing device in the prior art are fully coupled to the computing components. As shown in FIG. 1 , the structure of the existing computing device is shown. The computing component 11 in the computing device corresponds to a fixed set of storage components 10 . The storage component and the computing component have at least the following disadvantages based on the configuration scheme of the single computing device:
1、无法进行存储部件与计算部件的精细化、灵活分配与管理。1. It is impossible to refine, flexibly allocate and manage storage components and computing components.
2、在生命周期上存储部件与计算部件存在差异,通常计算设备质保年限为3年,对 应的计算设备计算部件的服务年限一般为3年,而存储部件的质保年限一般为5年或者更长。在计算设备到达质保年限情况下会将计算设备淘汰,而此时并未达到存储部件的质保年限,因此,存储部件的质保年限没有被充分利用起来,而是过早的被淘汰,导致存储部件的部分质保时间被浪费,最终导致成本的浪费。2. There is a difference between the storage component and the computing component in the life cycle. Usually, the warranty life of the computing device is 3 years. The computing unit of the computing device should have a service life of 3 years, while the storage component has a warranty period of 5 years or longer. When the computing device reaches the warranty period, the computing device will be eliminated, and the warranty period of the storage component is not reached at this time. Therefore, the warranty period of the storage component is not fully utilized, but is prematurely eliminated, resulting in storage components. Part of the warranty time is wasted, which ultimately leads to a waste of costs.
针对上述计算设备存在的问题,本申请实施例提供一种简化的计算设备以及简化的计算设备存储部件的管理方法及系统,下面结合附图对本申请的技术方案作进一步详细描述。For the problem of the above-mentioned computing device, the embodiment of the present application provides a simplified computing device and a simplified management method and system for the computing device storage component. The technical solution of the present application is further described in detail below with reference to the accompanying drawings.
图2是根据本申请一个实施例的计算设备的结构示意图,该计算设备包括:计算部件20及与SAS SWITCH连接的接口21。如图2中所示,该计算设备的计算部件20仍然设置于计算设备内,也就是对于计算部件20的设置方式同现有技术。该计算部件20即为保留内存以及CPU(或GPU)计算功能的I/O(输入/输出)模块。2 is a block diagram of a computing device including a computing component 20 and an interface 21 coupled to a SAS SWITCH, in accordance with an embodiment of the present application. As shown in Figure 2, the computing component 20 of the computing device is still disposed within the computing device, i.e., the computing component 20 is arranged in the same manner as in the prior art. The computing component 20 is an I/O (input/output) module that retains memory and CPU (or GPU) computing functions.
所述计算部件20通过所述接口21可与SAS SWITCH连接,所述SAS SWITCH同时与存储部件连接,即存储部件与计算部件20同时与SAS SWITCH连接。其中,所述SAS SWITCH为已有的一种应用SAS协议的IP交换机。通过管理节点或管理程序基于分配规则为所述计算部件20分配连接于SAS SWITCH上的存储部件。The computing component 20 is connectable to the SAS SWITCH via the interface 21, which is simultaneously connected to the storage component, ie the storage component and the computing component 20 are simultaneously connected to the SAS SWITCH. The SAS SWITCH is an existing IP switch applying the SAS protocol. The computing component 20 is assigned a storage component coupled to the SAS SWITCH based on an allocation rule by a management node or hypervisor.
本申请实施例为实现计算设备存储部件与计算部件20的灵活分配,同时让生命周期不同的存储部件与计算部件20实现各尽所能的服务时间,将计算设备的存储部件从计算设备中分离,在计算设备中只保留计算部件20。保留在计算设备中的计算部件20以及被分离出来的存储部件通过SAS SWITCH连接。The embodiment of the present application is to implement flexible allocation of the computing device storage component and the computing component 20, and to enable the storage component with different lifecycles and the computing component 20 to implement the best service time, and separate the storage component of the computing device from the computing device. Only the computing component 20 is retained in the computing device. The computing component 20 retained in the computing device and the separated storage components are connected by SAS SWITCH.
其中,被分离出来的存储部件以存储阵列方式通过统一的接口与SAS SWITCH连接,其中一种实施例SAS SWITCH具有管理接口,通过管理接口可连接管理节点,通过管理节点基于分配规则可实现对连接于SAS SWITCH的存储部件以及计算部件20进行匹配,也就是为连接于SAS SWITCH的计算部件20分配连接于SAS SWITCH的存储部件。另一种实施例为在连接于SAS SWITCH上的其中一个计算设备中安装管理程序,该管理程序可基于分配规则为连接于SAS SWITCH上的计算部件分配存储部件。The separated storage unit is connected to the SAS SWITCH through a unified interface in a storage array manner. One embodiment of the SAS SWITCH has a management interface, and the management node can be connected to the management node, and the management node can implement the connection based on the distribution rule. The storage component of the SAS SWITCH and the computing component 20 are matched, that is, the storage component connected to the SAS SWITCH is assigned a storage component connected to the SAS SWITCH. Another embodiment is to install a hypervisor in one of the computing devices connected to the SAS SWITCH, which can allocate storage components for computing components connected to the SAS SWITCH based on the allocation rules.
在为计算部件20分配存储部件23时可依据计算部件20的实际需要来分配,也就是为计算部件20分配的存储部件的数量随计算部件的实际需要的变化而变化,其中,与计算部件20连接的存储部件的数量可与计算部件20的需求成正比。因此本申请实施例实现了计算设备的存储部件与计算部件20的灵活分配。When the storage component 23 is allocated to the computing component 20, it may be allocated according to the actual needs of the computing component 20, that is, the number of storage components allocated for the computing component 20 varies with the actual needs of the computing component, wherein the computing component 20 The number of connected storage components can be proportional to the requirements of computing component 20. Thus, embodiments of the present application enable flexible allocation of storage components and computing components 20 of computing devices.
另外,SAS SWITCH上可同时连接至少一个存储阵列以及计算部件20,且存储阵列 中包括至少一个存储部件,因此在为计算部件20分配存储部件时,可将位于不同存储阵列中的存储部件分配给同一计算部件20,也就是与同一计算设备连接的存储部件可分别位于多个存储阵列中,以保证在一个存储阵列出现故障情况下,降低对计算设备计算部件20的影响。例如,与一SAS SWITCH连接的存储阵列有20个,每个存储阵列中包括40个存储部件,与该SAS SWITCH连接的计算部件有5个,则为该5个计算部件中每一计算部件分配存储部件时,可分别从该20个存储阵列中选择1/5的存储部件分配给一个计算部件。In addition, at least one storage array and computing component 20 can be simultaneously connected to the SAS SWITCH, and the storage array At least one storage component is included, so when the storage component is allocated to the computing component 20, the storage components located in different storage arrays can be allocated to the same computing component 20, that is, the storage components connected to the same computing device can be located in multiple In the storage array, to ensure that the impact on the computing device computing component 20 is reduced in the event of a failure of one of the storage arrays. For example, there are 20 storage arrays connected to a SAS SWITCH, each storage array includes 40 storage components, and 5 computing components connected to the SAS SWITCH are allocated for each of the 5 computing components. When the component is stored, one-fifth of the storage components selected from the 20 storage arrays are allocated to one computing component.
需要说明的是,本申请实施例的计算设备通过将存储部件分离出来,并采用SAS SWITCH与计算部件连接,实现存储部件与计算部件生命周期分开,这样在计算部件达到规定服务时限(即达到质保期)时,并不影响存储部件的工作,也就是此时可更换与存储部件连接的计算部件,便于对不同生命周期的存储部件及计算部件进行最大限度的利用,避免存储部件由于提前被淘汰造成的资源浪费。It should be noted that the computing device of the embodiment of the present application separates the storage component and connects with the computing component by using the SAS SWITCH, so that the storage component is separated from the computing component life cycle, so that the computing component reaches the specified service time limit (ie, the quality assurance is achieved). Period) does not affect the operation of the storage component, that is, the calculation component connected to the storage component can be replaced at this time, so as to maximize the utilization of the storage component and the calculation component of different life cycles, thereby avoiding the storage component being eliminated in advance The resulting resources are wasted.
本申请实施例还提供一种计算设备存储部件的管理方法,如图3中所示为所述方法的操作流程图,该方法主要包括如下步骤:The embodiment of the present application further provides a management method for a storage device of a computing device, as shown in FIG. 3 is an operation flowchart of the method, where the method mainly includes the following steps:
S310、获取与SAS SWITCH连接的存储部件信息及计算部件信息;S310. Obtain storage component information and computing component information that are connected to the SAS SWITCH.
S320、依据获取的所述存储部件信息及计算部件信息基于分配规则为计算部件分配存储部件。S320. Allocate a storage component for the computing component based on the obtained storage component information and the computing component information based on the allocation rule.
为进一步理解本方案,下面对上述各步骤做进一步详细介绍。To further understand this solution, the above steps are further described in detail below.
本申请实施例的一种应用场景可以为:所述的计算设备同上面实施例中所述的计算设备,即,所述计算设备包括计算部件,所述计算部件与SAS SWITCH连接,所述SAS SWITCH同时与存储部件连接。本实施例的方法用于实现为所述计算设备的计算部件分配存储部件。An application scenario of the embodiment of the present application may be: the computing device is the same as the computing device described in the foregoing embodiment, that is, the computing device includes a computing component, and the computing component is connected to the SAS SWITCH, the SAS SWITCH is also connected to the storage unit. The method of this embodiment is for implementing a storage component for a computing component of the computing device.
本申请实施例所述存储部件位于存储阵列中,以存储阵列的统一接口与SAS SWITCH连接,也就是,存储阵列中包括至少一个存储部件。The storage component of the embodiment of the present application is located in the storage array, and is connected to the SAS SWITCH by a unified interface of the storage array, that is, the storage array includes at least one storage component.
步骤S320中获取的存储部件信息包括:与SAS SWITCH连接的存储部件数量及存储容量,还可包括存储部件被计算部件使用的状态和/或存储部件的服务时限。所获取的所述计算设备的计算部件信息至少包括:与SAS SWITCH连接的计算部件数量,还可包括计算部件的服务时限。The storage component information acquired in step S320 includes: the number of storage components connected to the SAS SWITCH and the storage capacity, and may also include a state in which the storage component is used by the computing component and/or a service time limit of the storage component. The obtained computing component information of the computing device includes at least: a number of computing components connected to the SAS SWITCH, and may also include a computing time limit of the computing component.
其中,所述存储部件信息以及计算部件信息可通过如下方式获取: The storage component information and the calculation component information can be obtained by:
令SAS SWITCH扫描各接口,从而得到与SAS SWITCH各接口连接的线缆内部信号即可识别与该接口连接的是计算部件还是存储部件(或存储阵列)。也就是通过扫描与SAS SWITCH各接口连接的芯片来获知与该SAS SWITCH各接口连接的是计算部件还是存储部件(或存储阵列)。例如,若扫描SAS SWITCH的一个接口的芯片时,获取到该接口的端口号,则表明与该接口连接的为计算部件;若扫描SAS SWITCH的一个接口的芯片时,获取到控制器信号,则表明与该接口连接的为存储部件(或存储阵列)。在扫描完所有SAS SWITCH的接口的情况下获得与该SAS SWITCH连接的存储部件信息以及计算部件信息。可通过获取该SAS SWITCH的扫描结果来获取存储部件信息以及计算部件信息。Let SAS SWITCH scan each interface to get the internal signal of the cable connected to each interface of SAS SWITCH to identify whether it is connected to the interface as a computing component or a storage component (or storage array). That is, by scanning the chip connected to each interface of the SAS SWITCH, it is known whether the computing component or the storage component (or storage array) is connected to each interface of the SAS SWITCH. For example, if the chip of an interface of the SAS SWITCH is scanned, the port number of the interface is obtained, indicating that the interface is connected to the interface; if the chip of the interface of the SAS SWITCH is scanned, the controller signal is obtained, Indicates that the storage unit (or storage array) is connected to the interface. The storage unit information connected to the SAS SWITCH and the calculation part information are obtained in the case where all SAS SWITCH interfaces are scanned. The storage component information and the calculation component information can be obtained by acquiring the scan result of the SAS SWITCH.
该步骤S310的执行时机可以在SAS SWITCH启动过程中或启动后。每次SAS SWITCH启动时会执行扫描操作,即可获取与该SAS SWITCH连接的存储部件信息以及计算部件信息。也可设置该SAS SWITCH启动后定期执行该扫描操作,以便及时获取存储部件信息及计算部件信息的变化,例如存储部件被计算部件的使用状态的变化等。The execution timing of this step S310 can be during or after the SAS SWITCH startup process. Each time SAS SWITCH starts, a scan operation is performed to obtain storage part information and calculation part information connected to the SAS SWITCH. It is also possible to set the SAS SWITCH to perform the scanning operation periodically after startup, so as to timely acquire the storage component information and calculate the change of the component information, for example, the change of the usage state of the storage component by the computing component.
获取与SAS SWITCH连接的存储部件信息及计算设备的计算部件信息的目的在于,可以依据获取的该存储部件信息以及计算部件信息基于分配规则为计算部件分配存储部件。The purpose of obtaining the storage component information connected to the SAS SWITCH and the computing component information of the computing device is that the storage component can be allocated to the computing component based on the obtained storage component information and the computing component information based on the allocation rule.
步骤S320即为依据获取的所述存储部件信息及计算部件信息基于分配规则为计算部件分配存储部件。其中,针对SAS SWITCH启动后初始为计算部件分配存储部件情况下,主要依据获取的存储部件数量以及计算部件数量基于分配规则来为计算部件分配存储部件。还可以基于获取的存储部件容量及计算部件数量来为计算部件分配存储部件。针对SAS SWITCH启动后定期扫描接口获取到更新后的存储部件信息以及计算部件信息的情况,主要依据获取的存储部件被计算部件使用的状态调整为计算部件分配的存储部件,以及依据获取的存储部件的服务时限和/或计算部件的服务时限调整存储部件与计算部件的分配关系。Step S320 is to allocate a storage component to the computing component based on the obtained storage component information and the computing component information based on the allocation rule. Wherein, in the case that the storage component is initially allocated for the computing component after the SAS SWITCH is started, the storage component is allocated to the computing component based on the number of the obtained storage component and the number of the calculated component based on the allocation rule. It is also possible to assign a storage component to the computing component based on the acquired storage component capacity and the number of calculated components. For the case that the updated storage component information is acquired after the SAS SWITCH is started, and the component information is calculated, the storage component is adjusted to the storage component allocated by the computing component according to the state of the obtained storage component used by the computing component, and the storage component according to the obtained storage component. The service time limit and/or the service time limit of the computing component adjusts the distribution relationship between the storage component and the computing component.
其中,初始为计算部件分配存储部件时可以依据配置的分配规则来为计算部件分配存储部件,所述分配规则可以包括:The storage component may be allocated to the computing component according to the configured allocation rule when the storage component is initially allocated to the computing component, and the distribution rule may include:
在保留指定数量的存储部件处于未分配状态情况下,将除所述指定数量的存储部件外的存储部件分配给计算部件。A storage unit other than the specified number of storage units is allocated to the computing unit while retaining the specified number of storage units in an unassigned state.
其中,在存储部件设置于存储阵列中的情况下,保留指定数量的存储部件的情况包括:在每个存储阵列中保留指定数量的存储部件处于未分配状态,即保留存储阵列中指 定数量的存储部件不分配给任何计算部件,该保留的指定数量的存储部件可用于在分配给计算部件的存储部件故障情况下,作为该故障的存储部件的备份,也就是在分配给计算部件的存储部件故障情况下,使用该保留的指定数量的存储部件替代故障的存储部件,以保证不影响与该故障的存储部件连接的计算部件的正常工作。对于每个存储阵列中保留的存储部件的数量可以为一个或两个,或与分配给任一计算部件的存储部件的数量相同。另外,每个存储阵列中保留的指定数量的存储部件的数量可以相同也可以不同。可以理解的是,为便于管理,一般将每个存储阵列中保留的指定数量的存储部件的数量设置为相同。Wherein, in the case that the storage component is disposed in the storage array, the case of retaining the specified number of storage components includes: retaining a specified number of storage components in each storage array in an unallocated state, that is, retaining the storage array middle finger A fixed number of storage components are not assigned to any computing component, and the reserved specified number of storage components can be used as a backup of the failed storage component, ie, assigned to the computing component, in the event of a storage component failure assigned to the computing component. In the event of a storage component failure, the reserved number of storage components are used in place of the failed storage component to ensure that the normal operation of the computing component connected to the failed storage component is not affected. The number of storage components reserved in each storage array may be one or two, or the same number of storage components assigned to any of the computing components. Additionally, the number of specified number of storage components retained in each storage array may be the same or different. It will be appreciated that for ease of management, the number of specified number of storage components retained in each storage array is typically set to be the same.
从上述分配规则可以看出,本申请实施例在保留指定数量存储部件不分配情况下,尽量将其他存储部件全部分配出去,以达到存储部件的充分利用。例如,若与SAS SWITCH连接的其中一个存储阵列中包括60个存储部件,且确定需保留的指定数量的存储部件处于未分配状态的为2个存储部件,则将其余的58个存储部件全部分配给与该SAS SWITCH连接的计算部件。As can be seen from the above-mentioned distribution rules, in the case of retaining a specified number of storage components without allocation, the other storage components are all allocated as much as possible to achieve full utilization of the storage components. For example, if one of the storage arrays connected to the SAS SWITCH includes 60 storage components, and it is determined that the specified number of storage components to be retained are in the unallocated state, the remaining 58 storage components are all allocated. The computing component that is connected to the SAS SWITCH.
另外,需要说明的是,为方便管理,与SAS SWITCH连接的存储阵列中包含的存储部件数量可设置为相同,按照分配规则初始为每一计算部件分配的存储部件数量也可设置为相同。可以理解的是,本申请实施例同时也支持与SAS SWITCH连接的各存储阵列中包含的存储部件数量不同的情形,以及初始为每个计算部件分配不同数量的存储部件的情形。In addition, it should be noted that, for the convenience of management, the number of storage components included in the storage array connected to the SAS SWITCH can be set to be the same, and the number of storage components initially allocated for each computing component according to the distribution rule can also be set to be the same. It can be understood that the embodiment of the present application also supports the case where the number of storage components included in each storage array connected to the SAS SWITCH is different, and the case where a different number of storage components are initially allocated for each computing component.
所述分配规则还可以包括:The allocation rule may further include:
将存储阵列中的存储部件分成与所述计算部件的数量相同的份数分配给所述计算部件。The storage components in the storage array are divided into the same number of copies as the number of computing components assigned to the computing components.
也就是,针对一个存储阵列,将其包含的多个存储部件分成与计算部件的数量相同的份数分配给所述计算部件。由于一般情况下,与SAS SWITCH连接的存储阵列的数量以及存储阵列中包含的存储部件的数量会大于与该SAS SWITCH连接的计算部件的数量,也就是与SAS SWITCH连接的存储部件足够分配给连接于SAS SWITCH上的计算部件,因此,不会出现存储阵列中存储部件的数量小于连接于SAS SWITCH是的计算部件的数量。That is, for a storage array, a plurality of storage components it contains are divided into the same number of copies as the number of computing components. Since in general, the number of storage arrays connected to the SAS SWITCH and the number of storage components included in the storage array will be greater than the number of computing components connected to the SAS SWITCH, that is, the storage components connected to the SAS SWITCH are sufficient to be allocated to the connection. The computational component on SAS SWITCH, therefore, does not appear to have fewer storage components in the storage array than the number of computational components connected to SAS SWITCH.
例如,与一SAS SWITCH连接的存储阵列为20个,且每一存储阵列中包含60个存储部件,与SAS SWITCH连接的计算部件为10个,则依照本规则,将每个存储阵列中的60个存储部件分成10份,每一份分配给一个计算部件。其中,可将存储阵列中的存 储部件平均分成与计算部件的数量相同的份数,也可随机分成与计算部件的数量相同的份数。即,可将该存储阵列中的60个存储部件平均分成10份,则每份包含6个存储部件,即分配给每个计算部件6个存储部件。或将存储阵列中的60个存储部件随机分成10份,每份包含的存储部件的数量不等,例如,可以为5个、10个、6个或8个等等,将随机划分后的存储部件分配给计算部件。For example, if there are 20 storage arrays connected to a SAS SWITCH, and each storage array contains 60 storage components, and 10 computing units connected to the SAS SWITCH, according to this rule, 60 in each storage array. The storage components are divided into 10 parts, each of which is assigned to one computing unit. Among them, the storage in the storage array can be The storage unit is equally divided into the same number of parts as the number of calculation parts, and can also be randomly divided into the same number of parts as the number of calculation parts. That is, the 60 storage units in the storage array can be equally divided into 10 parts, and each storage unit includes 6 storage units, that is, 6 storage units assigned to each calculation unit. Or randomly divide 60 storage components in the storage array into 10 shares, and the number of storage components included in each share may be unequal, for example, may be 5, 10, 6, or 8, etc., and the randomly divided storage may be Parts are assigned to the calculation part.
该分配规则与上述分配规则不相冲突,也就是可以在保留存储阵列中指定数量的存储部件处于未分配状态前提下,将存储阵列中的存储部件分成与计算部件的数量相同的份数分配给计算部件,例如,针对上述实例,可将每个存储阵列中的存储部件分成11份,将其中的1份保留不分配给任何计算部件,其余10份分配给计算部件;当然该分配规则也可单独存在。The allocation rule does not conflict with the above-mentioned allocation rule, that is, the storage unit in the storage array can be divided into the same number of copies as the number of computing units, if the specified number of storage units in the reserved storage array are in an unallocated state. Calculating components, for example, for the above example, the storage components in each storage array can be divided into 11 parts, one of which is reserved and not allocated to any computing part, and the remaining 10 parts are allocated to the computing part; of course, the allocation rule can also be Alone.
需要强调的是,本规则是将每一个存储阵列中的存储部件都分成与计算部件相同数量的份数分配给计算部件,因此,该分配规则可将同一存储阵列中的存储部件分配给连接于SAS SWITCH上的每个计算部件,也就是分配给同一计算部件的存储部件位于多个存储阵列中。这样,在一个存储阵列故障情况下,只对一个计算部件的一小部分工作产生影响,即,有效降低了存储部件故障对计算部件的影响。It should be emphasized that the rule is to divide the storage components in each storage array into the same number of copies as the computing components, so that the allocation rule can allocate the storage components in the same storage array to the connected components. Each computing component on the SAS SWITCH, that is, the storage component assigned to the same computing component, is located in multiple storage arrays. Thus, in the case of a storage array failure, only a small portion of the operation of a computing component is affected, that is, the impact of the storage component failure on the computing component is effectively reduced.
所述分配规则也可以为:The allocation rule can also be:
将与SAS SWITCH连接的所有存储部件分成与计算部件的数量相同的份数分配给计算部件。All storage components connected to the SAS SWITCH are allocated to the computing component in the same number of copies as the number of computing components.
该分配规则是将与SAS SWITCH连接的所有存储阵列中的存储部件分成与该SAS SWITCH连接的计算部件的数量相同的份数分配给计算部件。该分配规则与上一分配规则的区别在于每一存储阵列中的存储部件有可能分配给同一计算部件。The allocation rule is to assign the storage units in all the storage arrays connected to the SAS SWITCH to the computing unit by the same number of copies as the number of computing units connected to the SAS SWITCH. The allocation rule differs from the previous allocation rule in that it is possible for storage components in each storage array to be assigned to the same computing component.
例如,与SAS SWITCH连接的存储阵列为20个,且每一存储阵列中包含60个存储部件,与SAS SWITCH连接的计算部件为10个,则可知与该SAS SWITCH连接的存储部件供1200个(20×60),将该1200个存储部件分成10份分配给10个计算部件。同样,可将存储部件平均分成与计算部件的数量相同的份数,也可随机分成与计算部件的数量相同的份数。依照本规则,在将1200个存储部件分成10份情况下,每一份包括120个存储部件,将120个存储部件分配给一个计算部件。其中,在选择该120个存储部件时可按接口顺序来选择,例如,若与存储阵列连接的SAS SWITCH的接口的编号为接口1~接口20,与计算部件连接的SAS SWITCH的接口编号为接口21~接口31。则从接口1中选择60个存储部件,之后再从接口2中选择60个存储部件分配给与接口21连接的计 算部件;将从接口3和接口4获取的120个存储部件分配给与接口22连接的计算部件,以此类推。For example, if there are 20 storage arrays connected to SAS SWITCH, and each storage array contains 60 storage components, and 10 computing units connected to SAS SWITCH, it is known that there are 1200 storage components connected to the SAS SWITCH ( 20 × 60), the 1200 storage components are divided into 10 shares and assigned to 10 computing components. Also, the storage unit may be equally divided into the same number of copies as the number of calculated parts, or may be randomly divided into the same number of parts as the number of calculated parts. According to the present rule, in the case of dividing 1200 storage parts into 10 shares, each of which includes 120 storage parts, 120 storage parts are assigned to one calculation part. The 120 storage elements may be selected in the order of the interface. For example, if the number of the SAS SWITCH interface connected to the storage array is the interface 1 to the interface 20, the interface number of the SAS SWITCH connected to the computing component is the interface. 21 to interface 31. Then, 60 storage components are selected from the interface 1, and then 60 storage components are selected from the interface 2 and assigned to the interface connected to the interface 21. The computing component; the 120 storage components acquired from interface 3 and interface 4 are assigned to computing components connected to interface 22, and so on.
所述分配规则还可以为:The allocation rule can also be:
为每一计算部件分配固定容量的存储部件。A fixed capacity storage unit is assigned to each computing component.
例如,与一SAS SWITCH连接的存储部件为20个,且每一存储部件的存储容量为500G,与SAS SWITCH连接的计算部件为10个,该规则规定为每一计算部件分配1000G的存储部件,则可从20个存储部件中随机选择1000G的存储部件分配给计算部件,且保证分配的存储部件不冲突。其选择方法可以同上面规则中所述的按照接口顺序来选择,当然还可采用其他方法来为计算部件选择存储部件,只需保证为每个计算部件分配的存储部件的容量等于规则规定的固定容量即可。For example, there are 20 storage components connected to a SAS SWITCH, and each storage component has a storage capacity of 500G, and 10 computing components are connected to the SAS SWITCH. The rule stipulates that each computing component is allocated 1000G storage components. Then, a storage component of 1000 G randomly selected from the 20 storage components can be allocated to the computing component, and the allocated storage components are guaranteed not to collide. The selection method can be selected according to the interface order as described in the above rules. Of course, other methods can be used to select the storage components for the computing component, and only need to ensure that the capacity of the storage component allocated for each computing component is equal to the fixed rule. Capacity is fine.
上述分配规则仅为发明人所列举的几个实例,实际应用中可根据需要灵活设置各种分配规则。可见,本申请实施例可以设置各种分配规则来为计算部分分配存储部件,有效实现了存储部件与计算部件的灵活分配。The foregoing distribution rules are only a few examples enumerated by the inventors, and various allocation rules can be flexibly set as needed in practical applications. It can be seen that the embodiment of the present application can set various allocation rules to allocate storage components for the computing part, and effectively realize flexible allocation of the storage component and the computing component.
其中,为计算部件分配存储部件的具体表现为:计算部件可以访问并使用为其分配的存储部件。也就是,为计算部件分配存储部件的过程即为为计算部件开通相应存储部件访问及使用权限的过程,同样亦为设置计算部件与存储部件匹配关系的过程。在依据分配规则为计算部件分配存储部件完成后,可记录计算部件与存储部件的匹配关系。由于SAS SWITCH的每一接口具有一个地址(或编号),每一接口与计算部件或存储阵列连接,则与该接口连接的计算部件或存储阵列的地址即为该SAS SWITCH的接口的地址。若与一SAS SWITCH的接口连接的为存储阵列,该存储阵列中包含多个存储部件,对于存储阵列中的每一存储部件具有唯一的地址(或编号)。则在为计算部件分配存储部件后,记录计算部件与存储部件的匹配关系时可记录计算部件与所分配的存储部件的地址的对应关系。例如,SAS SWITCH的接口1连接存储阵列,该接口1的地址假设为地址1,则存储阵列1的地址即为地址1;接口5连接计算部件,该接口5的地址假设为地址5,则该计算部件的地址即为地址5;若将该存储阵列中的存储部件X分配给该计算部件,该存储部件X的地址为地址X,则记录的计算部件与存储部件的匹配关系为:地址5对应地址1中的地址X,也就是计算部件若要访问为其分配的存储部件X,需先找到存储部件X所在的存储阵列的地址即地址1,再到地址1中找到地址X即可找到为其分配的存储部件X。可以理解的是,由于为计算部件分配的存储部件可能位于多个存储阵列中,因此在记录计算部件与存储部件匹配关系时,同一计算部件可以同时与多个 存储部件匹配。本申请实施例可通过匹配关系表来保存所述计算部件与存储部件的匹配关系。Wherein, the specific representation of the storage component for the computing component is that the computing component can access and use the storage component assigned to it. That is, the process of allocating storage components for computing components is the process of opening the access and usage rights of the corresponding storage components for the computing components, and also the process of setting the matching relationship between the computing components and the storage components. After the storage component is allocated to the computing component according to the distribution rule, the matching relationship between the computing component and the storage component can be recorded. Since each interface of the SAS SWITCH has an address (or number), and each interface is connected to a computing component or a storage array, the address of the computing component or storage array connected to the interface is the address of the interface of the SAS SWITCH. If the interface to a SAS SWITCH is connected to a storage array, the storage array contains a plurality of storage components having a unique address (or number) for each storage component in the storage array. Then, after the storage component is allocated to the computing component, the correspondence between the computing component and the address of the allocated storage component can be recorded when the matching relationship between the computing component and the storage component is recorded. For example, the interface 1 of the SAS SWITCH is connected to the storage array. The address of the interface 1 is assumed to be address 1, and the address of the storage array 1 is the address 1; the interface 5 is connected to the computing component, and the address of the interface 5 is assumed to be the address 5, then The address of the computing component is the address 5; if the storage component X in the storage array is assigned to the computing component, and the address of the storage component X is the address X, the matching relationship between the computing component and the storage component is: address 5 Corresponding to the address X in address 1, that is, if the computing component wants to access the storage component X allocated to it, it needs to find the address of the storage array where the storage component X is located, that is, the address 1, and then find the address X in the address 1 to find the address X. The storage part X assigned to it. It can be understood that since the storage component allocated for the computing component may be located in multiple storage arrays, when the computing component and the storage component are matched, the same computing component can be simultaneously Storage component matching. The embodiment of the present application may save the matching relationship between the computing component and the storage component by matching the relationship table.
匹配关系表中记录的为计算部件与存储部件的匹配关系。该匹配关系表在计算部件与存储部件的匹配关系发生变化时,可进行同步更新。The matching relationship between the calculation part and the storage part recorded in the matching relation table. The matching relationship table can be synchronously updated when the matching relationship between the computing component and the storage component changes.
由于上述分配规则为针对初始分配过程,所述初始分配过程即SAS SWITCH启动后第一次为计算部件分配存储部件的过程,在初始分配完成后,即生成所述的匹配关系表,而后续可能会对该匹配关系作出调整,每调整一次所述匹配关系,则对应的更新该匹配关系表。其中,可定期获取存储部件信息及计算部件信息,在所获取的存储部件信息及计算部件信息发生变化时需调整所述匹配关系,具体的场景包括:Since the foregoing allocation rule is for the initial allocation process, the initial allocation process is the process of allocating storage components for the computing component for the first time after the SAS SWITCH is started, and after the initial allocation is completed, the matching relationship table is generated, and the subsequent possible The matching relationship is adjusted, and each time the matching relationship is adjusted, the matching relationship table is updated correspondingly. The storage component information and the calculation component information may be obtained periodically, and the matching relationship needs to be adjusted when the acquired storage component information and the calculation component information change. The specific scenarios include:
获取的存储部件信息包括存储部件被计算部件使用的状态;依据所述存储部件被计算部件使用的状态调整分配给所述计算部件的存储部件。The acquired storage component information includes a state in which the storage component is used by the computing component; the storage component assigned to the computing component is adjusted according to a state in which the storage component is used by the computing component.
也就是,本申请实施例在初始为计算部件分配存储部件后,实时或定期获取分配给计算部件的存储部件被计算部件使用的状态。所述使用状态即存储部件的存储容量是否被使用,以及使用的比率等。That is, the embodiment of the present application acquires the state in which the storage component allocated to the computing component is used by the computing component in real time or periodically after initially allocating the storage component for the computing component. The use state is whether the storage capacity of the storage unit is used, the ratio of use, and the like.
获取该使用状态的目的在于,可以依据所述使用状态调整分配给所述计算部件的存储部件,主要调整分配给计算部件的存储部件的数量。具体调整方法包括:The purpose of obtaining the usage state is to adjust the storage component allocated to the computing component according to the usage state, and mainly adjust the number of storage components allocated to the computing component. Specific adjustment methods include:
当存储部件被计算部件的使用比率低于设定下限值时,减少分配给该计算部件的存储部件,即从分配给该计算部件的存储部件中取消未被使用的存储部件中的一部分或全部。例如,若获取到存储部件被计算部件的使用率低于60%,则取消未被使用的40%的存储部件,或取消30%的未被使用的存储部件等等。或者,When the usage ratio of the storage component to the computing component is lower than the set lower limit value, the storage component allocated to the computing component is reduced, that is, a part of the unused storage component is removed from the storage component allocated to the computing component or All. For example, if the usage rate of the calculated component of the storage component is less than 60%, the unused 40% of the storage component is canceled, or 30% of the unused storage component is canceled, and the like. or,
当存储部件被计算部件的使用率高于设定上限值时,增加为该计算部件分配的存储部件。例如,若获取到存储部件被计算部件的使用率高于95%,则再为该计算部件分配一个或两个存储部件等等,或者将从其他计算部件中取消的全部或部分存储部件分配给使用率高于设定上限值的计算部件。When the usage rate of the storage component by the computing component is higher than the set upper limit value, the storage component allocated for the computing component is added. For example, if the usage rate of the calculated component of the storage component is higher than 95%, then the computing component is assigned one or two storage components, etc., or all or part of the storage component that is canceled from other computing components is assigned to The calculation unit whose usage rate is higher than the upper limit value.
其中,所获取的存储部件被计算部件的使用率可以为规定时间长度范围内的平均使用率。The usage rate of the obtained storage component by the calculation component may be an average usage rate within a predetermined time length range.
所述需调整所述匹配关系的场景还包括:The scenario in which the matching relationship needs to be adjusted further includes:
获取的存储部件信息包括存储部件的服务时限,获取的计算部件的信息包括计算部件的服务时限,判断所述存储部件的服务时限以及计算部件的服务时限是否到达各自的规定时限;在存储部件的服务时限到达规定时限和/或计算部件的服务时限到达规定时限 情况下,调整所述匹配关系,具体的,提供更换到达规定时限的存储部件或计算部件的提示,以便工作人员在根据提示根据达到规定时限的存储部件或计算部件情况下,根据更换结果调整所述匹配关系。The acquired storage component information includes a service time limit of the storage component, the obtained information of the computing component includes a service time limit of the computing component, a service time limit of the storage component, and a service time limit of the computing component are reached respectively, and a predetermined time limit is reached; The service time limit reaches the specified time limit and/or the service time limit of the computing component reaches the specified time limit. In the case of adjusting the matching relationship, in particular, providing a prompt to replace the storage component or the computing component that reaches the specified time limit, so that the worker adjusts according to the replacement result according to the storage component or the computing component according to the prompt according to the specified time limit. The matching relationship.
上述判断存储部件以及计算部件时限是否达到各自规定时限的操作可定期执行。所述达到规定时限即达到质保时间。其中,可通过保存每一计算部件以及存储部件的规定时限,判断当前时间是否为所保存的计算部件及存储部件的规定时限,若是其中任一计算部件的规定时限,则提示更换所述计算部件。此时可建立新的计算部件来替代达到规定时限的计算部件,而不影响存储部件的使用,也就是存储部件可继续被使用。实现了计算部件与存储部件均最大限度的被利用。The above-described operation of determining the storage means and calculating whether or not the time limit of the component reaches the respective predetermined time limit can be periodically performed. The warranty time is reached when the specified time limit is reached. The predetermined time limit of each computing component and the storage component is saved, and whether the current time is a specified time limit of the saved computing component and the storage component, and if the predetermined time limit of any of the computing components is specified, the computing component is prompted to be replaced. . At this point, a new computing component can be created to replace the computing component that reaches the specified time limit without affecting the use of the storage component, ie the storage component can continue to be used. Both the computing component and the storage component are utilized to the maximum extent.
本申请实施例还提供一种计算设备存储部件的管理系统,如图4中所示为该系统结构示意图,该系统主要包括如下设备:管理节点40、与管理节点40连接的至少一个SAS SWITCH41、与SAS SWITCH41连接的至少一个存储部件420和至少一个计算设备的计算部件43。如图4中所示,存储部件420可位于存储阵列42中,每个存储阵列中包括至少一个存储部件420。The embodiment of the present application further provides a management system for a computing device storage component, as shown in FIG. 4 , which is a schematic structural diagram of the system. The system mainly includes the following: a management node 40, at least one SAS SWITCH 41 connected to the management node 40, At least one storage component 420 coupled to the SAS SWITCH 41 and computing component 43 of at least one computing device. As shown in FIG. 4, storage component 420 can be located in storage array 42, with at least one storage component 420 included in each storage array.
其中,所述存储阵列42为从计算设备中分离出来的存储部件420的组合,每个存储阵列42通过统一的接口与SAS SWITCH41连接。The storage array 42 is a combination of storage components 420 separated from the computing device, and each storage array 42 is connected to the SAS SWITCH 41 through a unified interface.
所述计算部件43为计算设备中保留内存以及CPU(或GPU)计算功能的I/O(输入/输出)模块,其位于计算设备内部。The computing component 43 is an I/O (input/output) module that retains memory and CPU (or GPU) computing functions in the computing device, which is internal to the computing device.
所述存储阵列42和所述计算部件43可位于同一机柜内,也就是同一机柜内即包括存储阵列42又包括计算部件43。当然也可分别位于不同的机柜内,即,将存储阵列42单独设置于一个机柜内,将计算部件43设置于另一机柜内,该设置方式更有利于将不同的存储阵列42中的不同存储部件420分配给同一个计算部件43,带来冗余的好处。The storage array 42 and the computing component 43 can be located in the same cabinet, that is, the storage array 42 and the computing component 43 are included in the same cabinet. Of course, the storage arrays 42 can be separately disposed in one cabinet, and the computing component 43 can be disposed in another cabinet. This arrangement is more advantageous for storing different storages in different storage arrays 42. Component 420 is assigned to the same computing component 43, providing the benefit of redundancy.
所述存储阵列42与计算部件43通过SAS SWITCH41连接,该SAS SWITCH41为已有的一种应用SAS协议的IP交换机。SAS SWITCH41具有多个接口,其中包括一个管理接口用于连接所述管理节点40,还包括多个连接存储阵列42和计算部件43的接口。该SAS SWITCH41在启动后可通过扫描各接口获得与各接口连接的是存储阵列42还是计算部件43,从而获得与SAS SWITCH41连接的存储阵列42的数量以及计算部件43的数量,对于连接存储阵列42的接口可以进一步扫描获得该存储阵列42中包含的存储部件420的个数以及每个存储部件420的存储空间大小。 The storage array 42 and the computing component 43 are connected by a SAS SWITCH 41, which is an existing IP switch applying the SAS protocol. The SAS SWITCH 41 has a plurality of interfaces including a management interface for connecting to the management node 40, and a plurality of interfaces connecting the storage array 42 and the computing component 43. The SAS SWITCH 41 can obtain the storage array 42 or the computing component 43 connected to each interface by scanning each interface after booting, thereby obtaining the number of storage arrays 42 connected to the SAS SWITCH 41 and the number of computing components 43 for connecting the storage array 42. The interface can be further scanned to obtain the number of storage components 420 included in the storage array 42 and the storage space size of each storage component 420.
所述管理节点40,用于为所述计算部件43分配与所述计算部件43连接于SAS SWITCH41上的存储部件42。需要说明的是,在该管理系统中与一个管理节点40连接的SAS SWITCH41至少为一个,图4中仅以管理节点40与一个SAS SWITCH41连接为例进行说明。也就是同一管理节点40可以同时管理多个通过SAS SWITCH41连接的存储阵列42和计算部件43。该管理节点40通过SAS SWITCH41提供的管理接口与SAS SWITCH41连接。与同一管理节点40连接的多个SAS SWITCH41上所连接的计算部件43和存储阵列42的数量可以相同,也可以不同。在连接数量相同情况下,为便于管理可以针对该多个SAS SWITCH41采用相同的管理策略(即为计算部件43分配存储部件420的策略)。The management node 40 is configured to allocate, to the computing component 43, a storage component 42 connected to the computing component 43 on the SAS SWITCH 41. It should be noted that at least one SAS SWITCH 41 is connected to one management node 40 in the management system. In FIG. 4, only the management node 40 is connected to one SAS SWITCH 41 as an example. That is, the same management node 40 can simultaneously manage a plurality of storage arrays 42 and computing components 43 connected by SAS SWITCH 41. The management node 40 is connected to the SAS SWITCH 41 through a management interface provided by the SAS SWITCH41. The number of computing components 43 and storage arrays 42 connected to the plurality of SAS SWITCHs 41 connected to the same management node 40 may be the same or different. In the case where the number of connections is the same, the same management policy (i.e., the policy of allocating the storage unit 420 to the computing component 43) may be employed for the plurality of SAS SWITCHs 41 for ease of management.
所述管理节点40可以为已有的计算设备,也可以为本申请实施例提供的与SAS SWITCH41连接的计算设备之一,或者为计算设备中的管理程序。The management node 40 may be an existing computing device, or may be one of the computing devices connected to the SAS SWITCH 41 provided by the embodiment of the present application, or a management program in the computing device.
为提高可靠性,本申请实施例的管理节点40包括两个互为主备的管理设备(双管理节点),两个互为主备的管理设备可通过USB(通用串行总线)信号同步心跳,且两个互为主备的管理设备实时或定期同步所保存的信息,以保证在主管理设备故障情况下,备用管理设备可替代故障的管理设备的管理工作。To improve the reliability, the management node 40 of the embodiment of the present application includes two management devices (dual management nodes) that are mutually active and standby, and two management devices that are mutually active and standby can synchronize the heartbeat through a USB (Universal Serial Bus) signal. The two management devices that are mutually active and standby synchronize the saved information in real time or periodically to ensure that the standby management device can replace the management of the failed management device in the event of a failure of the primary management device.
另外,为进一步提高可靠性,本申请实施例可将每台管理设备包含的存储部件设置为互为主备关系,也就是将每台管理设备所包含的存储部件分为两组,其中一组作为主存储部件,另一组作为主存储部件的备份,以保证在主存储部件故障情况下,备用存储部件可以替代主存储部件的工作,以降低由于管理节点故障对计算设备工作的影响。In addition, in order to further improve the reliability, the storage component included in each management device may be set to be a primary-standby relationship, that is, the storage components included in each management device are divided into two groups, one of which is a group. As a primary storage component, another set serves as a backup of the primary storage component to ensure that in the event of a primary storage component failure, the alternate storage component can replace the primary storage component's operation to reduce the impact of the management node failure on the operation of the computing device.
通过上述互为主备的管理设备以及管理设备中互为主备的存储部件有效保证了该系统的可靠性,降低由于管理设备的故障导致计算设备无法正常工作的几率。The reliability of the system is ensured by the above-mentioned management devices that are active and standby, and the storage components that are active and standby in the management device. This reduces the probability that the computing device cannot work normally due to the failure of the management device.
本申请实施例所述的系统可控制各设备的上电先后顺序,各设备的上电时序图如图5中所示,由图5可以看出,在该系统中管理节点40首先上电,也就是旁路电源上电。在管理节点40上电过程中,主电准备就绪,所述主电为除管理节点40外该系统中其他设备的电源。在管理节点40上电启动完成后,由该管理节点40控制其他设备的上电顺序。也就是该管理节点40上电启动完成后可控制包括SAS SWITCH41、存储阵列42和计算部件43在内的其他设备的上电顺序。该其他设备的上电顺序可以为:The system described in this embodiment can control the power-on sequence of each device. The power-on sequence diagram of each device is as shown in FIG. 5. As can be seen from FIG. 5, the management node 40 is powered on first in the system. That is, the bypass power supply is powered. During power-on of the management node 40, the main power is ready, and the main power is the power of other devices in the system except the management node 40. After the power-on of the management node 40 is completed, the management node 40 controls the power-on sequence of other devices. That is, after the power-on startup of the management node 40 is completed, the power-on sequence of other devices including the SAS SWITCH 41, the storage array 42, and the computing component 43 can be controlled. The power-on sequence of the other devices can be:
控制SAS SWITCH41先上电,之后存储阵列42和计算部件43可同步上电。The SAS SWITCH 41 is controlled to power up first, after which the storage array 42 and the computing component 43 can be powered up simultaneously.
可以理解的是,存储阵列42上电即为存储部件420上电。在该系统中只有在管理节点40上电启动后,才可以执行为计算设备的计算部件43分配存储部件42的工作,若打 乱上述各设备的上电顺序,存储阵列42和计算部件43先于SAS SWITCH41上电,或先于管理节点上电,或SAS SWITCH41先于管理节点40上电,则上电后的各设备需等待管理节点40上电启动完成后才能正常工作,此过程将增加本系统的功耗。可见,按照本申请实施例提供的各设备的上电顺序可有效降低功耗。It can be understood that the storage array 42 is powered on to power up the storage component 420. In the system, the work of allocating the storage unit 42 to the computing component 43 of the computing device can be performed only after the management node 40 is powered on. If the power-on sequence of the foregoing devices is disordered, the storage array 42 and the computing component 43 are powered on before the SAS SWITCH 41, or before the management node is powered on, or the SAS SWITCH 41 is powered on before the management node 40, and the devices after the power-on are required. Waiting for the management node 40 to be powered on after the boot is completed, this process will increase the power consumption of the system. It can be seen that the power-on sequence of each device provided in this embodiment of the present application can effectively reduce power consumption.
其中,管理节点40为计算部件43分配存储部件420的具体表现为:计算部件43可以访问并使用为其分配的存储部件420。也就是,管理节点40为计算部件43分配存储部件420的过程即为为计算部件43开通相应存储部件420访问及使用权限的过程,同样亦为设置计算部件43与存储部件420匹配关系的过程。在依据分配规则为计算部件43分配存储部件420完成后,可记录计算部件43与存储部件420的匹配关系。由于SAS SWITCH41的每一接口具有一个地址(或编号),每一接口与计算部件43或存储阵列42连接,则与该接口连接的计算部件43或存储阵列42的地址即为该SAS SWITCH的接口的地址。若与一SAS SWITCH41的接口连接的为存储阵列42,该存储阵列42中包含多个存储部件420,对于存储阵列中的每一存储部件420具有唯一的地址(或编号)。则在为计算部件43分配存储部件420后,记录计算部件43与存储部件420的匹配关系时可记录计算部件43与所分配的存储部件420的地址的对应关系。The specific representation of the management node 40 assigning the storage component 420 to the computing component 43 is that the computing component 43 can access and use the storage component 420 assigned thereto. That is, the process in which the management node 40 allocates the storage component 420 to the computing component 43 is the process of opening the access and usage rights of the corresponding storage component 420 for the computing component 43, and also the process of setting the matching relationship between the computing component 43 and the storage component 420. After the storage unit 420 is allocated to the calculation unit 43 in accordance with the distribution rule, the matching relationship between the calculation unit 43 and the storage unit 420 can be recorded. Since each interface of the SAS SWITCH 41 has an address (or number), and each interface is connected to the computing component 43 or the storage array 42, the address of the computing component 43 or the storage array 42 connected to the interface is the interface of the SAS SWITCH. the address of. If the interface to a SAS SWITCH 41 is connected to a storage array 42, the storage array 42 includes a plurality of storage components 420 having a unique address (or number) for each storage component 420 in the storage array. Then, after the storage unit 420 is allocated to the calculation unit 43, the correspondence relationship between the calculation unit 43 and the address of the allocated storage unit 420 can be recorded when the matching relationship between the calculation unit 43 and the storage unit 420 is recorded.
其中,所述管理节点40在为计算部件43分配存储部件42时被配置为:Wherein, the management node 40 is configured to allocate the storage component 42 to the computing component 43 as:
在保留指定数量的存储部件420处于未分配状态情况下,将除所述指定数量的存储部件420外的存储部件420分配给计算部件43。The storage unit 420 other than the specified number of storage units 420 is assigned to the calculation unit 43 while retaining the specified number of storage units 420 in an unallocated state.
其中,在存储部件420位于存储阵列42中的情况下,保留指定数量的存储部件420即为针对每个存储阵列42保留指定数量的存储部件420处于未分配状态,即保留存储阵列42中指定数量的存储部件420不分配给任何计算部件43。该保留的指定数量的存储部件420可用于在分配给计算部件43的存储部件故障情况下,作为该故障的存储部件的备份。也就是该管理节点40被配置为:在分配给计算部件43的存储部件420故障情况下,使用保留的所述指定数量的存储部件420替代故障的存储部件420,以保证不影响与该故障的存储部件420连接的计算部件43的正常工作。Wherein, in the case where the storage component 420 is located in the storage array 42, the reserved number of storage components 420 is reserved for each storage array 42 to reserve a specified number of storage components 420 in an unallocated state, ie, the specified number of reserved storage arrays 42 The storage component 420 is not assigned to any of the computing components 43. The reserved number of reserved storage components 420 can be used as a backup for the failed storage component in the event of a storage component failure assigned to computing component 43. That is, the management node 40 is configured to replace the failed storage component 420 with the specified number of storage components 420 retained in the event of a failure of the storage component 420 assigned to the computing component 43 to ensure that the failure is not affected. The normal operation of the computing unit 43 to which the storage unit 420 is connected.
对于每个存储阵列42中所保留的存储部件420的数量可以为一个或两个,或与分配给任一计算部件的存储部件420的数量相同。另外,每个存储阵列42中保留的指定数量的存储部件420的数量可以相同也可以不同。可以理解的是,为便于管理,一般将每个存储阵列中保留的指定数量的存储部件420的数量设置为相同。The number of storage components 420 reserved in each storage array 42 may be one or two, or the same number as the storage components 420 assigned to any of the computing components. Additionally, the number of designated number of storage components 420 remaining in each storage array 42 may be the same or different. It will be appreciated that the number of designated number of storage components 420 retained in each storage array is typically set to be the same for ease of management.
所述管理节点40在为计算部件43分配存储部件42时还可被配置为: The management node 40 may also be configured to: when allocating the storage component 42 to the computing component 43:
将存储阵列42中的多个存储部件420分成与所述计算部件43的数量相同的份数分配给所述计算部件43。The plurality of storage sections 420 in the storage array 42 are divided into the same number of copies as the calculation section 43 and assigned to the calculation section 43.
也就是,针对一个存储阵列42,将其包含的多个存储部件420分成与计算部件43的数量相同的份数分配给所述计算部件43。由于一般情况下,与SAS SWITCH连接的存储阵列的数量以及存储阵列中包含的存储部件的数量会大于与该SAS SWITCH连接的计算部件的数量,也就是与SAS SWITCH连接的存储部件足够分配给连接于SAS SWITCH上的计算部件,因此,不会出现存储阵列中存储部件的数量小于连接于SAS SWITCH是的计算部件的数量。That is, for one memory array 42, a plurality of storage sections 420 contained therein are divided into the same number of copies as the number of calculation sections 43 and assigned to the calculation section 43. Since in general, the number of storage arrays connected to the SAS SWITCH and the number of storage components included in the storage array will be greater than the number of computing components connected to the SAS SWITCH, that is, the storage components connected to the SAS SWITCH are sufficient to be allocated to the connection. The computational component on SAS SWITCH, therefore, does not appear to have fewer storage components in the storage array than the number of computational components connected to SAS SWITCH.
例如,与SAS SWITCH41连接的存储阵列42为20个,且每一存储阵列42中包含60个存储部件420,与SAS SWITCH41连接的计算部件43为10个,则依照本规则,将每个存储阵列42中的60个存储部件420分成10份,每一份分配给一个计算部件43。其中,可将存储阵列42中的存储部件420平均分成与计算部件43的数量相同的份数,也可随机分成与计算部件的数量相同的份数。即,可将该存储阵列42中的60个存储部件420平均分成10份,则每份包含6个存储部件,即分配给每个计算部件6个存储部件。或将存储阵列42中的60个存储部件420随机分成10份,每份包含的存储部件420的数量不等,例如,可以为5个、10个、6个或8个等等,将随机划分后的存储部件420分配给计算部件43。For example, if there are 20 storage arrays 42 connected to the SAS SWITCH 41, and each storage array 42 includes 60 storage components 420, and the number of computing components 43 connected to the SAS SWITCH 41 is 10, each storage array is configured according to the present rule. The 60 storage units 420 of 42 are divided into 10 shares, one for each of which is assigned to one calculation unit 43. Here, the storage unit 420 in the storage array 42 may be equally divided into the same number of copies as the number of the calculation unit 43, or may be randomly divided into the same number of copies as the number of calculation units. That is, the 60 storage units 420 in the storage array 42 can be equally divided into 10 shares, and each storage unit includes six storage units, that is, six storage units for each calculation unit. Or randomly divide 60 storage components 420 in the storage array 42 into 10 shares, and the number of storage components 420 included in each share may be unequal, for example, may be 5, 10, 6, or 8, etc., and will be randomly divided. The subsequent storage unit 420 is assigned to the calculation unit 43.
本规则是将每一个存储阵列42中的存储部件420都分成与计算部件43相同数量的份数分配给计算部件43,因此,该分配规则可将同一存储阵列中的存储部件420分配给连接于SAS SWITCH41上的每个计算部件43,这样,在该存储阵列42故障情况下,只对计算部件430的一小部分工作产生影响,即,有效降低了存储部件420故障对计算部件的影响。The rule is that the storage unit 420 in each storage array 42 is divided into the same number of copies as the calculation unit 43 and assigned to the calculation unit 43, so that the allocation rule can assign the storage unit 420 in the same storage array to the connection unit. Each computing component 43 on the SAS SWITCH 41, thus, in the event of a failure of the storage array 42, affects only a small portion of the operation of the computing component 430, i.e., effectively reduces the impact of the storage component 420 failure on the computing component.
所述管理节点40还可被配置为:The management node 40 can also be configured to:
获取存储部件420被计算部件43使用的状态;依据所述存储部件420被计算部件43使用的状态调整分配给所述计算部件43的存储部件420。The state in which the storage unit 420 is used by the calculation unit 43 is acquired; the storage unit 420 assigned to the calculation unit 43 is adjusted in accordance with the state in which the storage unit 420 is used by the calculation unit 43.
也就是,本申请实施例在初始为计算部件分配存储部件后,实时或定期获取分配给计算部件的存储部件被计算部件使用的状态。所述使用状态即存储部件的存储空间是否被使用,以及使用的比率等。That is, the embodiment of the present application acquires the state in which the storage component allocated to the computing component is used by the computing component in real time or periodically after initially allocating the storage component for the computing component. The use state is whether the storage space of the storage component is used, the ratio of use, and the like.
获取该存储部件被计算部件使用的状态的目的在于,可以依据所述存储部件计算部件使用的状态调整分配给所述计算部件的存储部件的数量,包括: The purpose of obtaining the state in which the storage component is used by the computing component is that the number of storage components allocated to the computing component can be adjusted according to the state of the storage component computing component, including:
当存储部件被计算部件使用比率低于设定下限值时,减少分配给该计算部件的存储部件,即从分配给该计算部件的存储部件中取消未被占用的存储部件中的一部分或全部。例如,若获取到存储部件被计算部件使用率低于60%,则取消未被使用的40%的存储部件,或取消30%的未被使用的存储部件等等。或者,When the storage component is used by the computing component to be lower than the set lower limit value, the storage component allocated to the computing component is reduced, that is, part or all of the unoccupied storage component is removed from the storage component allocated to the computing component . For example, if the acquired storage component is used by the computing component below 60%, the unused 40% storage component is cancelled, or 30% of the unused storage component is cancelled, and the like. or,
当存储部件被计算部件使用率高于设定上限值时,增加为该计算部件分配的存储部件。例如,若获取到存储部件被计算部件使用率高于95%,则再为该计算部件分配一个或两个存储部件等等,或者将从其他计算部件中取消的全部或部分存储部件分配给使用率高于设定上限值的计算部件。When the storage component is used by the computing component above the set upper limit, the storage component allocated for the computing component is added. For example, if the acquired storage component is used by the computing component higher than 95%, then the computing component is assigned one or two storage components, etc., or all or part of the storage components that are canceled from other computing components are allocated for use. The rate is higher than the calculated part of the upper limit.
其中,所获取的存储部件的使用率可以为规定时间长度范围内的平均占用率。The usage rate of the obtained storage component may be an average occupancy rate within a predetermined length of time.
所述管理节点40还可被配置为:The management node 40 can also be configured to:
判断所述存储部件的服务时限以及计算部件的服务时限是否到达各自的规定时限;在存储部件的服务时限到达规定时限和/或计算部件的服务时限到达规定时限情况下,提供更换到达规定时限的存储部件或计算部件的提示。Determining whether the service time limit of the storage component and the service time limit of the computing component reach the respective specified time limit; and when the service time limit of the storage component reaches a predetermined time limit and/or the service time limit of the computing component reaches a predetermined time limit, providing a replacement to reach the specified time limit A reminder for a storage component or a computing component.
上述判断操作可定期执行,判断存储部件及计算部件的服务时限是否到达规定时限即判断存储部件及计算部件是否达到质保时间。其中,可通过保存每一计算部件及存储部件的规定时限,判断当前时间是否为所保存的计算部件及存储部件的规定时限,若达到其中任一计算部件或存储部件的规定时限,则提示更换所述计算部件或存储部件。例如,在其中一计算部件的服务时限达到规定时限情况下,可建立新的计算部件来替代达到规定时限的计算部件,而不影响存储部件的使用,也就是存储部件可继续被使用。实现了计算部件与存储部件均最大限度的被利用。The determining operation may be performed periodically, and it is determined whether the storage time limit of the storage component and the computing component reaches a predetermined time limit, that is, whether the storage component and the computing component meet the warranty time. The predetermined time limit of each computing component and the storage component is saved, and whether the current time is a specified time limit of the saved computing component and the storage component is determined. If the predetermined time limit of any of the computing component or the storage component is reached, the prompting is replaced. The computing component or storage component. For example, where the service time limit of one of the computing components reaches a specified time limit, a new computing component can be created to replace the computing component that reaches the specified time limit without affecting the use of the storage component, ie, the storage component can continue to be used. Both the computing component and the storage component are utilized to the maximum extent.
综上所述,本申请实施例通过将计算设备中的存储部件从计算设备中分离出来,将分离出来的存储部件通过SAS SWITCH与计算设备中的计算部件连接,其至少具有如下优点:In summary, the embodiment of the present application separates the storage component in the computing device from the computing device, and connects the separated storage component to the computing component in the computing device through SAS SWITCH, which has at least the following advantages:
1、实现了计算资源与存储资源的分离,方便了对计算资源和存储资源进行分别的维护和管理;1. Separation of computing resources and storage resources is realized, which facilitates separate maintenance and management of computing resources and storage resources;
2、计算部件和存储部件的生命周期分开,便于对不同生命周期的部件进行最大限度的利用。2. The life cycle of the computing component and the storage component are separated, so that the components of different life cycles can be utilized to the maximum extent.
3、实现了计算部件与存储部件的解耦,可以根据计算部件的需要为其分配存储部件,实现了计算部件与存储部件的精细化、灵活分配;3. The decoupling between the computing component and the storage component is realized, and the storage component can be allocated according to the needs of the computing component, thereby realizing the refined and flexible allocation of the computing component and the storage component;
4、可维护性增强,且有效减少维护工作量。 4, maintainability is enhanced, and the maintenance workload is effectively reduced.
需要注意的是,本申请可在软件和/或软件与硬件的组合体中被实施,例如,可采用专用集成电路(ASIC)、通用目的计算机或任何其他类似硬件设备来实现。在一个实施例中,本申请的软件程序可以通过处理器执行以实现上文所述步骤或功能。同样地,本申请的软件程序(包括相关的数据结构)可以被存储到计算机可读记录介质中,例如,RAM存储器,磁或光驱动器或软磁盘及类似设备。另外,本申请的一些步骤或功能可采用硬件来实现,例如,作为与处理器配合从而执行各个步骤或功能的电路。It should be noted that the present application can be implemented in software and/or a combination of software and hardware, for example, using an application specific integrated circuit (ASIC), a general purpose computer, or any other similar hardware device. In one embodiment, the software program of the present application can be executed by a processor to implement the steps or functions described above. Likewise, the software programs (including related data structures) of the present application can be stored in a computer readable recording medium such as a RAM memory, a magnetic or optical drive or a floppy disk and the like. In addition, some of the steps or functions of the present application may be implemented in hardware, for example, as a circuit that cooperates with a processor to perform various steps or functions.
另外,本申请的一部分可被应用为计算机程序产品,例如计算机程序指令,当其被计算机执行时,通过该计算机的操作,可以调用或提供根据本申请的方法和/或技术方案。而调用本申请的方法的程序指令,可能被存储在固定的或可移动的记录介质中,和/或通过广播或其他信号承载媒体中的数据流而被传输,和/或被存储在根据所述程序指令运行的计算机设备的工作存储器中。在此,根据本申请的一个实施例包括一个装置,该装置包括用于存储计算机程序指令的存储器和用于执行程序指令的处理器,其中,当该计算机程序指令被该处理器执行时,触发该装置运行基于前述根据本申请的多个实施例的方法和/或技术方案。In addition, a portion of the present application can be applied as a computer program product, such as computer program instructions, which, when executed by a computer, can invoke or provide a method and/or technical solution in accordance with the present application. The program instructions for invoking the method of the present application may be stored in a fixed or removable recording medium, and/or transmitted by a data stream in a broadcast or other signal bearing medium, and/or stored in a The working memory of the computer device in which the program instructions are run. Herein, an embodiment in accordance with the present application includes a device including a memory for storing computer program instructions and a processor for executing program instructions, wherein when the computer program instructions are executed by the processor, triggering The apparatus operates based on the aforementioned methods and/or technical solutions in accordance with various embodiments of the present application.
对于本领域技术人员而言,显然本申请不限于上述示范性实施例的细节,而且在不背离本申请的精神或基本特征的情况下,能够以其他的具体形式实现本申请。因此,无论从哪一点来看,均应将实施例看作是示范性的,而且是非限制性的,本申请的范围由所附权利要求而不是上述说明限定,因此旨在将落在权利要求的等同要件的含义和范围内的所有变化涵括在本申请内。不应将权利要求中的任何附图标记视为限制所涉及的权利要求。此外,显然“包括”一词不排除其他单元或步骤,单数不排除复数。系统权利要求中陈述的多个单元或装置也可以由一个单元或装置通过软件或者硬件来实现。第一,第二等词语用来表示名称,而并不表示任何特定的顺序。 It is obvious to those skilled in the art that the present application is not limited to the details of the above-described exemplary embodiments, and the present invention can be implemented in other specific forms without departing from the spirit or essential characteristics of the present application. Therefore, the present embodiments are to be considered as illustrative and not restrictive, and the scope of the invention is defined by the appended claims instead All changes in the meaning and scope of equivalent elements are included in this application. Any reference signs in the claims should not be construed as limiting the claim. In addition, it is to be understood that the word "comprising" does not exclude other elements or steps. A plurality of units or devices recited in the system claims can also be implemented by a unit or device by software or hardware. The first, second, etc. words are used to denote names and do not denote any particular order.

Claims (20)

  1. 一种计算设备,包括:计算部件,其特征在于,还包括:A computing device, comprising: a computing component, further comprising:
    与串行的小型计算机系统接口交换机SAS SWITCH连接的接口;An interface to a serial small computer system interface switch SAS SWITCH;
    所述计算部件通过所述接口与串行的小型计算机系统接口交换机SAS SWITCH连接,所述串行的小型计算机系统接口交换机SAS SWITCH同时与存储部件连接,基于分配规则为连接于串行的小型计算机系统接口交换机SAS SWITCH上的所述计算部件分配存储部件。The computing component is connected to the serial small computer system interface switch SAS SWITCH through the interface, and the serial small computer system interface switch SAS SWITCH is simultaneously connected with the storage component, and the small computer connected to the serial based on the distribution rule The computing component on the system interface switch SAS SWITCH allocates storage components.
  2. 如权利要求1所述的计算设备,其特征在于,所述存储部件位于存储阵列中,以所述存储阵列的统一接口与所述串行的小型计算机系统接口交换机SAS SWITCH连接。The computing device of claim 1 wherein said storage component is located in a storage array and is coupled to said serial small computer system interface switch SAS SWITCH by a unified interface of said storage array.
  3. 如权利要求1所述的计算设备,其特征在于,为所述计算部件分配的存储部件位于多个存储阵列中。The computing device of claim 1 wherein the storage component allocated for the computing component is located in a plurality of storage arrays.
  4. 如权利要求1所述的计算设备,其特征在于,与所述计算部件连接的存储部件数量与计算部件的需求成正比。The computing device of claim 1 wherein the number of storage components coupled to said computing component is proportional to the demand of the computing component.
  5. 一种计算设备存储部件的管理方法,所述计算设备包括计算部件,所述计算部件与串行的小型计算机系统接口交换机SAS SWITCH连接,所述串行的小型计算机系统接口交换机SAS SWITCH同时与存储部件连接,其特征在于,所述方法包括:A management method of a computing device storage component, the computing device comprising a computing component coupled to a serial small computer system interface switch SAS SWITCH, the serial small computer system interface switch SAS SWITCH simultaneous storage Component connection, characterized in that the method comprises:
    获取与串行的小型计算机系统接口交换机SAS SWITCH连接的存储部件信息及计算部件信息;Obtaining storage component information and computing component information connected to the serial small computer system interface switch SAS SWITCH;
    依据获取的所述存储部件信息及计算部件信息基于分配规则为计算部件分配存储部件。And storing the storage component for the computing component based on the obtained storage component information and the computing component information based on the allocation rule.
  6. 如权利要求5所述的方法,其特征在于,与串行的小型计算机系统接口交换机SAS SWITCH连接的存储部件位于存储阵列中,以所述存储阵列的统一接口与所述串行的小型计算机系统接口交换机SAS SWITCH连接。The method of claim 5 wherein the storage component coupled to the serial small computer system interface switch SAS SWITCH is located in the storage array with the unified interface of the storage array and the serial small computer system Interface switch SAS SWITCH connection.
  7. 如权利要求6所述的方法,其特征在于,为所述计算部件分配的存储部件位于多个存储阵列中。The method of claim 6 wherein the storage component allocated for the computing component is located in a plurality of storage arrays.
  8. 如权利要求6或7所述的方法,其特征在于,所述存储部件信息包括存储部件数量,所述计算部件信息包括计算部件数量,依据获取的所述存储部件信息及计算部件信息基于分配规则为计算部件分配存储部件包括:The method according to claim 6 or 7, wherein the storage part information comprises a storage part number, the calculation part information comprises a calculation part quantity, and the storage part information and the calculation part information are based on the distribution rule according to the acquired Allocating storage components for computing components includes:
    在保留指定数量的存储部件处于未分配状态情况下,将除所述指定数量的存储部件 外的存储部件分配给计算部件。The specified number of storage units will be removed if the specified number of storage units are left unallocated The external storage component is assigned to the computing component.
  9. 如权利要求8所述的方法,其特征在于,所述方法还包括:The method of claim 8 wherein the method further comprises:
    在分配给计算部件的存储部件故障情况下,使用保留的所述指定数量的存储部件替代故障的存储部件。In the event of a storage component failure assigned to the computing component, the failed storage component is replaced with the specified number of storage components retained.
  10. 如权利要求5所述的方法,其特征在于,所述存储部件信息包括存储部件被计算部件使用的状态,依据获取的所述存储部件信息及计算部件信息基于分配规则为计算部件分配存储部件包括:The method according to claim 5, wherein the storage component information comprises a state in which the storage component is used by the computing component, and the storing component is allocated to the computing component based on the obtained storage component information and the computing component information based on the allocation rule. :
    依据所述存储部件被计算部件使用的状态调整分配给所述计算部件的存储部件。The storage component assigned to the computing component is adjusted based on the state in which the storage component is used by the computing component.
  11. 如权利要求5所述的方法,其特征在于,所述存储部件信息包括存储部件的服务时限,所述计算部件信息包括计算部件的服务时限,所述方法还包括:The method of claim 5, wherein the storage component information comprises a service time limit of the storage component, the computing component information comprises a service time limit of the computing component, the method further comprising:
    判断所述存储部件的服务时限以及计算部件的服务时限是否到达各自的规定时限;Determining whether the service time limit of the storage component and the service time limit of the computing component reach a respective predetermined time limit;
    在存储部件的服务时限到达规定时限和/或计算部件的服务时限到达规定时限情况下,提供更换到达规定时限的存储部件和/或计算部件的提示。In the event that the service time limit of the storage component reaches a specified time limit and/or the service time limit of the computing component reaches a specified time limit, a prompt to replace the storage component and/or the computing component that reaches the specified time limit is provided.
  12. 一种计算设备存储部件的管理方法,其特征在于,包括:A method for managing a storage component of a computing device, comprising:
    获取与串行的小型计算机系统接口交换机SAS SWITCH连接的存储部件信息及计算部件信息;Obtaining storage component information and computing component information connected to the serial small computer system interface switch SAS SWITCH;
    依据获取的所述存储部件信息及计算部件信息基于分配规则为计算部件分配存储部件。And storing the storage component for the computing component based on the obtained storage component information and the computing component information based on the allocation rule.
  13. 一种计算设备存储部件的管理系统,其特征在于,包括如下设备:管理节点、与管理节点连接的至少一个串行的小型计算机系统接口交换机SAS SWITCH、与串行的小型计算机系统接口交换机SAS SWITCH连接的至少一个存储部件和至少一个计算设备的计算部件,其中,A management system for computing device storage components, comprising: a management node, at least one serial small computer system interface switch SAS SWITCH connected to the management node, and a serial small computer system interface switch SAS SWITCH Connected at least one storage component and at least one computing component of the computing device, wherein
    所述管理节点通过所述串行的小型计算机系统接口交换机SAS SWITCH提供的管理接口与所述串行的小型计算机系统接口交换机SAS SWITCH连接,用于为连接于所述串行的小型计算机系统接口交换机SAS SWITCH上的计算部件分配存储部件。The management node is connected to the serial small computer system interface switch SAS SWITCH through a management interface provided by the serial small computer system interface switch SAS SWITCH for connecting to a small computer system interface connected to the serial The computing component on the switch SAS SWITCH allocates storage components.
  14. 如权利要求13所述的系统,其特征在于,所述管理节点包括互为主备的两个管理设备。The system according to claim 13, wherein said management node comprises two management devices that are mutually active and standby.
  15. 如权利要求14所述的系统,其特征在于,所述管理设备包括互为主备的存储部件。The system of claim 14 wherein said management device comprises storage components that are mutually active.
  16. 如权利要求13所述的系统,其特征在于,所述管理节点被配置为: The system of claim 13 wherein said management node is configured to:
    控制串行的小型计算机系统接口交换机SAS SWITCH、存储部件及计算部件的上电顺序。Controls the power-on sequence of the serial small computer system interface switch SAS SWITCH, storage components, and computing components.
  17. 如权利要求16所述的系统,其特征在于,所述上电顺序为:The system of claim 16 wherein said powering sequence is:
    所述串行的小型计算机系统接口交换机SAS SWITCH上电后,存储部件和计算部件上电。After the serial small computer system interface switch SAS SWITCH is powered on, the storage component and the computing component are powered on.
  18. 如权利要求13所述的系统,其特征在于,连接于串行的小型计算机系统接口交换机SAS SWITCH上的存储部件与计算部件分别位于不同的机柜内。The system of claim 13 wherein the storage components and computing components on the serial small computer system interface switch SAS SWITCH are located in different cabinets.
  19. 如权利要求13所述的系统,其特征在于,与串行的小型计算机系统接口交换机SAS SWITCH连接的存储部件位于存储阵列中,通过存储阵列的统一与所述串行的小型计算机系统接口交换机SAS SWITCH连接。The system of claim 13 wherein the storage component coupled to the serial small computer system interface switch SAS SWITCH is located in the storage array, and the serial small computer system interface switch SAS is unified by the storage array SWITCH connection.
  20. 如权利要求19所述的系统,其特征在于,所述管理节点被配置为:The system of claim 19 wherein said management node is configured to:
    为计算部件分配的存储部件位于多个存储阵列中。 The storage components allocated for the compute component are located in multiple storage arrays.
PCT/CN2016/101735 2015-10-19 2016-10-11 Computing device and computing device memory component management method and system WO2017067402A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510681163.5 2015-10-19
CN201510681163.5A CN106598908B (en) 2015-10-19 2015-10-19 Computing device and management method and system of storage component of computing device

Publications (1)

Publication Number Publication Date
WO2017067402A1 true WO2017067402A1 (en) 2017-04-27

Family

ID=58555196

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/101735 WO2017067402A1 (en) 2015-10-19 2016-10-11 Computing device and computing device memory component management method and system

Country Status (2)

Country Link
CN (1) CN106598908B (en)
WO (1) WO2017067402A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109960614A (en) * 2019-03-27 2019-07-02 英业达科技有限公司 Server system and management method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103092786A (en) * 2013-02-25 2013-05-08 浪潮(北京)电子信息产业有限公司 Double-control double-active storage control system and method
CN103152397A (en) * 2013-02-06 2013-06-12 浪潮电子信息产业股份有限公司 Method for designing multi-control storage system
CN104486384A (en) * 2014-11-28 2015-04-01 华为技术有限公司 Storage system and exchange expansion device
CN104657316A (en) * 2015-03-06 2015-05-27 北京百度网讯科技有限公司 Server
CN104967577A (en) * 2015-06-25 2015-10-07 北京百度网讯科技有限公司 SAS switch and server

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6977927B1 (en) * 2000-09-18 2005-12-20 Hewlett-Packard Development Company, L.P. Method and system of allocating storage resources in a storage area network
JP2005038071A (en) * 2003-07-17 2005-02-10 Hitachi Ltd Management method for optimizing storage capacity
CN104461824A (en) * 2014-12-01 2015-03-25 北京同有飞骥科技股份有限公司 Magnetic disk health information optimal management method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103152397A (en) * 2013-02-06 2013-06-12 浪潮电子信息产业股份有限公司 Method for designing multi-control storage system
CN103092786A (en) * 2013-02-25 2013-05-08 浪潮(北京)电子信息产业有限公司 Double-control double-active storage control system and method
CN104486384A (en) * 2014-11-28 2015-04-01 华为技术有限公司 Storage system and exchange expansion device
CN104657316A (en) * 2015-03-06 2015-05-27 北京百度网讯科技有限公司 Server
CN104967577A (en) * 2015-06-25 2015-10-07 北京百度网讯科技有限公司 SAS switch and server

Also Published As

Publication number Publication date
CN106598908A (en) 2017-04-26
CN106598908B (en) 2020-09-08

Similar Documents

Publication Publication Date Title
US11023143B2 (en) Node interconnection apparatus, resource control node, and server system
JP5068056B2 (en) Failure recovery method, computer system and management server
US9411646B2 (en) Booting secondary processors in multicore system using kernel images stored in private memory segments
JP4842210B2 (en) Failover method, computer system, management server and spare server setting method
US20160226788A1 (en) Managing use of lease resources allocated on fallover in a high availability computing environment
JP5352132B2 (en) Computer system and I / O configuration change method thereof
US20120272243A1 (en) Protecting high priority workloads in a virtualized datacenter
JP2016526735A (en) Virtual hadoop manager
US8677374B2 (en) Resource management in a virtualized environment
JP2009075718A (en) Method of managing virtual i/o path, information processing system, and program
US10331581B2 (en) Virtual channel and resource assignment
US9928092B1 (en) Resource management in a virtual machine cluster
JP6708928B2 (en) Storage management device, storage management program, and storage system
WO2017067402A1 (en) Computing device and computing device memory component management method and system
JP2007286975A (en) Computing system, storage system, and volume allocation method
TWI733744B (en) Computing equipment and computing equipment storage component management method and system
JP5266347B2 (en) Takeover method, computer system and management server
US20150082311A1 (en) Method and system for logging into a virtual environment executing on a host
JP2010026828A (en) Method for controlling virtual computer
JP6774147B2 (en) Control device
JP5970846B2 (en) Computer system and computer system control method
US9778948B2 (en) Information processing apparatus, computer readable storage medium, and collecting method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16856835

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16856835

Country of ref document: EP

Kind code of ref document: A1