77范文网 - 专业文章范例文档资料分享平台

RHCS+ORACLE10G安装(5)

来源:网络收集 时间:2019-03-11 下载这篇文档 手机版
说明:文章内容仅供预览,部分内容可能不全,需要完整文档或者需要复制内容,请下载word后使用。下载word有问题请添加微信号:或QQ: 处理(尽可能给您提供完整文档),感谢您的支持与谅解。点击这里给我发消息

3. 各节点的配置

Perform the following steps on all nodes in the cluster:

3.1 Mount the target Oracle partition(s). I used only /dev/sdb7, and I chose /mnt/oracle as the target for Oracle. During installation, Oracle asked you to run a script which set up symbolic links and/or copy files. We must Run this script on each node as the root user:

# mount -t ext3 /dev/sdb1 /mnt/oracle # /mnt/oracle/home/root.sh # umount /mnt/oracle

3.2 Copy /etc/oratab and /etc/oraInst.loc from the install node on which to /etc using scp or another utility .

3.3 Since the cluster daemons are still not running, copy

/etc/cluster/cluster.conf from the install node in to /etc/cluster using scp.

3.4 At your option, you may wish to perform basic sanity checks on the Oracle installation. See Part 2, steps 8-10; the procedure is the same. DO NOT START THE ORACLE SERVICE ON MORE THAN ONE NODE. 4. 完成集群和起动服务

Hacks in oracledb.sh

4.1 Automatically switches to the correct UID at the right time. RGmanager runs as root, while Oracle must run as the oracle user.

4.2 Automatically creates and sets LD_PRELOAD environment variables so that Oracle will always get the right information from the gethostname(2) call. This means that you can not start or stop the clustered Oracle instance outside of the oracledb.sh resource agent/script without also setting the LD_PRELOAD environment variable!, i.e.:

# export LD_PRELOAD=$ORACLE_HOME/hostname.so

This library is not created until the oracle.sh script is run for the first time.

4.3 The oracledb.sh script is designed to be used outside of RHCS4 as a regular init script, too. Change the environment variables, and it should work.

五、需要注意

1、如果使用了防火墙,则: 如下端口需要被打开:

41966 rgmanager/clurgmgrd tcp 41967 rgmanager/clurgmgrd tcp 41968 rgmanager/clurgmgrd tcp 41969 rgmanager/clurgmgrd tcp 50006 ccsd tcp 50007 ccsd udp 50008 ccsd tcp 50009 ccsd tcp 21064 dlm tcp

6809 (RHEL4 and under) cman (RHEL4 and under) udp 5405 (RHEL5 and above) openais (RHEL5 and above) udp 14567 gnbd tcp

六、RHCS及ORACLE的管理

1、RHCS的启动与停止顺序

service rgmanager stop service gfs stop service clvmd stop service fenced stop service cman stop service ccsd stop

service ccsd start service cman start service fenced start service clvmd start service gfs start

service rgmanager start

2、常用命令

#clustat –l 结点与服务状态

#clusvadm –r 各结点之间的手动切换

3、根据使用过程的经验,再加入…….

百度搜索“77cn”或“免费范文网”即可找到本站免费阅读全部范文。收藏本站方便下次阅读,免费范文网,提供经典小说综合文库RHCS+ORACLE10G安装(5)在线全文阅读。

RHCS+ORACLE10G安装(5).doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印 下载失败或者文档不完整,请联系客服人员解决!
本文链接:https://www.77cn.com.cn/wenku/zonghe/516538.html(转载请注明文章来源)
Copyright © 2008-2022 免费范文网 版权所有
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ: 邮箱:tiandhx2@hotmail.com
苏ICP备16052595号-18
× 注册会员免费下载(下载后可以自由复制和排版)
注册会员下载
全站内容免费自由复制
注册会员下载
全站内容免费自由复制
注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: