版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、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和机器名相同,机器名应较短(原因详见Failed to upgrade Oracle Cluster Registry conf
2、iguration报错)修改机器名:/etc/sysconfig/network网络组件配置多个虚拟机Private NIC引用同一个Vmnet(n)虚拟网卡(启动DHCP服务) 然后使用固定IP不同的服务器绑定不同的地址。使用Vmware创建共享磁盘创建磁盘:vmware-vdiskmanager -c -s 10Gb -a lsilogic -t 0 E:vm_linuxslinuxserver1shareddisk.vmdk设置共享:多个虚拟机文件的vmx都需要修改同样配置:scsi1.present = "TRUE"scsi1:0必须是scsi1:0.present
3、 = "TRUE"scsi1:0.fileName = "E:vm_linuxslinuxserver1shareddisk.vmdk"scsi1:0.mode = "independent-persistent"scsi1.virtualDev = "lsilogic"disk.locking="FALSE"scsi1必须是scsi1(表示所有的节点都可以使用此磁盘).SharedBus="Virtual"相关设置:OCR,VDISK裸设备配置磁盘分区:fdisk /dev
4、/sdb/dev/sdb5 (100M)/dev/sdb6 (50M)添加映射文件:raw /dev/raw/raw1 /dev/sdb5 (OCR)raw /dev/raw/raw2 /dev/sdb6 (Vdisk)随系统自动映射:系统重启后raw后的映射文件会消失,所以需要在启动时完成映射工作(所有NODE):/etc/rc.localraw /dev/raw/raw1 /dev/sdb5 raw /dev/raw/raw2 /dev/sdb6chown oracle:oinstall /dev/raw/*为用户等效性配置 SSH每台服务器以Oracle身份执行:mkdir /.sshc
5、hmod 755 /.ssh/usr/bin/ssh-keygen -t rsa/usr/bin/ssh-keygen -t dsa主服务器以Oracle身份执行:cat /.ssh/id_rsa.pub >> /.ssh/authorized_keyscat /.ssh/id_dsa.pub >> /.ssh/authorized_keysssh oracleds2 cat /.ssh/id_rsa.pub >> /.ssh/authorized_keysssh oracleds2 cat /.ssh/id_dsa.pub >> /.ssh/a
6、uthorized_keyschmod 644 /.ssh/authorized_keys次服务器以Oracle身份执行:cat /.ssh/id_rsa.pub >> /.ssh/authorized_keyscat /.ssh/id_dsa.pub >> /.ssh/authorized_keysssh oracleds1 cat /.ssh/id_rsa.pub >> /.ssh/authorized_keysssh oracleds1 cat /.ssh/id_dsa.pub >> /.ssh/authorized_keyschmod 6
7、44 /.ssh/authorized_keys测试连通性所有的机器都要测试,临时性,下次需要重新执行exec /usr/bin/ssh-agent $SHELL/usr/bin/ssh-addssh ds2 date确保Oracle用户之间的连通有效性在执行集群安装(./runInstaller,dbca,vipca等)前要执行:ssh <public node1 name> datessh <public node2 name> datessh <private node1 name> datessh <private node2 name>
8、 date错误收集执行root.sh报错: Failed to upgrade Oracle Cluster Registry configurationthere is an orable bug causally for the described problem: bug4632899:CSS not starting up if hostname has capital letters - OS SolarisAfter changing hostnames to smaller case we retried CRS installation successfully.执行root.
9、sh的Oracle Cluster Verification Utility Failed(是由于root.sh调用vipca执行失败,详情见下)执行vipca时报错:libpthread.so.0: cannot open shared object file :SRVCTL and VIPCA Utilities Set the LD_ASSUME_KERNEL ParameterThe SRVCTL and VIPCA utilities shipped with Oracle Database 10g release 2 and Oracle Clusterware software
10、set the environmental variable LD_ASSUME_KERNEL. On SUSE Linux Enterprise Server 10, because the older Linux threads API has been removed from GLIBC, setting this parameter causes the SRVCTL and VIPCA utilities to exit with the following error:/opt/oracle/crs/jdk/jre/bin/java: error while loading sh
11、ared libraries: libpthread.so.0: cannot open shared object file:No such file or directoryWorkaround: Comment out the lines that set the LD_ASSUME_KERNEL variable from the VIPCA and SRVCTL utilities. For the VIPCA utility alter the $CRS_HOME/bin/vipca script commenting out lines 119 through 123 as fo
12、llows:arch='uname -m'# if "$arch" = "i686" -o "$arch" = "ia64" -o "$arch" = "x86_64" # then# export LD_ASSUME_KERNEL# fiWith the lines commented out, root.sh should be able to call VIPCA successfully. Ensure that you do not to comme
13、nt out line 118 which sets the arch variable 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 as follows:#Remove this workaround when the bug 3937317 is fixed#export LD_ASSUME_KERNEL执行vipca时报错:Running vipca(silent) for configuring nodeappsError 0(Native: listNetInterfaces:3) Error 0(Native: listNetInterfaces:3)安装CRS过程中,请点击提示执行ro
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 四川省达州铁中2026年初三下学期期末考试语文试题理试题(A卷)含解析
- 四川省自贡市富顺二中学2025-2026学年初三下第8周测试题含解析
- 江苏省泰州市泰州中学2026年高一年级第二学期期末调研英语试题含解析
- 山东省济南市历城区重点名校2026年初三第二次诊断性考试提前模拟语文试题试卷含解析
- 新乡市重点中学2026届初三模拟(最后一次)语文试题含解析
- 湖北省随州市重点名校2025-2026学年初三全真英语试题模拟试卷(2)含解析
- 四川省渠县市级名校2025-2026学年初三语文试题第18周复习试题含解析
- 山东省重点中学2025-2026学年初三5月阶段性检测试题(三模)数学试题含解析
- 学校先学后教当堂训练高效课堂教学模式的借鉴推广模板
- 学校药店营销方案(3篇)
- 幼儿大班认识建筑
- 新工厂安全培训内容简要课件
- 园艺学进展课程课件
- 五类人员笔试真题及答案
- 产品设计文档撰写规范案例示范版
- 蒸汽工程安装方案(3篇)
- 数字孪生应用技术员国家职业标准(2024版)
- 颅内动脉急诊取栓技术
- 2025年四川大学教育培训部业务岗工作人员招聘考前自测高频考点模拟试题附答案详解
- 江苏省2025年接受高级访问学者的高等学校
- 村民自治课件
评论
0/150
提交评论