TWI748652B - Server testing system based on baseboard management controller (bmc) and method thereof - Google Patents
Server testing system based on baseboard management controller (bmc) and method thereof Download PDFInfo
- Publication number
- TWI748652B TWI748652B TW109132376A TW109132376A TWI748652B TW I748652 B TWI748652 B TW I748652B TW 109132376 A TW109132376 A TW 109132376A TW 109132376 A TW109132376 A TW 109132376A TW I748652 B TWI748652 B TW I748652B
- Authority
- TW
- Taiwan
- Prior art keywords
- test
- server
- under test
- management controller
- server under
- Prior art date
Links
Images
Landscapes
- Test And Diagnosis Of Digital Computers (AREA)
Abstract
Description
本發明涉及一種測試系統及其方法,特別是基於基板管理控制器的伺服器測試系統及其方法。 The invention relates to a test system and a method thereof, in particular to a server test system and a method based on a substrate management controller.
近年來,隨著雲端產業的普及與蓬勃發展,伺服器的需求逐年遞增。因此,各家伺服器製造商無不卯足全力生產伺服器,以期許在伺服器市場佔有一席之地。 In recent years, with the popularity and vigorous development of the cloud industry, the demand for servers has increased year by year. Therefore, various server manufacturers are making every effort to produce servers, hoping to gain a place in the server market.
一般而言,生產伺服器後需要對伺服器進行測試,而等候測試的伺服器則可稱為「待測伺服器(Unit Under Test,UUT)」。當要對待測伺服器進行測試時,可以由測試員直接對待測伺服器進行測試。然而,當待測伺服器的數量眾多時,如何有效且快速地對眾多待測伺服器進行測試,便成為各家廠商亟欲解決的問題之一。 Generally speaking, the server needs to be tested after the server is produced, and the server waiting for the test can be called "Unit Under Test (UUT)". When testing the server under test, the tester can directly test the server under test. However, when there are a large number of servers under test, how to efficiently and quickly test the numerous servers under test has become one of the problems that manufacturers urgently want to solve.
有鑑於此,便有廠商提出基板管理控制器的技術手段,其透過預先將基板管理控制器設置在待測伺服器的主機板,以便在待測伺服器通電但不需開機的情況下也能進行測試。然而,此方式僅能由待測伺服器為自己執行測 試,無法應用在同時具有多台待測伺服器的機架(Rack)環境,因為待測伺服器資訊流無法注入(Injection)的原因,使得機架的各個獨立的待測伺服器的測試狀態無法延展開,故仍然存在待測伺服器的測試不便之問題。 In view of this, some manufacturers have proposed the technical means of the baseboard management controller. By pre-setting the baseboard management controller on the main board of the server under test, it can be used even when the server under test is powered on but does not need to be turned on. carry out testing. However, this method can only be performed by the server under test for itself. Test, it cannot be applied to a rack environment with multiple servers under test at the same time, because the information flow of the server under test cannot be injected (Injection), which makes the test status of each independent server under test in the rack It cannot be extended, so there is still the problem of inconvenience in the testing of the server under test.
綜上所述,可知先前技術中長期以來一直存在待測伺服器的測試不便之問題,因此實有必要提出改進的技術手段,來解決此一問題。 In summary, it can be seen that the prior art has always had the problem of inconvenience in testing the server under test for a long time. Therefore, it is necessary to propose improved technical means to solve this problem.
本發明揭露一種基於基板管理控制器的伺服器測試系統及其方法。 The invention discloses a server test system and method based on a substrate management controller.
首先,本發明揭露一種基於基板管理控制器的伺服器測試系統,此系統包含:待測伺服器及測試伺服器。其中,所述待測伺服器具有基板管理控制器,並且電性連接電源。所述測試伺服器電性連接所述待測伺服器,此測試伺服器包含:模擬啟動模組、註冊模組、下載模組、測試模組及輸出模組。其中,模擬啟動模組用以執行模擬啟動腳本,此模擬啟動腳本在待測伺服器通電後,模擬啟動(Launch)待測伺服器,並且根據刀鋒識別碼(Blade ID)及位置識別碼,分別獨立啟動相應每一待測伺服器的待測伺服器資訊流(UUT Flow);註冊模組連接模擬啟動模組,用以執行模擬啟動腳本將待測伺服器序號(UUT SN)、刀鋒識別碼及基板管理控制器(Baseboard Management Controller,BMC)地址傳入待測伺服器資訊流,並且以基板管理控制器地址註冊所述待測伺服器,以及通過通訊埠持續監聽所述待測伺服器;下載模組連接註冊模組,用以通過待測伺服器資訊流下載每一待測伺服器的測試腳本;測試模組連接下載模組,用以執行測試腳本以對每一待測伺服器進行輪詢及測試,並且根據測 試結果產生相應的測試狀態,以及允許根據待測伺服器序號及刀鋒識別碼確認相應的測試狀態;以及輸出模組連接測試模組,用以產生使用者介面以顯示所述待測伺服器及其相應的測試狀態,並且在所述測試狀態為錯誤時,直接在使用者介面中的相應位置顯示錯誤訊息,當測試狀態不為錯誤時,繼續通過通訊埠持續對所述待測伺服器進行監聽。 First of all, the present invention discloses a server test system based on a baseboard management controller. The system includes: a server to be tested and a test server. Wherein, the server under test has a baseboard management controller and is electrically connected to a power source. The test server is electrically connected to the server to be tested, and the test server includes: a simulation start module, a registration module, a download module, a test module, and an output module. Among them, the simulation startup module is used to execute a simulation startup script. After the server under test is powered on, the simulated startup script simulates the launch of the server under test, and according to the blade ID and position identification code, respectively Independently activate the UUT Flow of the server under test corresponding to each server under test; the registration module is connected to the simulation startup module to execute the simulation startup script to change the server serial number (UUT SN) and the blade identification code And baseboard management controller (Baseboard Management Controller, BMC) address into the information stream of the server under test, and register the server under test with the address of the BMC, and continuously monitor the server under test through the communication port; The download module is connected to the registration module to download the test script of each server under test through the information stream of the server under test; the test module is connected to the download module to execute the test script for each server under test Polling and testing, and according to the test The test result generates the corresponding test status, and allows the corresponding test status to be confirmed according to the server under test serial number and the blade identification code; and the output module is connected to the test module to generate a user interface to display the server under test and The corresponding test status, and when the test status is an error, an error message is directly displayed in the corresponding position in the user interface. When the test status is not an error, the server under test continues to be performed continuously through the communication port monitor.
另外,本發明還揭露一種基於基板管理控制器的伺服器測試方法,應用在具有待測伺服器及測試伺服器的環境,其步驟包括:測試伺服器執行模擬啟動腳本,此模擬啟動腳本在所述待測伺服器通電後,模擬啟動所述待測伺服器,並且根據刀鋒識別碼及位置識別碼,分別獨立啟動相應每一待測伺服器的待測伺服器資訊流;測試伺服器執行此模擬啟動腳本將待測伺服器序號、刀鋒識別碼及基板管理控制器地址傳入所述待測伺服器資訊流,並且以基板管理控制器地址註冊所述待測伺服器,以及通過通訊埠持續監聽待測伺服器;測試伺服器通過所述待測伺服器資訊流下載每一待測伺服器的測試腳本;此測試伺服器執行測試腳本以對每一待測伺服器進行輪詢及測試,並且根據測試結果產生相應的測試狀態,以及允許根據待測伺服器序號及刀鋒識別碼確認相應的測試狀態;以及測試伺服器產生使用者介面,用以顯示所述待測伺服器及其相應的測試狀態,並且在測試狀態為錯誤時,直接在使用者介面中的相應位置顯示錯誤訊息,當測試狀態不為錯誤時,繼續通過通訊埠持續對待測伺服器進行監聽。 In addition, the present invention also discloses a server testing method based on a baseboard management controller, which is applied in an environment with a server to be tested and a test server. The steps include: the test server executes a simulation startup script, and the simulation startup script is located in the test server. After the server under test is powered on, the server under test is simulated to start the server under test, and the information flow of the server under test corresponding to each server under test is independently activated according to the blade identification code and position identification code; the test server executes this The simulation startup script transfers the server under test serial number, blade identification code, and baseboard management controller address to the server under test information stream, and registers the server under test with the baseboard management controller address, and continues through the communication port Monitor the server under test; the test server downloads the test script of each server under test through the information stream of the server under test; this test server executes the test script to poll and test each server under test, And according to the test results, the corresponding test status is generated, and the corresponding test status is allowed to be confirmed according to the serial number of the server under test and the blade ID; and the test server generates a user interface to display the server under test and its corresponding In the test state, and when the test state is an error, the error message is displayed directly in the corresponding position in the user interface. When the test state is not an error, the server under test continues to be monitored through the communication port.
本發明所揭露之系統與方法如上,與先前技術的差異在於本發明是透過在待測伺服器通電但不開機的情況下,由測試伺服器模擬啟動待測伺服器,並且根據刀鋒識別碼及位置識別碼分別獨立啟動各待測伺服器的待測伺服 器資訊流,以便將待測伺服器序號、刀鋒識別碼及基板管理控制器地址傳入待測伺服器資訊流,以及根據基板管理控制器地址註冊待測伺服器及通過通訊埠持續監聽待測伺服器,接著執行測試腳本對待測伺服器進行輪詢及測試,再將測試狀態顯示於測試伺服器的使用者介面。 The system and method disclosed in the present invention are as above. The difference from the prior art is that the present invention simulates starting the server under test by the test server when the server under test is powered on but not turned on, and according to the blade identification code and The position identification code independently activates the servo under test of each server under test Server information stream, so that the serial number of the server under test, the blade ID and the address of the substrate management controller can be transferred to the information stream of the server under test, and the server under test can be registered according to the address of the substrate management controller and continuously monitored through the communication port The server then executes the test script to poll and test the server under test, and then displays the test status on the user interface of the test server.
透過上述的技術手段,本發明可以達成提高待測伺服器的測試效率之技術功效。 Through the above-mentioned technical means, the present invention can achieve the technical effect of improving the test efficiency of the server under test.
110a~110n:待測伺服器 110a~110n: server under test
120:測試伺服器 120: test server
121:模擬啟動模組 121: Simulation Startup Module
122:註冊模組 122: Register Module
123:下載模組 123: download modules
124:測試模組 124: Test Module
125:輸出模組 125: output module
300:測試伺服器執行流程 300: Test server execution process
400:使用者介面 400: User interface
410:顯示區塊 410: display block
411:重測元件 411: Retest component
420:全部重測元件 420: All retested components
步驟210:測試伺服器執行一模擬啟動腳本,該模擬啟動腳本在待測伺服器通電後,模擬啟動(Launch)所述待測伺服器,並且根據一刀鋒識別碼(Blade ID)及一位置識別碼,分別獨立啟動相應每一所述待測伺服器的一待測伺服器資訊流(UUT Flow) Step 210: The test server executes a simulated startup script. After the server to be tested is powered on, the simulated startup script simulates to launch the server to be tested, and recognizes it according to a Blade ID and a location Code to independently activate a server information flow (UUT Flow) corresponding to each of the servers to be tested
步驟220:該測試伺服器執行該模擬啟動腳本將一待測伺服器序號(UUT SN)、該刀鋒識別碼及一基板管理控制器(Baseboard Management Controller,BMC)地址傳入所述待測伺服器資訊流,並且以該基板管理控制器地址註冊所述待測伺服器,以及通過一通訊埠持續監聽所述待測伺服器 Step 220: The test server executes the simulation startup script to transfer a server serial number (UUT SN), the blade identification code, and a baseboard management controller (Baseboard Management Controller, BMC) address to the server to be tested Information flow, and register the server under test with the address of the baseboard management controller, and continuously monitor the server under test through a communication port
步驟230:該測試伺服器通過所述待測伺服器資訊流下載每一所述待測伺服器的一測試腳本 Step 230: The test server downloads a test script of each server under test through the server under test information stream
步驟240:該測試伺服器執行所述測試腳本以對每一所述待測伺服器進行輪詢及測試,並且根據測試結果產生相應的一測試狀態,以及允許根據該待測伺服器序號及該刀鋒識別碼確認相應的該測試狀態 Step 240: The test server executes the test script to poll and test each server under test, and generates a corresponding test status according to the test result, and allows the server to be tested according to the serial number and the test status. The blade identification code confirms the corresponding test status
步驟250:該測試伺服器產生一使用者介面,用以顯示所述待測伺服器及其相應的該測試狀態,並且在所述測試狀態為錯誤時,直接在該使用者介面中的相應位置顯示一錯誤訊息,當該測試狀態不為錯誤時,繼續通過所述通訊埠持續對所述待測伺服器進行監聽 Step 250: The test server generates a user interface to display the server under test and its corresponding test status, and when the test status is an error, directly at the corresponding position in the user interface Display an error message, when the test status is not an error, continue to monitor the server under test through the communication port
第1圖為本發明基於基板管理控制器的伺服器測試系統的系統方塊圖。 Figure 1 is a system block diagram of the server testing system based on the baseboard management controller of the present invention.
第2A圖及第2B圖為本發明基於基板管理控制器的伺服器測試方法的方法流程圖。 2A and 2B are the method flowcharts of the server testing method based on the baseboard management controller of the present invention.
第3圖為應用本發明的測試伺服器執行流程之示意圖。 Figure 3 is a schematic diagram of the execution process of the test server applying the present invention.
第4圖為應用本發明的使用者介面之示意圖。 Figure 4 is a schematic diagram of a user interface applying the present invention.
以下將配合圖式及實施例來詳細說明本發明之實施方式,藉此對本發明如何應用技術手段來解決技術問題並達成技術功效的實現過程能充分理解並據以實施。 The following describes the implementation of the present invention in detail with the drawings and embodiments, so as to fully understand and implement the implementation process of how the present invention uses technical means to solve technical problems and achieve technical effects.
首先,在說明本發明所揭露之基於基板管理控制器的伺服器測試系統及其方法之前,先對本發明所應用的環境作說明,本發明是應用在測試具有基板管理控制器的待測伺服器,其透過測試伺服器模擬啟動已通電的待測伺 服器,不需要直接開啟待測伺服器的電源開關也能進行測試。也就是說,可以在機器未開機的狀態下,對機器進行升級、監控及管理等等,測試員不再需要與機架中的每台待測伺服器進行實體連接即可執行測試,特別適用於要測試許多機架上的眾多待測伺服器的情況。 First, before describing the server testing system and method based on the baseboard management controller disclosed in the present invention, the environment in which the present invention is applied will be described. The present invention is applied to test the server under test with the baseboard management controller. , Which simulates starting the powered-on server to be tested through the test server Server, the test can be performed without directly turning on the power switch of the server under test. In other words, the machine can be upgraded, monitored and managed when the machine is not turned on. The tester no longer needs to physically connect with each server under test in the rack to perform the test, especially suitable To test many servers under test on many racks.
以下配合圖式對本發明基於基板管理控制器的伺服器測試系統及其方法做進一步說明,請先參閱「第1圖」,「第1圖」為本發明基於基板管理控制器的伺服器測試系統的系統方塊圖,此系統包含:待測伺服器(110a、110b至110n)及測試伺服器120。其中,待測伺服器(110a、110b至110n)具有基板管理控制器,並且電性連接電源。在實際實施上,一個機架可同時存在眾多待測伺服器(110a、110b至110n),每一待測伺服器(110a、110b至110n)均具有基板管理控制器,所述基板管理控制器是一種小型專用處理器,例如:基於安謀(ARM)的系統單晶片(System on Chip,SoC),其內建圖形和邏輯控制。一般設置於電腦、伺服器、網路或儲存裝置的主機板上,可以在通電但未啟動的情況下,通過專用或共用網路遠端存取、管理及監控。
The following diagrams are used to further explain the server test system and method based on the baseboard management controller of the present invention. Please refer to "Figure 1" first. "Figure 1" is the server test system based on the baseboard management controller of the present invention. The system block diagram of this system includes: the server under test (110a, 110b to 110n) and the
接著,在測試伺服器120的部分,其電性連接待測伺服器(110a、110b至110n),所述測試伺服器120包含:模擬啟動模組121、註冊模組122、下載模組123、測試模組124及輸出模組125。其中,模擬啟動模組121用以執行模擬啟動腳本(Script),此模擬啟動腳本在待測伺服器(110a、110b至110n)通電後,模擬啟動待測伺服器(110a、110b至110n),並且根據刀鋒識別碼及位置識別碼,分別獨立啟動相應每一待測伺服器(110a、110b至110n)的待測伺服器資訊流。在實際實施上,所述模擬啟動是指所述待測伺服器(110a、110b
至110n)在通電未啟動的情況下,由測試伺服器120通過執行模擬啟動腳本溝通設置在待測伺服器(110a、110b至110n)的基板管理控制器來實現模擬啟動。
Then, in the part of the
註冊模組122連接模擬啟動模組121,用以執行模擬啟動腳本將待測伺服器序號、刀鋒識別碼及基板管理控制器地址(如:「BMC MAC address」,簡稱「BMCMAC」)傳入待測伺服器資訊流,並且以基板管理控制器地址註冊所述待測伺服器,以及通過通訊埠(Port)持續監聽所述待測伺服器(110a、110b至110n)。換句話說,以BMCMAC進行UUT註冊,並且以位置識別碼作為獨立的監聽Port來進行監聽。
The
下載模組123連接註冊模組122,用以通過待測伺服器資訊流下載每一待測伺服器(110a、110b至110n)的測試腳本(如:UUT Tool)。如此一來,便能夠允許在測試伺服器120上執行所有待測伺服器(110a、110b至110n)的測試腳本,統一進行管理及測試。
The
測試模組124連接下載模組123,用以執行測試腳本以對每一待測伺服器(110a、110b至110n)進行輪詢(Polling)及測試,並且根據測試結果產生相應的測試狀態,以及允許根據待測伺服器序號及刀鋒識別碼確認相應的測試狀態。在實際實施上,測試狀態可包含:「測試中」、「錯誤」及「正常」等等。至於待測伺服器序號及刀鋒識別碼則是用以指定特定的待測伺服器(110a、110b至110n),以便獲得其相應的測試狀態,例如:測試模組124還可根據刀鋒識別碼及待測伺服器序號擷取待測伺服器網路位址,用以根據此待測伺服器網路位址連接相應的待測伺服器(110a、110b至110n)以直接確認測試狀態是否為錯誤。另外,測試模組124也可通過安全外殼協定(Secure Shell,SSH)
建立待測伺服器(110a、110b至110n)與測試伺服器120的安全隧道,用以遠端登入指定的待測伺服器(110a、110b至110n)並執行其測試腳本。
The
輸出模組125連接測試模組124,用以產生使用者介面以顯示所述待測伺服器(110a、110b至110n)及其相應的測試狀態,並且在所述測試狀態為錯誤時,直接在使用者介面中的相應位置顯示錯誤訊息,當測試狀態不為錯誤時,繼續通過通訊埠持續對所述待測伺服器(110a、110b至110n)進行監聽。在實際實施上,所述使用者介面在所有待測伺服器(110a、110b至110n)完成輪詢後,顯示每一待測伺服器(110a、110b至110n)及其相應的測試狀態,並且在顯示錯誤訊息時一併顯示重測元件,用以允許使用者在點選此重測元件時,重新執行相應待測伺服器(110a、110b至110n)的測試腳本以進行重新測試。另外,當使用者介面同時顯示多個錯誤訊息時,可顯示全部重測元件以允許使用者在點選此全部重測元件時,重新執行所有測試狀態為錯誤的待測伺服器(110a、110b至110n)的測試腳本以進行重新測試。
The
特別要說明的是,在實際實施上,本發明所述的模組皆可利用各種方式來實現,包含軟體、硬體或其任意組合,例如,在某些實施方式中,各模組可利用軟體及硬體或其中之一來實現,除此之外,本發明亦可部分地或完全地基於硬體來實現,例如,系統中的一個或多個模組可以透過積體電路晶片、系統單晶片、複雜可程式邏輯裝置(Complex Programmable Logic Device,CPLD)、現場可程式邏輯閘陣列(Field Programmable Gate Array,FPGA)等來實現。本發明可以是系統、方法及/或電腦程式。電腦程式可以包括電腦可讀儲存媒體,其上載有用於使處理器實現本發明的各個方面的電腦可讀程式指令,電腦可讀儲存媒體可以是可以保持和儲存由指令執行設備使用的指令的有 形設備。電腦可讀儲存媒體可以是但不限於電儲存設備、磁儲存設備、光儲存設備、電磁儲存設備、半導體儲存設備或上述的任意合適的組合。電腦可讀儲存媒體的更具體的例子(非窮舉的列表)包括:硬碟、隨機存取記憶體、唯讀記憶體、快閃記憶體、光碟、軟碟以及上述的任意合適的組合。此處所使用的電腦可讀儲存媒體不被解釋為瞬時信號本身,諸如無線電波或者其它自由傳播的電磁波、通過波導或其它傳輸媒介傳播的電磁波(例如,通過光纖電纜的光信號)、或者通過電線傳輸的電信號。另外,此處所描述的電腦可讀程式指令可以從電腦可讀儲存媒體下載到各個計算/處理設備,或者通過網路,例如:網際網路、區域網路、廣域網路及/或無線網路下載到外部電腦設備或外部儲存設備。網路可以包括銅傳輸電纜、光纖傳輸、無線傳輸、路由器、防火牆、交換器、集線器及/或閘道器。每一個計算/處理設備中的網路卡或者網路介面從網路接收電腦可讀程式指令,並轉發此電腦可讀程式指令,以供儲存在各個計算/處理設備中的電腦可讀儲存媒體中。執行本發明操作的電腦程式指令可以是組合語言指令、指令集架構指令、機器指令、機器相關指令、微指令、韌體指令、或者以一種或多種程式語言的任意組合編寫的原始碼或目的碼(Object Code),所述程式語言包括物件導向的程式語言,如:Common Lisp、Python、C++、Objective-C、Smalltalk、Delphi、Java、Swift、C#、Perl、Ruby與PHP等,以及常規的程序式(Procedural)程式語言,如:C語言或類似的程式語言。所述電腦程式指令可以完全地在電腦上執行、部分地在電腦上執行、作為一個獨立的軟體執行、部分在客戶端電腦上部分在遠端電腦上執行、或者完全在遠端電腦或伺服器上執行。 In particular, it should be noted that, in actual implementation, the modules of the present invention can be implemented in various ways, including software, hardware, or any combination thereof. For example, in some embodiments, each module can be implemented by Software and hardware or one of them is implemented. In addition, the present invention can also be implemented partially or completely based on hardware. For example, one or more modules in the system can be implemented through integrated circuit chips, system Single chip, complex programmable logic device (Complex Programmable Logic Device, CPLD), field programmable logic gate array (Field Programmable Gate Array, FPGA), etc. to achieve. The invention can be a system, a method and/or a computer program. The computer program may include a computer-readable storage medium loaded with computer-readable program instructions for enabling the processor to implement various aspects of the present invention. The computer-readable storage medium may be capable of holding and storing instructions used by the instruction execution device. 形设备。 Shape equipment. The computer-readable storage medium can be, but is not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples (non-exhaustive list) of computer-readable storage media include hard disks, random access memory, read-only memory, flash memory, optical disks, floppy disks, and any suitable combination of the foregoing. The computer-readable storage medium used here is not interpreted as a transient signal itself, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (for example, optical signals through fiber optic cables), or through wires Transmission of electrical signals. In addition, the computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to various computing/processing devices, or downloaded via a network, such as the Internet, a local area network, a wide area network, and/or a wireless network. To an external computer device or external storage device. The network may include copper transmission cables, optical fiber transmission, wireless transmission, routers, firewalls, switches, hubs and/or gateways. The network card or network interface in each computing/processing device receives computer-readable program instructions from the network, and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing/processing device middle. The computer program instructions that perform the operations of the present invention can be combined language instructions, instruction set architecture instructions, machine instructions, machine-related instructions, micro instructions, firmware instructions, or source code or object code written in any combination of one or more programming languages (Object Code), the programming language includes object-oriented programming languages, such as: Common Lisp, Python, C++, Objective-C, Smalltalk, Delphi, Java, Swift, C#, Perl, Ruby, PHP, etc., as well as conventional programs Procedural programming language, such as C language or similar programming language. The computer program instructions can be executed entirely on the computer, partly executed on the computer, executed as an independent software, partly executed on the client computer and partly executed on the remote computer, or entirely on the remote computer or server Executed on.
請參閱「第2A圖」及「第2B圖」,「第2A圖」及「第2B圖」為本發明基於基板管理控制器的伺服器測試方法的方法流程圖,應用在具有待測伺服器(110a、110b至110n)及測試伺服器120的環境,其步驟包括:測試伺服器120執行模擬啟動腳本,此模擬啟動腳本在所述待測伺服器(110a、110b至110n)通電後,模擬啟動所述待測伺服器(110a、110b至110n),並且根據刀鋒識別碼及位置識別碼,分別獨立啟動相應每一待測伺服器(110a、110b至110n)的待測伺服器資訊流(步驟210);測試伺服器120執行此模擬啟動腳本將待測伺服器序號、刀鋒識別碼及基板管理控制器地址傳入所述待測伺服器資訊流,並且以基板管理控制器地址註冊所述待測伺服器(110a、110b至110n),以及通過通訊埠持續監聽待測伺服器(110a、110b至110n)(步驟220);測試伺服器120通過所述待測伺服器資訊流下載每一待測伺服器(110a、110b至110n)的測試腳本(步驟230);此測試伺服器120執行測試腳本以對每一待測伺服器(110a、110b至110n)進行輪詢及測試,並且根據測試結果產生相應的測試狀態,以及允許根據待測伺服器序號及刀鋒識別碼確認相應的測試狀態(步驟240);測試伺服器120產生使用者介面,用以顯示所述待測伺服器(110a、110b至110n)及其相應的測試狀態,並且在測試狀態為錯誤時,直接在使用者介面中的相應位置顯示錯誤訊息,當測試狀態不為錯誤時,繼續通過通訊埠持續對待測伺服器(110a、110b至110n)進行監聽(步驟250)。透過上述步驟,即可透過在待測伺服器(110a、110b至110n)通電但不開機的情況下,由測試伺服器120模擬啟動待測伺服器(110a、110b至110n),並且根據刀鋒識別碼及位置識別碼分別獨立啟動各待測伺服器(110a、110b至110n)的待測伺服器資訊流,以便將待測伺服器序號、刀鋒識別碼及基板管理控制器地址傳入待測伺服器資
訊流,以及根據基板管理控制器地址註冊待測伺服器(110a、110b至110n)及通過通訊埠持續監聽待測伺服器(110a、110b至110n),接著執行測試腳本對待測伺服器(110a、110b至110n)進行輪詢及測試,再將測試狀態顯示於測試伺服器120的使用者介面。
Please refer to "Figure 2A" and "Figure 2B". "Figure 2A" and "Figure 2B" are the method flowcharts of the server test method based on the baseboard management controller of the present invention, which is applied to the server under test (110a, 110b to 110n) and the environment of the test server 120, the steps include: the test server 120 executes a simulation startup script, and the simulation startup script simulates after the servers under test (110a, 110b to 110n) are powered on Activate the servers under test (110a, 110b to 110n), and according to the blade identification code and position identification code, independently activate the server under test information flow ( Step 210); The test server 120 executes this simulation startup script to transfer the server serial number, the blade ID and the BMC address of the server to be tested into the information stream of the server to be tested, and registers the server with the BMC address The server under test (110a, 110b to 110n), and the server under test (110a, 110b to 110n) are continuously monitored through the communication port (step 220); the test server 120 downloads each server through the information stream of the server under test The test script of the server under test (110a, 110b to 110n) (step 230); the test server 120 executes the test script to poll and test each server under test (110a, 110b to 110n), and according to The test result generates the corresponding test status, and allows the corresponding test status to be confirmed according to the server under test serial number and the blade identification code (step 240); the test server 120 generates a user interface to display the test server (110a , 110b to 110n) and its corresponding test status, and when the test status is an error, the error message is displayed directly in the corresponding position in the user interface. When the test status is not an error, the server under test continues to be continued through the communication port (110a, 110b to 110n) monitor (step 250). Through the above steps, the
以下配合「第3圖」及「第4圖」以實施例的方式進行如下說明,請先參閱「第3圖」,「第3圖」為應用本發明的測試伺服器執行流程之示意圖。如測試伺服器執行流程300所示意,測試伺服器120一開始會執行模擬啟動腳本,用以模擬器啟動待測伺服器(110a、110b至110n),在此圖中,同時模擬啟動多台待測伺服器(110a、110b至110n),並且根據刀鋒識別碼及位置識別碼,分別獨立啟動相應每一待測伺服器(110a、110b至110n)的待測伺服器資訊流,再通過所述待測伺服器資訊流下載測試腳本,以便執行測試腳本對每一待測伺服器(110a、110b至110n)進行輪詢及測試,並且根據測試結果產生相應的測試狀態。接著,測試伺服器120判斷測試狀態是否為錯誤,倘若測試狀態為錯誤,便產生使用者介面,用以直接在此使用者介面中的相應位置顯示錯誤訊息;倘若測試狀態不為錯誤時,持續通過通訊埠對所有通訊埠進行監聽。
The following description will be given in the form of an embodiment in conjunction with "Figure 3" and "Figure 4". Please refer to "Figure 3" first. "Figure 3" is a schematic diagram of the execution process of the test server applying the present invention. As shown in the test
如「第4圖」所示意,「第4圖」為應用本發明的使用者介面之示意圖。在實際實施上,測試伺服器120在產生相應各待測伺服器(110a、110b至110n)的測試狀態後,可產生如「第4圖」所示意的使用者介面400,用以在顯示區塊410中顯示各待測伺服器(110a、110b至110n)的待測伺服器序號、測試狀態,以及在測試狀態為錯誤時,在其相應位置顯示重測元件411,以便允許測試者在點選重測元件411時,重新執行相應待測伺服器(110a、110b至110n)的測試腳本以進行重新測試。除此之外,當使用者介面400同時顯示多個錯誤訊息
時,可以顯示全部重測元件420以允許測試者在點選全部重測元件420時,重新執行所有測試狀態為錯誤的待測伺服器(110a、110b至110n)的測試腳本,以便重新對這些測試狀態為錯誤的待測伺服器(110a、110b至110n)進行重新測試。
As shown in "Figure 4", "Figure 4" is a schematic diagram of a user interface applying the present invention. In actual implementation, after the
綜上所述,可知本發明與先前技術之間的差異在於透過在待測伺服器通電但不開機的情況下,由測試伺服器模擬啟動待測伺服器,並且根據刀鋒識別碼及位置識別碼分別獨立啟動各待測伺服器的待測伺服器資訊流,以便將待測伺服器序號、刀鋒識別碼及基板管理控制器地址傳入待測伺服器資訊流,以及根據基板管理控制器地址註冊待測伺服器及通過通訊埠持續監聽待測伺服器,接著執行測試腳本對待測伺服器進行輪詢及測試,再將測試狀態顯示於測試伺服器的使用者介面,藉由此一技術手段可以解決先前技術所存在的問題,進而達成提高待測伺服器的測試效率之技術功效。 In summary, it can be seen that the difference between the present invention and the prior art is that the test server simulates the startup of the server under test when the server under test is powered on but not turned on, and based on the blade identification code and position identification code Independently activate the server under test information flow of each server under test, so that the server serial number, blade ID and BMC address of the test server can be transferred to the server under test information flow, and registered according to the BMC address The server under test and the server under test are continuously monitored through the communication port, and then the test script is executed to poll and test the server under test, and then the test status is displayed on the user interface of the test server. This technical method can be used to Solve the problems existing in the prior art, and achieve the technical effect of improving the test efficiency of the server under test.
雖然本發明以前述之實施例揭露如上,然其並非用以限定本發明,任何熟習相像技藝者,在不脫離本發明之精神和範圍內,當可作些許之更動與潤飾,因此本發明之專利保護範圍須視本說明書所附之申請專利範圍所界定者為準。 Although the present invention is disclosed in the foregoing embodiments as above, it is not intended to limit the present invention. Anyone familiar with similar art can make some changes and modifications without departing from the spirit and scope of the present invention. Therefore, the present invention The scope of patent protection shall be determined by the scope of the patent application attached to this specification.
110a~110n:待測伺服器 110a~110n: server under test
120:測試伺服器 120: test server
121:模擬啟動模組 121: Simulation Startup Module
122:註冊模組 122: Register Module
123:下載模組 123: download modules
124:測試模組 124: Test Module
125:輸出模組 125: output module
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW109132376A TWI748652B (en) | 2020-09-18 | 2020-09-18 | Server testing system based on baseboard management controller (bmc) and method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW109132376A TWI748652B (en) | 2020-09-18 | 2020-09-18 | Server testing system based on baseboard management controller (bmc) and method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
TWI748652B true TWI748652B (en) | 2021-12-01 |
TW202213098A TW202213098A (en) | 2022-04-01 |
Family
ID=80680881
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW109132376A TWI748652B (en) | 2020-09-18 | 2020-09-18 | Server testing system based on baseboard management controller (bmc) and method thereof |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI748652B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116954338A (en) * | 2022-04-15 | 2023-10-27 | 深圳富联富桂精密工业有限公司 | Data center safety control module and control method thereof |
TWI810053B (en) * | 2022-09-01 | 2023-07-21 | 英業達股份有限公司 | Set and removed server device detection system and method thereof |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW201518935A (en) * | 2013-10-01 | 2015-05-16 | Hon Hai Prec Ind Co Ltd | Testing system and method for testing baseboard management controller |
TWI533123B (en) * | 2013-10-03 | 2016-05-11 | 緯創資通股份有限公司 | Method and system for automated test and result comparison |
CN107656848A (en) * | 2017-09-22 | 2018-02-02 | 郑州云海信息技术有限公司 | A kind of method that checking BMC can store SEL number of entries and SEL covering functions |
CN110018940A (en) * | 2019-04-11 | 2019-07-16 | 苏州浪潮智能科技有限公司 | A kind of disk tester method, system and testing service device |
US20190379586A1 (en) * | 2014-09-10 | 2019-12-12 | Huawei Technologies Co., Ltd. | Method for Unified Communication of Server, Baseboard Management Controller, and Server |
TWI721715B (en) * | 2019-12-17 | 2021-03-11 | 英業達股份有限公司 | Method, system, storage media and device for stress test of baseboard management controllers |
-
2020
- 2020-09-18 TW TW109132376A patent/TWI748652B/en active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW201518935A (en) * | 2013-10-01 | 2015-05-16 | Hon Hai Prec Ind Co Ltd | Testing system and method for testing baseboard management controller |
TWI533123B (en) * | 2013-10-03 | 2016-05-11 | 緯創資通股份有限公司 | Method and system for automated test and result comparison |
US20190379586A1 (en) * | 2014-09-10 | 2019-12-12 | Huawei Technologies Co., Ltd. | Method for Unified Communication of Server, Baseboard Management Controller, and Server |
CN107656848A (en) * | 2017-09-22 | 2018-02-02 | 郑州云海信息技术有限公司 | A kind of method that checking BMC can store SEL number of entries and SEL covering functions |
CN110018940A (en) * | 2019-04-11 | 2019-07-16 | 苏州浪潮智能科技有限公司 | A kind of disk tester method, system and testing service device |
TWI721715B (en) * | 2019-12-17 | 2021-03-11 | 英業達股份有限公司 | Method, system, storage media and device for stress test of baseboard management controllers |
Also Published As
Publication number | Publication date |
---|---|
TW202213098A (en) | 2022-04-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102146198B1 (en) | Automated test equipment (ate) support framework for solid state device (ssd) odd sector sizes and protection modes | |
KR102100533B1 (en) | A tester with acceleration for packet building within a fpga block | |
US4868822A (en) | Memory emulation method and system for testing and troubleshooting microprocessor-based electronic systems | |
TWI748652B (en) | Server testing system based on baseboard management controller (bmc) and method thereof | |
JPS6244618B2 (en) | ||
TWI662284B (en) | Automated microtester array, computer implemented method and computer program product | |
TW201341811A (en) | Adapter module and motherboard testing device using the same | |
US9978418B2 (en) | System and method for automated hardware compatibility testing | |
US8626965B2 (en) | Using a DMA engine to automatically validate DMA data paths | |
CN114444422A (en) | Chip verification system, method and storage medium | |
US6745145B2 (en) | Methods and systems for enhanced automated system testing | |
CN117785593A (en) | System and method for realizing xHCI drive based on UVM | |
CN116340150A (en) | Reusable register performance interactive verification system based on UVM and application thereof | |
CN109660386B (en) | Software upgrading method for semiconductor memory aging test system | |
CN117370093A (en) | Chip debugging method, device, equipment and storage medium | |
WO2014000299A1 (en) | Serial port redirection processing method, device, and system | |
US7168029B2 (en) | Method for testing a universal serial bus host controller | |
US11854577B2 (en) | Hard disk device simulator, testing system using hard disk device simulators and testing method thereof | |
Cho et al. | A full-system VM-HDL co-simulation framework for servers with PCIe-connected FPGAs | |
TW202022608A (en) | Device and method for testing a computer system | |
CN114265734A (en) | Server testing system and method based on baseboard management controller | |
CN115794530A (en) | Hardware connection testing method, device, equipment and readable storage medium | |
TWI772189B (en) | Hard disk device simulator and testing system using the simulator and testing method thereof | |
TWI748241B (en) | Debug message automatically providing method of bios | |
CN111221684B (en) | Detection method of server |