参考文档网站https://access.redhat.com/site/documentation/zh-CN/Red_Hat_Enterprise_Linux/index.html
相关阅读:
RHCS+GFS(红帽HA+GFS) http://www.linuxidc.com/Linux/2014-04/99574.htm
基于RHCS+iSCSI+CLVM实现Web服务的共享存储集群架构 http://www.linuxidc.com/Linux/2013-05/84888.htm
RHCS多节点部署应用企业环境 http://www.linuxidc.com/Linux/2013-05/84456.htm
RedHat 5.8 x64 RHCS Oracle 10gR2 HA实践配置 http://www.linuxidc.com/Linux/2013-03/81589.htm
RHCS基于Java的HA双机热备 http://www.linuxidc.com/Linux/2012-12/76587.htm
图解RHCS的安装配置与应用 http://www.linuxidc.com/Linux/2012-11/75111.htm
这里使用rhel6.5操作系统
真机:192.168.2.42 ankse.example.com
结点1:192.168.2.109 server109.example.com
结点2:192.168.2.205 server205.example.com
过程中注意各个结点解析,时间同步
1、两个结点配置yum
[root@server205 ~]# vim /etc/yum.repos.d/rhel-source.repo
# repos on instructor for classroom use
# Main rhel6.5 server
[base]
name=Instructor Server Repository
baseurl=http://192.168.2.251/pub/rhel6.5
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
# HighAvailability rhel6.5
[HighAvailability]
name=Instructor HighAvailability Repository
baseurl=http://192.168.2.251/pub/rhel6.5/HighAvailability
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
# LoadBalancer packages
[LoadBalancer]
name=Instructor LoadBalancer Repository
baseurl=http://192.168.2.251/pub/rhel6.5/LoadBalancer
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
# ResilientStorage
[ResilientStorage]
name=Instructor ResilientStorage Repository
baseurl=http://192.168.2.251/pub/rhel6.5/ResilientStorage
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
# ScalableFileSystem
[ScalableFileSystem]
name=Instructor ScalableFileSystem Repository
baseurl=http://192.168.2.251/pub/rhel6.5/ScalableFileSystem
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
[root@server205 ~]# yum clearn all
真机yum添加
# HighAvailability rhel6.5
[HighAvailability]
name=Instructor HighAvailability Repository
baseurl=http://192.168.2.251/pub/rhel6.5/HighAvailability
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
2、安装管理软件luci和ricci
真机安装luci
[root@ankse ~]# yum install luci -y
[root@ankse ~]# /etc/init.d/luci start
虚拟机结点分别
[root@server205 ~]# yum install -y ricci
[root@server205 ~]# passwd ricci
Changing password for user ricci.
New password: 修改密码为root
passwd: all authentication tokens updated successfully.
[root@server205 ~]# /etc/init.d/ricci start
[root@server205 ~]# chkconfig ricci on
更多详情见请继续阅读下一页的精彩内容: http://www.linuxidc.com/Linux/2014-05/102023p2.htm
