Server cluster and control mechanism thereof

RE046520 ยท 2017-08-22

Assignee

Inventors

Cpc classification

International classification

Abstract

A server cluster including a network switch and multiple server nodes is provided. The network switch is connected to an external network. Each server node performs an operation system and respectively includes a network port, a network chip and a south bridge chip. The network port is connected to the network switch via a cable. The network chip outputs a power-off signal according to a received power-off packet after the network switch is started. The south bridge chip outputs a shutdown signal to shut down the server node according to the power-off signal when the server node is turned on and the operation system is working normally.

Claims

1. A server cluster, comprising: a network switch connected to an external network; and a plurality of server nodes, wherein each server node performs an operation system and .[.respectively.]. comprises: a network port connected to the network switch via a cable; a network chip used for outputting a power-off signal according to a received power-off packet after the network switch is started; a south bridge chip used for outputting a shutdown signal to shut down the server node according to the power-off signal when the server node is turned on and the operation system is working .[.normally.].; and a pulse delay circuit that transforms the power-off signal into a delay signal and transmits the delay signal to the south bridge chip when the operation system is abnormal and the server node.[.,.]. is turned on, such that the south bridge chip shuts down the server node; wherein the pulse delay circuit judges whether the server node is turned on through the south bridge chip.

2. The server cluster according to claim 1, wherein the power-off packet is a network .[.power-on.]. .Iadd.reboot on LAN .Iaddend.packet or a network wake on LAN packet.

3. The server cluster according to claim 1, wherein the delay signal has a low level pulse whose pulse width amounts to 4 seconds.

4. A control .[.mechanism.]. .Iadd.method .Iaddend.of a server cluster, wherein the server cluster comprises a network switch and a plurality of server nodes, each server node performs an operation system and .[.respectively.]. comprises a network port, a network chip and a south bridge chip, the network switch is connected to an external network, the network port is connected to the network switch via a cable, and the control .[.mechanism.]. .Iadd.method .Iaddend.comprises: starting the network switch; outputting a power-off signal by the network chip according to a received power-off packet; and outputting a shutdown signal by the south bridge chip to shut down the server node according to the power-off signal when the server node is turned on and the operation system is working .[.normally.]., wherein each server node further comprises a pulse delay circuit, and the control .[.mechanism.]. .Iadd.method .Iaddend.further comprises judging whether the server node is abnormal when the operation system is turned on; and transforming the power-off signal into a delay signal and further transmitting the delay signal to the south bridge chip by the pulse delay circuit when the operation system is abnormal, such that the south bridge chip shuts down the server node; wherein the pulse delay circuit judges whether the server node is turned on through the south bridge chip.

5. The control .[.mechanism.]. .Iadd.method .Iaddend.of a server cluster according to claim 4, wherein the power-off packet is a network .[.power-on.]. .Iadd.reboot on LAN .Iaddend.packet or a network wake on LAN packet.

6. The control .[.mechanism.]. .Iadd.method .Iaddend.of a server cluster according to claim 4, wherein the delay signal has a low level pulse whose pulse width amounts to 4 seconds.

.Iadd.7. A server cluster, comprising: a network switch connected to an external network; and a plurality of server nodes, wherein each server node performs an operation system and comprises: a network port connected to the network switch; a network chip used for outputting a power-off signal according to a received power-off packet; a south bridge chip used for outputting a shutdown signal to shut down the server node according to the power-off signal when the server node is on and the operation system is working; and a pulse delay circuit that transforms the power-off signal into a delay signal and transmits the delay signal to the south bridge chip when the operation system is abnormal and the server node is on, such that the south bridge chip shuts down the server node..Iaddend.

.Iadd.8. The server cluster according to claim 7, wherein the pulse delay circuit judges whether the server node is turned on through the south bridge chip..Iaddend.

.Iadd.9. The server cluster according to claim 7, wherein the power-off packet is a network reboot on LAN packet or a network wake on LAN packet..Iaddend.

.Iadd.10. The server cluster according to claim 7, wherein the delay signal has a low level pulse whose pulse width amounts to 4 seconds..Iaddend.

.Iadd.11. A control method for a server cluster, wherein the server cluster comprises a network switch and a plurality of server nodes, each server node performs an operation system and comprises a network port, a network chip, a pulse delay circuit, and a south bridge chip, the network switch is connected to an external network, the network port is connected to the network switch, and the control method comprising: starting the network switch; outputting a power-off signal by the network chip according to a received power-off packet; judging whether the server node is abnormal when the operation system is on; outputting a shutdown signal by the south bridge chip to shut down the server node according to the power-off signal when the server node is on and the operation system is working; and transforming the power-off signal into a delay signal and further transmitting the delay signal to the south bridge chip by the pulse delay circuit when the operation system is abnormal, such that the south bridge chip shuts down the server node..Iaddend.

.Iadd.12. The control method of claim 11, wherein the pulse delay circuit judges whether the server node is turned on through the south bridge chip..Iaddend.

.Iadd.13. The control method according to claim 11, wherein the power-off packet is a network reboot on LAN packet or a network wake on LAN packet..Iaddend.

.Iadd.14. The control method according to claim 11, wherein the delay signal has a low level pulse whose pulse width amounts to 4 seconds..Iaddend.

Description

BRIEF DESCRIPTION OF THE DRAWINGS

(1) FIG. 1 shows a server cluster according to one embodiment of the invention;

(2) FIG. 2 shows a flowchart of a control mechanism of a server cluster according to one embodiment of the invention;

(3) FIG. 3 shows a circuit diagram of an example of a pulse delay circuit according to one embodiment of the invention.

DETAILED DESCRIPTION OF THE INVENTION

(4) The invention relates to a server cluster and a control mechanism thereof. The power of the server node is turned off according to a detected power-off packet of a network without using any baseboard management controller (BMC), so that the cost of the blade serve can be effectively reduced.

(5) Referring to FIG. 1, a server cluster according to one embodiment of the invention is shown. The server cluster 100 includes a network switch 110 and multiple server nodes 120. The network switch 110 is connected to an external network such as an Internet. Each server node 120 includes a network port 124, a network chip 126, a south bridge chip 128 and a pulse delay circuit 130. The network port 124 is connected to the network switch 110 via a network link 122 such as a cable. The network chip 126 outputs a power-off signal according to a received power-off packet after the network switch 110 is turned on. The power-off packet is such as but not limited to a network reboot on LAN (ROL) packet or a network wake on LAN (WOL) packet. The south bridge chip 128 is electrically connected to the network chip 126. The pulse delay circuit 130 is electrically connected to the network chip 126 and the south bridge chip 128.

(6) Referring to FIG. 2, a flowchart of a control mechanism of a server cluster according to one embodiment of the invention is shown. In step S200, a network switch 110 is started. In step S210, a power-off packet is received by a network chip 126, and a power-off signal PWR_OFF_L is outputted accordingly. In step S220, whether the server node 120 is turned on is judged. If the server node 120 is turned off, then none of the south bridge chip 128 and the pulse delay circuit 130 needs to generate action, and the process returns to step S200. If the server node 120 is turned on, then the process proceeds to step S230. In step S230, whether the operation system of the server node 120 is abnormal such as crash or hang-up is judged.

(7) When the operation system of the server node 120 is normal or is working normally, then the process proceeds to step S240. In step S240, the pin of a system management interrupt (SMI) of the south bridge chip 128 is enabled by the power-off signal PWR_OFF_L to generate a shutdown signal SCI to notify the operation system to shut down the server node 120. In step S250, the server node 120 is shut down. If the operation system of the server node 120 is abnormal such as hang-up, then the process proceeds to step S260. In step S260, the power-off signal PWR_OFF_L is transformed into a delay signal and further transmitted the delay signal to the south bridge chip 128 by the pulse delay circuit 130, such that the south bridge chip 128 outputs a power signal PWR_BUT_L to shut down the server node 120.

(8) In the aforementioned mechanism, the pulse delay circuit 130 substantially detects an on/off state of the server node 120 according to a signal SLP_S5_L of the south bridge chip 128. The pulse delay circuit 130 transforms a power-off signal PWR_OFF_L into a low level delay signal whose pulse width amounts to 4 seconds when the server node 120 is turned on and the operation system is abnormal. Under the current protocol, the low level delay signal whose pulse width amounts to 4 seconds enables the south bridge chip 128 to force the operation system to shut down the server node 120.

(9) Referring to FIG. 3, a circuit diagram of an example of a pulse delay circuit according to one embodiment of the invention is shown. In the pulse delay circuit 130, the power-off signal PWR_OFF_L whose pulse width is merely a few micro-seconds is inverted first. Then, the pulse width is delayed by an RC circuit. Lastly, the signal SLP_S5_L is outputted when the server node 120 is turned on and inverted as a low level delay signal whose pulse width amounts to 4 seconds.

(10) According to the server cluster and the control mechanism thereof disclosed in the above embodiments of the invention, a power-off packet of the network, such as a network reboot on LAN (ROL) packet or a network wake on LAN (WOL) packet, is detected with a simple logic circuit to turn off the power of the server node without using a baseboard management controller, such that the cost of the server cluster can be effectively reduced.

(11) While the invention has been described by way of example and in terms of the preferred embodiment (s), it is to be understood that the invention is not limited thereto. On the contrary, it is intended to cover various modifications and similar arrangements and procedures, and the scope of the appended claims therefore should be accorded the broadest interpretation so as to encompass all such modifications and similar arrangements and procedures.