您好,欢迎访问三七文档
GFS与RHCS安装记录咨询热线免费咨询电话:400-700-0056800-810-0056教学就业监督电话:400-810-3016QQ在线咨询:147364832213377469321244254603MSN在线咨询:upadv01@hotmail.comupadv20@hotmail.com免费资源-4月24日[沈阳]Linux嵌入式-4月24日[上海]DDos攻防-4月24日[上海]Linux嵌入式-4月24日[深圳]DDos攻防-4月24日[深圳]Linux嵌入式-4月24日[北京]DDos攻防-4月24日五万年薪就业保证课程UTA-高级研发型测试架构师UDA-Linux服务器开发架构师UEA-嵌入式内核驱动开发者UOA-Oracle数据库集群架构ULA-Linux系统与集群架构师八万年薪就业保证课程UOM-Oracle集群大师UEM-嵌入式开发大师Linux培训●最新开班[大连]ULA课程6月班热招![沈阳]UEA课程6月班热招![沈阳]ULA课程6月班热招![北京]UEA课程6月班热报![北京]UOA/ULA课程6月班![上海]UEA课程5月班热招![上海]ULA/UOA课程6月班![深圳]UEA课程6月班热招!文章内容GFS与RHCS安装记录硬件环境:双AMD275HE双核CPU/4G内存/73Gscsi操作系统:RedHatAS4update2内核版本:2.6.9-22.ELsmp1.到redhat网站上下载相应的ClusterSuite/GFS软件。由于没有注册号,无法通过up2date升级,因此会比较麻烦。到下载相应的RHCS和RHGFS的src.rpm文件,在一个目录下,往往有相同软件的几个版本存在。以下安装笔记中所使用的软件是以RHAS4U2为准。1.1安装cman-kernel-2.6.9-39.5.src.rpmrpm-ivcman-kernel-2.6.9-39.5.src.rpmcd/usr/src/redhat/SPECSrpmbuild-ba--nodepscman-kernel.spec#加--nodeps的原因是提示,kernel-hugemem-devel=2.6.9-22.ELisneeded,尝试解决未果,放弃。希望不会出现问题。cd/usr/src/redhat/RPMS/x86_64/rpm-ivhcman-ker*1.2安装magma-1.0.1-4.src.rpmrpm-ivmagma-1.0.1-4.src.rpmcd/usr/src/redhat/SPECSrpmbuild-bamagma.speccd/usr/src/redhat/RPMS/x86_64/rpm-ivhmagma*1.3安装dlm-kernel-2.6.9-37.7.src.rpmrpm-ivdlm-kernel-2.6.9-37.7.src.rpmcd/usr/src/redhat/SPECSrpmbuild-ba--nodepsdlm-kernel.speccd/usr/src/redhat/RPMS/x86_64/rpm-ivhdlm-kern*1.4安装dlm-1.0.0-5.src.rpmrpm-ivdlm-1.0.0-5.src.rpmcd/usr/src/redhat/SPECSrpmbuild-badlm.speccd/usr/src/redhat/RPMS/x86_64/rpm-ivh--nodepsdlm-1.0.0-5.x86_64.rpmrpm-ivhdlm-debuginfo-1.0.0-5.x86_64.rpmrpm-ivhdlm-devel-1.0.0-5.x86_64.rpm1.5安装ccs-1.0.2-0.src.rpmrpm-ivccs-1.0.2-0.src.rpmcd/usr/src/redhat/SPECSrpmbuild-baccs.speccd/usr/src/redhat/RPMS/x86_64/rpm-ivhccs*1.6安装gulm-1.0.4-0.src.rpmrpm-ivgulm-1.0.4-0.src.rpmcd/usr/src/redhat/SPECSrpmbuild-bagulm.speccd/usr/src/redhat/RPMS/x86_64/rpm-ivhgulm-*1.7安装magma-plugins-1.0.2-0.src.rpmrpm-ivmagma-plugins-1.0.2-0.src.rpmcd/usr/src/redhat/SPECSrpmbuild-bamagma-plugins.speccd/usr/src/redhat/RPMS/x86_64/rpm-ivhmagma-plugins*1.8安装cman-1.0.11-0.src.rpmrpm-ivcman-1.0.11-0.src.rpmcd/usr/src/redhat/SPECSrpmbuild-bacman.speccd/usr/src/redhat/RPMS/x86_64/rpm-ivhcman-*1.9安装fence-1.32.10-0.src.rpmrpm-ivfence-1.32.10-0.src.rpmcd/usr/src/redhat/SPECSrpmbuild-bafence.speccd/usr/src/redhat/RPMS/x86_64/rpm-ivhfence-*1.10安装iddev-2.0.0-3.src.rpmrpm-ividdev-2.0.0-3.src.rpmcd/usr/src/redhat/SPECSrpmbuild-baiddev.speccd/usr/src/redhat/RPMS/x86_64/rpm-ivhiddev-*1.11安装perl-Net-Telnet-3.03-1.2.el4.rf.src.rpm可从下载rpm-ivperl-Net-Telnet-3.03-1.2.el4.rf.src.rpmcd/usr/src/redhat/SPECSrpmbuild-baperl-Net-Telnet.speccd/usr/src/redhat/RPMS/noarch/rpm-ivhperl-Net-Telnet-3.03-1.2.el4.rf.noarch.rpm1.13安装piranha-0.8.1-1.src.rpmrpm-ivpiranha-0.8.1-1.src.rpmcd/usr/src/redhat/SPECSrpmbuild-bapiranha.speccd/usr/src/redhat/RPMS/x86_64/rpm-ivhpiranha-*--nodeps1.14安装rgmanager-1.9.38-0.src.rpmrpm-ivrgmanager-1.9.38-0.src.rpmcd/usr/src/redhat/SPECSrpmbuild-bargmanager.speccd/usr/src/redhat/RPMS/x86_64/rpm-ivhrgmanager-*1.15安装system-config-cluster-1.0.16-1.0.src.rpmrpm-ivsystem-config-cluster-1.0.16-1.0.src.rpmcd/usr/src/redhat/SPECSrpmbuild-basystem-config-cluster.speccd/usr/src/redhat/RPMS/noarch/rpm-ivhsystem-config-cluster-1.0.16-1.0.noarch.rpm1.16安装GFS-kernel-2.6.9-42.1.src.rpmrpm-ivGFS-kernel-2.6.9-42.1.src.rpmcd/usr/src/redhat/SPECSrpmbuild-ba--nodepsGFS-kernel.speccd/usr/src/redhat/RPMS/x86_64/rpm-ivhGFS-kern*1.17安装GFS-6.1.2-0.src.rpmrpm-ivGFS-6.1.2-0.src.rpmcd/usr/src/redhat/SPECSrpmbuild-baGFS.speccd/usr/src/redhat/RPMS/x86_64/rpm-ivhGFS-6.1.2-0.x86_64.rpmrpm-ivhGFS-debuginfo-6.1.2-0.x86_64.rpm1.18安装gnbd-kernel-2.6.9-9.12.src.rpmrpm-ivgnbd-kernel-2.6.9-9.12.src.rpmcd/usr/src/redhat/SPECSrpmbuild-ba--nodepsgnbd-kernel.speccd/usr/src/redhat/RPMS/x86_64/rpm-ivhgnbd-kern*1.19安装gnbd-1.0.1-1.src.rpmrpm-ivgnbd-1.0.1-1.src.rpmcd/usr/src/redhat/SPECSrpmbuild-bagnbd.speccd/usr/src/redhat/RPMS/x86_64/rpm-ivhgnbd-1.0.1-1.x86_64.rpmrpm-ivhgnbd-debuginfo-1.0.1-1.x86_64.rpm1.20安装lvm2-cluster-2.01.14-1.0.RHEL4.src.rpmrpm-ivlvm2-cluster-2.01.14-1.0.RHEL4.src.rpmcd/usr/src/redhat/SPECSrpmbuild-balvm2-cluster.speccd/usr/src/redhat/RPMS/x86_64/rpm-ivhlvm2-cluster*1.21安装rgmanager-1.9.38-0.src.rpmrpm-ivrgmanager-1.9.38-0.src.rpmcd/usr/src/redhat/SPECSrpmbuild-bargmanager.speccd/usr/src/redhat/RPMS/x86_64/rpm-ivhrgmanager-*1.22安装ipvsadm-1.24-7.src.rpmrpm-ivipvsadm-1.24-7.src.rpmcd/usr/src/redhat/SPECSrpmbuild-baipvsadm.speccd/usr/src/redhat/RPMS/x86_64/rpm-ivhipvsadm-*安装完毕2.完成GFSserver的配置(该文章参考suran007的GFS6.1ONRHAS4U2安装文档)2.1确保相关设备的主机名和IP地址的对应关系都在/etc/hosts中例:10.1.5.161host110.1.5.162host210.1.5.163host3#host3作为gnbd的server2.2在host3上配置GFS通过gnbd进行export启动gnbd_serv进程root@host3#/sbin/gnbd_serv–v–n导出设备root@host3#gnbd_export-v-egfs-d/dev/sdb1–c查看export状态信息root@host3#gnbd_export-v-l完成GFSserver,为了使实验更顺利,建议将防火墙停掉serviceiptablesstop3.使用syst
本文标题:GFS+RHCS
链接地址:https://www.777doc.com/doc-3669370 .html