The present application relates to the field of information technologies (IT), and in particular, to a node interconnection apparatus, a resource control node, and a server system.
In conventional construction of infrastructure of a data center, servers, storages, and network equipment are separately purchased and subsequently integrated. This may result in inadequate service agility, excessive hardware cost, low resource utilization, and high energy consumption. The development of Internet revolutionized the conventional construction mode of the infrastructure of a conventional data center. For example, Scale-Out distributed storage based on X86 servers, and operation and maintenance automation of an ultra-large-scale platform have greatly reduced the cost of the infrastructure of a data center. With the outbreak of big data applications and development of cloud computing and virtualization technologies, people pay increasing attention to costs of data centers (especially power consumption of the data centers). How to use fewer computing, storage, and network components while ensuring services, so as to minimize energy consumption, has become one of the goals that the industry is striving for.
In the existing technology, a server node in a data center is required to remain in a power-on state in order to access a storage resource. For example, when a server node accesses a storage resource of itself, the server needs to remain in the power-on state. For another example, when a server node accesses a storage resource of another server node, not only the server node itself needs to be in the power-on state, but also the accessed server node needs to be in the power-on state. Such a resource utilization manner is not beneficial to energy saving of the data center. Especially, even though there are idling computing resources on a server, an energy-saving operation cannot be performed on the server.
Embodiments of the present application provide a node interconnection apparatus, a resource control node, and a server system, aimed to separate a resource access function from a computing node, thereby improving efficiency of the computing node or reducing energy consumption of the computing node.
According to a first aspect, an embodiment of the present application provides a node interconnection apparatus, including:
a resource control node and a computing node, where: the computing node and the resource control node are connected by using a device interconnection interface;
the resource control node is provided with a resource interface, and the resource control node is configured to access a storage device by using the resource interface, and allocate a storage resource that belongs to the computing node;
the computing node is configured to obtain the storage resource allocated by the resource control node, and when an operation requirement of the allocated storage resource is generated, send an access request for the allocated storage resource to the resource control node by using the device interconnection interface; and
the resource control node receives the access request, which is sent by the computing node, for the allocated storage resource, and performs, by using the resource interface, a storage operation on the allocated storage resource, where:
the resource interface includes a storage interface and/or a network interface, and the resource control node accesses a local storage device by using the storage interface, and accesses an external storage device by using the network interface.
According to a second aspect, an embodiment of the present application provides another node interconnection apparatus, including:
a resource control node and a computing node, where: the computing node and the resource control node are connected by using a device interconnection interface;
the resource control node is provided with a resource interface, and the resource control node is configured to access a storage device by using the resource interface; and
the node interconnection apparatus further includes:
a primary power device, where:
the primary power device directly supplies power to the resource control node, and the primary power device supplies power to the computing node by using a power switch; and
before a power-on operation is performed on the resource control node, the power switch opens a power supply circuit between the primary power device and the computing node.
According to a third aspect, an embodiment of the present application provides another node interconnection apparatus, including:
a resource control node and a computing node, where: the computing node and the resource control node are connected by using a device interconnection interface;
the resource control node is provided with a resource interface, and the resource control node is configured to access a storage device by using the resource interface; and
the node interconnection apparatus further includes:
a primary power device, configured to supply power to the resource control node and the computing node, where: when the primary power device is started, the resource control node and the computing node simultaneously obtain power supplied by the primary power device; and
after a power-on operation is performed on the resource control node and the computing node, and before the resource control node is started, the computing node is further configured to acquire startup mode information, and enter a power saving mode of a basic input/output system (BIOS) according to the startup mode information.
According to a fourth aspect, an embodiment of the present application provides a resource control apparatus, including the resource control node according to the first aspect, second aspect, or third aspect described above.
According to a fifth aspect, an embodiment of the present application provides a server system, including multiple node interconnection apparatuses that are interconnected, where:
the server system further includes an energy saving management server, where:
the energy saving management server is configured to receive a registration notification that is sent by a resource control node in each node interconnection apparatus after a power-on operation is performed on the resource control node, and send a computing node power-on indication to the resource control node in each node interconnection apparatus or a baseboard management controller in each node interconnection apparatus, so that the resource control node in each node interconnection apparatus or the baseboard management controller in each node interconnection apparatus controls a power switch according to the computing node power-on indication to close a power supply circuit between a primary power device and a computing node.
According to a sixth aspect, an embodiment of the present application provides a server system, including multiple node interconnection apparatuses that are interconnected, where:
the server system further includes an energy saving management server, configured to determine, according to an energy saving policy, whether an energy saving operation needs to be performed on a computing node in each node interconnection apparatus, and send an energy saving operation indication to a computing node on which an energy saving operation is to be performed; and
the computing node in each node interconnection apparatus is further configured to enter an energy saving mode of an operating system according to the received energy saving operation indication.
According to a seventh aspect, an embodiment of the present application provides a server system, including an integrated apparatus and multiple servers, where: each server includes a computing node, the integrated apparatus includes multiple resource control nodes, the multiple resource control nodes are interconnected, and the multiple resource control nodes are connected to the computing node in each server by using multiple device interconnection interfaces;
each resource control node is provided with a resource interface, and each resource control node is configured to access a storage device by using the resource interface, and allocate, to a computing node connected to the resource control node, a storage resource that belongs to the computing node;
the computing node is configured to obtain the storage resource allocated by the resource control node connected to the computing node, and send, by using the device interconnection interface, an access request for the allocated storage resource to the resource control node connected to the computing node; and
each resource control node receives the access request, which is sent by the computing node connected to the resource control node, for the allocated storage resource, and performs, by using the resource interface, an operation on the allocated storage resource, where:
the resource interface includes a storage interface and/or a network interface, and the resource control node accesses a local storage device by using the storage interface, and accesses an external storage device by using the network interface. It can be learn from the foregoing technical solutions that the node interconnection apparatus provided in the embodiments of the present application includes a resource control node and a computing node, and because the computing node is not provided with a resource interface, the computing node obtains a storage resource or a network resource by using the resource control node; the resource control node is configured to access a storage device by using a resource interface, and allocate a storage resource that belongs to the computing node; the computing node is configured to obtain the storage resource allocated by the resource control node, and when an operation requirement of the allocated storage resource is generated, send an operation request for the allocated storage resource to the resource control node by using a device interconnection interface; and the resource control node receives the operation request, which is sent by the computing node, for the allocated storage resource, and performs, by using the resource interface, a storage operation on the allocated storage resource.
Different from a conventional server, the node interconnection apparatus provided in the embodiments of the present application uses an architecture in which a computing node and a resource control node are separate and decoupled. The node interconnection apparatus includes a computing node that is used to perform a computing task, and a resource control node that is used to perform resource access. Processors are separately configured for the computing node and the resource control node. The computing node is not responsible for accessing storage devices, and storage resources can only be acquired by using the resource control node. Therefore, the computing tasks and the resource access tasks can be performed separately. On one hand, when the computing node is not powered off, load of it can be reduced, resources are concentrated on computing functions, and computing efficiency is improved. On the other hand, the resource access tasks are separated from the computing node, so that when energy saving is required for the computing node, an energy saving operation, such as not starting, power-off, or entering power saving mode may be performed on the computing node, without affecting the use of a network resource or a storage resource, thereby reducing energy consumption.
The following briefly introduces the accompanying drawings used in describing the embodiments of the present application.
Embodiments of the present application provide a node interconnection apparatus, a resource control node, and a server system. In the node interconnection apparatus, resource access functions are dissociated from a computing node, and a resource control node is provided to handle the resource access functions. The resource control node is connected to the computing node by a device interconnection interface. The resource control node has a resource interface, for accessing a storage resource or a network resource. The resource control node also has a storage controller or a network controller, to control the access to the storage resource or the network resource.
Correspondingly, the computing node that is connected to the resource control node does not need to provide functions related to the storage controller or the network controller any more. The resource control node is configured to access a storage device or a network through the resource interface, allocate a storage resource or a network resource that belongs to the computing node, receive an access request, which is sent by the computing node, for the allocated storage resource or the allocated network resource, and perform a storage operation on the allocated storage resource or access the allocated network resource by using the resource interface.
The resource interface described above includes a storage interface and/or a network interface, and the resource control node accesses a local storage device by using the storage interface, and accesses an external storage device by using the network interface.
The node interconnection apparatus, which includes a resource control node and a computing node that are interconnected, can be flexibly implemented. Possible implementation manners include:
(1) A brand new form of server, for example, a converged server, where the converged server includes a computing node and a resource control node.
(2) A resource control node is connected as a submodule to an existing server, where the resource control node may replace an original RAID (Redundant Arrays of Independent Disks), card and an original NIC card (Network Interface Card). A signal interface, through which the original RAID card is connected to a hard disk, is connected to a storage interface of the resource control node. A network interface, through which the original NIC card is connected externally or is connected to a self-organizing network, is connected to a network interface of the resource control node. The resource control node may be deemed as a device locally connected to the existing server.
(3) An integrated apparatus formed by multiple resource control nodes. For example, multiple resource control nodes are deployed in a cabinet/frame, and each resource control node is connected to a server through a device interconnection interface. The integrated resource control nodes are internally interconnected through network interfaces. A local storage device is mounted (or not mounted) to each resource control node, and each resource control node provides a device interconnection interface for access to a computing node, so as to provide storage space, a node communication network, and an external network storage service for a computing node corresponding to each resource control node. The computing node may be a computing node in a server, or may be a computing node group formed by computing nodes of multiple servers.
This embodiment of the present application is described below by using the first implementation manner as an example, where in the first implementation manner, the node interconnection apparatus takes the form of a converged server.
Shown in
The resource control node 10 interconnects with the computing node 20 through their respective device interconnection interfaces 101 and 201. The device interconnection interface 101 or 201 may be a Peripheral Component Interconnect Express (PCIe) interface.
The resource control node 10 is further provided with a resource interface 102. The resource interface 102 may be a storage interface 102a, or may be a network interface 102b. The storage interface 102a is used for access to a local storage device 30, and the network interface 102b is used for access to an external network storage device 40.
As shown in
As shown in
As shown in
In the converged server as shown in foregoing
The converged server provided in this embodiment of the present application includes a resource control node and a computing node. Because the computing node is not provided with a resource interface, the computing node obtains a storage resource or a network resource through the resource control node. The resource control node is configured to access a storage device by using a resource interface, and allocate, according to a storage resource of the storage device, a storage resource that belongs to the computing node. The computing node is configured to obtain the storage resource allocated by the resource control node, and when an operation requirement of the allocated storage resource is generated, send an operation request for the allocated storage resource to the resource control node by using a device interconnection interface. The resource control node receives the operation request for the allocated storage resource, and performs, by using the resource interface, a storage operation on the allocated storage resource.
The allocated storage resource that belongs to the computing node may be all storage resources of the storage device, or may be some storage resources of the storage device.
On a conventional server, because computing work and work of accessing a storage resource or a network resource are all performed by a processor of the server, the server needs to remain in a power-on state, and such a case is not beneficial to an energy saving operation of the server. Different from a conventional server, the converged server provided in this embodiment of the present application uses an architecture in which a computing node and a resource control node are separate and decoupled. The converged server includes both a computing node that is used to perform a computing task, and a resource control node that is used to perform resource access. Processors are separately configured for the computing node and the resource control node. The computing node is not responsible for accessing storage devices, and storage resources can only be acquired by using the resource control node. Therefore, the computing tasks and the resource access tasks can be performed separately. On one hand, when the computing node is not powered off, load of it can be reduced, resources are concentrated on computing functions, and computing efficiency is improved. On the other hand, the resource access tasks are separated from the computing node, so that when energy saving is required for the computing node, an energy saving operation, such as not starting, power-off, or entering power saving mode may be performed on the computing node, without affecting the use of a network resource or a storage resource, thereby reducing energy consumption.
Further, in a preferred implementation manner, the resource control node 10 in the converged server 1 shown in
Specifically, the shared storage scheduling module can acquire a storage resource of the local storage device or the external storage device connected to the resource interface 102, form a shared storage resource by using the acquired storage resource, split the shared storage resource into multiple physical storage blocks, recombine the multiple physical storage blocks into multiple virtual disks, allocate a logical address to each virtual disk, save a correspondence between the logical address and a physical address of the virtual disk, and allocate at least one virtual disk to a connected computing node. A physical address of each virtual disk is an address of multiple physical storage blocks that form the virtual disk. For example, in
When the computing node 20 is started, the computing node 20 discovers the resource control node 10 by means of scanning through the device interconnection interfaces 201 and 101. After a driver program of the resource control node 10 is loaded to the computing node 20, the computing node 20 acquires the virtual disk 1 provided by the resource control node 10 and deems the virtual disk 1 as a storage resource that belongs to the computing node 20.
The computing node 20 obtains a service request generated by an application program or a virtual machine that is loaded on the computing node 20, and completes a related computing task. If an operation related to the storage resource needs to be performed for the service request, the computing node 20 sends a resource access request to the resource control node 10, where the resource access request carries the logical address of the virtual disk. After receiving the resource access request, the resource control node 10 converts the logical address into the physical address of the storage device, and performs, according to the physical address, an operation related to storage.
In the existing technology, the function of the shared storage scheduling module is implemented by the computing node 20, in other words, the shared storage scheduling program is loaded to the computing node 20. If the computing node 20 is powered off, the shared storage scheduling function of an entire system cannot be implemented, that is, a storage resource cannot be accessed. Therefore, an operation of powering off the computing node 20 for energy saving cannot be implemented. However, in this embodiment of the present application, the function of the shared storage scheduling module is implemented by the resource control node 10. Implementing the function of the shared storage scheduling module by using another hardware device that is decoupled from the computing node 20, that scheduling of the shared storage resource no longer depends on the computing node 20. When energy saving is required for the computing node that performs a computing task, a low power consumption operation can be implemented, for example, separately powering off the computing node or the computing node entering power saving, thereby reducing energy consumption.
Further, in a preferred implementation manner, the resource control node 10 in the converged server 1 shown in
In this embodiment of the present application, a computing node does not directly access a storage device, but access the storage device by using a resource control node. Further, in this embodiment of the present application, it may be further implemented that the computing node is started without an operating system disk. That is, a fixed operating system boot disk (with operating system startup information) does not need to be configured for the computing node, and instead, the resource control node provides the operating system startup information to the computing node. Therefore, after being started, the resource control node is further configured to prepare operating system startup information for the computing node by using the resource interface. During startup of the computing node, the computing node is further configured to obtain, by using the resource control node, the operating system startup information prepared by the resource control node, and start the operating system of the computing node according to the operating system startup information.
The node interconnection apparatus, in which the computing node and the resource control node are decoupled, provided in this embodiment of the present application enables the computing node to be separately powered on or powered off without affecting work of the resource control node. Further, an improvement on the resource control node may further implement the following related function of the computing node when it is powered off. For example:
After a power-off operation is performed on the computing node or the computing node enters an energy saving mode of an operating system, the resource control node is further configured to receive, by using the network interface, an access request from another computing node, for the local storage device, and perform an operation related to the access request.
Alternatively, the resource control node may further include a service interface, and after a power-off operation is performed on the computing node, the resource control node is further configured to receive, from an application by using the service interface, an access request for the storage resource of the computing node, and perform, by using the resource interface, a storage operation on the storage resource.
In the foregoing two preferred and further embodiments, on the one hand, after a local computing node is powered off or an energy saving operation is implemented, an interface is still retained for an upper-layer service in case of emergency use by the upper-layer service; on the other hand, an access request sent by another computing node may be received by using a network interface, so that after the local computing node is powered off or an energy saving operation is performed, a local storage device is still available.
In this embodiment of the present application, the converged server described above can be obtained by reconstructing an existing X86 server. For example, the computing node 20 described above is implemented by reconstructing a function of a processor of the existing X86 server; in addition, a new node, that is, the resource control node 10 described above, is added to the existing X86 server, and the resource control node may specifically be implemented by adding one or more ARM processors.
Generally, for an internal interconnection network in the server system described above, the interconnection network is based on the Ethernet, or may be based on another type of interconnection work, for example, InfiniBand. The network interface provided by the resource control node can implement interconnection between converged servers, and for a networking manner, a self-organizing network between resource control nodes may be used, or a connection with a switch module may be used. A self-organizing network manner may support various topology structures, for example, various networking manners such as FullMesh, 2D Torus, 3D Torus, and CLOS.
In addition, the server system described above may further include an energy saving management server, configured to implement energy saving management of the server system. For example, the energy saving management server accepts registration of a resource control node in the server system, acquires a startup state of the resource control node in the server system, acquires load information of computing nodes in the server system, and determines, according to the startup state of the resource control node or the load information of the computing nodes, which energy saving operation, for example, a power-on operation, a power-off operation or an operation of entering a running state of a power saving mode, is to be performed on which computing node. A method of energy saving management is described in a specific embodiment in the following. For the energy saving management server, a server may be separately disposed in the server system to implement a function of the energy saving management server, or instead of separately disposing a server, a resource management node in any converged server may be selected to implement a function of the management server. Specifically, the energy saving management server may implement energy saving management according to an energy saving policy that is set on the energy saving management server. The energy saving policy may include a startup state of a resource control node or load information of a computing node, and the energy saving policy may be flexibly set and updated any time.
In this embodiment of the present application, because of a decoupling design of the computing node and the resource control node, energy saving management of the computing node can be implemented flexibly. This embodiment of the present application provides two power supply systems when the resource control node and the computing node are interconnected, and in different power supply systems, an energy saving management method of the server systems shown in
A first power supply system for a node interconnection apparatus in which a resource control node and a computing node are interconnected according to an embodiment of the present application: A primary power device of the power supply system separately supplies power to the resource control node and the computing node. In such a power supply system, a power-on operation or a power-off operation can be separately performed on the computing node without affecting a normal working state of the resource control node. In a specific implementation, the primary power device may directly supply power to the resource control node, and supply power to the computing node by using a power switch. An initial state of the power switch is an off state by default, so as to achieve an effect that a power-on operation is performed on the computing node only after the resource control node is powered on. This means that, before a power-on operation is performed on the resource control node, the power switch opens a power supply circuit between the primary power device and the computing node.
Shown in
As shown in
The power switch 80 and power switch 80′ described above may be implemented by using a mechanical power switch, or may be implemented by using a circuit controlled by a chip. Specific implementation may be flexibly set according to an actual requirement, and the power switch in this embodiment of the present application is not limited to a mechanical physical power switch.
The resource control node 10 in
The first baseboard management controller or the second baseboard management controller may be connected to a management network. They can be used to collect an energy saving management signal (a computing node power-on indication, a computing node power-off indication, or the like) sent by the energy saving management server. The energy saving management server introduced in this embodiment may be the energy saving management server shown in
The energy saving management server determines, according to an energy saving policy, whether to perform a power-on operation or a power-off operation on the computing node 20. The energy saving policy may include: (1) After a power-on operation is already performed on a resource control node in a converged server, a power-on operation is performed on a computing node in the converged server; (2) after a power-on operation is performed on a resource control node in a converged server, when load of a computing node that is powered on in a server system is greater than a set threshold, a power-on operation is performed on a computing node in the converged server; (3) if load of a computing node in a converged server is less than a set threshold, a power-off operation is performed on the computing node in the converged server. The foregoing energy saving policies are only some examples, and are not intended to make an exhaustive list of energy saving policies in this embodiment of the present application.
The primary power device 910 supplies power to the resource control node 10 by using a direct current power supply and a standby power supply. The direct current power supply may provide a working voltage for startup of the resource control node 10, for example, a voltage of 12 V. The standby power supply provides a voltage lower than a working voltage to the first baseboard management controller in the resource control node 10 or the second baseboard management controller in the computing node 20, so that the first baseboard management controller or the second baseboard management controller remains in a working state. In
If interconnection between the resource control node and the computing node uses the power supply system shown in
(1) A startup manner of the resource control node and the computing node: The resource control node is first powered on, and then the computing node is powered on. As shown in
S401: After being started, a primary power device in a converged server directly supplies power to a resource control node in the converged server, and a power-on operation is performed on the resource control node.
S402: The resource control node starts an operating system of the resource control node.
Specifically, after being started, the resource control node may further perform a self check. If the system is provided with an energy saving management server, the resource control node may establish a connection with the energy saving management server, and register with the energy saving management server. The energy saving management server obtains a registration notification of the resource control node, and specifies a startup state of the resource control node according to the registration notification. Further, the resource control node may further perform initialization on a local storage device or a network device that is connected to the resource control node, or perform an operation of discovering another node and configure a shared storage resource. After an initialization configuration is performed, a storage device or a network device that is connected to the converged server can be identified and used.
S403: The resource control node registers with an energy saving management server, and reports a startup state of the resource control node.
This step is an optional step, and if the server system is not provided with the energy saving management server, the step may not be performed.
S404: After it is determined that the resource control node is started, determine whether to power on a computing node in the converged server.
Specifically, in the power supply system in
Because the first baseboard management controller or the second baseboard management controller is connected to the energy saving management server in the management network, the computing node power-on indication is from the energy saving management server. The energy saving management server sends the computing node power-on indication to the first baseboard management controller or the second baseboard management controller according to an energy saving policy. The energy saving policy may include: determining whether the resource control node in the converged server is started; if yes, it may be directly determined that the computing node needs to be powered on. After it is determined that the resource control node is started, the energy saving management server may also further determine, according to collected load information of each computing node in the server system, whether the computing node needs to be powered on. For example, if load of each computing node in the server system is heavy, the computing node needs to be powered on, or if load of each computing node is light, the computing node may not need to be powered on in this case even though the resource control node is started.
S405: If it is determined that the computing node needs to be powered on, supply power to the computing node, so that a power-on operation is performed on the computing node.
Specifically, the first baseboard management controller or the second baseboard management controller controls a power switch in the converged server, so that the primary power device supplies power to the computing node.
The following steps are optional steps, which are a startup process and a registration process of the computing node. Startup in this embodiment of the present application includes powering on a node and starting an operating system.
S406: The computing node starts an operating system (OS) of the computing node.
Specifically, the computing node enters a boot program of a basic input/output system (BIOS), finds the resource control node by means of scanning, acquires a virtual disk provided by the resource control node, acquires an OS image of the virtual disk, starts the operating system according to the OS image, and installs a driver program of the resource control node.
S407: The computing node registers with the energy saving management server, so that the energy saving management server learns a startup state of the computing node.
In the foregoing startup manner of the resource control node and the computing node, the resource control node is first powered on and started, and then it is determined whether the computing node is to be powered on. In an architecture in which the resource control node and the computing node are separated, it can be implemented that the computing node is started without an OS disk. In addition, a power-on operation may be performed on the computing node only when there is a specific use requirement of the computing node, thereby avoiding a waste of resources and reducing energy consumption.
(2) A power-off manner of the computing node: It may be implemented that the resource control node determines to disconnect power supply to the computing node in the converged server or disconnects, according to an energy saving management signal, power supply to the computing node in the converged server, so that a power-off operation is performed on the computing node without affecting a working state in which the resource control node remains. As shown in
S501: Determine, according to an energy saving policy, a computing node on which a power-off operation needs to be performed.
Specifically, the resource control node or the energy saving management server may determine, according to load information of the computing node, whether the computing node needs to be powered off. If it is determined that load of a computing node is less than a set threshold, a working task performed in the computing node may be performed first or migration of a running virtual machine (VM) may be performed first, and after the migration is completed, it may be determined that a power-off operation can be performed on the computing node.
S502: After a computing node on which a power-off operation is to be performed is determined, send a computing node power-off indication.
Specifically, in the power supply system in
S503: Disconnect power supply between the computing node and a primary power device, so that a power-off operation is performed on the computing node.
Specifically, in the power supply system in
In the first power supply system described above, the primary power device separately supplies power to the resource control node and the computing node. Therefore, when energy saving is required, the computing node may not be powered on or a power-off operation is performed on the computing node to save energy, and when the computing node needs to perform a related computing task, a power-on operation may be performed on the computing node according to a requirement.
For the first power supply system described above, because the power supply circuit is improved, an implementation manner of a newly provided converged server may be preferably used. If the resource control node in this embodiment of the present application is implemented only by reconstructing an existing server, an existing circuit may further be used for the implementation, and description is provided in the following.
A second power supply system for a node interconnection apparatus in which a resource control node and a computing node are interconnected according to an embodiment of the present application: Power supply to the resource control node depends on the computing node, or the resource control node and the computing node are interconnected in a same power supply circuit, and the resource control node and the computing node simultaneously obtain a power supply voltage of a primary power device.
In
If the power supply system shown in
(1) A startup manner of the resource control node and the computing node: The resource control node is first started, and then the computing node is started. As shown in
S701: After being started, a primary power device simultaneously supplies power to a resource control node and a computing node, and a power-on operation is separately performed on the resource control node and the computing node.
S702: After being powered on, the computing node acquires startup mode information during startup, and enters a power saving mode of a BIOS according to the startup mode information.
In this embodiment of the present application, the power saving mode of the BIOS mainly indicates that during startup of the BIOS, the computing node does not enter a boot mode of the BIOS to start an OS of the computing node. Therefore, although the computing node is powered on, the computing node enters a running state of the BIOS with low power consumption.
Specifically, in this embodiment of the present application, startup mode information may be preset in the resource control node; for example, Option Rom control of the resource control node is used. The startup mode information may be set to a fixed value, for example, be directly preset to the power saving mode of the BIOS. The startup mode information may also be preset to a condition value, for example, the power saving mode of the BIOS is used when the resource control node is not started, and the boot mode of the BIOS is used when the resource control node is started.
For step 702, there are two implementation manners according to different settings of the preset startup mode information in the resource control node.
A first implementation manner: If the startup mode information preset in the resource control node is the fixed value, during startup, the computing node starts the BIOS, scans, in the boot mode of the BIOS, a device that is connected to the computing node, and when the resource control node is found by means of scanning, acquires the power saving mode of the BIOS preconfigured in the resource control node. Therefore, after being powered on, the computing node does not directly start the OS, but enters the power saving mode of the BIOS according to the acquired startup mode information.
A second implementation manner: If the startup mode information preset in the resource control node is the condition value, during startup, the computing node starts the BIOS, scans, in the boot mode of the BIOS, a device that is connected to the computing node, and when the resource control node is found by means of scanning, acquires the startup mode information preconfigured in the resource control node. Further, the BIOS detects a status of the resource control node. If it is determined that the resource control node is not started, after the computing node is powered on, the computing node does not directly start the OS, but enters the power saving mode of the BIOS according to the acquired startup mode information.
S703: After being powered on, the resource control node starts an OS of the resource control node.
Specifically, after being started, the resource control node may further perform a self test. If the system is provided with an energy saving management server, the resource control node may establish a connection with the energy saving management server, and register with the energy saving management server. The energy saving management server obtains a registration notification of the resource control node, and specifies a startup state of the resource control node according to the registration notification. Further, the resource control node may further perform initialization on a local storage device or a network device that is connected to the resource control node, or perform an operation of discovering another node and configure a shared storage resource. After an initialization configuration is performed, a storage device or a network device that is connected to the converged server can be identified and used.
S704: After it is determined that the resource control node is started, the computing node is switched from the power saving mode of the BIOS to a boot mode of the BIOS, and booted by the BIOS, starts an OS of the computing node.
Specifically, corresponding to the two modes in step 702, step 704 described above correspondingly has two specific implementation manners.
A first implementation manner: If the startup mode information preset in the resource control node is the fixed value, after being started, the resource control node changes the preset startup mode information from the power saving mode of the BIOS to the boot mode of the BIOS, and instructs the computing node to restart. The computing node restarts, and the BIOS acquires the startup mode information in the resource control node. Because the startup mode information is changed to the boot mode of the BIOS, the computing node, booted by the BIOS, starts the operating system of the computing node.
A second implementation manner: If the startup mode information preset in the resource control node is the condition value, the computing node detects the status of the resource control node; if it is determined that the resource control node is in a started state, the BIOS of the computing node is switched from the power saving mode to the boot mode, and the computing node starts the OS of the computing node in the boot mode of the BIOS.
S705: After being started, the resource control node or the computing node registers with an energy saving management server, so that the energy saving management server learns a startup state of the computing node.
Step 705 is an optional step. If a server system is provided with an energy saving management server, the resource control node or the computing node notifies the energy saving management server of a status of the resource control node or the computing node after being started, so that the energy saving management server performs subsequent energy saving management according to a preset energy saving policy and by taking the status of the resource control node or the computing node into consideration. In order to implement communication with the energy saving management server, a baseboard management controller may be separately disposed in the resource control node or the computing node.
(2) A manner of an energy saving operation of the computing node: After both the computing node and the resource control node are powered on and started, when it is determined that load of the computing node is relatively light, an energy saving operation may further be performed on the computing node. Because in the second power supply system, power supply to the resource control node and power supply to the computing node depend on each other, it is relatively difficult to implement that a power-off operation is performed on the computing node without affecting normal working of the resource control node. Therefore, in the second power supply system, an energy saving operation is not implemented by powering off the computing node, but a baseboard management controller in the computing node is used to implement a reset or sleep of the computing node, so that an energy saving operation is performed on the computing node. The baseboard management controller may receive an energy saving operation indication of the resource control node to perform an energy saving operation, or may directly receive an energy saving management indication sent by the energy saving management server to perform an energy saving operation.
A possible energy saving management manner is: If the energy saving management server determines that an energy saving operation needs to be performed, the energy saving management server may send an energy saving operation indication to a corresponding computing node, so that the corresponding computing node enters an energy saving mode of an operating system, for example, sleep or a reset.
In addition, the term “and/or” in this specification describes only an association relationship for describing associated objects and represents that three relationships may exist. For example, A and/or B may represent the following three cases: Only A exists, both A and B exist, and only B exists. In addition, the character “/” in this specification generally indicates an “or” relationship between the associated objects.
It should be understood that in the embodiments of the present application, “B corresponding to A” indicates that B is associated with A, and B may be determined according to A. However, it should be further understood that determining B according to A does not mean that B is determined only according to A, and B may further be determined according to A and/or other information.
A person of ordinary skill in the art may be aware that, in combination with the examples described in the embodiments disclosed in this specification, units and algorithm steps may be implemented by electronic hardware, computer software, or a combination thereof. To clearly describe the interchangeability between the hardware and the software, the foregoing has generally described compositions and steps of each example according to functions. Whether the functions are performed by hardware or software depends on particular applications and design constraint conditions of the technical solutions. A person skilled in the art may use different methods to implement the described functions for each particular application, but it should not be considered that the implementation goes beyond the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed system may be implemented in other manners. For example, the described system embodiment is merely exemplary. For example, the unit division is merely logical function division and may be other division in actual implementation. For example, a plurality of units or components may be combined or integrated into another system, or some features may be ignored or not performed. In addition, the displayed or discussed mutual couplings or direct couplings or communication connections may be implemented by using some interfaces. The indirect couplings or communication connections between the nodes or units may be implemented in electronic, mechanical, or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments of the present application.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each of the units may exist alone physically, or two or more units are integrated into one unit. The integrated unit may be implemented in a form of hardware, or may be implemented in a form of a software functional unit.
When the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, the integrated unit may be stored in a computer-readable storage medium. Based on such an understanding, the technical solutions of the present application essentially, or the part contributing to the prior art, or all or some of the technical solutions may be implemented in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for instructing a computer device (which may be a personal computer, a server, or a network device) to perform all or some of the steps of the methods described in the embodiments of the present application. The foregoing storage medium includes: any medium that can store program code, such as a USB flash drive, a removable hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disc.
The foregoing descriptions are merely specific embodiments of the present application, but are not intended to limit the protection scope of the present application. Any modification or replacement readily figured out by a person skilled in the art within the technical scope disclosed in the present application shall fall within the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
This application is a continuation of U.S. patent application Ser. No. 15/296,054, filed on Oct. 18, 2016, which is a continuation of International Application No. PCT/CN2014/078075, filed on May 22, 2014. The aforementioned patent applications are hereby incorporated by reference in their entirety.
Number | Name | Date | Kind |
---|---|---|---|
8380967 | Kinouchi | Feb 2013 | B2 |
9621551 | Lambert | Apr 2017 | B2 |
20030110263 | Shillo | Jun 2003 | A1 |
20070050644 | Merkin | Mar 2007 | A1 |
20080133902 | Love | Jun 2008 | A1 |
20100017630 | Chen et al. | Jan 2010 | A1 |
20100083015 | Yokota et al. | Apr 2010 | A1 |
20100106990 | Kalman | Apr 2010 | A1 |
20100115305 | Ichikawa et al. | May 2010 | A1 |
20100192145 | Liles et al. | Jul 2010 | A1 |
20100244778 | Chuang et al. | Sep 2010 | A1 |
20110087833 | Jones | Apr 2011 | A1 |
20110202193 | Craig et al. | Aug 2011 | A1 |
20120150815 | Pafumi et al. | Jun 2012 | A1 |
20120173863 | Tang | Jul 2012 | A1 |
20130339600 | Shah | Dec 2013 | A1 |
20140047144 | Haga | Feb 2014 | A1 |
20140189128 | Gu et al. | Jul 2014 | A1 |
20150032910 | Ben Yehuda | Jan 2015 | A1 |
20150212856 | Shanmuganathan | Jul 2015 | A1 |
20150304423 | Satoyama et al. | Oct 2015 | A1 |
20170371683 | Devireddy | Dec 2017 | A1 |
Number | Date | Country |
---|---|---|
1602480 | Mar 2005 | CN |
1707416 | Dec 2005 | CN |
101281454 | Oct 2008 | CN |
101604196 | Dec 2009 | CN |
101661381 | Mar 2010 | CN |
102568505 | Jul 2012 | CN |
102759977 | Oct 2012 | CN |
102893233 | Jan 2013 | CN |
102902334 | Jan 2013 | CN |
103092807 | May 2013 | CN |
103389884 | Nov 2013 | CN |
103458041 | Dec 2013 | CN |
103503414 | Jan 2014 | CN |
2133771 | Dec 2009 | EP |
03050707 | Jun 2003 | WO |
Entry |
---|
IBM Company, SVC IBM solutions for heterogeneous storage integration solutions. 2009, total 26 pages with partial English Translation. |
Number | Date | Country | |
---|---|---|---|
20190278497 A1 | Sep 2019 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 15296054 | Oct 2016 | US |
Child | 16416280 | US | |
Parent | PCT/CN2014/078075 | May 2014 | US |
Child | 15296054 | US |