TWI339335B - System and method for testing redundancy and hot-swap of a power supply - Google Patents

System and method for testing redundancy and hot-swap of a power supply Download PDF

Info

Publication number
TWI339335B
TWI339335B TW96131399A TW96131399A TWI339335B TW I339335 B TWI339335 B TW I339335B TW 96131399 A TW96131399 A TW 96131399A TW 96131399 A TW96131399 A TW 96131399A TW I339335 B TWI339335 B TW I339335B
Authority
TW
Taiwan
Prior art keywords
power supply
hot
server
redundant power
switching
Prior art date
Application number
TW96131399A
Other languages
Chinese (zh)
Other versions
TW200910083A (en
Inventor
Chung Jen Hsieh
Chao Tsung Fan
Chien Min Fang
Original Assignee
Hon Hai Prec Ind 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 Hon Hai Prec Ind Co Ltd filed Critical Hon Hai Prec Ind Co Ltd
Priority to TW96131399A priority Critical patent/TWI339335B/en
Publication of TW200910083A publication Critical patent/TW200910083A/en
Application granted granted Critical
Publication of TWI339335B publication Critical patent/TWI339335B/en

Links

Landscapes

  • Power Sources (AREA)

Description

13393351339335

i ΐϋϋ年υι月ϋ / η接止替换具I 六、發明說明: 【發明所屬之技術領域】 [0001] 本發明涉及一種電源供應器之測試系統及方法,尤其係 · 關於一種冗餘電源供應器之熱切換測試系統及方法。- - 【先前技術·】 [0002] 一般地,具有伺服器等級系統之電源供應器應具有冗餘 (Redundancy)與熱切換(Hot Swap)功能,主要係 對於伺服器系統提供了電源備援容錯及熱切換之功能模 組,用於維持伺服器系統於穩定之電源供應下能正常地 工作。冗餘電源供應器(Redundancy Power Supply) 係指於伺服器系統中安裝有兩偭或兩偭以上之電源供應 器,以滿足伺服器系統之電源供應器之容錯’要求。爲了 確保伺服器系統能於穩定之電源供應下正常地進行各項 工作,爲此需要對伺服器系統之冗餘電源供應器之容錯 及熱切換性能進行測試。 [0003] 然而,一般廠家都採用人工作業對伺服器系統中冗餘電 源供應器之容錯及熱切換性能進行測試,此種人工測試 方式需要重複插拔伺服器系統之冗餘電源供應器,從而 需要大量之人力及物力成本,並且人爲操作經常發生錯 誤從而影響到測試結果之正確性。 【發明内容】 [0004] 鑒於以上内容,有必要提出一種冗餘電源供應器之熱切 換測試系統,其可對冗餘電源供應器進行自動地熱切換 並測試其熱切換狀況,該系統包括輔助治具、伺服器及 控制端電腦。所述之輔助治具包括微處理器、交流電源 096131399 表單編號A0101 第4頁/共18頁 1003006856-0 1339335 100年01月07日修正替換頁 、兩個繼電器及兩個電源輸出端,該微處理器用於控制 繼電器之打開或關閉操作來控制兩個電源輸出端的電源 輸出。所述之伺服器包括冗餘電源供應器及監視卡。該 冗餘電源供應器包括第一供應電源及第二供應電源,其 用於給該伺服器提供工作電源,該第一供應電源及第二 供應電源分別與電源輸出端相連接。所述之控制端電腦 包括測試控制模組,該測試控制模組包括:設置子模組 ,用於設置輔助治具、伺服器及控制端電腦之間的連接 參數及設置所述之輔助治具之熱切換代數;指令産生子 模組,用於產生熱切換指令、控制指令及監視指令;控 制子模組,用於根據所述之熱切換指令控制輔助治具對 冗餘電源供應器進行熱切換,及根據所述之控制指令控 制伺服器於冗餘電源供應器進行熱切換時執行各種測試 操作;監視子模組,用於根據所述之監視指令藉由所述 之監視卡監視並獲取冗餘電源供應器的熱切換狀況及伺 服器於各種測試操作下的運行狀況;報告産生子模組, 用於根據伺服器的運行狀況産生冗餘電源供應器之熱切 換測試報告。 [0005] 鑒於以上内容,還有必要提出一種冗餘電源供應器之熱 切換測試方法,其可對冗餘電源供應器進行自動地熱切 換並測試其熱切換狀況,該方法包括如下步驟:(a)設 置輔助治具、伺服器及控制端電腦之間的連接參數,所 述之伺服器包括由第一供應電源及第二供應電源組成的 冗餘電源供應器;(b)輔助治具對冗餘電源供應器之熱 切換代數;(c )産生熱切換指令,並根據熱切換指令控 096131399 表單編號A0101 第5頁/共18頁 1003006856-0 1339335 [ΐοο年Oi月07日孩正替換頁j 制輔助治具對冗餘電源供應器進行熱切換;(d)産生控 制指令,並根據控制指令控制伺服器於冗餘電源供應器 進行熱切換時執行各種測試操作;(e)産生監視指令, 並根據監視指令監視並獲取冗餘電源供應器的熱切換狀 況;(f)根據所述的熱切換狀況判斷冗餘電源供應器之 熱切換疋否成功,(g)若熱切換成功,則根據監視指令 監視並獲取伺服器於各種測試操作下的運行狀況;(h) 若伺服器運行正常,則判斷冗餘電源供應器之熱切換代 數是否達到設置的熱切換代數;(i)若熱切換代數沒有 達到設置的熱切換代數,則返回步驟(c)繼續進行熱切 換;若熱切換代數達到設置的熱切換代數,則産生冗餘 電源供應器熱切換測試成功的結果報告。 [0006] 相較於習知技術,所述之冗餘電源供應器之熱切換測試 系統及方法可以針對冗餘電源供應器進行自動地熱切換 ,並可以對該几餘電源供應器之容錯及熱切換性能進行 測試,從而避免人工重複插拔伺服器之冗餘電源供應器 ,節省了人力及物力成本,並提高了測試結果之正瑞性 【實施方式】 [0007] 參照圖1所示,係本發明冗餘電源供應器之熱切換系統較 佳實施例之架構圖。該冗餘電源供應器之熱切換系統包 括輔助治具1、伺服器2及控制端電腦3。該輔助治具1與 伺服器2相連接,並藉由第一連接埠4與控制端電腦3相連 接。該控制端電腦3藉由第二連接埠5與伺服器2相連接。 其中,該第一連接埠4及第二連接埠5可爲一種rs_232埠 096131399 表單編號A0101 第6頁/共18頁 1003006856-0 1339335 100年01月07日按正替換頁 或一種RJ-45埠。 _8]輔助治具!包括微處理器1〇、交流電源⑷如如叫i ΐϋϋ υ ϋ ϋ ϋ 替换 替换 六 六 六 六 六 六 六 六 六 六 六 六 六 六 六 六 六 六 六 六 六 六 六 六 六 六 六 六 六 六 六 六 六 六 六 六 六 六 六 六 六 六Hot switching test system and method. - - [Prior Art·] [0002] Generally, a power supply with a server-level system should have Redundancy and Hot Swap functions, mainly providing power backup fault tolerance for the server system. And a hot-switching function module for maintaining the servo system to operate normally under a stable power supply. Redundancy Power Supply means that two or more power supplies are installed in the server system to meet the fault tolerance requirements of the power supply of the server system. In order to ensure that the servo system can perform various tasks under a stable power supply, it is necessary to test the fault tolerance and hot switching performance of the redundant power supply of the server system. [0003] However, the general manufacturer uses manual work to test the fault tolerance and hot switching performance of the redundant power supply in the server system. This manual test method requires repeated insertion and removal of the redundant power supply of the server system, thereby A large amount of labor and material costs are required, and human operations often make mistakes that affect the correctness of the test results. SUMMARY OF THE INVENTION [0004] In view of the above, it is necessary to propose a redundant power supply hot switching test system, which can automatically switch the redundant power supply and test its hot switching condition, the system includes auxiliary treatment With the server, the server and the console computer. The auxiliary fixture includes a microprocessor, an AC power supply 096131399, a form number A0101, a fourth page, a total of 18 pages, 1003006856-0 1339335, a correction replacement page, two relays, and two power output terminals, the micro-output The processor is used to control the opening or closing of the relay to control the power output of the two power outputs. The server includes a redundant power supply and a monitoring card. The redundant power supply includes a first supply power and a second supply power for supplying operating power to the server, and the first supply power and the second supply power are respectively connected to the power output. The control terminal computer includes a test control module, and the test control module includes: a set sub-module, configured to set connection parameters between the auxiliary fixture, the server and the control end computer, and set the auxiliary fixture a heat switching algebra; an instruction generating submodule for generating a hot switching instruction, a control instruction, and a monitoring instruction; and a control submodule for controlling the auxiliary fixture to heat the redundant power supply according to the hot switching instruction Switching, and controlling, according to the control command, the server to perform various test operations when performing hot switching on the redundant power supply; monitoring the sub-module for monitoring and acquiring by the monitoring card according to the monitoring command The hot-swap condition of the redundant power supply and the operation status of the server under various test operations; the report generation sub-module is used to generate a hot-switching test report of the redundant power supply according to the operating condition of the server. [0005] In view of the above, it is also necessary to provide a hot switching test method for a redundant power supply, which can automatically switch the redundant power supply and test its hot switching condition. The method includes the following steps: Providing connection parameters between the auxiliary fixture, the server and the control computer, wherein the server comprises a redundant power supply composed of the first power supply and the second power supply; (b) the auxiliary fixture is redundant (c) generate a hot-switching algebra; (c) generate a hot-swap command and control 096131399 according to the hot-swap command. Form No. A0101 Page 5/18 pages 1003006856-0 1339335 [ΐοο年Oi月07日正正换页j The auxiliary fixture performs hot switching on the redundant power supply; (d) generates a control command, and controls the server to perform various test operations when the redundant power supply is hot-switched according to the control command; (e) generating a monitoring command, And monitoring and obtaining the hot switching condition of the redundant power supply according to the monitoring instruction; (f) judging whether the hot switching of the redundant power supply is based on the hot switching condition (g) If the hot switching is successful, monitor and obtain the operating status of the server under various test operations according to the monitoring command; (h) if the server is operating normally, determine whether the hot switching algebra of the redundant power supply reaches the setting (i) If the hot-switching algebra does not reach the set hot-switching algebra, return to step (c) to continue the hot-switching; if the hot-switching algebra reaches the set hot-switching algebra, the redundant power supply heat is generated Switch the results of the successful test report. [0006] Compared with the prior art, the hot switching test system and method of the redundant power supply can perform automatic hot switching for the redundant power supply, and can be fault-tolerant and hot for the multiple power supplies. Switching performance is tested to avoid redundantly plugging and unplugging the redundant power supply of the server, saving labor and material costs, and improving the test results. [Embodiment] [0007] Referring to Figure 1, An architectural diagram of a preferred embodiment of a hot switching system for a redundant power supply of the present invention. The hot switching system of the redundant power supply includes an auxiliary fixture 1, a server 2, and a console computer 3. The auxiliary jig 1 is connected to the server 2, and is connected to the console computer 3 via the first port 4. The console computer 3 is connected to the server 2 via a second port 5 . The first port 4 and the second port 5 may be an rs_232埠096131399 Form No. A0101 Page 6/18 pages 1003006856-0 1339335 100 January 07 Press the replacement page or an RJ-45埠. _8] Auxiliary fixture! Including microprocessor 1 交流, AC power (4) such as

Current Power,AC) 11、兩個繼電器12及兩個電源輸 . 出端13°微處理器^與繼電器12相連接,用於分別打開 或關閉繼電器12來控制交流電源! i之兩個電源輸出端i 3 的電源輸出。交流電源11藉由兩個繼電器12分別連接至 兩個電源輸出端13。 [0009] 伺服器2包括冗餘電源供應器2 〇、網路介面2 1及監視卡2 2 。έ玄几餘電源供應器2 0包括第一供應電源2 〇丨及第二供應 電源2 0 2,用於給伺服器2提供工作電源《該第一供應電 源2 01及第一供應電源2 0 2分別與輔助治具1中的電源輸出 端13相連接。網路介面21用於接收控制端電腦3發送之控 制指令及接收伺服器2之操作測試結果至控制端電腦3中 。該網路介面21可爲一種BCM-5722規格之介面或者其他 具有等同功能之模組。監視卡22用於監視冗餘電源供應 器20中第一供應電源201及第二供應電源202的熱切換狀 況,及監視伺服器2於各種測試操作下的運行狀況。該監 視卡22可爲一種H8S-21 66規格之處理器或者其他具有監 視功能之模組β [0010] 控制端電腦3包括測試控制模組30,其用於設置輔助治具 1、伺服器2與控制端電腦3之間的連接參數及第一供應電 源201與第二供應電源202之間的熱切換代數,産生熱切 換指令、控制指令及監視指令,根據熱切換指令控制輔 助治具1對冗餘電源供應器20進行熱切換,根據控制指令 控制伺服器2於冗餘電源供應器20進行熱切換時執行各種 096131399 表單編號Α0101 第7頁/共18頁 1003006856-0 1339335Current Power, AC) 11. Two relays 12 and two power supplies. The 13° microprocessor is connected to the relay 12 to open or close the relay 12 to control the AC power supply! The power output of i of the two power supply outputs i 3 . The AC power source 11 is connected to the two power source output terminals 13 by two relays 12, respectively. [0009] The server 2 includes a redundant power supply 2, a network interface 2 1 and a monitoring card 2 2 . The power supply 20 includes a first power supply 2 〇丨 and a second power supply 2 0 2 for providing a working power supply to the server 2. The first power supply 2 01 and the first power supply 2 0 2 is connected to the power output 13 of the auxiliary jig 1 respectively. The network interface 21 is configured to receive the control command sent by the console computer 3 and the operation test result of the receiving server 2 to the console computer 3. The network interface 21 can be a BCM-5722 specification interface or other equivalent function module. The monitoring card 22 is used to monitor the hot switching conditions of the first supply power source 201 and the second supply power source 202 in the redundant power supply 20, and monitor the operation of the server 2 under various test operations. The monitoring card 22 can be a H8S-21 66 processor or other module with monitoring function. [0010] The console computer 3 includes a test control module 30 for setting the auxiliary fixture 1 and the server 2 a connection parameter between the control terminal computer 3 and a thermal switching algebra between the first supply power source 201 and the second supply power source 202, generating a hot switching command, a control command, and a monitoring command, and controlling the auxiliary jig 1 according to the hot switching command The redundant power supply 20 performs hot switching, and the servo 2 is executed according to the control command to perform various hot switching when the redundant power supply 20 performs hot switching. 096131399 Form No. 1010101 Page 7/18 pages 1003006856-0 1339335

|lGO年Gljj 07日梭正:¾¾百I 測試操作,根據監視指令監視並獲取冗餘電源供應器2〇 的熱切換狀 >兄及飼服器2於各種測試操作下的運行狀況, 及産生冗餘電源供應器20之熱切換測試報告。所述之熱 切換指令係用於藉由輔助治具1之微處理器1 〇打開與關閉 繼電器12來控制電源輸出端13的電源輸出。所述之控制 指令係用於控制伺服器2於冗餘電源供應器2〇熱切換下進 行各種測試操作,例如測試記憶體指令、CPU指令、作業 系統負荷(Loading)指令。所述之監視指令係用於藉由 伺服器2之監視卡22監視並獲取冗餘電源供應器2〇的熱切 換狀況及伺服器2於各種測試操作下的運行狀況,例如一 種考示準之IPMI指令(InteHignet Platform Management Instruction)。 [0011] 本實施例中’當冗餘電源供應器20之第一供應電源201與 第二供應電源2 0 2需要進行熱切換時,輔助治具1之微處 理器10根據控制端電腦3發送之熱切換指令打開或關閉繼 電Is 1 2來控制電源輸出端1 3的電源輸出使第一供應電源 201與第二供應電源202之間自動進行熱切換操作。輔助 治具1之微處理器10根據熱切換指令控制繼電器12之打開 與關閉操作’以便確保每次於冗餘電源供應器20進行熱 切換時有一個電源輸出端13輸出至第一供應電源201或第 二供應電源202給伺服器2提供工作電源。亦即,微處理 器1 0不能同時關閉兩個繼電器12使得兩個電源輸出端13 停止輸出給伺服器2供應電源。 [0012] 參照圖2所示,係圖1中控制端電腦3之測試控制模組30之 功能模組圖。該測試控制模組30包括設置子模組301、指 096131399 表單編號A0101 第8頁/共18頁 1003006856-0 100年01月07日孩正替換頁 令產生子模組302、控制子模組303、監視子模組3〇4及 報。産生子杈組3〇5。設置子模組3〇1用於設置輔助治具j 、伺服器2及控制端電腦3之間的連接參數,及設置輔助 治具1對冗餘電源供應器20之第一供應電源2〇1與第二供 應电源202之間的熱切換代數,例如設置的熱切換代數爲 100次。指令産生子模組302用於産生熱切換指令、控制 才日令及監視指令,並藉由第一連接埠4發送熱切換指令至 輔助治具1中,及藉由第二連接埠5發送控制指令及監視 指令至伺服器2中。控制子模組303用於根據所述之熱切 換指令控制輔助治具丨對冗餘電源供應器2〇之第一供應電 源201與第二供應電源202之間進行熱切換,及根據所述 之控制指令控制伺服器2於冗餘電源供應器2〇進行熱切換 時執行各種測試操作。監視子模組3〇4用於根據所述之監 現指令監視並獲取冗餘電源供應器2〇的熱切換狀況及伺 服器2於各種測試操作下的運行狀況,報告産生子模組 305係用於根據伺服器2於各種測試操作下的運行狀況産 生冗餘電源供應器2〇之熱切換測試報告。 [0013] 參照圖3所示,係本發明冗餘電源供應器之熱切換方法較 佳實施例之實施流程圖》於進行測試冗餘電源供應器2〇 之熱切換之前,測試人員按照如圖1所示之連接關係連接 好輔助治具1、伺服器2及控制端電腦3。控制端電腦3啟 動測試控制模組30,設置子模組301根據上述連接關係設 置輔助治具1、伺服器2及控制端電腦3之間的連接參數( 步驟S30)。設置子模組301設置輔助治具1對冗餘電源供 應器20之第一供應電源201與第二供應電源202之間的熱 096131399 表單編號A0101 第9頁/共18頁 1003006856-0 1339335| lGO year Gljj 07 day shuttle is: 3⁄43⁄4 hundred I test operation, according to the monitoring command to monitor and obtain the thermal power supply of the redundant power supply 2〇> brother and the feeder 2 under various test operations, and A hot switching test report of the redundant power supply 20 is generated. The hot switching command is used to control the power output of the power output 13 by turning on and off the relay 12 by the microprocessor 1 of the auxiliary fixture 1. The control command is used to control the server 2 to perform various test operations under the hot power supply of the redundant power supply 2, such as test memory instructions, CPU instructions, and operating system loading instructions. The monitoring command is used to monitor and obtain the hot switching condition of the redundant power supply 2〇 and the operating condition of the server 2 under various test operations by the monitoring card 22 of the server 2, for example, an IPMI that is accurate. Instruction (InteHignet Platform Management Instruction). [0011] In the embodiment, when the first power supply 201 and the second power supply 220 of the redundant power supply 20 need to be hot-switched, the microprocessor 10 of the auxiliary fixture 1 is sent according to the control computer 3. The hot switching command turns the relay Is 1 2 on or off to control the power output of the power output 13 to automatically perform a hot switching operation between the first supply 201 and the second supply 202. The microprocessor 10 of the auxiliary jig 1 controls the opening and closing operations of the relay 12 in accordance with the hot switching command to ensure that one power output 13 is output to the first power supply 201 each time the hot power supply 20 performs hot switching. Or the second supply power source 202 provides operating power to the server 2. That is, the microprocessor 10 cannot simultaneously turn off the two relays 12 so that the two power supply output terminals 13 stop outputting the power supply to the server 2. [0012] Referring to FIG. 2, it is a functional module diagram of the test control module 30 of the control terminal computer 3 in FIG. The test control module 30 includes a setting sub-module 301, a finger 096131399, a form number A0101, a page 8 / a total of 18 pages, 1003006856-0, a 100-year, January 07, a child replacement page order generation sub-module 302, a control sub-module 303 , monitoring sub-modules 3〇4 and newspapers. The subgroup 3〇5 is generated. The setting sub-module 3〇1 is used for setting connection parameters between the auxiliary jig j, the server 2 and the control end computer 3, and setting the first supply power of the auxiliary jig 1 to the redundant power supply 20 2〇1 The thermal switching algebra between the second supply power source 202 and the second supply power source 202, for example, is set to be 100 times. The command generation sub-module 302 is configured to generate a hot switch command, a control command, and a monitor command, and send a hot switch command to the auxiliary jig 1 through the first port 4 and send control through the second port 5 Command and monitor commands to the server 2. The control submodule 303 is configured to control the auxiliary fixture to perform hot switching between the first power supply 201 and the second power supply 202 of the redundant power supply 2 according to the hot switching instruction, and according to the The control command control server 2 performs various test operations when the redundant power supply 2 is hot-switched. The monitoring sub-module 3〇4 is configured to monitor and acquire the hot switching condition of the redundant power supply 2〇 according to the monitoring instruction and the operating condition of the server 2 under various testing operations, and report the generating sub-module 305 It is used to generate a hot switch test report of the redundant power supply 2 according to the operating conditions of the server 2 under various test operations. [0013] Referring to FIG. 3, a flow chart of a preferred embodiment of the hot switching method of the redundant power supply of the present invention is performed before the hot switching of the redundant power supply 2 is tested. The connection relationship shown in FIG. 1 is connected to the auxiliary jig 1, the server 2, and the console computer 3. The console computer 3 activates the test control module 30, and the setting submodule 301 sets the connection parameters between the auxiliary fixture 1, the server 2, and the console computer 3 in accordance with the above connection relationship (step S30). The setting sub-module 301 sets the heat between the first power supply 201 and the second power supply 202 of the auxiliary power supply 1 to the redundant power supply 20. 096131399 Form No. A0101 Page 9 of 18 1003006856-0 1339335

I rvr% r\ λ 〇 o n I I丄uu十u丄月ij,口 H· 切換代數,例如設置熱切換代數爲100次(步驟S31 )。 [0014] 指令產生子模組302産生熱切換指令,並藉由第一連接埠 4發送熱切換指令至輔助治具1中。控制子模組303根據該 熱切換指令控制微處理器1 0打開或關閉繼電器〗2來控制 電源輸出端1 3的電源輸出使第一供應電源201與第二供應 電源202之間自動進行熱切換操作(步驟S32)。 [0015] 指令産生子模組302産生控制指令,並藉由第二連接埠5 發送控制指令至伺服器2中,何服器2藉由網路介面21接 收控制指令。控制子模組303根據各種控制指令控制伺服 器2執行相應之測試操作測試,例如測試伺服器2之記憶 體使用情況、CPU使用率及作業系統負荷等(步驟S33) [0016] 指令産生子模組302産生監視指令,並藉由第二連接埠5 發送控制指令至伺服器2中。監視子模組304藉由伺服器2 之監視卡22根據監視指令監視並獲取冗餘電源供應器20 中第一供應電源201與第二供應電源202的熱切換狀況( 步驟S34)。 [0017] 監視子模組304根據冗餘電源供應器20的熱切換狀況判斷 第一供應電源201與第二供應電源202之間的熱切換是否 成功(步驟S35)。若熱切換沒有成功,報告産生子模組 305則産生一冗餘電源供應器20進行熱切換測試失敗的結 果報告(步驟S40)。若熱切換成功,監視子模組304則 根據監視指令監視並獲取伺服器2於各種測試操作下的運 行狀況(步驟S36)。監視子模組304根據伺服器2的運行 096131399 表單編號A0101 第10頁/共18頁 1003006856-0 1339335 100年01月07日核正替換頁 狀況判斷伺服器2是否運行正常(步驟S37)。若伺服器2 運行不正常,則返回步驟S40產生測試失敗的結果報告。 若伺服器2運行正常,監視子模組304判斷冗餘電源供應 器20之熱切換代數是否達到設置的熱切換代數(步驟S38 )。若熱切換代數沒有達到設置的熱切換代數,則返回 步驟S32繼續進行熱切換。若熱切換代數達到設置的熱切 換代數,報告産生子模組305則産生冗餘電源供應器20進 行熱切換測試成功的結果報告(步驟S39)。 [0018] 本發明雖以較佳實施方式揭露如上,然其並非用以限定 本發明。任何熟悉此項技藝者,在不脫離本發明之精神 和範圍内,當可做更動與湖飾,因此本發明之保護範圍 當視後附之申請專利範圍所界定者為準。 【圖式簡單說明】 [0019] 圖1係本發明冗餘電源供應器之熱切換系統較佳實施例之 架構圖。 [0020] 圖2係圖1中控制端電腦之測試控制模組之功能模組圖。 [0021] 圖3係本發明冗餘電源供應器之熱切換方法較佳實施例之 流程圖8 【主要元件符號說明】 [0022] 輔助治具1 [0023] 微處理器10 [0024] 交流電源11 [0025] 繼電器12 096131399 表單編號A0101 第11頁/共18頁 1003006856-0 1339335I rvr% r\ λ 〇 o n I I丄uu 十u丄月 ij, port H· Switch algebra, for example, set the hot-switching algebra to 100 times (step S31). [0014] The command generation sub-module 302 generates a hot-swap command and transmits a hot-swapping command to the auxiliary jig 1 via the first port 4 . The control sub-module 303 controls the microprocessor 10 to turn on or off the relay 2 according to the hot-swapping command to control the power output of the power output terminal 13 to automatically switch between the first supply power source 201 and the second supply power source 202. Operation (step S32). [0015] The command generation sub-module 302 generates a control command, and sends a control command to the server 2 through the second port ,5, and the server 2 receives the control command through the network interface 21. The control sub-module 303 controls the server 2 to perform corresponding test operation tests according to various control commands, such as testing the memory usage of the server 2, CPU usage, and operating system load (step S33). [0016] The command generates a submodule. The group 302 generates a monitoring command and sends a control command to the server 2 via the second port 埠5. The monitoring submodule 304 monitors and acquires the hot switching condition of the first power source 201 and the second power source 202 in the redundant power source 20 by the monitoring card 22 of the server 2 in accordance with the monitoring command (step S34). [0017] The monitoring sub-module 304 determines whether the hot switching between the first power supply 201 and the second power supply 202 is successful according to the hot switching condition of the redundant power supply 20 (step S35). If the hot switching is not successful, the report generation sub-module 305 generates a result report of the redundant power supply 20 failing to perform the hot-swap test (step S40). If the hot switching is successful, the monitoring sub-module 304 monitors and acquires the operating conditions of the server 2 under various test operations according to the monitoring command (step S36). The monitoring sub-module 304 is based on the operation of the server 2 096131399 Form No. A0101 Page 10 of 18 1003006856-0 1339335 The correction of the page is judged by the status of the server 2 (step S37). If the server 2 is not operating normally, it returns to step S40 to generate a report of the result of the test failure. If the server 2 is operating normally, the monitoring sub-module 304 determines whether the hot switching algebra of the redundant power supply 20 has reached the set hot switching algebra (step S38). If the hot switching algebra does not reach the set hot switching algebra, then return to step S32 to continue the hot switching. If the hot switch algebra reaches the set hot cut algebra, the report generation submodule 305 generates a result report indicating that the redundant power supply 20 has performed the hot switch test (step S39). The present invention has been disclosed above in the preferred embodiments, and is not intended to limit the invention. The scope of the present invention is defined by the scope of the appended claims, unless otherwise claimed. BRIEF DESCRIPTION OF THE DRAWINGS [0019] FIG. 1 is a block diagram of a preferred embodiment of a hot switching system for a redundant power supply of the present invention. 2 is a functional module diagram of a test control module of the control terminal computer of FIG. 1. 3 is a flow chart 8 of a preferred embodiment of a hot switching method for a redundant power supply of the present invention. [Description of Main Components] [0022] Auxiliary Fixture 1 [0023] Microprocessor 10 [0024] AC power supply 11 [0025] Relay 12 096131399 Form No. A0101 Page 11 of 18 1003006856-0 1339335

I Λ ·~» r% Λ β ,一 4dr I -*~^丄~ , II Λ ·~» r% Λ β , a 4dr I -*~^丄~ , I

I ·ΐ·υυ^-u丄为 u7 口 II ·ΐ·υυ^-u丄 is u7 port I

[0026] 電源輸出端13 [0027] 伺服器2 [0028] 冗餘電源供應器20 [0029] 第一供應電源2 0 1 [0030] 第二供應電源202 [0031] 網路介面21 · [0032] 監視卡2 2 [0033] 控制端電腦3 [0034] 測試控制模組30 [0035] 設置子模組3 Ο 1 [0036] 指令產生子模組302 [0037] 控制子模組3 0 3 [0038] 監視子模組304 [0039] 報告產生子模組305 [0040] 第一連接埠4 [0041] 第二連接埠5 096131399 表單編號A0101 第12頁/共18頁 1003006856-0Power Supply Output 13 [0027] Server 2 [0028] Redundant Power Supply 20 [0029] First Power Supply 2 0 1 [0030] Second Power Supply 202 [0031] Network Interface 21 · [0032 ] Monitoring Card 2 2 [0033] Console Computer 3 [0034] Test Control Module 30 [0035] Setup Sub-Module 3 Ο 1 [0036] Command Generation Sub-Module 302 [0037] Control Sub-Module 3 0 3 [ 0038] Monitoring sub-module 304 [0039] Report generating sub-module 305 [0040] First port 4 [0041] Second port 埠 5 096131399 Form number A0101 Page 12 / Total 18 pages 1003006856-0

Claims (1)

1339335 _- 100年01月07日核正替换頁 七、申請專利範圍: 1 . 一種冗餘電源供應器之熱切換系統,可以對冗餘電源供應 ' 器自動地進行熱切換並測試熱切換狀況,該系統包括: ' 輔助治具,其包括微處理器、交流電源、兩個繼電器及兩 個電源輸出端,該微處理器用於打開或關閉繼電器來控制 交流電源之兩個電源輸出端的電源輸出; 伺服器,其包括冗餘電源供應器、網路介面及監視卡,該 冗餘電源供應器包括第一供應電源及第二供應電源,該第 一供應電源及第二供應電源分別與所述之兩個電源輸出端 相連接,用於給該伺服器提供工作電源; 控制端電腦,分別與輔助治具及伺服器連接,該控制端電 腦包括測試控制模組,該測試控制模組包括: 設置子模組,用於設置輔助治具、伺服器及控制端電腦之 間的連接參數及設置所述之輔助治具之熱切換代數; 指令產生子模組,用於産生熱切換指令、控制指令及監視 指令; 控制子模組,用於根據所述之熱切換指令控制輔助治具對 冗餘電源供應器進行熱切換,及根據所述之控制指令控制 伺服器於冗餘電源供應器進行熱切換時執行各種測試操作 > 監視子模組,用於根據所述之監視指令藉由所述之監視卡 監視並獲取冗餘電源供應器的熱切換狀況及伺服器於各種 測試操作下的運行狀況;及 報告産生子模組,用於根據伺服器的運行狀況産生冗餘電 源供應器之熱切換測試報告。 096131399 表單編號A0101 第13頁/共18頁 1003006856-0 1339335 I ·<» Λ Λ irrr λ λ 二 —ι »—ϊ ι | I 丄υυ十 υ丄月 υ/口 2 .如申請專利範圍第1項之冗餘電源供應器之熱切換系統, 該網路介面用於接收控制端電腦産生之控制指令及監視指 令,並將伺服器的運行狀況發送給控制端電腦。 · 3 .如申請專利範圍第1項之冗餘電源供應器之熱切換系統, · 該輔助治具控制冗餘電源供應器進行熱切換時有一個電源 輸出端輸出電源至第一供應電源或第二供應電源給伺服器 提供工作電源。 4 .如申請專利範圍第1項之冗餘電源供應器之熱切換系統, 該控制端電腦藉由第一連接埠與輔助治具通相連接,並藉 由第二連接埠與伺服器相連接。 .5 .如申請專利範圍第4項之冗餘電源供應器之熱切換系統, 該第一連接埠及第二連接埠爲RS-232埠或RJ-45埠之一 種。 6 . —種冗餘電源供應器之熱切換方法,可以對冗餘電源供應 器自動地進行熱切換並測試熱切換狀況,該方法包括如下 步驟: 設置輔助治具、伺服器及控制端電腦之間的連接參數,所 述之伺服器包括由第一供應電源及第二供應電源組成的冗 餘電源供應器; 設置輔助治具對冗餘電源供應器之熱切換代數; 產生熱切換指令,並根據熱切換指令控制輔助治具對冗餘 電減供應器進行熱切換; 産生控制指令,並根據控制指令控制伺服器於冗餘電源供 應器進行熱切換時執行各種測試操作; 産生監視指令,並根據監視指令監視並獲取冗餘電源供應 器的熱切換狀況; 096131399 表單編號Α0101 第14頁/共18頁 1003006856-0 1339335 ____ 100年01月07日梭正替换頁 根據所述的熱切換狀況判斷冗餘電源供應器之熱切換是否 成功; • 若熱切換成功,則根據監視指令監視並獲取伺服器於各種 • 測試操作下的運行狀況: 若伺服器運行正常,則判斷冗餘電源供應器之熱切換代數 是否達到設置的熱切換代數;及 若熱切換代數達到設置的熱切換代數,則產生冗餘電源供 應器之熱切換測試成功的結果報告。 7 .如申請專利範圍第6項之冗餘電源供應器之熱切換方法, 該方法還包括步驟:若伺服器運行不正常,則產生冗餘電 源供應器熱切換測試失敗的結果報告。 8 .如申請專利範圍第6項之冗餘電源供應器之熱切換方法, 該方法還包括步驟:若熱切換沒有成功,則産生冗餘電源 供應器熱切換測試失敗的結果報告。 9 .如申請專利範圍第6項之冗餘電源供應器之熱切換方法, 所述之冗餘電源供應器之熱切換係藉由輔助治具根據控制 端電腦產生之熱切換指令使冗餘電源供應器之第一供應電 源與第二供應電源之間自動進行熱切換。 096131399 表單編號A0101 第15頁/共18頁 1003006856-01339335 _- January 07, 100 nuclear replacement page VII, the scope of application for patents: 1. A hot-swappable system of redundant power supply, can automatically switch the hot power supply and test the hot-switching status The system includes: 'Auxiliary fixture, which includes a microprocessor, an AC power source, two relays, and two power output terminals for turning the relay on or off to control the power output of the two power output terminals of the AC power source a server including a redundant power supply, a network interface, and a monitoring card, the redundant power supply including a first supply power and a second supply, the first supply and the second supply are respectively The two power output terminals are connected to provide working power to the server; the control computer is respectively connected to the auxiliary fixture and the server, and the control computer includes a test control module, and the test control module includes: Setting a sub-module for setting connection parameters between the auxiliary fixture, the server and the control computer, and setting the hot switch of the auxiliary fixture a command generating submodule for generating a hot switching command, a control command, and a monitoring command; a control submodule for controlling the auxiliary jig to perform hot switching of the redundant power supply according to the hot switching command, and Controlling the server to perform various test operations when the redundant power supply is hot-switched according to the control command. The monitoring sub-module is configured to monitor and acquire redundancy by using the monitoring card according to the monitoring command. The hot-swap condition of the power supply and the operation status of the server under various test operations; and the report generation sub-module for generating a hot-swap test report of the redundant power supply according to the operating condition of the server. 096131399 Form No. A0101 Page 13 of 18 1003006856-0 1339335 I ·<» Λ ir irrr λ λ Di-ι »—ϊ ι | I 丄υυ 十υ丄月υ/口2. As for patent application A hot-swap system of redundant power supply for receiving the control commands and monitoring commands generated by the control computer, and transmitting the running status of the server to the control computer. · 3. For the hot-swap system of the redundant power supply of the patent scope 1st, • the auxiliary fixture controls the redundant power supply for hot switching when there is a power output output power to the first supply or The second supply power supplies the working power to the server. 4. The hot switching system of the redundant power supply of claim 1 of the patent scope, the control computer is connected to the auxiliary fixture through the first connection port, and connected to the server by the second connection port . .5. The thermal switching system of the redundant power supply of claim 4, wherein the first port and the second port are one of RS-232 or RJ-45. 6. A method of hot switching of a redundant power supply, which can automatically perform hot switching and test the hot switching condition of the redundant power supply, the method comprising the following steps: setting auxiliary fixture, server and control computer The connection parameter, the server includes a redundant power supply composed of the first power supply and the second power supply; setting a thermal switching algebra of the auxiliary fixture to the redundant power supply; generating a hot switching command, and Controlling the auxiliary fixture according to the hot switching command to perform hot switching on the redundant power reduction supplier; generating a control command, and controlling the server to perform various test operations when performing hot switching on the redundant power supply according to the control instruction; generating a monitoring instruction, and Monitor and obtain the hot switching status of the redundant power supply according to the monitoring command; 096131399 Form No. 1010101 Page 14 of 18 1003006856-0 1339335 ____ 100 years of January 07, the shuttle replacement page is judged according to the hot switching condition Whether the hot-swap of the redundant power supply is successful; • If the hot-swap is successful, monitor according to the monitoring command Obtain the running status of the server under various test operations: If the server is running normally, determine whether the hot switching algebra of the redundant power supply reaches the set hot switching algebra; and if the hot switching algebra reaches the set hot switching algebra, A report of the success of the hot-swap test of the redundant power supply is generated. 7. The method of hot switching of a redundant power supply according to claim 6 of the patent scope, the method further comprising the step of: if the server is not operating normally, generating a result report of the failure of the redundant power supply hot-switching test. 8. The method of hot switching of a redundant power supply according to claim 6 of the patent scope, the method further comprising the step of: if the hot switching is not successful, generating a result report of the failure of the redundant power supply hot switch test. 9. The method of claim 1, wherein the hot switching of the redundant power supply is performed by the auxiliary fixture according to a hot switching command generated by the computer at the control end to enable the redundant power supply The hot switching is automatically performed between the first supply power of the supplier and the second supply power. 096131399 Form No. A0101 Page 15 of 18 1003006856-0
TW96131399A 2007-08-24 2007-08-24 System and method for testing redundancy and hot-swap of a power supply TWI339335B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW96131399A TWI339335B (en) 2007-08-24 2007-08-24 System and method for testing redundancy and hot-swap of a power supply

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW96131399A TWI339335B (en) 2007-08-24 2007-08-24 System and method for testing redundancy and hot-swap of a power supply

Publications (2)

Publication Number Publication Date
TW200910083A TW200910083A (en) 2009-03-01
TWI339335B true TWI339335B (en) 2011-03-21

Family

ID=44724252

Family Applications (1)

Application Number Title Priority Date Filing Date
TW96131399A TWI339335B (en) 2007-08-24 2007-08-24 System and method for testing redundancy and hot-swap of a power supply

Country Status (1)

Country Link
TW (1) TWI339335B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI647468B (en) * 2018-01-24 2019-01-11 全漢企業股份有限公司 Test power conversion system, power conversion circuit and test power conversion method

Also Published As

Publication number Publication date
TW200910083A (en) 2009-03-01

Similar Documents

Publication Publication Date Title
CN101369008B (en) Thermal switching test system and method for redundant power supply
CN108519938B (en) Memory chip compatibility test method, system and test host
JP6171386B2 (en) Controller, information processing apparatus and program
US8078424B2 (en) Test apparatus
US20140103721A1 (en) Computer Host Power Management System having Extension Cord Sockets
CN105209982A (en) Method and apparatus for controlling a physical unit in an automation system
TWI648617B (en) Power supplying method for computer system
TWI339335B (en) System and method for testing redundancy and hot-swap of a power supply
CN114138587B (en) Method, device and equipment for verifying reliability of server power firmware upgrade
JP5859562B2 (en) Computer system, remote maintenance configuration and remote maintenance method
JP5300059B2 (en) Power supply system, diagnosis method and program thereof
CN1987733A (en) Sequence up-down electricity system and method for knife sheet server system hot plug-in and pull off state
US8738829B2 (en) Information system for replacing failed I/O board with standby I/O board
CN100535832C (en) Sequence top-and-down electricity system and method for knife sheet type server system initial state
CN109471423A (en) A kind of internet of things equipment detection method, system, device and equipment
WO2022110604A1 (en) Control method and control system for battery monitoring platform
CN101165508A (en) Electronic component simulated fixture and power supply abnormity detection method
CN109765500A (en) A kind of power supply analog machine and power supply analogy method
CN111176921A (en) Method for auxiliary testing of mainboard and mainboard
TW201209597A (en) Computer system and the method of using the computer system
CN106909489B (en) Method and device for testing EventLog state
TW200935215A (en) Boot test system and method thereof
JP2007233667A (en) Method of detecting fault
TW201140323A (en) Power throttling system and method thereof
JP6079883B2 (en) Information processing apparatus, information processing method, and program

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees