磁盤陣列系統(tǒng)掉電保護(hù)技術(shù)研究與實(shí)現(xiàn)
本文選題:磁盤陣列 切入點(diǎn):掉電保護(hù) 出處:《華中科技大學(xué)》2012年碩士論文 論文類型:學(xué)位論文
【摘要】:數(shù)據(jù)重要性越來(lái)越受到企業(yè)和用戶的關(guān)注,系統(tǒng)可靠性也是企業(yè)在選購(gòu)存儲(chǔ)設(shè)備時(shí)首要考慮的因素。RAID(Redundant Array of Independent Disk獨(dú)立冗余磁盤陣列)存儲(chǔ)系統(tǒng)的可靠性可以通過(guò)冗余機(jī)制來(lái)保證,容忍一定程度的磁盤故障,但是當(dāng)發(fā)生較大的故障,比如系統(tǒng)供電中斷等情況時(shí),系統(tǒng)中的運(yùn)行數(shù)據(jù)和狀態(tài)將無(wú)法得到保護(hù),造成數(shù)據(jù)不一致,甚至帶來(lái)更嚴(yán)重的經(jīng)濟(jì)損失。 針對(duì)上述問(wèn)題,研究分析了現(xiàn)有系統(tǒng)掉電保護(hù)設(shè)計(jì)實(shí)現(xiàn)一般方案的優(yōu)缺點(diǎn),分析了RAID控制器系統(tǒng)運(yùn)行流程,提出一種適用RAID的掉電保護(hù)硬件和軟件實(shí)施方案,可有效處理供電中斷的異常,提高RAID系統(tǒng)的可靠性。該方案在硬件上集成具有掉電保護(hù)功能的電源模塊,軟件上結(jié)合程序模塊實(shí)現(xiàn)關(guān)鍵數(shù)據(jù)掉電保護(hù)和加電恢復(fù)功能實(shí)現(xiàn),并根據(jù)系統(tǒng)中配置信息的管理方式、CACHE數(shù)據(jù)組織方式和請(qǐng)求處理流程,設(shè)計(jì)相應(yīng)的數(shù)據(jù)保護(hù)方案和數(shù)據(jù)恢復(fù)策略。系統(tǒng)采用軟件模擬掉電信號(hào)實(shí)現(xiàn)電源模塊的掉電保護(hù)功能,,并在系統(tǒng)中實(shí)現(xiàn)相應(yīng)的軟件模塊,使系統(tǒng)達(dá)到以下的目標(biāo):可以對(duì)全局配置信息進(jìn)行掉電保護(hù)、加電恢復(fù),保證系統(tǒng)的配置信息能恢復(fù)到掉電前的最新?tīng)顟B(tài);可以按設(shè)計(jì)的轉(zhuǎn)存格式,進(jìn)行快速轉(zhuǎn)存;可以掉電保護(hù)未完成的寫請(qǐng)求;可以在系統(tǒng)加電時(shí)恢復(fù)所有轉(zhuǎn)存的數(shù)據(jù)。 采用模擬掉電信號(hào)的方式進(jìn)行測(cè)試,測(cè)試項(xiàng)目包括:在拷貝數(shù)據(jù)結(jié)束時(shí)(請(qǐng)求均已發(fā)送,數(shù)據(jù)在內(nèi)存),采用模擬掉電信號(hào)的方式產(chǎn)生掉電中斷,觸發(fā)掉電保護(hù),在系統(tǒng)加電恢復(fù)后,計(jì)算并對(duì)比原測(cè)試文件和拷貝到系統(tǒng)的文件的MD5,測(cè)試模塊功能的正確性,測(cè)試結(jié)果表明開(kāi)啟掉電保護(hù),數(shù)據(jù)對(duì)比正確;使用IOMETER工具,對(duì)比測(cè)試系統(tǒng)在增加掉電保護(hù)模塊前后的讀寫性能,測(cè)試結(jié)果表明增加掉電保護(hù)模塊對(duì)系統(tǒng)的讀寫性能基本沒(méi)有影響。
[Abstract]:The importance of data is paid more and more attention by enterprises and users. The reliability of storage system can be guaranteed by redundancy mechanism. Some disk failures are tolerated, but when larger failures occur, such as system power outages, the running data and states in the system will not be protected, resulting in inconsistent data and even more serious economic losses. In view of the above problems, this paper analyzes the advantages and disadvantages of the design and implementation of the current system power-off protection, analyzes the running process of the RAID controller system, and puts forward a hardware and software implementation scheme for the power loss protection for RAID. It can effectively deal with the abnormal power supply interruption and improve the reliability of the RAID system. This scheme integrates the power supply module with the power loss protection function on the hardware, and realizes the key data power-off protection and power recovery function in the software combined with the program module. According to the management mode of configuration information in the system, data organization mode and request processing flow of CACHE, the corresponding data protection scheme and data recovery strategy are designed. The system uses software to simulate the electric signal to realize the power loss protection function of the power supply module. And the corresponding software module is implemented in the system, which makes the system achieve the following goals: the global configuration information can be power-down protection, power-on recovery, to ensure that the system configuration information can be restored to the latest state before power down; According to the design of the transfer format, can be quickly transferred, can be power-off protection of unfinished write requests, can be power on the system when the recovery of all the data transferred. At the end of the copy data (the request has been sent, the data is in the memory), the power off is generated by using the analog electric signal, and the protection of power down is triggered, the test items are as follows: at the end of the copy data, the data is in memory. After the power recovery of the system, the MD5 of the original test files and the files copied to the system are calculated and compared, and the function of the test module is correct. The test results show that the power off protection is turned on, the data contrast is correct, and the IOMETER tool is used. Comparing the read and write performance of the test system before and after adding the power off protection module, the test results show that the increase of the power loss protection module has no effect on the reading and writing performance of the system.
【學(xué)位授予單位】:華中科技大學(xué)
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2012
【分類號(hào)】:TP333.35;TP309.3
【參考文獻(xiàn)】
相關(guān)期刊論文 前10條
1 江健琦;;法拉電容在掉電保護(hù)中的應(yīng)用[J];單片機(jī)與嵌入式系統(tǒng)應(yīng)用;2007年06期
2 陳軍東,周小佳;LonWorks總線網(wǎng)絡(luò)與HostBase節(jié)點(diǎn)的數(shù)據(jù)傳輸及其掉電保護(hù)[J];工業(yè)控制計(jì)算機(jī);2004年10期
3 王兵,陳軍東;嵌入式系統(tǒng)掉電保護(hù)的一種設(shè)計(jì)方法[J];工業(yè)控制計(jì)算機(jī);2005年09期
4 高東林;單片機(jī)系統(tǒng)可靠掉電保護(hù)的實(shí)現(xiàn)[J];測(cè)控技術(shù);2002年01期
5 馮丹,袁圣權(quán),張江陵;磁盤陣列附網(wǎng)存儲(chǔ)技術(shù)的研究[J];計(jì)算機(jī)工程;2002年10期
6 童薇,馮丹,張江陵;磁盤陣列中的聚散技術(shù)研究[J];計(jì)算機(jī)工程;2003年03期
7 吳志剛,馮丹,張江陵;基于RAID的適度貪婪并行預(yù)取技術(shù)[J];計(jì)算機(jī)工程;2003年18期
8 周可,張江陵,馮丹,萬(wàn)志坤;基于存取模式的Cache預(yù)取自適應(yīng)策略研究[J];計(jì)算機(jī)工程與科學(xué);2003年01期
9 謝長(zhǎng)生,賈林,吳偉;一種高性能RAID系統(tǒng)的設(shè)計(jì)和實(shí)現(xiàn)[J];計(jì)算機(jī)工程與科學(xué);2004年11期
10 周立,盧世魁;幾種實(shí)用的單片機(jī)抗干擾和掉電保護(hù)電路[J];煤礦自動(dòng)化;2001年04期
相關(guān)重要報(bào)紙文章 前1條
1 華中科技大學(xué)信息存儲(chǔ)系統(tǒng)國(guó)家專業(yè)實(shí)驗(yàn)室暨教育部重點(diǎn)實(shí)驗(yàn)室 謝長(zhǎng)生;[N];計(jì)算機(jī)世界;2001年
相關(guān)碩士學(xué)位論文 前2條
1 趙亮;高性能磁盤陣列(RAID)關(guān)鍵技術(shù)的研究[D];國(guó)防科學(xué)技術(shù)大學(xué);2002年
2 聶洪杰;光纖磁盤陣列控制器RAID核心算法的研究與實(shí)現(xiàn)[D];華中科技大學(xué);2007年
本文編號(hào):1597280
本文鏈接:http://sikaile.net/kejilunwen/jisuanjikexuelunwen/1597280.html