楼主: shahand

原创 Oracle 10g CRS 安装管理一点小结-

[复制链接]
论坛徽章:
2
2011新春纪念徽章
日期:2011-02-18 11:42:49ITPUB十周年纪念徽章
日期:2011-11-01 16:19:41
31#
发表于 2006-5-17 15:04 | 只看该作者
现在我的安装问题已经 解决了. 主要原因是:
The problem was that the srvconfig.loc and ocr.loc files were invaild in the /var/opt/oracle
folder. Removed these files and reinstalled crs.
背景: 我们在同一个机器上,安装过oracle9i RAC. 安装完毕后, /var/opt/oracle/srvconfig.loc文件没有删除.

安装完毕后,能够启动crs在两个节点上. 现在是, 我已经重新安装好了rac database. 但是我不能够启动node2上的instance. 详情如下:
# hostname
delphi-2
Details are as following:
# ./crs_stat -t
CRS-0184: Cannot communicate with the CRS daemon.

# ./crs_stop -all
CRS-0184: Cannot communicate with the CRS daemon.

# ./crs_stat -t
CRS-0184: Cannot communicate with the CRS daemon.

# ps -ef|grep -E 'evmd|ocssd|csmd'
ora10g 204 1 0 18:08:40 ? 0:06
/opt/crs/oracle/product/10.2.0/crs/bin/evmd.bin
ora10g 482 478 0 18:08:43 ? 2:05

/opt/crs/oracle/product/10.2.0/crs/bin/ocssd.bin
****************************************************************
# hostname
delphi-1
# ./crs_stat -t
Name Type Target State Host

------------------------------------------------------------
ora....-1.lsnr application ONLINE OFFLINE
ora....-1.lsnr application ONLINE OFFLINE
ora....i-1.gsd application ONLINE ONLINE delphi-1
ora....i-1.ons application ONLINE ONLINE delphi-1
ora....i-1.vip application ONLINE ONLINE delphi-1
ora....-2.lsnr application ONLINE OFFLINE
ora....-2.lsnr application ONLINE OFFLINE
ora....i-2.gsd application ONLINE OFFLINE
ora....i-2.ons application ONLINE OFFLINE
ora....i-2.vip application ONLINE ONLINE delphi-2
ora.ocs.db application ONLINE ONLINE delphi-2
ora....s1.inst application ONLINE ONLINE delphi-1
ora....s2.inst application ONLINE UNKNOWN delphi-2
不知道,大家有没有碰到过这个问题?

使用道具 举报

回复
论坛徽章:
116
ITPUB北京九华山庄2008年会纪念徽章
日期:2008-01-21 16:50:24马上有对象
日期:2014-02-19 11:55:14马上加薪
日期:2014-02-19 11:55:14沸羊羊
日期:2015-03-04 14:43:432015年新春福章
日期:2015-03-06 11:57:31喜羊羊
日期:2015-03-25 15:04:022010数据库技术大会纪念徽章
日期:2015-04-23 10:33:192011数据库大会纪念章
日期:2015-04-23 10:33:192012数据库大会纪念章
日期:2015-04-23 10:33:192013数据库大会纪念章
日期:2015-04-23 10:33:19
32#
 楼主| 发表于 2006-5-25 18:32 | 只看该作者
今天遇到的crs启动会导致rsh工作不正常的问题,最后查出原因是vip启动
但我其他几个RH的cluster都没有该问题
--------------------------------------------------------------------------------------
环境:
10.2.0.1 或者 10.2.0.2
SuSE9 2.6.5-7.244
HP rx1620 IA64
--------2006-05-25-----------shahand------------------------
现象:
crs启动,rsh失败
crs关闭,rsh成功
crs再启动,rsh又失败
----------------------------------------------------------
最后在对方syslog中查出
May 25 16:15:41 rx1600-4 pam_rhosts_auth[16126]: allowed to root@rx1600-3 as root
May 25 16:15:41 rx1600-4 in.rshd[16127]: root@rx1600-3 as root: cmd='date'
May 25 16:15:45 rx1600-4 in.rshd[16236]: connect from 10.198.93.25 (10.198.93.25)
May 25 16:15:45 rx1600-4 pam_rhosts_auth[16236]: allowed to root@rx1600-3 as root
May 25 16:15:45 rx1600-4 in.rshd[16237]: root@rx1600-3 as root: cmd='date'
May 25 16:15:46 rx1600-4 kernel: ons(16268): unaligned access to 0x2000000007862dcc, ip=0x2000000000219700
May 25 16:15:46 rx1600-4 kernel: ons(16268): unaligned access to 0x600000000005ffec, ip=0x2000000000219700
May 25 16:15:49 rx1600-4 in.rshd[16349]: connect from 10.198.93.225 (10.198.93.225)
May 25 16:15:49 rx1600-4 pam_rhosts_auth[16349]: denied to root@rx1600-3-vip as root: access not allowed
May 25 16:15:49 rx1600-4 in.rshd[16349]: rsh denied to root@rx1600-3-vip as root: Permission denied.
May 25 16:15:49 rx1600-4 in.rshd[16349]: rsh command was 'date'
May 25 16:15:53 rx1600-4 in.rshd[16454]: connect from 10.198.93.225 (10.198.93.225)
May 25 16:15:53 rx1600-4 pam_rhosts_auth[16454]: denied to root@rx1600-3-vip as root: access not allowed
May 25 16:15:53 rx1600-4 in.rshd[16454]: rsh denied to root@rx1600-3-vip as root: Permission denied.
May 25 16:15:53 rx1600-4 in.rshd[16454]: rsh command was 'date'

---------------------------------------------------------------------------------------
Action:
修改对应的.rhosts和hosts.eqiv,增加vip对应的alias name或者IP address

=====================================
附:session log
rx1600-3:/etc/xinetd.d # crsctl stop crs
Stopping resources.
Successfully stopped CRS resources
Stopping CSSD.
Shutting down CSS daemon.
Shutdown request successfully issued.
rx1600-3:/etc/xinetd.d # while true ; do rsh rx1600-4 date; crsctl check crs ;echo '  ' ;sleep 4; done
Thu May 25 16:14:02 CST 2006
Failure 1 contacting CSS daemon
Cannot communicate with CRS
Cannot communicate with EVM
  

rx1600-3:/etc/xinetd.d # crsctl start crs
Attempting to start CRS stack
The CRS stack will be started shortly
rx1600-3:/etc/xinetd.d # while true ; do rsh rx1600-4 date; crsctl check crs ;echo '  ' ;sleep 4; done
Thu May 25 16:14:26 CST 2006
Failure 1 contacting CSS daemon
Cannot communicate with CRS
Cannot communicate with EVM
  
Thu May 25 16:14:37 CST 2006
Failure 1 contacting CSS daemon
Cannot communicate with CRS
Cannot communicate with EVM
  
Thu May 25 16:14:47 CST 2006
Failure 1 contacting CSS daemon
Cannot communicate with CRS
Cannot communicate with EVM
  
Thu May 25 16:14:58 CST 2006
Failure 1 contacting CSS daemon
Cannot communicate with CRS
Cannot communicate with EVM
  
Thu May 25 16:15:09 CST 2006
Failure 1 contacting CSS daemon
Cannot communicate with CRS
Cannot communicate with EVM
  
Thu May 25 16:15:19 CST 2006
Failure 1 contacting CSS daemon
Cannot communicate with CRS
Cannot communicate with EVM
  
Thu May 25 16:15:30 CST 2006
Failure 1 contacting CSS daemon
Cannot communicate with CRS
Cannot communicate with EVM
  
Thu May 25 16:15:41 CST 2006
CSS appears healthy
CRS appears healthy
EVM appears healthy
  
Thu May 25 16:15:45 CST 2006
CSS appears healthy
CRS appears healthy
EVM appears healthy

使用道具 举报

回复
论坛徽章:
0
33#
发表于 2006-7-1 10:46 | 只看该作者

22楼的朋友,是运行inittab里面的那几个命令

请说具体是那几个命令

使用道具 举报

回复

您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

TOP技术积分榜 社区积分榜 徽章 团队 统计 知识索引树 积分竞拍 文本模式 帮助
  ITPUB首页 | ITPUB论坛 | 数据库技术 | 企业信息化 | 开发技术 | 微软技术 | 软件工程与项目管理 | IBM技术园地 | 行业纵向讨论 | IT招聘 | IT文档
  ChinaUnix | ChinaUnix博客 | ChinaUnix论坛
CopyRight 1999-2011 itpub.net All Right Reserved. 北京盛拓优讯信息技术有限公司版权所有 联系我们 未成年人举报专区 
京ICP备16024965号-8  北京市公安局海淀分局网监中心备案编号:11010802021510 广播电视节目制作经营许可证:编号(京)字第1149号
  
快速回复 返回顶部 返回列表