版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
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年南昌大学第一附属医院院前急救科驾驶员岗招聘1人笔试备考试题及答案解析
- 2026河南平顶山枫叶高级中学教师招聘笔试备考试题及答案解析
- 2026年湖北城市建设职业技术学院单招综合素质笔试模拟试题含详细答案解析
- 2026福建省电子口岸运营服务有限公司社会招聘1人(Java全栈工程师)笔试备考试题及答案解析
- 2026国家统计局宣威调查队综合岗招聘1人(云南)笔试备考题库及答案解析
- 2026年哈尔滨市第二十中学校招聘临聘教师1笔试备考题库及答案解析
- 2026年鞍山职业技术学院单招综合素质考试备考题库含详细答案解析
- 2026乌鲁木齐市第三十九小学招聘语文教师笔试备考题库及答案解析
- 2026年芜湖臻鑫智镁科技有限公司公开招聘笔试备考试题及答案解析
- 2026年宿州九中教育集团(宿马南校区)教师招聘14人笔试备考试题及答案解析
- Python深度学习入门(从零构建CNN和RNN)
- 小学信息科技课堂中人工智能教育实践研究教学研究课题报告
- 2026北京海淀初三上学期期末数学试卷和答案
- 设备拆除安全培训内容课件
- 麻绳手工创意课件
- 病房急危重症患者抢救流程
- 非遗宋锦课件
- 2023年云南省中考数学真题(原卷版)
- 人工影响天气培训
- 2025年中考数学模拟考试卷(附答案)
- 铁矿球团工程设计规范
评论
0/150
提交评论