Linux系统工程师实战---构建heartbeat高可用性集群.........................9
一、前言...........................................................................................9
1. 高可用性集群..........................................................................9
2. 大容量存储服务器..................................................................9
3. 常用的双机热备的工作方式................................................10
4. 高可用性集群技术在信息系统的建设中的重要性............10
5. 集群技术的结构选择............................................................10
二、相关信息................................................................................12
1. 主机信息................................................................................12
2. 主机卷信息............................................................................13
3. IP规划.....................................................................................13
三、VMware上共享磁盘配置......................................................14
1. 打开Dos窗口,进入vmware安装目录.................................14
2. 修改虚拟机配置文件............................................................14
四、Heartbeat的安装配置.............................................................15
1. 两个节点编辑/etc/hosts文件.................................................15
2. 两个节点分别安装libnet.......................................................15
3. 两个node分别创建heartbeat相关的用户和组......................15
4. 检查两节点通讯情况............................................................15
5. 编译、安装heartbeat..............................................................15
6. 拷贝模板................................................................................16
7. 编辑/etc/ha.d/authkeys...........................................................16
8. 更改文件权限........................................................................16
9. 编辑/etc/ha.d/ha.cf..................................................................16
10. 资源文件配置........................................................................17
11. 两节点同步配置文件............................................................17
五、应用测试................................................................................18
1. 断电测试................................................................................18
2. 网络故障测试........................................................................19
Linux系统工程师实战---构建HPC高性能计算集群...........................23
一、前言.........................................................................................23
1. HPC中的角色.........................................................................23
2. 进程迁移原理........................................................................24
二、相关信息................................................................................25
1. 主机信息................................................................................25
2. 主机卷信息............................................................................26
3. IP规划.....................................................................................26
三、MOSIX安装............................................................................27
1. 下载MOSIX和kernel代码.....................................................27
2. 编辑主机名和IP对应关系.....................................................27
3. 解压到指定目录....................................................................27
4. 进入源代码所在目录............................................................27
5. 进入源代码目录,开始编译...................................................27
6. 生成配置文件........................................................................27
7. 生成依赖关系........................................................................28
8. 编译内核................................................................................28
9. 编译内核模块........................................................................28
10. 安装内核模块........................................................................28
11. 安装内核................................................................................28
12. 进入mosix目录.......................................................................28
13. 安装mosix...............................................................................28 |
|