RAC安装配置注意文档(Linux版)

上传人:博****1 文档编号:563584861 上传时间:2023-02-01 格式:DOCX 页数:8 大小:260.43KB
返回 下载 相关 举报
RAC安装配置注意文档(Linux版)_第1页
第1页 / 共8页
RAC安装配置注意文档(Linux版)_第2页
第2页 / 共8页
RAC安装配置注意文档(Linux版)_第3页
第3页 / 共8页
RAC安装配置注意文档(Linux版)_第4页
第4页 / 共8页
RAC安装配置注意文档(Linux版)_第5页
第5页 / 共8页
点击查看更多>>
资源描述

《RAC安装配置注意文档(Linux版)》由会员分享,可在线阅读,更多相关《RAC安装配置注意文档(Linux版)(8页珍藏版)》请在金锄头文库上搜索。

1、WORD格式CRS 安装配置注意文档工作环境:Microsoft Windows XP Professional Service Pack 3Vmware 版本:Vmware GSX Server 3.2.1 build-19281Linux版本: Oracle Enterprise-R5-U2-Servercrs:10201_clusterware_linux32.ziporacle_home:10201_database_linux32.zip关于 PUBLIC NODE NAME专业资料整理WORD格式和机器名一样,机器名应较短原因详见Registry configuration报错Fa

2、iled to upgrade Oracle Cluster修改机器名:/etc/sysconfig/network专业资料整理WORD格式网络组件配置多个虚拟机PrivateNIC 引用同一个Vmnet(n)虚拟网卡 ( 启动 DHCP效劳)然后使用固定 IP 不同的效劳器绑定不同的地址。使用 Vmware创立共享磁盘创立磁盘:vmware-vdiskmanager-c-s10Gb-alsilogic-t0E:vm_linuxslinuxserver1shareddisk.vmdk设置共享:多个虚拟机文件的vmx 都需要修改同样配置:scsi1.present = TRUEscsi1:0.p

3、resent = TRUEscsi1:0.fileName = E:vm_linuxslinuxserver1shareddisk.vmdkscsi1:0.mode = independent-persistentscsi1.virtualDev = lsilogicdisk.locking=FALSEscsi1.SharedBus=Virtual专业资料整理WORD格式相关设置:OCR,VDISK裸设备配置磁盘分区:fdisk /dev/sdb/dev/sdb5 (100M)/dev/sdb6 (50M)添加映射文件:raw /dev/raw/raw1 /dev/sdb5(OCR)raw /

4、dev/raw/raw2 /dev/sdb6(Vdisk)随系统自动映射:系统重启后raw后的映射文件会消失,所以需要在启动时完成映射工作( 所有 NODE) :/etc/rc.local专业资料整理WORD格式raw /dev/raw/raw1 /dev/sdb5raw /dev/raw/raw2 /dev/sdb6chown oracle:oinstall /dev/raw/*为用户等效性配置SSH每台效劳器以Oracle 身份执行:mkdir /.sshchmod 755 /.ssh/usr/bin/ssh-keygen -t rsa/usr/bin/ssh-keygen -t dsa主

5、效劳器以Oracle 身份执行:cat /.ssh/id_rsa.pub /.ssh/authorized_keyscat /.ssh/id_dsa.pub /.ssh/authorized_keysssh oracleds2 cat /.ssh/id_rsa.pub /.ssh/authorized_keys ssh oracleds2 cat /.ssh/id_dsa.pub /.ssh/authorized_keys chmod 644 /.ssh/authorized_keys次效劳器以Oracle 身份执行:cat /.ssh/id_rsa.pub /.ssh/authorized_

6、keyscat /.ssh/id_dsa.pub /.ssh/authorized_keysssh oracleds1 cat /.ssh/id_rsa.pub /.ssh/authorized_keys ssh oracleds1 cat /.ssh/id_dsa.pub /.ssh/authorized_keys chmod 644 /.ssh/authorized_keys测试连通性所有的机器都要测试,临时性,下次需要重新执行exec /usr/bin/ssh-agent $SHELL/usr/bin/ssh-addssh ds2 date确保 Oracle用户之间的连通有效性在执行集群

7、安装(./runInstaller,dbca,vipca等 ) 前要执行:ssh date专业资料整理WORD格式ssh datessh datessh date错误收集执 行root.sh报 错 :FailedtoupgradeOracleCluster Registry configurationthereisan orablebugcausallyforthedescribedproblem:bug4632899:CSS not starting up if hostname has capital letters - OS SolarisAfterchanginghostnamesto

8、smallercasewe retriedCRS installationsuccessfully.执 行root.sh的OracleClusterVerificationUtility Failed专业资料整理WORD格式(是由于root.sh调用 vipca执行失败,详情见下)专业资料整理WORD格式执行vipca 时报错 :libpthread.so.0: cannot openshared object file :SRVCTL and VIPCA Utilities Set the LD_ASSUME_KERNEL ParameterTheSRVCTL and VIPCA utili

9、tiesshippedwithOracleDatabase10 g release2 andOracleClusterwaresoftwaresettheenvironmentalvariableLD_ASSUME_KERNEL.On SUSE LinuxEnterpriseServer10,becausethe olderLinuxthreadsAPIhasbeenremoved fromGLIBC,settingthisparametercausesthe SRVCTLandVIPCAutilitiestoexit withthefollowingerror:/opt/oracle/crs

10、/jdk/jre/bin/java:error while loading shared libraries:libpthread.so.0: cannot open shared object file:No such file or directoryWorkaround:CommentoutthelinesthatsettheLD_ASSUME_KERNELvariable from the VIPCA and SRVCTL utilities. For the VIPCA utilityalterthe $CRS_HOME/bin/vipcascriptcommentingoutlin

11、es119 through123 as follows:arch=uname -m#if$arch= i686-o$arch= ia64-o $arch= x86_64# then# LD_ASSUME_KERNEL=2.4.19# export LD_ASSUME_KERNEL# fiWith the lines commented out, root.sh should be able to call VIPCA successfully. Ensure that you do not to comment out line 118 which sets the arch variable

12、 as that is needed by the script.For the SRVCTL utility alter the $CRS_HOME/bin/srvctl and the $ORACLE_HOME/bin/srvctl scripts commenting out lines 173 and 174 asfollows:#Remove this workaround when the bug 3937317 is fixed#LD_ASSUME_KERNEL=2.4.19#export LD_ASSUME_KERNEL执 行vipca时 报 错 :Runningvipca(silent)forconfiguri

展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 高等教育 > 习题/试题

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号