加入收藏 | 设为首页 | 会员中心 | 我要投稿 佛山站长网 (https://www.0757zz.com/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 服务器 > 搭建环境 > Linux > 正文

Redhat 5.8 x64 RHCS Oracle 10gR2 HA实践配置

发布时间:2016-10-31 01:11:18 所属栏目:Linux 来源:网络整理
导读:配置说明: 1. 通过Openfiler实现iscsi共享存储 2. 通过VMware ESXi5 虚拟fence实现fence功能。 3. 结合Redhat 5.8 vmware-fence-soap实现RHCS fence设备功能。

二、RHCS软件包的安装

192.168.10.100  node1  (管理机)

192.168.10.110  node2

1. 在node1上安装luci及RHCS软件包

安装 ricci、rgmanager、gfs、cman

(1) node1(管理节点)安装RHCS软件包,luci是管理端软件包,只在管理端安装。

yum install luci ricci cman cman-devel gfs2-utils rgmanager system-config-cluster -y

(2) 配置RHCS服务开机启动

chkconfig luci on

chkconfig ricci on

chkconfig rgmanager on

chkconfig cman on

service ricci start

service cman start

2. 在node2 上安装RHCS软件包

(1) node2安装RHCS软件包

yum install ricci cman cman-devel gfs2-utils rgmanager system-config-cluster -y

(2) 配置RHCS服务开机启动

chkconfig ricci on

chkconfig rgmanager on

chkconfig cman on

service ricci start

service cman start

这是因为还没有加入集群没有产生配置文件/etc/cluster/cluster.conf

3. 直接安装集群组件或安装操作系统的过程中选择集群。

yum groupinstall Clustering

三、RHCS集群管理端配置

1. 在node1管理节点上安装启动luci服务

说明:在管理节点上进行操作。

(1) luci初始化

# luci_admin init         Initializing the luci server

Creating the 'admin' user

Enter password:

Confirm password:

Please wait...

The admin password has been successfully set.

Generating SSL certificates...

The luci server has been successfully initialized

(2) 启动luci服务

# service luci start

(3) 配置管理地址

https://192.168.14.100:8084

admin/111111

四、RHCS集群配置

1. 添加集群

登录进管理界面,点击cluster->Create a New Cluster->填入如下内容:

Cluster Name: rhcs

node1 192.168.10.100

node2 192.168.10.110

选中如下选项,然后提交,集群会经过install,reboot,config,join两步过程才能成功。

Use locally installed packages.

Enable shared storage support

check if node passwords are identical

说明:

(1) 这步会生成集群配置文件/etc/cluster/cluster.conf

(2) 也可以直接创建该配置文件。

(编辑:佛山站长网)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

热点阅读