TWI665561B - Server and remote control method thereof - Google Patents

Server and remote control method thereof Download PDF

Info

Publication number
TWI665561B
TWI665561B TW107111408A TW107111408A TWI665561B TW I665561 B TWI665561 B TW I665561B TW 107111408 A TW107111408 A TW 107111408A TW 107111408 A TW107111408 A TW 107111408A TW I665561 B TWI665561 B TW I665561B
Authority
TW
Taiwan
Prior art keywords
power
server
management unit
controller
signal
Prior art date
Application number
TW107111408A
Other languages
Chinese (zh)
Other versions
TW201942758A (en
Inventor
田毅翔
Original Assignee
神雲科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 神雲科技股份有限公司 filed Critical 神雲科技股份有限公司
Priority to TW107111408A priority Critical patent/TWI665561B/en
Application granted granted Critical
Publication of TWI665561B publication Critical patent/TWI665561B/en
Publication of TW201942758A publication Critical patent/TW201942758A/en

Links

Landscapes

  • Power Sources (AREA)

Abstract

本發明提出一種伺服器及其遠端控制方法。所述方法包含:經由一供電單元之一待機電源輸出端在伺服器之一待機模式中輸出一待機電源供一電源管理單元及一基板管理控制器運作、經由電源管理單元根據待機電源產生一電源訊號供一平台路徑控制器待機運作、基板管理控制器根據來自於一遠端裝置之一冷重置訊號控制電源管理單元停止產生電源訊號以關閉待機運作中之平台路徑控制器、以及基板管理控制器於平台路徑控制器關閉之時間長度達到一預設時間長度時控制電源管理單元重新產生電源訊號以重啟平台路徑控制器來觸發伺服器之一冷重置程序。The invention provides a server and a remote control method thereof. The method includes: outputting a standby power for a power management unit and a substrate management controller via a standby power output terminal of a power supply unit in a standby mode of a server, and generating a power according to the standby power through the power management unit The signal is for a platform path controller to operate in standby, the baseboard management controller controls the power management unit to stop generating a power signal to turn off the platform path controller in standby operation, and the board management control according to a cold reset signal from a remote device. The controller controls the power management unit to generate a power signal again when the platform path controller is turned off for a preset period of time to restart the platform path controller to trigger a cold reset procedure of the server.

Description

伺服器及其遠端控制方法Server and remote control method thereof

本案是關於一種伺服器及其遠端控制方法。This case is about a server and its remote control method.

近年來雲端運算快速興起,各式各樣的雲端服務以及雲端應用大量的出現在日常生活中。為了因應持續上升的用戶數量及服務需求,提供雲端服務的廠商大舉建立大型資料中心,資料中心設置有多台伺服器主機,雲端服務之用戶能透過網路連線到伺服器主機來進行資料存取,而提供雲端服務之廠商亦能藉由遠端連線之方式在遠端對伺服器主機進行監控管理,例如伺服器主機之開關機控制等,以提供最好的雲端服務。因此,如何在遠端良好地對伺服器主機進行控制係為當前極重要的課題之一。Cloud computing has risen rapidly in recent years, and a variety of cloud services and cloud applications have appeared in daily life. In order to cope with the rising number of users and service demands, vendors providing cloud services have set up large data centers. The data center is equipped with multiple server hosts. Users of cloud services can connect to the server hosts through the network for data storage. In addition, vendors that provide cloud services can also remotely monitor and manage the server host through remote connection, such as the switch control of the server host, to provide the best cloud services. Therefore, how to control the server host well at the remote end is one of the most important topics at present.

在現行對伺服器的遠端控制中,至多僅能控制伺服器關閉至符合進階組態與電源介面規範中全局狀態(Global System State)之一軟關機模式(G2/S5,Soft-off mode),倘若伺服器當機,伺服器將不受控制,也就是處在遠端的伺服器管理者並無法控制伺服器進入軟關機模式而使其系統恢復正常運作;又或者,倘若伺服器發生的錯誤無法藉由暖重置而解除,也就是即使進行伺服器的暖重置也無法解除,且必須使伺服器進行冷重置才能解除的錯誤。此時,處在遠端的管理者就必須到伺服器所在位置按壓伺服器的重置按鈕,讓伺服器進行冷重置,也就是進入機械式關機(G3,Mechanical Off)模式後再重置,進而恢復其系統之正常運作,若無法在遠端控制伺服器進行冷重置,將造成遠端控制之困難,實屬不便。In the current remote control of the server, at most, the server can only be controlled to shut down to a soft-off mode (G2 / S5, Soft-off mode) that conforms to one of the global system states in the advanced configuration and power interface specifications. ), If the server is down, the server will be out of control, that is, the remote server manager cannot control the server to enter the soft shutdown mode to restore its system to normal operation; or, The error cannot be resolved by a warm reset, that is, an error that cannot be resolved even if the server is warm reset, and the server must be reset by a cold reset. At this time, the remote manager must go to the server and press the reset button of the server to allow the server to perform a cold reset, that is, to enter the mechanical shutdown (G3, Mechanical Off) mode and then reset. , And then restore the normal operation of its system, if it is not possible to perform a cold reset on the remote control server, it will cause difficulties in remote control, which is really inconvenient.

有鑑於此,本發明提出一種伺服器及其遠端控制方法。In view of this, the present invention provides a server and a remote control method thereof.

在一實施例中,一種伺服器包含電源供應單元、電源管理單元、平台路徑控制器及基板管理控制器。電源供應單元包含一待機電源輸出端,待機電源輸出端用以在伺服器之一待機模式中提供一待機電源。電源管理單元耦接於電源供應單元之待機電源輸出端,用以自待機電源輸出端接收待機電源並根據待機電源產生一電源訊號。平台路徑控制器耦接於電源管理單元,用以根據電源訊號待機運作。基板管理控制器耦接於電源管理單元之待機電源輸出端及電源供應單元,用以自待機電源輸出端接收待機電源並根據待機電源運作,以於平台路徑控制器根據電源訊號待機運作時根據來自於一遠端裝置之一冷重置訊號控制電源管理單元停止產生電源訊號,以關閉待機運作中之平台路徑控制器,且基板管理控制器於平台路徑控制器關閉之時間長度達到一預設時間長度時控制電源管理單元重新產生電源訊號,以重啟平台路徑控制器來觸發伺服器之一冷重置程序。In one embodiment, a server includes a power supply unit, a power management unit, a platform path controller, and a substrate management controller. The power supply unit includes a standby power output terminal, and the standby power output terminal is used to provide a standby power in a standby mode of the server. The power management unit is coupled to the standby power output terminal of the power supply unit, and is configured to receive the standby power from the standby power output terminal and generate a power signal according to the standby power. The platform path controller is coupled to the power management unit and is used for standby operation according to the power signal. The baseboard management controller is coupled to the standby power output terminal and the power supply unit of the power management unit, and is configured to receive the standby power from the standby power output terminal and operate according to the standby power. A cold reset signal on a remote device controls the power management unit to stop generating a power signal to turn off the platform path controller in standby operation, and the length of time that the baseboard management controller turns off the platform path controller reaches a preset time When the length is reached, the power management unit is controlled to generate a power signal again to restart the platform path controller to trigger a cold reset procedure of the server.

在一實施例中,一種遠端控制伺服器之方法包含:經由一供電單元之一待機電源輸出端在伺服器之一待機模式中輸出一待機電源供一電源管理單元及一基板管理控制器運作、經由電源管理單元根據待機電源產生一電源訊號供一平台路徑控制器待機運作、基板管理控制器根據來自於一遠端裝置之一冷重置訊號控制電源管理單元停止產生電源訊號以關閉待機運作中之平台路徑控制器、以及基板管理控制器於平台路徑控制器關閉之時間長度達到一預設時間長度時控制電源管理單元產生電源訊號以重啟平台路徑控制器來觸發伺服器之一冷重置程序。In one embodiment, a method for remotely controlling a server includes: outputting a standby power supply in a standby mode of a server via a standby power output terminal of a power supply unit for a power management unit and a substrate management controller to operate A power signal is generated by the power management unit according to the standby power for a platform path controller to operate in standby. The baseboard management controller controls the power management unit to stop generating a power signal to turn off the standby operation according to a cold reset signal from a remote device. The platform path controller and the baseboard management controller control the power management unit to generate a power signal to restart the platform path controller to trigger a cold reset of the server when the platform path controller is turned off for a preset length of time. program.

綜上所述,根據本案之伺服器及其遠端控制方法之一實施例,伺服器之使用者在欲對伺服器進行冷重置時能在遠端操作遠端裝置而控制基板管理控制器觸發伺服器之冷重置程序,伺服器之使用者不需要到伺服器之所在位置,藉由按壓伺服器之電源鍵或是藉由重新插拔伺服器連接於交流電源之線路來觸發伺服器之冷重置程序,在操作上相當方便。In summary, according to an embodiment of the server and its remote control method in this case, when the user of the server wants to cold reset the server, he can remotely operate the remote device and control the board management controller. Trigger the cold reset procedure of the server. The user of the server does not need to go to the location of the server. The server is triggered by pressing the power button of the server or by replugging the server to the AC power line. The cold reset procedure is quite convenient in operation.

圖1為根據本發明之伺服器之一實施例之方塊示意圖。請參照圖1,伺服器1連線於一遠端裝置2,伺服器1包含電源供應單元10、電源管理單元11、平台路徑控制器(Platform Controller Hub;PCH)12及基板管理控制器13。電源供應單元10耦接於電源管理單元11及基板管理控制器13,電源管理單元11耦接於電源供應單元10與平台路徑控制器12之間,基板管理控制器13耦接於電源管理單元11。其中,電源供應單元10包含一待機電源輸出端101及一工作電源輸出端102,電源管理單元11及基板管理控制器13係耦接於電源供應單元10之待機電源輸出端101及工作電源輸出端102。FIG. 1 is a block diagram of an embodiment of a server according to the present invention. Referring to FIG. 1, the server 1 is connected to a remote device 2. The server 1 includes a power supply unit 10, a power management unit 11, a platform controller hub (PCH) 12, and a baseboard management controller 13. The power supply unit 10 is coupled to the power management unit 11 and the substrate management controller 13. The power management unit 11 is coupled between the power supply unit 10 and the platform path controller 12. The substrate management controller 13 is coupled to the power management unit 11. . The power supply unit 10 includes a standby power output terminal 101 and a working power output terminal 102. The power management unit 11 and the substrate management controller 13 are coupled to the standby power output terminal 101 and the working power output terminal of the power supply unit 10. 102.

圖2為根據本發明之遠端控制方法之一實施例之流程圖。請合併參照圖1及圖2,首先,伺服器1自工作模式進入待機模式,電源供應單元10在工作模式中先藉由其工作電源輸出端102輸出工作電源P2給電源管理單元11,電源管理單元11根據工作電源P2供電給平台路徑控制器12在工作模式中工作,待伺服器1進入待機模式之後,電源供應單元10再藉由其待機電源輸出端101輸出待機電源P1(步驟S01)。電源管理單元11及基板管理控制器13自待機電源輸出端101接收待機電源P1。基板管理控制器13根據待機電源P1運作。電源管理單元11則根據待機電源P1產生一電源訊號S1供平台路徑控制器12待機運作(步驟S02)。電源管理單元11能根據基板管理控制器13之控制而停止產生電源訊號S1。詳細而言,在遠端裝置2發出冷重置訊號S2時,基板管理控制器13根據冷重置訊號S2控制電源管理單元11停止產生電源訊號S1(步驟S03),使平台路徑控制器12未接收到電源訊號S1,待機運作中之平台路徑控制器12即停止待機運作(即,關閉)。接著,基板管理控制器13可計算平台路徑控制器12關閉之時間長度(以下稱為關閉時長),並在平台路徑控制器12之關閉時長達到一預設時間長度時控制電源管理單元11重新產生電源訊號S1(步驟S04),以重新啟動平台路徑控制器12來觸發伺服器1之一冷重置程序。FIG. 2 is a flowchart of an embodiment of a remote control method according to the present invention. Please refer to FIG. 1 and FIG. 2 together. First, the server 1 enters the standby mode from the working mode. In the working mode, the power supply unit 10 first outputs the working power P2 to the power management unit 11 through its working power output terminal 102. The power management The unit 11 supplies power to the platform path controller 12 to work in the working mode according to the working power P2. After the server 1 enters the standby mode, the power supply unit 10 outputs the standby power P1 through its standby power output terminal 101 (step S01). The power management unit 11 and the substrate management controller 13 receive the standby power P1 from the standby power output terminal 101. The substrate management controller 13 operates according to the standby power P1. The power management unit 11 generates a power signal S1 for the platform path controller 12 to operate in standby according to the standby power P1 (step S02). The power management unit 11 can stop generating the power signal S1 according to the control of the substrate management controller 13. In detail, when the remote device 2 sends a cold reset signal S2, the baseboard management controller 13 controls the power management unit 11 to stop generating the power signal S1 according to the cold reset signal S2 (step S03), so that the platform path controller 12 is not Receiving the power signal S1, the platform path controller 12 in the standby operation stops the standby operation (ie, is turned off). Then, the baseboard management controller 13 can calculate the length of time when the platform path controller 12 is turned off (hereinafter referred to as the shutdown time), and control the power management unit 11 when the platform path controller 12 has been turned off for a preset time length. The power signal S1 is regenerated (step S04) to restart the platform path controller 12 to trigger a cold reset procedure of the server 1.

基此,伺服器1之使用者在欲對伺服器1進行冷重置時能在遠端操作遠端裝置2而控制基板管理控制器13觸發伺服器1之冷重置程序,伺服器1之使用者不需要到設置伺服器1之現地,藉由按壓伺服器1之電源鍵(power button)或是藉由重新插拔伺服器1連接於交流電源之線路來觸發伺服器1之冷重置程序,在操作上相當方便。再者,在一實施例中,前述之預設時間長度可為1秒,預設時間長度係包含於基板管理控制器13所執行之一韌體程式中,伺服器1之使用者在欲調整預設時間長度時可藉由修改前述之韌體程式來修改預設時間長度,在伺服器1之設計上具有相當之修改彈性。Based on this, the user of server 1 can remotely operate the remote device 2 and control the baseboard management controller 13 to trigger the cold reset procedure of server 1 when the server 1 is to be cold reset. The user does not need to go to the place where the server 1 is installed, trigger the cold reset of the server 1 by pressing the power button of the server 1 or by re-plugging the line connected to the AC power supply of the server 1 The procedure is quite convenient in operation. Furthermore, in an embodiment, the aforementioned preset time length may be 1 second. The preset time length is included in a firmware program executed by the baseboard management controller 13, and the user of the server 1 wants to adjust In the preset time length, the preset time length can be modified by modifying the aforementioned firmware program, which has considerable flexibility in the design of the server 1.

在一實施例中,在平台路徑控制器12未接收到電源訊號S1而停止待機運作之後,伺服器1係進入符合進階組態與電源介面(Advanced Configuration and Power Interface;ACPI)規範之一機械式關機(mechanical off,G3)模式。待基板管理控制器13控制電源管理單元11重新產生電源訊號S1(步驟S04)之後,平台路徑控制器12重新啟動而致使伺服器1脫離前述之機械式關機模式而觸發伺服器1之冷重置程序。In an embodiment, after the platform path controller 12 stops receiving the standby signal without receiving the power signal S1, the server 1 enters a machine conforming to the Advanced Configuration and Power Interface (ACPI) specification. Mechanical off (G3) mode. After the baseboard management controller 13 controls the power management unit 11 to regenerate the power signal S1 (step S04), the platform path controller 12 is restarted to cause the server 1 to leave the aforementioned mechanical shutdown mode and trigger a cold reset of the server 1 program.

在實作上,基板管理控制器13具有網路模組,基板管理控制器13可藉由其網路模組直接接收來自於遠端裝置2之冷重置訊號S2,或是間接由伺服器1所包含之其他網路單元接收來自於遠端裝置2之冷重置訊號S2來控制電源管理單元11停止供電給平台路徑控制器12。再者,電源管理單元11具有一致能端111,致能端111連接於基板管理控制器13之一通用型輸入輸出(General purpose input/output;GPIO)腳位131,基板管理控制器13可藉由其GPIO腳位131在不同狀況下分別發送具有對應之邏輯位準之控制訊號S3給電源管理單元11之致能端111,以控制電源管理單元11產生或不產生電源訊號S1。在一實施例中,在接收到冷重置訊號S2之前,基板管理控制器13在步驟S02中可發送具有一第一邏輯位準例如高邏輯位準之控制訊號S3給電源管理單元11之致能端111,以控制電源管理單元11產生電源訊號S1,並在接收到冷重置訊號S2後在步驟S03中發送自前述之第一邏輯位準轉變為具有一第二邏輯位準例如低邏輯位準之控制訊號S3給電源管理單元11之致能端111,以控制電源管理單元11停止產生電源訊號S1;並且,基板管理控制器13可在平台路徑控制器12關閉之時間長度達到預設時間長度時在步驟S04中發送自前述之低邏輯位準轉變為具有高邏輯位準之控制訊號S3給電源管理單元11之致能端111,以控制電源管理單元11重新產生電源訊號S1。In practice, the baseboard management controller 13 has a network module. The baseboard management controller 13 can directly receive the cold reset signal S2 from the remote device 2 through its network module, or indirectly from the server. The other network units included in 1 receive the cold reset signal S2 from the remote device 2 to control the power management unit 11 to stop supplying power to the platform path controller 12. In addition, the power management unit 11 has a consistent energy terminal 111, and the enabling terminal 111 is connected to one of the general purpose input / output (GPIO) pins 131 of the substrate management controller 13. The substrate management controller 13 can borrow The GPIO pin 131 sends control signals S3 with corresponding logic levels to the enable terminal 111 of the power management unit 11 under different conditions to control the power management unit 11 to generate or not generate the power signal S1. In an embodiment, before receiving the cold reset signal S2, the substrate management controller 13 may send a control signal S3 having a first logic level, such as a high logic level, to the power management unit 11 in step S02. The energy terminal 111 is configured to control the power management unit 11 to generate a power signal S1, and after receiving the cold reset signal S2, it is sent from the aforementioned first logic level to having a second logic level such as low logic in step S03. The level control signal S3 is sent to the enable terminal 111 of the power management unit 11 to control the power management unit 11 to stop generating the power signal S1; and the substrate management controller 13 can reach a preset length of time when the platform path controller 12 is turned off. In step S04, the control signal S3 from the aforementioned low logic level to the high logic level is sent to the enabling terminal 111 of the power management unit 11 in step S04 to control the power management unit 11 to regenerate the power signal S1.

在一實施例中,在步驟S04中,基板管理控制器13更在控制電源管理單元11停止產生電源訊號S1後判斷電源管理單元11是否已停止輸出電源訊號S1,若基板管理控制器13判斷出電源管理單元11已停止輸出電源訊號S1,表示伺服器1已進入前述之機械式關機模式,基板管理控制器13始在計算出平台路徑控制器12關閉之時間長度達到預設時間長度時控制電源管理單元11重新產生電源訊號S1,使伺服器1脫離機械式關機模式而重啟。在實作上,基板管理控制器13可以藉由一類比數位轉換器(Analog-to-Digital converter;ADC)偵測電源管理單元11輸出電源訊號S1之線路上之電位是否小於一預設電位,以電源訊號S1之電位為5 V為例,前述之預設電位可為5 V,若基板管理控制器13判斷出電源管理單元11輸出電源訊號S1之線路上之電位小於5 V時,表示伺服器1已進入機械式關機模式,基板管理控制器13始在計算出平台路徑控制器12關閉之時間長度達到預設時間長度時控制電源管理單元11重新產生具有5 V之電源訊號S1。In an embodiment, in step S04, the baseboard management controller 13 further controls the power management unit 11 to stop generating the power signal S1 to determine whether the power management unit 11 has stopped outputting the power signal S1. If the baseboard management controller 13 determines that The power management unit 11 has stopped outputting the power signal S1, which indicates that the server 1 has entered the aforementioned mechanical shutdown mode. The baseboard management controller 13 starts to control the power when the length of the time when the platform path controller 12 is turned off reaches the preset time. The management unit 11 regenerates the power signal S1, and causes the server 1 to exit the mechanical shutdown mode and restart. In practice, the substrate management controller 13 can detect whether the potential on the line where the power management unit 11 outputs the power signal S1 is less than a preset potential through an analog-to-digital converter (ADC). Taking the potential of the power signal S1 as 5 V as an example, the aforementioned preset potential can be 5 V. If the substrate management controller 13 determines that the potential on the line where the power management unit 11 outputs the power signal S1 is less than 5 V, it indicates that the servo The controller 1 has entered the mechanical shutdown mode, and the baseboard management controller 13 controls the power management unit 11 to regenerate a power signal S1 with a voltage of 5 V when it calculates that the platform path controller 12 has been turned off for a preset length of time.

圖3為根據本發明之遠端控制方法之再另一實施例之流程圖,請合併參照圖1及圖3。在一實施例中,在基板管理控制器13接收到冷重置訊號S2之前,基板管理控制器13可先根據來自於遠端裝置2之暖重置訊號S4控制平台路徑控制器12觸發伺服器1之一暖重置程序,以藉由暖重置程序來對伺服器1先行進行重置。然而,若平台路徑控制器12當機不受控制而未回應基板管理控制器13,也就是在基板管理控制器13發送來自於遠端裝置2之暖重置訊號S4後平台路徑控制器12未根據暖重置訊號S4觸發伺服器1之暖重置程序時,基板管理控制器13再根據冷重置訊號S2來控制電源管理單元11停止產生電源訊號S1。基此,基板管理控制器13在接收到冷重置訊號S2之前可先判斷平台路徑控制器12對於暖重置之控制是否無回應(步驟S05),若平台路徑控制器12無回應,基板管理控制器13再根據冷重置訊號S2來控制電源管理單元11停止產生電源訊號S1(步驟S03),換言之,伺服器1之使用者可藉由遠端裝置2在遠端先嘗試以暖重置對伺服器1進行重置,若無效再操作遠端裝置2以冷重置來對伺服器1進行重置。FIG. 3 is a flowchart of another embodiment of the remote control method according to the present invention. Please refer to FIG. 1 and FIG. 3 together. In an embodiment, before the baseboard management controller 13 receives the cold reset signal S2, the baseboard management controller 13 may first control the platform path controller 12 to trigger the server according to the warm reset signal S4 from the remote device 2. 1 is a warm reset procedure to reset the server 1 in advance through the warm reset procedure. However, if the platform path controller 12 crashes uncontrolled and does not respond to the baseboard management controller 13, that is, after the baseboard management controller 13 sends a warm reset signal S4 from the remote device 2, the platform path controller 12 does not respond. When the warm reset procedure of the server 1 is triggered according to the warm reset signal S4, the baseboard management controller 13 controls the power management unit 11 to stop generating the power signal S1 according to the cold reset signal S2. Based on this, the substrate management controller 13 can determine whether the platform path controller 12 has no response to the warm reset control before receiving the cold reset signal S2 (step S05). If the platform path controller 12 does not respond, the substrate management The controller 13 then controls the power management unit 11 to stop generating the power signal S1 according to the cold reset signal S2 (step S03). In other words, the user of the server 1 can remotely attempt to perform a warm reset by using the remote device 2 The server 1 is reset. If it is invalid, the remote device 2 is operated to perform a cold reset to reset the server 1.

在一實施例中,若伺服器1係先操作在工作模式並在工作模式中自遠端裝置2接收到冷重置訊號S2,伺服器1會根據冷重置訊號S2自工作模式切換至待機模式。在此情形中,基板管理控制器13會在伺服器1處於工作模式時接收到冷重置訊號S2,基板管理控制器13會在伺服器1自工作模式切換至待機模式後藉由GPIO腳位131先輸出前述之具第一邏輯位準之控制訊號S3至電源管理單元11之致能端111,使電源管理單元11在待機模式中根據待機電源P1輸出電源訊號S1,接著,基板管理控制器13才藉由GPIO腳位131輸出前述之具第二邏輯位準之控制訊號S3至電源管理單元11之致能端111,使平台路徑控制器12停止運作;在另一實施例中,若伺服器1在接收到冷重置訊號S2之前已由使用者在伺服器1所在位置直接對其進行操作而先由工作模式切換至待機模式,則伺服器1係在處於待機模式時自遠端裝置2接收到冷重置訊號S2。在此情形中,基板管理控制器13會在接收到冷重置訊號S2之前在待機模式中先藉由GPIO腳位131輸出具第一邏輯位準之控制訊號S3至電源管理單元11之致能端111,使電源管理單元11在待機模式中根據待機電源P1輸出電源訊號S1,待基板管理控制器13在待機模式中接收到冷重置訊號S2之後,基板管理控制器13在待機模式中再藉由GPIO腳位131輸出具第二邏輯位準之控制訊號S3至電源管理單元11之致能端111,使平台路徑控制器12停止運作。In an embodiment, if the server 1 first operates in the working mode and receives the cold reset signal S2 from the remote device 2 in the working mode, the server 1 will switch from the working mode to the standby mode according to the cold reset signal S2. mode. In this case, the baseboard management controller 13 will receive the cold reset signal S2 when the server 1 is in the working mode, and the baseboard management controller 13 will use the GPIO pin after the server 1 switches from the working mode to the standby mode. 131 first outputs the aforementioned control signal S3 with the first logic level to the enable terminal 111 of the power management unit 11 so that the power management unit 11 outputs the power signal S1 according to the standby power P1 in the standby mode. Then, the substrate management controller 13 uses the GPIO pin 131 to output the aforementioned control signal S3 with the second logic level to the enable terminal 111 of the power management unit 11 to stop the platform path controller 12; in another embodiment, if the servo Before the server 1 receives the cold reset signal S2, the user directly operated the server 1 at the location of the server 1 and switched from the working mode to the standby mode. The server 1 is a remote device when it is in the standby mode. 2 A cold reset signal S2 is received. In this case, before receiving the cold reset signal S2, the baseboard management controller 13 first outputs the control signal S3 with the first logic level to the enable of the power management unit 11 through the GPIO pin 131 in the standby mode. Terminal 111, so that the power management unit 11 outputs the power signal S1 according to the standby power P1 in the standby mode, and after the substrate management controller 13 receives the cold reset signal S2 in the standby mode, the substrate management controller 13 again in the standby mode By outputting the control signal S3 with the second logic level to the enable terminal 111 of the power management unit 11 through the GPIO pin 131, the platform path controller 12 is stopped.

綜上所述,根據本案之伺服器及其遠端控制方法之一實施例,伺服器之使用者在欲對伺服器進行冷重置時能在遠端操作遠端裝置而控制基板管理控制器觸發伺服器之冷重置程序,伺服器之使用者不需要到伺服器之所在位置,藉由按壓伺服器之電源鍵或是藉由重新插拔伺服器連接於交流電源之線路來觸發伺服器之冷重置程序,在操作上相當方便。In summary, according to an embodiment of the server and its remote control method in this case, when the user of the server wants to cold reset the server, he can remotely operate the remote device and control the board management controller. Trigger the cold reset procedure of the server. The user of the server does not need to go to the location of the server. The server is triggered by pressing the power button of the server or by replugging the server to the AC power line. The cold reset procedure is quite convenient in operation.

雖然本案已以實施例揭露如上然其並非用以限定本案,任何所屬技術領域中具有通常知識者,在不脫離本案之精神和範圍內,當可作些許之更動與潤飾,故本案之保護範圍當視後附之專利申請範圍所界定者為準。Although this case has been disclosed with examples as above, it is not intended to limit this case. Any person with ordinary knowledge in the technical field can make some changes and retouching without departing from the spirit and scope of this case. Therefore, the scope of protection of this case Subject to the scope of the attached patent application.

1‧‧‧伺服器1‧‧‧Server

10‧‧‧電源供應單元 10‧‧‧ Power Supply Unit

101‧‧‧待機電源輸出端 101‧‧‧ Standby power output

102‧‧‧工作電源輸出端 102‧‧‧Working power output

11‧‧‧電源管理單元 11‧‧‧Power Management Unit

111‧‧‧致能端 111‧‧‧Enable

12‧‧‧平台路徑控制器 12‧‧‧platform path controller

13‧‧‧基板管理控制器 13‧‧‧ substrate management controller

131‧‧‧GPIO腳位 131‧‧‧GPIO pins

2‧‧‧遠端裝置 2‧‧‧ remote device

P1‧‧‧待機電源 P1‧‧‧Standby Power

P2‧‧‧工作電源 P2‧‧‧Working Power

S1‧‧‧電源訊號 S1‧‧‧ Power Signal

S2‧‧‧冷重置訊號 S2‧‧‧ Cold reset signal

S3‧‧‧控制訊號 S3‧‧‧Control signal

S4‧‧‧暖重置訊號 S4‧‧‧ Warm reset signal

S01-S05‧‧‧步驟 S01-S05‧‧‧step

[圖1] 為根據本發明之伺服器之一實施例之方塊示意圖。 [圖2] 為根據本發明之遠端控制方法之一實施例之流程圖。 [圖3] 為根據本發明之遠端控制方法之再另一實施例之流程圖。[Figure 1] A block diagram of an embodiment of a server according to the present invention. [Figure 2] A flowchart of an embodiment of a remote control method according to the present invention. [Figure 3] A flowchart of still another embodiment of the remote control method according to the present invention.

Claims (10)

一種伺服器,包含: 一電源供應單元,包含一待機電源輸出端,該待機電源輸出端用以在該伺服器之一待機模式中提供一待機電源; 一電源管理單元,耦接於該待機電源輸出端,用以自該待機電源輸出端接收該待機電源並根據該待機電源產生一電源訊號; 一平台路徑控制器,耦接於該電源管理單元,用以根據該電源訊號待機運作;及 一基板管理控制器,耦接於該電源管理單元之該待機電源輸出端及該電源供應單元,用以自該待機電源輸出端接收該待機電源並根據該待機電源運作,以於該平台路徑控制器根據該電源訊號待機運作時根據來自於一遠端裝置之一冷重置訊號控制該電源管理單元停止產生該電源訊號,以關閉待機運作中之該平台路徑控制器,且該基板管理控制器於該平台路徑控制器關閉之時間長度達到一預設時間長度時控制該電源管理單元重新產生該電源訊號,以重啟該平台路徑控制器來觸發該伺服器之一冷重置程序。A server includes: a power supply unit including a standby power output terminal for providing a standby power in a standby mode of the server; a power management unit coupled to the standby power An output terminal for receiving the standby power from the standby power output and generating a power signal according to the standby power; a platform path controller coupled to the power management unit for standby operation according to the power signal; and A baseboard management controller, coupled to the standby power output terminal and the power supply unit of the power management unit, for receiving the standby power from the standby power output terminal and operating according to the standby power to the platform path controller According to the power signal during standby operation, the power management unit is controlled to stop generating the power signal according to a cold reset signal from a remote device, so as to turn off the platform path controller in standby operation, and the baseboard management controller is in When the platform path controller is turned off for a preset length of time, the power management order is controlled. Yuan re-generates the power signal to restart the platform path controller to trigger a cold reset procedure of the server. 如請求項1所述之伺服器,其中該基板管理控制器係於根據來自於該遠端裝置之暖重置訊號控制該平台路徑控制器觸發該伺服器之一暖重置程序而該平台路徑控制器無回應時始根據該冷重置訊號控制該電源管理單元停止產生該電源訊號。The server according to claim 1, wherein the baseboard management controller is configured to control the platform path controller to trigger a warm reset procedure of the server and the platform path according to a warm reset signal from the remote device. When the controller does not respond, it controls the power management unit to stop generating the power signal according to the cold reset signal. 如請求項1所述之伺服器,其中,於該平台路徑控制器關閉後,該伺服器係處於符合進階組態與電源介面規範之一機械式關機模式,待該基板管理控制器重啟該平台路徑控制器而觸發該伺服器之該冷重置程序之後,該伺服器脫離該機械式關機模式。The server according to claim 1, wherein after the platform path controller is turned off, the server is in a mechanical shutdown mode that conforms to one of the advanced configuration and power interface specifications, and is to be restarted by the substrate management controller. After the platform path controller triggers the cold reset procedure of the server, the server leaves the mechanical shutdown mode. 如請求項1所述之伺服器,其中該電源管理單元包含一致能端,該致能端用以接收一控制訊號,當該致能端接收具有一第一邏輯位準之該控制訊號時,該電源管理單元根據該待機電源輸出該電源訊號,當該致能端接收具有一第二邏輯位準之該控制訊號時,該電源管理單元停止根據該待機電源輸出該電源訊號;其中該基板管理控制器包含一通用型輸入輸出腳位耦接於該電源管理單元之該致能端,當該基板管理控制器接收到該冷重置訊號時,該基板管理控制器控制該通用型輸入輸出腳位輸出自該第一邏輯位準轉變為具有該第二邏輯位準之該控制訊號,且該基板管理控制器在該平台路徑控制器關閉之時間長度達到該預設時間長度時控制該通用型輸入輸出腳位輸出自該第二邏輯位準轉變為具有該第一邏輯位準之該控制訊號。The server according to claim 1, wherein the power management unit includes a uniform energy terminal, the enabling terminal is used for receiving a control signal, and when the enabling terminal receives the control signal having a first logic level, The power management unit outputs the power signal according to the standby power. When the enabler receives the control signal having a second logic level, the power management unit stops outputting the power signal according to the standby power; wherein the substrate management The controller includes a universal I / O pin coupled to the enable end of the power management unit. When the baseboard management controller receives the cold reset signal, the substrate management controller controls the universal I / O pin The bit output changes from the first logic level to the control signal with the second logic level, and the baseboard management controller controls the universal type when the platform path controller is turned off for a preset length of time The input / output pin output changes from the second logic level to the control signal having the first logic level. 如請求項1所述之伺服器,其中該基板管理控制器更在控制該電源管理單元停止產生該電源訊號後判斷該電源管理單元是否已停止輸出該電源訊號,若該電源管理單元已停止輸出該電源訊號,則計算該平台路徑控制器關閉之時間長度達到該預設時間長度時,該基板管理控制器始控制該電源管理單元重新產生該電源訊號。The server according to claim 1, wherein the baseboard management controller determines whether the power management unit has stopped outputting the power signal after controlling the power management unit to stop generating the power signal, and if the power management unit has stopped outputting When the power signal is calculated, when the length of time when the platform path controller is turned off reaches the preset time length, the baseboard management controller starts to control the power management unit to regenerate the power signal. 一種遠端控制伺服器之方法,包含: 經由一供電單元之一待機電源輸出端在該伺服器之一待機模式中輸出一待機電源供一電源管理單元及一基板管理控制器運作; 經由該電源管理單元根據該待機電源產生一電源訊號供一平台路徑控制器待機運作; 該基板管理控制器根據來自於一遠端裝置之一冷重置訊號控制該電源管理單元停止產生該電源訊號以關閉待機運作中之該平台路徑控制器;及 該基板管理控制器於該平台路徑控制器關閉之時間長度達到一預設時間長度時控制該電源管理單元重新產生該電源訊號以重啟該平台路徑控制器來觸發該伺服器之一冷重置程序。A method for remotely controlling a server includes: outputting a standby power for a power management unit and a substrate management controller through a standby power output terminal of a power supply unit in a standby mode of the server; and via the power supply The management unit generates a power signal for a platform path controller to operate in standby according to the standby power; the baseboard management controller controls the power management unit to stop generating the power signal to turn off standby according to a cold reset signal from a remote device The platform path controller in operation; and the baseboard management controller controlling the power management unit to regenerate the power signal to restart the platform path controller when the platform path controller is turned off for a preset length of time Trigger a cold reset procedure on this server. 如請求項6所述之遠端控制伺服器之方法,其中,於該基板管理控制器控制該電源管理單元停止產生該電源訊號之前,該遠端控制伺服器之方法更包含: 該基板管理控制器根據來自於該遠端裝置之一暖重置訊號控制該平台路徑控制器觸發該伺服器之一暖重置程序並判斷該平台路徑控制器是否無回應;及 當該平台路徑控制器無回應而未觸發該暖重置程序時,該基板管理控制器始根據該冷重置訊號控制該電源管理單元停止產生該電源訊號。The method for remotely controlling a server as described in claim 6, wherein before the substrate management controller controls the power management unit to stop generating the power signal, the method for remotely controlling the server further includes: the substrate management control The controller controls the platform path controller to trigger a warm reset procedure of the server according to a warm reset signal from the remote device and judges whether the platform path controller has no response; and when the platform path controller has no response When the warm reset procedure is not triggered, the baseboard management controller starts to control the power management unit to stop generating the power signal according to the cold reset signal. 如請求項6所述之遠端控制伺服器之方法,其中該伺服器於該平台路徑控制器關閉後係處於符合進階組態與電源介面規範之一機械式關機模式,待該基板管理控制器重啟該平台路徑控制器而觸發該伺服器之該冷重置程序之後,該伺服器脫離該機械式關機模式。The method for remotely controlling a server as described in claim 6, wherein the server is in a mechanical shutdown mode in compliance with advanced configuration and power interface specifications after the platform path controller is turned off, and is to be managed and controlled by the substrate After the server restarts the platform path controller and triggers the cold reset procedure of the server, the server leaves the mechanical shutdown mode. 如請求項6所述之遠端控制伺服器之方法,其中,該基板管理控制器計算該平台路徑控制器關閉之時間長度達到該預設時間長度時控制該電源管理單元重新產生該電源訊號之步驟包含: 該基板管理控制器判斷該電源管理單元是否已停止輸出該電源訊號;及 當判斷該電源管理單元已停止輸出該電源訊號時,該基板管理控制器計算該平台路徑控制器關閉之時間長度,當該平台路徑控制器關閉之時間長度達到該預設時間長度時始控制該電源管理單元重新產生該電源訊號。The method for remotely controlling a server as described in claim 6, wherein the baseboard management controller calculates the time when the platform path controller is turned off to reach the preset time length, and controls the power management unit to regenerate the power signal. The steps include: the baseboard management controller determining whether the power management unit has stopped outputting the power signal; and when determining that the power management unit has stopped outputting the power signal, the baseboard management controller calculates when the platform path controller is turned off Length, when the length of time that the platform path controller is turned off reaches the preset time length, the power management unit is controlled to regenerate the power signal. 如請求項6所述之遠端控制伺服器之方法,其中,該電源管理單元根據該待機電源產生該電源訊號之步驟包含:經由該基板管理控制器控制其一通用型輸入輸出腳位輸出具有一第一邏輯位準之一控制訊號給該電源管理單元之一致能端,使該電源管理單元之該致能端接收具有該第一邏輯位準之該控制訊號而根據該待機電源輸出該電源訊號; 其中,在該基板管理控制器控制該電源管理單元停止產生該電源訊號之步驟中,該基板管理控制器係控制該通用型輸入輸出腳位輸出自該第一邏輯位準轉變為具有一第二邏輯位準之該控制訊號給該電源管理單元之該致能端,使該電源管理單元停止產生該電源訊號; 其中,在該基板管理控制器控制該電源管理單元重新產生該電源訊號之步驟中,該基板管理控制器係控制該通用型輸入輸出腳位輸出自該第二邏輯位準轉變為具有該第一邏輯位準之該控制訊號給該電源管理單元之該致能端,使該電源管理單元重新根據該待機電源產生該電源訊號。The method for remotely controlling a server as described in claim 6, wherein the step of the power management unit generating the power signal according to the standby power comprises: controlling a universal input / output pin output via the baseboard management controller to have A control signal of one of the first logic levels is given to the uniform end of the power management unit, so that the enable end of the power management unit receives the control signal having the first logic level and outputs the power according to the standby power Signal; wherein, in the step of the baseboard management controller controlling the power management unit to stop generating the power signal, the baseboard management controller controls the general-purpose input / output pin output from the first logic level to have a The control signal of the second logic level is given to the enabling end of the power management unit, so that the power management unit stops generating the power signal; wherein, the substrate management controller controls the power management unit to regenerate the power signal. In the step, the substrate management controller controls the universal input / output pin output to change from the second logic level. Having the first logic level of the control signal to the power management unit of the enable terminal, so that the power management unit to re-generate the signal based on the standby power supply.
TW107111408A 2018-03-30 2018-03-30 Server and remote control method thereof TWI665561B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW107111408A TWI665561B (en) 2018-03-30 2018-03-30 Server and remote control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW107111408A TWI665561B (en) 2018-03-30 2018-03-30 Server and remote control method thereof

Publications (2)

Publication Number Publication Date
TWI665561B true TWI665561B (en) 2019-07-11
TW201942758A TW201942758A (en) 2019-11-01

Family

ID=68049555

Family Applications (1)

Application Number Title Priority Date Filing Date
TW107111408A TWI665561B (en) 2018-03-30 2018-03-30 Server and remote control method thereof

Country Status (1)

Country Link
TW (1) TWI665561B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103926992A (en) * 2013-01-16 2014-07-16 纬创资通股份有限公司 Power management circuit, server and power management method thereof
TW201704929A (en) * 2015-07-30 2017-02-01 神雲科技股份有限公司 Server and method for detecting power reset

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103926992A (en) * 2013-01-16 2014-07-16 纬创资通股份有限公司 Power management circuit, server and power management method thereof
TW201704929A (en) * 2015-07-30 2017-02-01 神雲科技股份有限公司 Server and method for detecting power reset

Also Published As

Publication number Publication date
TW201942758A (en) 2019-11-01

Similar Documents

Publication Publication Date Title
US7293182B2 (en) Methods and apparatus for powering a data communications port
US8656003B2 (en) Method for controlling rack system using RMC to determine type of node based on FRU's message when status of chassis is changed
CN108469890B (en) Intelligent power supply management for high standby power system
US8578182B2 (en) Power lock-up setting method performed by baseboard management controller and electronic apparatus using the same
TWI567536B (en) Power management circuit, server and power management method thereof
WO2017136986A1 (en) Method and system for power management
TW201911813A (en) Network Switching System
TW201321949A (en) Power control method during booting and system thereof
TWI726550B (en) Method of providing power in standby phase
CN110389643B (en) Server and remote control method thereof
TWI665561B (en) Server and remote control method thereof
TWI720615B (en) Computer device and shutdown and reboot controlling method thereof
TWI719461B (en) Server power managing method and system thereof
TWI697768B (en) Reset bmc control method
US9311172B2 (en) External electronic device
TW202215199A (en) Master-slave interchangeable power supply device and host machine thereof, master-slave interchangeable power supply method, and computer-readable recording medium thereof for the power control module and the power supply unit to communicate with each other under the standard of the communication bus
CN114356062A (en) Power supply control system of server and related power supply control method thereof
TWI590037B (en) Computer and controlling method thereof
TWI298137B (en)
TWI704463B (en) Server system and management method thereto
KR101587951B1 (en) Apparatus and method for backupping memory
US20160363979A1 (en) Method and apparatus for controlling power of virtual desktop client in integrated manner
JP6697102B1 (en) Information processing apparatus, information processing apparatus control method, and information processing apparatus control program
TWI630779B (en) Power supply system
CN115904875A (en) Test apparatus, test method, electronic device, and storage medium