[原创]zero downtime using goldengate实现oracle 12C升级系列 第四篇:集群安装

1. 图形化界面,我用的软件是MobaXterm Personal Edition,

直接ssh [email protected]_server,然后./runInstaller就可以弹出图形化界面,当然还有其他工具如vnc可以实现图形化,这里就略过不提了,下面直接开始安装。

2.关于软件下载,在mos上面下载

Installation Type Zip File

Oracle Database (includes Oracle Database, Oracle RAC, and Deinstall)

Note: you must download both zip files to install Oracle Database Enterprise Edition.


p21419221_121020_platform_1of10.zip

p21419221_121020_platform_2of10.zip


Oracle Database SE2 (includes Oracle Database SE2, Oracle RAC, and Deinstall)

Note: you must download both zip files to install Oracle Database SE2.


p21419221_121020_platform_3of10.zip

p21419221_121020_platform_4of10.zip


Oracle Grid Infrastructure (includes Oracle ASM, Oracle Clusterware, and Oracle Restart)

Note: you must download both zip files to install Oracle Grid Infrastructure.


p21419221_121020_platform_5of10.zip

p21419221_121020_platform_6of10.zip


Oracle Database Client


p21419221_121020_platform_7of10.zip


Oracle Gateways


p21419221_121020_platform_8of10.zip


Oracle Examples


p21419221_121020_platform_9of10.zip


Oracle GSM


p21419221_121020_platform_10of10.zip

3.安装

AFTER WE TEST successfully,

We run cluvfy pre crsinst,refer to below:

./runcluvfy.sh stage -pre crsinst -n node1_hostname,node2_hostname

.....(log output)

Pre-check for cluster services setup was successful.

顺序跑完runcluvfy,就继续安装

在这里创建OCR相关的磁盘组

Here we only create OCR_VTE DG

OCR_VTE01,02,03 these three disks is from last step that we use createdisk to create.

And in this step,I met a bug,which if I named the DG OCR_VOTE,it will hit the bug.

Case 2.5 same storage sub-system are shared by different clusters and same diskgroup name exists in more than one cluster

<ADR_HOME>/crs/<node>/crs/trace/ocrdump_<pid>.trc

2015-07-17 16:57:00.532160 : OCRRAW: AMDU-00211: Inconsistent disks in diskgroup OCR

Solution:

The issue was investigated in bug 21469989, the cause is that multiple clusters are having the same diskgroup name and seeing the same shared disks, the workaround is to change diskgroup name for the new cluster.

An example will be that both cluster1 and cluster2 are seeing the same physical disks /dev/mappers/disk1-10, disk1-5 are allocated to cluster1 and disk6-10 are allocated to cluster2, however, both cluster are trying to use the same diskgroup name dgsys.

Ref: BUG 21469989 - CLSRSC-507 ROOT.SH FAILING ON NODE 2 WHEN CHECKING GLOBAL CHECKPOINT

这里遇到的bug就是在给OCR磁盘组命名的时候,如果命名为OCR_VOTE的话,在后续的跑root.sh时候,在第二个节点跑root.sh一直failed,报的错就是AMDU-00211: Inconsistent disks in diskgroup OCR。所以后面在重装的时候就不在命名为OCR_VOTE了,命名为OCR_VTE。

在给Oracle提SR以后,经过分析是遇到了上述的bug。

关于分析这个bug的过程,在这个系列大致完成后会专门写一个分析的文章。

先要确保第一个节点跑成功,再去第二个节点跑。

这里只附上节点2的log

-bash-4.1$ sudo /u01/app/12.1.0/grid/root.sh

The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /u01/app/12.1.0/grid

Enter the full pathname of the local bin directory: [/usr/local/bin]:
The file "dbhome" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]:
The file "oraenv" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]:
The file "coraenv" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]:

Creating /etc/oratab file...
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root script.
Now product-specific root actions will be performed.
Using configuration parameter file: /u01/app/12.1.0/grid/crs/install/crsconfig_params
2017/01/11 03:05:04 CLSRSC-4001: Installing Oracle Trace File Analyzer (TFA) Collector.

2017/01/11 03:05:28 CLSRSC-4002: Successfully installed Oracle Trace File Analyzer (TFA) Collector.

2017/01/11 03:05:29 CLSRSC-363: User ignored prerequisites during installation

OLR initialization - successful
2017/01/11 03:06:43 CLSRSC-330: Adding Clusterware entries to file ‘oracle-ohasd.conf‘

CRS-4133: Oracle High Availability Services has been stopped.
CRS-4123: Oracle High Availability Services has been started.
CRS-4133: Oracle High Availability Services has been stopped.
CRS-4123: Oracle High Availability Services has been started.
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on ‘node2‘
。。。。。。。。。。。。。。。。(省略)
CRS-4123: Oracle High Availability Services has been started.
2017/01/11 03:14:22 CLSRSC-343: Successfully started Oracle Clusterware stack

2017/01/11 03:14:37 CLSRSC-325: Configure Oracle Grid Infrastructure for a Cluster ... succeeded

verify the grid installation

./crsctl stat res -t

crsctl check crs

./crsctl check cluster -all

./cluvfy stage -post crsinst -n node1_name
./cluvfy stage -post crsinst -n node2_name

Post-check for cluster services setup was successful.

crsctl check cluster –all

olsnodes –n

ocrcheck

crsctl query css votedisk

经过上面的一些命令查看,集群安装成功。

======================ENDED======================

时间: 2024-10-11 14:59:49

[原创]zero downtime using goldengate实现oracle 12C升级系列 第四篇:集群安装的相关文章

[原创]zero downtime using goldengate实现oracle 12C升级系列 第三篇:asmlib配置

1. All nodes as root rpm -ivh oracleasmlib-2.0.4-1.el6.x86_64.rpm rpm -qa *asm* kmod-oracleasm-2.0.8-13.0.1.el6_8.x86_64 oracleasm-support-2.1.8-1.el6.x86_64 oracleasmlib-2.0.4-1.el6.x86_64 rpm -qa cvu*cvuqdisk-1.0.9-1.x86_64 2.装完上述必备的rpm之后就可以开始配置asm

企业级中间件应用WebLogic11g/12c集群安装布署配置培训视频课程全套

企业级中间件应用WebLogic11g/12c集群安装布署配置培训视频课程全套 套餐介绍:高薪必学的企业级中间件应用WebLogic实施教程. 基础:中间件的概念,WebLogic概念,域,JDK,JVM,数据源,连接池,控制台,集群相关. 实战:1.企业级应用系统项目的实施流程,如调研,方案,规划等;2.Oracle WebLogic11g与WebLogic12c集群配置与实施维护;4.WebLogic在windows与Linux平台下的实施与维护;5.不同平台下JDK安装与JVM参数优化;6

【Oracle 集群】Oracle 11G RAC教程之集群安装(七)

Oracle 11G RAC集群安装(七) 概述:写下本文档的初衷和动力,来源于上篇的<oracle基本操作手册>.oracle基本操作手册是作者研一假期对oracle基础知识学习的汇总.然后形成体系的总结,一则进行回顾复习,另则便于查询使用.本图文文档亦源于此.阅读Oracle RAC安装与使用教程前,笔者先对这篇文章整体构思和形成进行梳理.由于阅读者知识储备层次不同,我将从Oracle RAC安装前的准备与规划开始进行整体介绍安装部署Oracle RAC.始于唐博士指导,对数据库集群进行配

Oracle RAC集群安装之:Grid软件安装过程蓝屏

前几天在安装一套RAC服务器的过程中,遇到了蓝屏事件,折腾了蛮久(在排查是否存在硬件问题上花费了相当多一部分时间),整个过程大概说明如下: 1.两台华为的PC SERVER,操作系统为WIN SERVER 2008 R2,装11.2.0.3的Oracle集群. 2.第一次安装到准备在第二节点进行GRID安装的步骤时,安装操作所在的节点1蓝屏自动重启了. 3.重启节点1每次都会在出现登陆界面前一刻发生蓝屏. 4.集成部门的同事查看两台服务器的面板,发现蓝屏的服务器在面板上有些指示灯不亮,怀疑是服务

Linux系统Oracle 12cR2 RAC集群安装与维护管理(12.2)专题

风哥Linux系统Oracle 12cR2 RAC集群安装与维护管理(12.2)专题包括内容: Oracle数据库12cR2(项目实战之一):在Windows上安装Oracle12.2 Oracle数据库12cR2(项目实战之五):Oracle12.2 RAC集群实施与维护 Oracle数据库12cR2(项目实战之六):Oracle12.2 RAC集群管理之增删节点 Oracle数据库12cR2(项目实战之七):Oracle12.2 RAC集群管理之修改IP地址 视频学习地址:http://ed

重庆专业oracle数据库集群安装服务-重庆思庄科技

核心词:重庆思庄,Oracle技术支持电话:023-68429836,Oracle数据库集群安装服务,性能调整,oracle数据库升级服务,Oracle不能启动,Oracle慢,Oracle数据库挂起,节点异常重启,不能连接Oracle,DG不能同步,...国内知名Oracle专家团队!为您解决各种Oracle疑难问题! Oracle数据库的RAC架构全面实施了数据库网格计算,Oracle RAC充分利用硬件,操作系统和公共存储的综合能力来提供强大的可靠性和可扩展性.Oracle RAC的优越性

安装ORACLE高可用RAC集群11g校验集群安装的可行性输出信息

安装ORACLE高可用RAC集群11g校验集群安装的可行性输出信息 作者:Eric 微信:loveoracle11g [[email protected] grid]$ ./runcluvfy.sh stage -pre crsinst -fixup -n node1,node2 -verbose Performing pre-checks for cluster services setup Checking node reachability... Check: Node reachabil

Oracle RAC集群安装

安装企业版Oracle数据库需要安装两部分:Oracle RAC, Oracle Database. Oracle RAC原理请参考这篇文章.本篇原创介绍的是RAC 安装的实操部分,数据库的安装部分请参考这篇文章. 以Oracle 12C为例. Oracle官方网站下载grid 安装包: http://www.oracle.com/technetwork/database/enterprise-edition/downloads/oracle12c-linux-12201-3608234.htm

weblogic 12c 一键静默建域、集群、受管,计算机以及添加受管到集群

1.静默安装(参照以往文章) 2.静默建域.集群.受管,计算机以及添加受管到集群 编写响应文件,内容包括主管端口,ssl端口,集群名字,受管名字,计算机名字,以及受管添加到哪个集群并且设置主管密码 [[email protected] ~]$ cat creat.rsp read template from "/home/weblogic/Oracle/Middleware/Oracle_Home/wlserver/common/templates/wls/wls.jar"; set