Linux系統(tǒng)工程師實戰(zhàn)---構(gòu)建heartbeat高可用性集群.........................9
一、前言...........................................................................................9
1. 高可用性集群..........................................................................9
2. 大容量存儲服務(wù)器..................................................................9
3. 常用的雙機熱備的工作方式................................................10
4. 高可用性集群技術(shù)在信息系統(tǒng)的建設(shè)中的重要性............10
5. 集群技術(shù)的結(jié)構(gòu)選擇............................................................10
二、相關(guān)信息................................................................................12
1. 主機信息................................................................................12
2. 主機卷信息............................................................................13
3. IP規(guī)劃.....................................................................................13
三、VMware上共享磁盤配置......................................................14
1. 打開Dos窗口,進入vmware安裝目錄.................................14
2. 修改虛擬機配置文件............................................................14
四、Heartbeat的安裝配置.............................................................15
1. 兩個節(jié)點編輯/etc/hosts文件.................................................15
2. 兩個節(jié)點分別安裝libnet.......................................................15
3. 兩個node分別創(chuàng)建heartbeat相關(guān)的用戶和組......................15
4. 檢查兩節(jié)點通訊情況............................................................15
5. 編譯、安裝heartbeat..............................................................15
6. 拷貝模板................................................................................16
7. 編輯/etc/ha.d/authkeys...........................................................16
8. 更改文件權(quán)限........................................................................16
9. 編輯/etc/ha.d/ha.cf..................................................................16
10. 資源文件配置........................................................................17
11. 兩節(jié)點同步配置文件............................................................17
五、應(yīng)用測試................................................................................18
1. 斷電測試................................................................................18
2. 網(wǎng)絡(luò)故障測試........................................................................19
Linux系統(tǒng)工程師實戰(zhàn)---構(gòu)建HPC高性能計算集群...........................23
一、前言.........................................................................................23
1. HPC中的角色.........................................................................23
2. 進程遷移原理........................................................................24
二、相關(guān)信息................................................................................25
1. 主機信息................................................................................25
2. 主機卷信息............................................................................26
3. IP規(guī)劃.....................................................................................26
三、MOSIX安裝............................................................................27
1. 下載MOSIX和kernel代碼.....................................................27
2. 編輯主機名和IP對應(yīng)關(guān)系.....................................................27
3. 解壓到指定目錄....................................................................27
4. 進入源代碼所在目錄............................................................27
5. 進入源代碼目錄,開始編譯...................................................27
6. 生成配置文件........................................................................27
7. 生成依賴關(guān)系........................................................................28
8. 編譯內(nèi)核................................................................................28
9. 編譯內(nèi)核模塊........................................................................28
10. 安裝內(nèi)核模塊........................................................................28
11. 安裝內(nèi)核................................................................................28
12. 進入mosix目錄.......................................................................28
13. 安裝mosix...............................................................................28 |
|