Chinaunix首页 | 论坛 | 博客
  • 博客访问: 3215338
  • 博文数量: 710
  • 博客积分: 14546
  • 博客等级: 上将
  • 技术积分: 6738
  • 用 户 组: 普通用户
  • 注册时间: 2007-03-30 10:20
文章分类

全部博文(710)

文章存档

2016年(1)

2014年(7)

2013年(22)

2012年(227)

2011年(322)

2009年(119)

2008年(12)

分类: Oracle

2011-08-03 16:40:06

env:oracle10.2.0.1 rhel5.3_32 

1.on rac1 exec /u01/app/oracle/product/10.2.0/crs_1/root.sh
  1. [root@rac1 ~]# /u01/app/oracle/product/10.2.0/crs_1/root.sh
  2. WARNING: directory '/u01/app/oracle/product/10.2.0' is not owned by root
  3. WARNING: directory '/u01/app/oracle/product' is not owned by root
  4. WARNING: directory '/u01/app/oracle' is not owned by root
  5. WARNING: directory '/u01/app' is not owned by root
  6. WARNING: directory '/u01' is not owned by root
  7. Checking to see if Oracle CRS stack is already configured
  8. Setting the permissions on OCR backup directory
  9. Setting up NS directories
  10. Oracle Cluster Registry configuration upgraded successfully
  11. WARNING: directory '/u01/app/oracle/product/10.2.0' is not owned by root
  12. WARNING: directory '/u01/app/oracle/product' is not owned by root
  13. WARNING: directory '/u01/app/oracle' is not owned by root
  14. WARNING: directory '/u01/app' is not owned by root
  15. WARNING: directory '/u01' is not owned by root
  16. assigning default hostname rac1 for node 1.
  17. assigning default hostname rac2 for node 2.
  18. Successfully accumulated necessary OCR keys.
  19. Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.
  20. node <nodenumber>: <nodename> <private interconnect name> <hostname>
  21. node 1: rac1 rac1priv rac1
  22. node 2: rac2 rac2priv rac2
  23. Creating OCR keys for user 'root', privgrp 'root'..
  24. Operation successful.
  25. Now formatting voting device: /dev/raw/raw2
  26. Format of 1 voting devices complete.
  27. Startup will be queued to init within 90 seconds.
  28. Adding daemons to inittab
  29. Expecting the CRS daemons to be up within 600 seconds.
  30. CSS is active on these nodes.
  31.         rac1
  32. CSS is inactive on these nodes.
  33.         rac2
  34. Local node checking complete.
  35. Run root.sh on remaining nodes to start CRS daemons.
2.1.on rac2 exec /u01/app/oracle/product/10.2.0/crs_1/root.sh
  1. [root@rac2 ~]# /u01/app/oracle/product/10.2.0/crs_1/root.sh
  2. WARNING: directory '/u01/app/oracle/product/10.2.0' is not owned by root
  3. WARNING: directory '/u01/app/oracle/product' is not owned by root
  4. WARNING: directory '/u01/app/oracle' is not owned by root
  5. WARNING: directory '/u01/app' is not owned by root
  6. WARNING: directory '/u01' is not owned by root
  7. Checking to see if Oracle CRS stack is already configured
  8. Setting the permissions on OCR backup directory
  9. Setting up NS directories
  10. Oracle Cluster Registry configuration upgraded successfully
  11. WARNING: directory '/u01/app/oracle/product/10.2.0' is not owned by root
  12. WARNING: directory '/u01/app/oracle/product' is not owned by root
  13. WARNING: directory '/u01/app/oracle' is not owned by root
  14. WARNING: directory '/u01/app' is not owned by root
  15. WARNING: directory '/u01' is not owned by root
  16. clscfg: EXISTING configuration version 3 detected.
  17. clscfg: version 3 is 10G Release 2.
  18. assigning default hostname rac1 for node 1.
  19. assigning default hostname rac2 for node 2.
  20. Successfully accumulated necessary OCR keys.
  21. Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.
  22. node <nodenumber>: <nodename> <private interconnect name> <hostname>
  23. node 1: rac1 rac1priv rac1
  24. node 2: rac2 rac2priv rac2
  25. clscfg: Arguments check out successfully.

  26. NO KEYS WERE WRITTEN. Supply -force parameter to override.
  27. -force is destructive and will destroy any previous cluster
  28. configuration.
  29. Oracle Cluster Registry for cluster has already been initialized
  30. Startup will be queued to init within 90 seconds.
  31. Adding daemons to inittab
  32. Expecting the CRS daemons to be up within 600 seconds.
  33. CSS is active on these nodes.
  34.         rac1
  35.         rac2
  36. CSS is active on all nodes.
  37. Waiting for the Oracle CRSD and EVMD to start
  38. Oracle CRS stack installed and running under init(1M)
  39. Running vipca(silent) for configuring nodeapps
  40. /u01/app/oracle/product/10.2.0/crs_1/jdk/jre//bin/java: error while loading shared 
  41. libraries: libpthread.so.0: cannot open shared object file: No such file or directory
exec vipca by root:
  1. [root@rac2 bin]# ./vipca
  2. Error 0(Native: listNetInterfaces:[3])
  3. [Error 0(Native: listNetInterfaces:[3])]
modify vipca 
  1. #if [ "$arch" = "i686" -o "$arch" = "ia64" -o "$arch" = "x86_64" ]
  2. #then
  3. #LD_ASSUME_KERNEL=2.4.19
  4. #export LD_ASSUME_KERNEL
  5. #fi
  6. #unset LD_ASSUME_KERNEL 

modify srvctl
  1. 165 #Remove this workaround when the bug 3937317 is fixed
  2. 166 #LD_ASSUME_KERNEL=2.4.19
  3. 167 #export LD_ASSUME_KERNEL
public,pri都是私有地址的缘故,需要指定:
  1. [root@rac2 bin]#./oifcfg setif -global eth0/10.0.127.128:public
  2. [root@rac2 bin]#./oifcfg setif -global eth1/192.168.0.0:cluster_interconnect
  3. [root@rac2 bin]#./oifcfg getif         #查看
  4. eth0 10.0.127.128 global public
  5. eth1 192.168.0.0 global cluster_interconnect
3.on rac2 exec vipca by root
  1. [root@rac2 bin]#./vipca
  2. 在OUI界面输入rac1,rac2的alias/vip/mask
4.check ok ,on the OUI window.


http://space.itpub.net/457986/viewspace-607057
http://jingh3209.blog.163.com/blog/static/1569667200963123010754/


阅读(2359) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~