CN115509333A - Server collaborative power-on and power-off device, method, system and medium - Google Patents

Server collaborative power-on and power-off device, method, system and medium Download PDF

Info

Publication number
CN115509333A
CN115509333A CN202211190973.7A CN202211190973A CN115509333A CN 115509333 A CN115509333 A CN 115509333A CN 202211190973 A CN202211190973 A CN 202211190973A CN 115509333 A CN115509333 A CN 115509333A
Authority
CN
China
Prior art keywords
server
power
cpld
pooling
state
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211190973.7A
Other languages
Chinese (zh)
Inventor
曲勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202211190973.7A priority Critical patent/CN115509333A/en
Publication of CN115509333A publication Critical patent/CN115509333A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/28Supervision thereof, e.g. detecting power-supply failure by out of limits supervision
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Power Sources (AREA)

Abstract

The application discloses a server collaborative power-on and power-off device, a method, a system and a medium, relates to the technical field of servers, is used for realizing collaborative power-on and power-off between servers, aims at solving the problem that the reliability and stability of the system power-on and power-off between the servers are insufficient through BMC at present, and provides a server collaborative power-on and power-off device. The PWRGD end of the power management chip of the rest components of the server is connected with the CPLD and monitored by the CPLD, so that the CPLD can detect the power-on state of the server, the BMC is not required to be used, the problem that the server cannot be powered on or powered off cooperatively when the BMC is in an operation and maintenance upgrading state is effectively solved, and the reliability and the stability are improved.

Description

Server collaborative power-on and power-off device, method, system and medium
Technical Field
The present application relates to the field of server technologies, and in particular, to a server collaborative power-on/power-off device, method, system, and medium.
Background
With the development of cloud computing and big data technology, data centers face a greater and greater amount of data impact, and in order to increase the resource utilization rate of a general server and facilitate resource expansion, pooled server products, such as a storage resource pooled server, a computing resource pooled server, and the like, are produced at the same time. The general server can flexibly match the pooled server through cables to realize resource expansion. For the server product with the above architecture, the pooling server cannot work alone, and can be regarded as a component of the main server in the whole system, so that the coordination of the whole system with power-on and power-off time sequence control becomes particularly important.
Currently, the aforementioned cooperative power up and power down between the main server and the pooling server is realized by a Baseboard Management Controller (BMC). However, BMC is an important management unit of a server system, and has main functions of server hardware monitoring and fault warning, heat dissipation and speed regulation, power management, firmware upgrade, and the like, and operations and maintenance operations for BMC are also more, for example, BMC firmware upgrade, and BMC cannot realize coordination of power on and power off during operation and maintenance, so the current coordination power on and power off scheme still needs to be improved in reliability and stability.
Therefore, those skilled in the art need a server cooperative power on/off device to solve the problem of insufficient reliability and stability of power on/off of a system between servers through a BMC.
Disclosure of Invention
The application aims to provide a server cooperative power-on and power-off device, method, system and medium, so as to solve the problem that the reliability and stability of the system power-on and power-off between servers are insufficient through BMC at present.
In order to solve the above technical problem, the present application provides a server collaboration power on and power off device, including: the system comprises a main server CPLD arranged at the main server and a pooling server CPLD arranged at the pooling server;
the main server CPLD is in communication connection with the pooling server CPLD;
the PWRGD end of the power management chip of each other part of the main server is connected with the CPLD of the main server, and the PWRGD end of the power management chip of each other part of the pooling server is connected with the CPLD of the pooling server.
Preferably, the communication connection between the main server CPLD and the pooling server CPLD includes:
the main server CPLD and the pooling server CPLD are connected through three independent GPIO communication paths and are respectively used for transmitting a starting signal/a shutdown signal, a main server power-on state and a pooling server power-on state.
In order to solve the technical problem, the application also provides a server collaborative power-on and power-off method, a main server CPLD arranged at the main server is in communication connection with a pooling server CPLD arranged at the pooling server, PWRGD ends of power management chips of other components of the main server are connected with the main server CPLD, and PWRGD ends of power management chips of other components of the pooling server are connected with the pooling server CPLD; the method is applied to the CPLD side of the main server and comprises the following steps:
when the starting signal is detected, the starting signal is sent to the pooling server CPLD, so that the pooling server CPLD can execute the starting operation conveniently;
detecting the power-on state of the pooling server returned by the pooling server CPLD, and if the power-on state is the power-on state, executing a starting operation; when the pool server CPLD detects that the pool server and the PWRGD terminals of the power management chips of other components of the pool server are in the electrified state, the electrified state of the pool server is set to be in the electrified state;
when a shutdown signal is detected, executing shutdown operation;
and detecting the power-on states of the PWRGD ends of the power management chips of the main server and other parts of the main server, if the power-off states are both in the power-off state, sending a shutdown signal to the CPLD of the pooling server, and setting the power-on state of the main server to be in the power-off state so as to facilitate the CPLD of the pooling server to execute shutdown operation.
Preferably, the method further comprises the following steps:
after the starting signal is sent to the pooling server CPLD, if the fact that the power-on state of the pooling server returned by the pooling server CPLD is not the power-on state is detected, the abnormal starting state of the pooling server is latched to a register;
after the shutdown operation is executed, if the power-on state of the PWRGD end of the power management chip of the main server and other parts of the main server is detected not to be the power-off state, the shutdown abnormal state of the main server is latched to a register.
Preferably, the method for transmitting the startup signal or the shutdown signal between the main server CPLD and the pooling server CPLD adopts a transparent transmission mode.
In order to solve the technical problem, the application also provides a server collaborative power-on and power-off method, a main server CPLD arranged at the main server is in communication connection with a pooling server CPLD arranged at the pooling server, PWRGD ends of power management chips of other components of the main server are connected with the main server CPLD, and PWRGD ends of power management chips of other components of the pooling server are connected with the pooling server CPLD; the method is applied to the CPLD side of the pooling server and comprises the following steps:
when a starting signal sent by the CPLD is received, starting operation is executed;
detecting the power-on states of the power supply management chip PWRGD end of the pooling server and other components of the pooling server, and if the power-on states are all the power-on states, setting the power-on state of the pooling server to be the power-on state so as to facilitate the CPLD of the main server to execute the starting-up operation;
when a shutdown signal sent by the CPLD is detected, detecting a power-on state of the CPLD returned by the CPLD;
if the power-off state is the power-off state, executing shutdown operation; when the CPLD of the main server detects that the power management chip PWRGD ends of the main server and other components of the main server are in the powered-off state, the power-on state of the main server is set to be in the powered-off state.
In order to solve the technical problem, the present application further provides a server collaborative power-on and power-off device, the primary server CPLD arranged at the primary server is in communication connection with the pooling server CPLD arranged at the pooling server, PWRGD ends of power management chips of other components of the primary server are connected with the primary server CPLD, and PWRGD ends of power management chips of other components of the pooling server are connected with the pooling server CPLD; the method comprises the following steps:
the starting signal sending module is used for sending a starting signal to the pooling server CPLD when the starting signal is detected so as to facilitate the pooling server CPLD to execute the starting operation;
the main server starting module is used for detecting the power-on state of the pooling server returned by the CPLD, and if the power-on state is the power-on state, executing starting operation; when the pool server CPLD detects that the pool server and the PWRGD terminals of the power management chips of other components of the pool server are in the electrified state, the electrified state of the pool server is set to be in the electrified state;
the main server shutdown module is used for executing shutdown operation when a shutdown signal is detected;
and the shutdown signal sending module is used for detecting the power-on states of the master server and the PWRGD end of the power management chip of other components of the master server, sending a shutdown signal to the CPLD of the pooling server if the power-on states are all in the powered-off state, and setting the power-on state of the master server to be in the powered-off state so as to facilitate the CPLD of the pooling server to execute shutdown operation.
Preferably, the method further comprises the following steps:
the abnormal state latch module is used for latching the abnormal starting state of the pooling server to the register after the starting signal is sent to the pooling server CPLD and if the power-on state of the pooling server returned by the pooling server CPLD is detected not to be the power-on state; after the shutdown operation is executed, if the power-on state of the PWRGD end of the power management chip of the main server and other parts of the main server is detected not to be the power-off state, the shutdown abnormal state of the main server is latched to a register.
In order to solve the technical problem, the present application further provides a server collaborative power-on and power-off device, the primary server CPLD arranged at the primary server is in communication connection with the pooling server CPLD arranged at the pooling server, PWRGD ends of power management chips of other components of the primary server are connected with the primary server CPLD, and PWRGD ends of power management chips of other components of the pooling server are connected with the pooling server CPLD; the method comprises the following steps:
the pooling server starting module is used for executing starting operation when receiving a starting signal sent by the CPLD;
the power-on state setting module is used for detecting the power-on states of the power supply management chip PWRGD end of the pooling server and other components of the pooling server, and if the power-on states are all the power-on states, the power-on state of the pooling server is set to be the power-on state so that the CPLD of the main server can execute the starting-up operation;
the power-on state detection module is used for detecting the power-on state of the main server returned by the CPLD when the power-off signal sent by the CPLD is detected;
the pooling server shutdown module is used for executing shutdown operation if the power-off state is the power-off state; when the CPLD detects that the power management chip PWRGD ends of the main server and other components of the main server are in the powered-off state, the power-on state of the main server is set to be in the powered-off state.
In order to solve the above technical problem, the present application further provides a server collaborative power supply and power off system, including:
a memory for storing a computer program;
a processor for implementing the steps of the server-assisted power-up and power-down method described above when executing the computer program.
In order to solve the above technical problem, the present application further provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the steps of the server collaborative power-on and power-off method described above are implemented.
According to the server-collaborative power-on and power-off device, the communication connection is established between the CPLD of the main server which is arranged at the main server and is responsible for electrifying the main server and the CPLD of the pooling server which is arranged at the pooling server and is responsible for electrifying the pooling server, so that the signal interaction can be realized without the need of using a BMC (baseboard management controller) as a transfer between the CPLD of the main server and the CPLD of the pooling server. Furthermore, the PWRGD end of the power management chip of the rest components of the main server is connected with the main server CPLD and is monitored by the main server CPLD, so that the main server CPLD can detect the power-on state of the main server and does not need to use the BMC. Similarly, the CPLD of the pooling server can detect the power-on state of the pooling server by monitoring the PWRGD end of the power management chip of the rest components of the pooling server, and the BMC is not needed to participate. Therefore, the main server CPLD and the pooling server CPLD can realize the transmission of the power-on and power-off signals and the transmission of the power-on states of the main server and the pooling server through the established communication connection, the system power-on and power-off between the servers can be realized without the participation of the BMC, the problem that the server cannot be cooperatively powered on and powered off when the BMC is in the operation and maintenance upgrading state is effectively solved, and the reliability and the stability are improved. In addition, because the power-on and power-off signals and the power-on state of the server are realized by simple level signals, the cooperative power-on and power-off control based on the CPLD and the hardware signals has higher reliability and stability compared with a pure software implementation mode of the BMC, and the normal operation of cooperative power-on and power-off between the servers is further ensured.
The server cooperation power-on and power-off method, the device, the system and the computer readable storage medium correspond to the device, and the effect is the same as that of the device.
Drawings
In order to more clearly illustrate the embodiments of the present application, the drawings required for the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained by those skilled in the art without inventive effort.
FIG. 1 is a block diagram of a server cooperating with a power-on/power-off device according to the present invention;
fig. 2 is a flowchart of a server cooperative power-on and power-off method applied to the CPLD side of the main server according to the present invention;
fig. 3 is a flowchart of a server cooperative power-on and power-off method applied to the CPLD side of the pooling server according to the present invention;
FIG. 4 is a flowchart of a method for powering up a server cooperatively according to the present invention;
FIG. 5 is a flowchart of a server-assisted power down method according to the present invention;
fig. 6 is a structural diagram of a server cooperative powering on and powering off device applied to a CPLD side of a main server according to the present invention;
fig. 7 is a structural diagram of a server cooperative power-on and power-off device applied to the CPLD side of the pooling server according to the present invention;
fig. 8 is a structural diagram of a server-collaborative power-on/power-off system provided by the present invention.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only some embodiments of the present application, and not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without any creative effort belong to the protection scope of the present application.
The core of the application is to provide a server-collaborative power-on and power-off device, method, system and medium.
In order that those skilled in the art will better understand the disclosure, the following detailed description is given with reference to the accompanying drawings.
In the application of the current server, the resource of the main server is limited, so the resource expansion is performed by the device such as the pooling server. However, since the pooling server cannot work alone, the system can be regarded as a component of the main server, taking a Graphics Processing Unit (GPU) pooling server as an example, when the system is powered on, it is required to first ensure that the GPU pooling server is powered on, and then the main server is powered on, otherwise, the main server cannot identify the PCIE device. When the system is powered off, the main server needs to be ensured to be powered off, then the GPU pooling server is powered off, and otherwise, the system can be down.
PCIE: peripheral Component Interconnect Express, high speed serial computer expansion bus standard.
I2C bus: a simple, bi-directional two-wire synchronous serial bus. It requires only two wires to transfer information between devices connected to the bus.
When the cooperative power-on is carried out, the main server BMC issues a power-on instruction to the pooling server BMC through the I2C bus, polls the power-on state of the pooling server continuously, and executes the power-on operation after the pooling server is powered on. When the power is off, the main server firstly executes the power-off action, the BMC sends the power-off instruction to the pooling server BMC through the I2C after detecting that the main server is off, and the pooling server executes the power-off operation.
Specifically, the power-on and power-off operations to the servers are implemented by Complex Programmable Logic Devices (CPLDs) provided at the respective servers, the CPLD responsible for power-on and power-off of the main server is called a CPLD of the main server, and the CPLD responsible for power-on and power-off of the pooling server is called a CPLD of the pooling server. The CPLD of the main server and the CPLD of the pooling server have no connection relation, and the cooperative power on and power off of the servers are realized through unified allocation of the BMC.
However, the above-mentioned software-based collaborative power-on/power-off scheme may cause abnormal power-on/power-off of the whole server due to BMC abnormality or communication abnormality between two levels of management units, thereby affecting normal operation of the server.
In order to solve the above problem, the present application provides a server cooperating with a power on/off device, as shown in fig. 1, including: a main server CPLD12 provided at the main server 11 and a pooling server CPLD14 provided at the pooling server 13;
the main server CPLD12 is in communication connection with the pooling server CPLD14;
the PWRGD terminals of the power management chips 15 (power management chips a-E) of the remaining components of the main server 11 are connected to the main server CPLD12, and the PWRGD terminals of the power management chips 15 (power management chips a-E) of the remaining components of the pooling server 13 are connected to the pooling server CPLD 14.
PWRGD terminal: also known as PWRGD pin, it outputs a high/low level signal for indicating whether the corresponding device is powered on.
The PWRGD ends of the power management chips 15 of the other components of each server are connected to the corresponding CPLDs and are monitored by the CPLDs, so that the CPLDs can acquire the power-on state of the servers without BMCs (strictly speaking, in the existing architecture, the CPLDs do not need to acquire the power-on state of the servers, and only need to transmit corresponding instructions after acquiring the power-on state, and the CPLDs perform power-on and power-off operations according to the instructions transmitted by the BMCs). In general, taking the master server 11 as an example, the master server 11 is considered to be powered on only when the master server 11 and the rest of the components of the master server 11 are in the powered on state.
In addition, it should be noted that, in this embodiment, the communication connection mode between the main server CPLD12 and the pooling server CPLD14 is not limited, and may be a wired connection or a wireless connection, the used communication protocol is also not limited, and the type of the communication interface is also not limited, which aims to establish the communication connection between the main server CPLD12 and the pooling server CPLD14, so that the two can perform the transmission of the power-on signal and the power-off signal, and the monitoring of the power-on states of the main server 11 and the pooling server 13 without using the BMC.
This example provides a preferred embodiment: the main server CPLD12 and the pooling server CPLD14 establish a communication connection therebetween through a General-purpose input/output (GPIO).
Accordingly, the power-on signal, the power-off signal and the power-on state of each server are all level signals.
In one possible embodiment, the Power-on signal is a PowerCtrl signal that is pressed by the Power button (Power button) or pulled down when the BMC receives a Power-on command, and the Power-off signal is a PowerCtrl signal that is pulled down for 4 seconds when the Power button (Power button) is pressed for 4 seconds or when the BMC receives a Power-off command. That is, the power-on signal is transmitted to pull down the level signal of the corresponding GPIO port, and the power-off signal is transmitted to pull down the level signal of the GPIO port for 4s.
Similarly, the power-on and power-off states of the server may be the same as the PWRGD terminal of the power management chip 15, and whether the server is powered on is represented by different levels, that is, the CPLD performs a pull-down or pull-up operation on the level signal at the corresponding GPIO port.
Through the preferred scheme provided by the embodiment, the pure software-implemented server cooperation power-up and power-down scheme that the conventional BMC sends the instruction through software polling is converted into the hardware-implemented server cooperation power-up and power-down scheme that the CPLD transmits high and low level signals through the GPIO. Compared with the traditional software implementation, the hardware implementation scheme has higher reliability, and is more difficult to cause the server to be incapable of cooperatively powering on and powering off due to faults, so that the use reliability of the server is improved.
Likewise, the present application is not limited to the number of communication connections established between the main server CPLD12 and the pooling server CPLD14, but provides a preferred implementation: the main server CPLD12 and the pooling server CPLD14 are connected through three independent GPIO communications, and are respectively configured to transmit a power-on signal/a power-off signal, a power-on state of the main server 11, and a power-on state of the pooling server 13.
As described in the above embodiments, the power-on/power-off signal, the power-on state of the main server 11, and the power-on state of the pooling server 13 are all high and low level signals, and the CPLDs can transmit between the two CPLDs through the GPIO ports, and the CPLDs can know the power-on states of the main server 11 and the pooling server 13 and whether the power-on or power-off operation is currently required by detecting the level states of the corresponding GPIO ports. In addition, three independent GPIOs make above-mentioned three kinds of signals can not influence each other, be favorable to the smooth realization of the cooperation power-on and power-off scheme that this application provided, further improved the reliability.
The utility model provides a server is cooperative to power on and power off device, on the basis of current main server CPLD and pooling server CPLD, increased the communication connection between the two, and connect the PWRGD end of each other part power management chip of server with respective CPLD, make CPLD can realize the judgement to current server power on state through monitoring PWRGD end, based on the above-mentioned relation of connection, main server CPLD and pooling server CPLD need not BMC can realize the monitoring and transmission to server power on state, and the transmission of on-off signal, thereby satisfy the communication condition of carrying out server power on and off, and then just rely on two CPLD just can realize the main server with the mode of hardware and power off cooperatively, relative to the scheme that realizes server cooperation power on and off through BMC in the form of software at present, this kind of scheme is not influenced by BMC fortune dimension, and the hardware implementation mode is more stable, has improved the reliability of server cooperation power on and power off scheme greatly, be favorable to protect the server not cause the crash because of power on and power off abnormity, improve the service life of server.
For the device provided by the above embodiment, this embodiment further provides a method for powering on and powering off the server cooperatively, which is applied to the device, and is divided into two sides, namely, the main server CPLD and the pooling server CPLD, and when the device is applied to the main server CPLD side, as shown in fig. 2, the method includes:
s21: and when the starting signal is detected, the starting signal is sent to the CPLD.
The purpose of step S21 is to facilitate the pooling server CPLD to perform a boot operation.
S22: and detecting whether the power-on state of the pooling server returned by the pooling server CPLD is the power-on state, if so, turning to step S23.
S23: and executing the starting operation.
When the pool server CPLD detects that the pool server and the PWRGD terminals of the power management chips of other components of the pool server are in the electrified state, the electrified state of the pool server is set to be in the electrified state;
s24: and when the shutdown signal is detected, performing shutdown operation.
S25: and detecting whether the power-on state of the PWRGD end of the power management chip of the main server and other parts of the main server is a power-off state, if so, turning to the step S26.
S26: and sending a shutdown signal to the CPLD (Complex programmable logic device) of the pooling server, and setting the power-on state of the main server to be a power-off state.
The purpose of step S26 is to cause the pooling server CPLD to perform a shutdown operation.
Further, this example also provides a preferred embodiment, as shown in fig. 2, the method further includes:
step S22 further includes: if not, go to step S27.
S27: and latching the abnormal starting state of the pooling server to a register.
Step S25 further includes: if not, go to step S28.
S28: and latching the shutdown abnormal state of the master server to a register.
In the embodiment, when the power-on failure of the main server or the pooling server causes the failure of the whole server in cooperation with the power-on and power-off process, the abnormal state is latched into the register, so that subsequent operation and maintenance personnel can obtain the abnormal power-on information through the register to remove the fault.
Meanwhile, another possible implementation scheme exists, in which a register is connected with the BMC, so that the BMC can acquire an abnormal state when power-up and power-down fail cooperatively, and take corresponding operations.
Similarly, when the method is applied to the pooled server side, as shown in fig. 3, the method includes:
s31: and when a starting signal sent by the main server CPLD is received, the starting operation is executed.
S32: detecting the power-on state of the PWRGD end of the power management chip of the pooling server and other components of the pooling server, and if the power-on state is detected, setting the power-on state of the pooling server to be the power-on state.
The purpose is to facilitate the main server CPLD to execute the boot operation.
S33: and when a shutdown signal sent by the CPLD is detected, detecting the power-on state of the main server returned by the CPLD.
S34: if the power-off state is the power-off state, the shutdown operation is executed.
When the CPLD detects that the power management chip PWRGD ends of the main server and other components of the main server are in the powered-off state, the power-on state of the main server is set to be in the powered-off state.
In addition, it should be noted that, when the power-on signal and the power-off signal are transmitted between the CPLD of the main server and the CPLD of the pooling server, a preferred embodiment is to transmit the signals in a transparent transmission manner. Transparent transmission, that is, transparent transmission, is a transmission mode which is only responsible for transmitting the transmitted content from a source address to a destination address regardless of the transmitted service content in communication, and does not change the service data content, so as to further improve the reliability of the server cooperating with power on and power off.
The server cooperation power-on and power-off method provided by the application provides a control scheme for the server cooperation power-on and power-off device, when the server is electrified in cooperation, a main server CPLD receives a power-on signal firstly, and sends the power-on signal to a pooling server CPLD; after receiving the starting signal, the CPLD of the pooling server controls the pooling server to be powered on, detects the power-on state, and updates the power-on state after the power-on is successful so as to be monitored by the CPLD of the main server; and after monitoring that the pooling server is electrified, the CPLD of the main server controls the electrification of the main server, so that the whole cooperative electrification process is completed. The server is in coordination with the power-off in the same way, the two CPLDs are in communication connection, the coordination power-off is completed in a hardware mode, and the stability is higher compared with a software implementation mode. Meanwhile, the method does not need the BMC, so that the situation that the cooperative power on and power off cannot be used due to frequent operation maintenance operation of the BMC is avoided, normal operation of the server is guaranteed, and the reliability of the cooperative power on and power off scheme is further improved.
In the above embodiment, the description of the cooperative power-on and power-off scheme is performed from both sides of the CPLD of the main server and the CPLD of the pooling server, so as to more clearly describe the cooperative power-on and power-off method for the server provided by the present application, in this embodiment, the whole process is divided into a power-on process and a power-off process to further describe with reference to an example:
1. a power-up procedure (as shown in fig. 4);
s41: and the CPLD receives the starting signal.
S42: and the CPLD transmits the starting signal to the pooling server CPLD.
S43: and after receiving the starting signal, the CPLD of the pooling server executes the starting operation on the pooling server.
S44: the pooling server CPLD detects and updates the power-up status of the pooling server.
S45: the main server CPLD detects whether the pooling server is in a power-on state, and if so, the process goes to step S46, and if not, the process goes to step S47.
S46: and the CPLD (complex programmable logic device) of the main server executes the starting operation on the main server.
S47: and latching the abnormal starting-up state to a register.
2. A power-down process (as shown in fig. 5);
s51: and the CPLD receives the shutdown signal.
S52: the main server CPLD performs a shutdown operation on the main server.
S53: the CPLD of the main server detects whether the power-on state of the main server is the power-off state, and if so, the process goes to step S54, and if not, the process goes to step S55.
S54: and the main server CPLD transmits the shutdown signal to the pooling server CPLD.
S55: and latching the shutdown abnormal state to a register.
S56: and the pooling server CPLD executes shutdown operation on the pooling server after receiving the shutdown signal.
S57: the pooling server CPLD detects and updates the power-up status of the pooling server.
In the above embodiments, a method for powering on and powering off a server in cooperation is described in detail, and the present application also provides an embodiment corresponding to the method for powering on and powering off the server in cooperation. It should be noted that the present application describes the embodiments of the apparatus portion from two perspectives, one from the perspective of the function module and the other from the perspective of the hardware.
Based on the angle of the functional module, this embodiment provides a server-assisted power on/off device, which is also divided into two types, namely, the device applied to the CPLD side of the main server and the device applied to the CPLD side of the pooling server, where as shown in fig. 6, the device applied to the CPLD side of the main server includes:
the starting signal sending module 61 is configured to send a starting signal to the pooled server CPLD when the starting signal is detected, so that the pooled server CPLD executes a starting operation;
the main server startup module 62 is configured to detect a power-on state of the pooling server returned by the pooling server CPLD, and if the power-on state is the power-on state, execute a startup operation; when the power management chip PWRGD end of the other components of the pooling server and the pooling server is detected to be in a powered-on state by the pooling server CPLD, the powered-on state of the pooling server is set to be in a powered-on state;
a main server shutdown module 63, configured to execute a shutdown operation when a shutdown signal is detected;
and the shutdown signal sending module 64 is configured to detect power-on states of the PWRGD ends of the main server and other components of the main server, send a shutdown signal to the CPLD of the pooling server if the power-off states are both the power-off states, and set the power-on state of the main server to the power-off state, so that the CPLD of the pooling server executes shutdown operation.
Preferably, the method further comprises the following steps:
the abnormal state latch module is used for latching the abnormal starting-up state of the pooling server to the register when the power-on state of the pooling server returned by the CPLD is detected to be not the power-on state after the starting-up signal is sent to the CPLD; after the shutdown operation is executed, if the power-on state of the PWRGD end of the power management chip of the main server and other parts of the main server is detected not to be the power-off state, the shutdown abnormal state of the main server is latched to a register.
As shown in fig. 7, the device applied to the CPLD side of the pooling server includes:
the pooling server starting module 71 is used for executing starting operation when receiving a starting signal sent by the main server CPLD;
the power-on state setting module 72 is used for detecting the power-on states of the pooling server and the PWRGD end of the power management chip of each of the other components of the pooling server, and if the power-on states are all the power-on states, setting the power-on state of the pooling server to be the power-on state so that the CPLD of the main server executes the starting operation;
a power-on state detection module 73, configured to detect a power-on state of the main server returned by the main server CPLD when a power-off signal sent by the main server CPLD is detected;
a pooling server power-off module 74 for performing a power-off operation if the power-off state is present; when the CPLD detects that the power management chip PWRGD ends of the main server and other components of the main server are in the powered-off state, the power-on state of the main server is set to be in the powered-off state.
Since the embodiments of the apparatus portion and the method portion correspond to each other, please refer to the description of the embodiments of the method portion for the embodiments of the apparatus portion, which is not repeated here.
The server-collaborative power-up and power-down device provided by this embodiment is applied to both sides of the CPLD side of the main server and the CPLD side of the pooling server, for the above-mentioned server-collaborative power-up and power-down device. When the servers are electrified cooperatively, a starting signal sending module of the main server CPLD firstly receives a starting signal and sends the starting signal to the pooling server CPLD; after receiving the starting signal through the starting module of the pooling server, the CPLD of the pooling server controls the pooling server to be electrified, realizes the detection of the electrified state through the electrified state detection module, and updates the electrified state after the electrification is successful, so as to facilitate the monitoring of the CPLD of the main server; and after monitoring that the pooling server is powered on through the main server startup module, the CPLD controls the main server to be powered on, so that the whole cooperative power-on process is completed. The server is also in coordination with power-off in the same way, and the coordination with power-off is completed in a hardware mode through the communication connection between the two CPLDs, so that the stability is higher compared with a software implementation mode. Meanwhile, the process does not need the participation of the BMC, so that the situation that the coordinated power on and power off is unavailable due to frequent operation and maintenance operations of the BMC is avoided, the normal operation of the server is ensured, and the reliability of the coordinated power on and power off scheme is further improved.
Fig. 8 is a structural diagram of a server-collaborative power-on/power-off system according to another embodiment of the present application, and as shown in fig. 8, a server-collaborative power-on/power-off system includes: a memory 80 for storing a computer program;
the processor 81 is configured to implement the steps of the server-assisted power-up and power-down method according to the above embodiment when executing the computer program.
The server collaborative power-on and power-off system provided by the embodiment can include, but is not limited to, a main server CPLD and a pooling server CPLD.
Processor 81 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so forth. The Processor 81 may be implemented in at least one hardware form of a Digital Signal Processor (DSP), a Field-Programmable Gate Array (FPGA), and a Programmable Logic Array (PLA). The processor 81 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 81 may be integrated with a Graphics Processing Unit (GPU) which is responsible for rendering and drawing the content required to be displayed by the display screen. In some embodiments, processor 81 may also include an Artificial Intelligence (AI) processor for processing computational operations related to machine learning.
The memory 80 may include one or more computer-readable storage media, which may be non-transitory. Memory 80 may also include high speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In this embodiment, the memory 80 is at least used for storing a computer program 801, wherein after being loaded and executed by the processor 81, the computer program can implement relevant steps of a server collaborative power-on and power-off method disclosed in any one of the foregoing embodiments. In addition, the resources stored in the memory 80 may also include an operating system 802, data 803, and the like, and the storage manner may be a transient storage or a permanent storage. Operating system 802 may include, among other things, windows, unix, linux, and the like. The data 803 may include, but is not limited to, a server-coordinated power-up and power-down method, and the like.
In some embodiments, a server-coordinated power on/off system may further include a display screen 82, an input/output interface 83, a communication interface 84, a power supply 85, and a communication bus 86.
Those skilled in the art will appreciate that the configuration shown in FIG. 8 does not constitute a limitation of a server-coordinated power-up and power-down system, and may include more or fewer components than those shown.
The server cooperation power on/off system provided by the embodiment of the application comprises a memory and a processor, wherein when the processor executes a program stored in the memory, the following method can be realized: a method for powering on and powering off a server in a coordinated manner.
In the server collaborative power-on and power-off system provided by this embodiment, the processor executes the computer program stored in the memory, so that when the server is collaboratively powered on, the CPLD of the main server receives the power-on signal first and sends the power-on signal to the CPLD of the pooling server; after receiving the starting signal, the CPLD of the pooling server controls the pooling server to be electrified, detects the electrified state, and updates the electrified state after the electrification is successful so as to be monitored by the CPLD of the main server; and after monitoring that the pooling server is electrified, the CPLD controls the electrification of the main server, so that the whole cooperative electrification process is completed. The server is also in coordination with power-off in the same way, and the coordination with power-off is completed in a hardware mode through the communication connection between the two CPLDs, so that the stability is higher compared with a software implementation mode. In addition, the scheme does not need the participation of the BMC, so that the situation that the coordinated power-on and power-off cannot be used due to frequent operation maintenance operation of the BMC is avoided, the normal operation of the server is ensured, and the reliability of the coordinated power-on and power-off scheme is further improved.
Finally, the application also provides a corresponding embodiment of the computer readable storage medium. The computer-readable storage medium has stored thereon a computer program, which when executed by a processor implements the steps described in the above-described method embodiments (which may be a method corresponding to the main server CPLD side, a method corresponding to the pooling server CPLD side, or a method corresponding to the main server CPLD side and the pooling server CPLD side).
It is understood that, if the method in the above embodiments is implemented in the form of software functional units and sold or used as a stand-alone product, it can be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application, which are essential or part of the prior art, or all or part of the technical solutions may be embodied in the form of a software product, which is stored in a storage medium and executes all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, an optical disk, or other various media capable of storing program codes.
In the computer-readable storage medium provided in this embodiment, when the computer program stored in the storage medium is executed, it may be implemented that when the server is cooperatively powered on, the CPLD of the main server receives the power-on signal first, and sends the power-on signal to the CPLD of the pooling server; after receiving the starting signal, the CPLD of the pooling server controls the pooling server to be powered on, detects the power-on state, and updates the power-on state after the power-on is successful so as to be monitored by the CPLD of the main server; and after monitoring that the pooling server is electrified, the CPLD controls the electrification of the main server, so that the whole cooperative electrification process is completed. The server is also in coordination with power-off in the same way, and the coordination with power-off is completed in a hardware mode through the communication connection between the two CPLDs, so that the stability is higher compared with a software implementation mode. In addition, the scheme does not need the participation of the BMC, so that the situation that the cooperative power on and power off is unavailable due to frequent operation maintenance operation of the BMC is avoided, the normal operation of the server is ensured, and the reliability of the cooperative power on and power off scheme is further improved.
The above description details a server-assisted power-on/power-off device, method, system, and medium provided by the present application. The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description. It should be noted that, for those skilled in the art, it is possible to make several improvements and modifications to the present application without departing from the principle of the present application, and such improvements and modifications also fall within the scope of the claims of the present application.
It is further noted that, in the present specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising a," "8230," "8230," or "comprising" does not exclude the presence of additional like elements in a process, method, article, or apparatus that comprises the element.

Claims (10)

1. A server-coordinated power-on and power-off device, comprising: the system comprises a main server CPLD arranged at the main server and a pooling server CPLD arranged at the pooling server;
the main server CPLD is in communication connection with the pooling server CPLD;
the PWRGD end of the power management chip of each part of the rest of the main server is connected with the CPLD of the main server, and the PWRGD end of the power management chip of each part of the rest of the pooling server is connected with the CPLD of the pooling server.
2. The device according to claim 1, wherein the communication connection between the main server CPLD and the pooling server CPLD comprises:
the main server CPLD and the pooling server CPLD are connected through three independent GPIO communication connections and are respectively used for transmitting a starting signal/a shutdown signal, a main server power-on state and a pooling server power-on state.
3. The method is characterized in that a main server CPLD arranged at a main server is in communication connection with a pooling server CPLD arranged at a pooling server, PWRGD ends of power management chips of other components of the main server are connected with the main server CPLD, and PWRGD ends of power management chips of other components of the pooling server are connected with the pooling server CPLD; the method is applied to the CPLD side of the main server and comprises the following steps:
when a starting-up signal is detected, the starting-up signal is sent to the pooling server CPLD, so that the pooling server CPLD can conveniently execute starting-up operation;
detecting the power-on state of the pooling server returned by the pooling server CPLD, and if the power-on state is the power-on state, executing the starting operation; when the pooling server CPLD detects that the power management chip PWRGD terminals of the pooling server and other components of the pooling server are all in a powered-on state, the powered-on state of the pooling server is set to a powered-on state;
when a shutdown signal is detected, executing shutdown operation;
and detecting the power-on states of the master server and the PWRGD end of the power management chip of other components of the master server, if the power-on states are all the power-off states, sending the shutdown signal to the pooling server CPLD, and setting the power-on state of the master server to be the power-off state so as to facilitate the pooling server CPLD to execute the shutdown operation.
4. The server coordinated power-on and power-off method according to claim 3, further comprising:
after the starting signal is sent to the pooling server CPLD, if the fact that the power-on state of the pooling server returned by the pooling server CPLD is not the power-on state is detected, the abnormal starting state of the pooling server is latched to a register;
after the shutdown operation is executed, if the power-on state of the PWRGD end of the power management chip of the main server and other components of the main server is detected not to be the power-off state, the shutdown abnormal state of the main server is latched to the register.
5. The server cooperation power-on and power-off method as claimed in claim 3, wherein the power-on signal or the power-off signal is transmitted between the main server CPLD and the pooling server CPLD in a transparent transmission manner.
6. The method is characterized in that a main server CPLD arranged at a main server is in communication connection with a pooling server CPLD arranged at a pooling server, PWRGD ends of power management chips of other components of the main server are connected with the main server CPLD, and PWRGD ends of power management chips of other components of the pooling server are connected with the pooling server CPLD; the method is applied to the CPLD side of the pooling server and comprises the following steps:
when a starting signal sent by the main server CPLD is received, starting operation is executed;
detecting the power-on states of the pooling server and the PWRGD end of the power management chip of other components of the pooling server, and if the power-on states are all the power-on states, setting the power-on state of the pooling server to be the power-on state so as to facilitate the CPLD of the main server to execute the starting-up operation;
when a shutdown signal sent by the main server CPLD is detected, detecting a main server power-on state returned by the main server CPLD;
if the power-off state is the power-off state, executing shutdown operation; when the main server CPLD detects that the main server and the PWRGD terminals of the power management chips of the other components of the main server are all in the powered-off state, the powered-on state of the main server is set to the powered-off state.
7. A server cooperation power-on and power-off device is characterized in that a main server CPLD arranged at a main server is in communication connection with a pooling server CPLD arranged at a pooling server, PWRGD ends of power management chips of other parts of the main server are connected with the main server CPLD, and PWRGD ends of the power management chips of other parts of the pooling server are connected with the pooling server CPLD; the method comprises the following steps:
the starting signal sending module is used for sending the starting signal to the pooling server CPLD when the starting signal is detected so as to facilitate the pooling server CPLD to execute the starting operation;
the main server starting module is used for detecting the power-on state of the pooling server returned by the CPLD, and if the power-on state is the power-on state, executing the starting operation; when the pooling server CPLD detects that the pooling server and the PWRGD terminals of the power management chips of the rest components of the pooling server are all in a powered-on state, the powered-on state of the pooling server is set to be in a powered-on state;
the main server shutdown module is used for executing shutdown operation when a shutdown signal is detected;
and the shutdown signal sending module is used for detecting the power-on states of the PWRGD ends of the power management chips of the main server and other components of the main server, sending the shutdown signal to the CPLD of the pooling server if the power-off states are both the power-off states, and setting the power-on state of the main server to be the power-off state so as to facilitate the CPLD of the pooling server to execute the shutdown operation.
8. The server cooperation power-on and power-off device is characterized in that a main server CPLD arranged at a main server is in communication connection with a pooling server CPLD arranged at a pooling server, PWRGD ends of power management chips of other components of the main server are connected with the main server CPLD, and PWRGD ends of the power management chips of other components of the pooling server are connected with the pooling server CPLD; the method comprises the following steps:
the pooling server starting module is used for executing starting operation when receiving a starting signal sent by the main server CPLD;
a power-on state setting module, configured to detect power-on states of the pooling server and power management chips PWRGD of other components of the pooling server, and set the power-on state of the pooling server to a power-on state if both power-on states are detected, so that the main server CPLD executes the boot operation;
the power-on state detection module is used for detecting the power-on state of the main server returned by the CPLD when the power-off signal sent by the CPLD is detected;
the pooling server shutdown module is used for executing shutdown operation if the power-off state is the power-off state; when the main server CPLD detects that the main server and the PWRGD terminals of the power management chips of the other components of the main server are all in the powered-off state, the powered-on state of the main server is set to the powered-off state.
9. A server coordinated power-on and power-off system, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the server coordinated power-up and power-down method according to any one of claims 3 to 6 when executing said computer program.
10. A computer-readable storage medium, having stored thereon a computer program which, when executed by a processor, carries out the steps of the server coordinated power-up and power-down method according to any one of claims 3 to 6.
CN202211190973.7A 2022-09-28 2022-09-28 Server collaborative power-on and power-off device, method, system and medium Pending CN115509333A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211190973.7A CN115509333A (en) 2022-09-28 2022-09-28 Server collaborative power-on and power-off device, method, system and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211190973.7A CN115509333A (en) 2022-09-28 2022-09-28 Server collaborative power-on and power-off device, method, system and medium

Publications (1)

Publication Number Publication Date
CN115509333A true CN115509333A (en) 2022-12-23

Family

ID=84506014

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211190973.7A Pending CN115509333A (en) 2022-09-28 2022-09-28 Server collaborative power-on and power-off device, method, system and medium

Country Status (1)

Country Link
CN (1) CN115509333A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116483613A (en) * 2023-06-21 2023-07-25 苏州浪潮智能科技有限公司 Processing method and device of fault memory bank, electronic equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116483613A (en) * 2023-06-21 2023-07-25 苏州浪潮智能科技有限公司 Processing method and device of fault memory bank, electronic equipment and storage medium
CN116483613B (en) * 2023-06-21 2023-09-29 苏州浪潮智能科技有限公司 Processing method and device of fault memory bank, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
TWI618380B (en) Management methods, service controller devices and non-stransitory, computer-readable media
US9934187B2 (en) Hot-pluggable computing system
US9696777B2 (en) Computer port control
US11768736B2 (en) Storage system boot method and apparatus, and computer-readable storage medium
US9645954B2 (en) Embedded microcontroller and buses
CN109271273A (en) A kind of method, abnormal restoring equipment and storage medium that communication abnormality restores
CN109885151A (en) A kind of server power supply monitoring method and system
CN115509333A (en) Server collaborative power-on and power-off device, method, system and medium
CN113918383A (en) Core board resetting method, device, equipment, storage medium and program product
US9779037B2 (en) Establishing connectivity of modular nodes in a pre-boot environment
CN113746821A (en) Intelligent device control method and device, storage medium and electronic device
CN106557362B (en) Task migration method and system applied to intelligent robot
CN115269474A (en) Server and PCIe hot plug control method, device and medium thereof
CN115543872A (en) Equipment management method and device and computer storage medium
CN113609051A (en) Hot plug method, system, device and computer storage medium for expansion board
WO2024113767A1 (en) Power-on method and power-on apparatus for smart network interface cards
CN112380066A (en) Server maintenance and debugging device based on domestic platform and server
CN102053847B (en) Server and updating method thereof
CN116166603A (en) Split-board type management board and communication method, device, equipment and medium thereof
CN115766410A (en) Method, system, device and medium for switching working states of machine
CN114996069A (en) Mainboard test method, device and medium
JP2007094470A (en) Method of hotplugging information processing apparatus
US12035068B2 (en) Providing video content for pre-boot and post-boot environments of computer platforms
US20230099385A1 (en) Providing video content for pre-boot and post-boot environments of computer platforms
CN116302754A (en) Solid state disk detection method, system, device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination