Solaris 10(x86)构建Oracle 10g RAC之--安装CRS

系统环境:

操作系统:Solaris 10(x86-64)

Cluster: Oracle CRS 10.2.0.1.0

Oracle:  Oracle 10.2.0.1.0


如图所示:RAC 系统架构

二、CRS 安装

     Cluster Ready Service是Oracle 构建RAC,负责集群资源管理的软件,在搭建RAC中必须首先安装.

安装需采用图形化方式,以Oracle用户的身份安装(在node1上):

解压CRS安装包:

[[email protected]:/export/home/oracle]$ unzip 10201_clusterware_solx86_64.zip

跳过系统环境检测:

[[email protected]:/export/home/oracle/clusterware]$ ./runInstaller -ignoreSysPrereps


注意:以上安装路径为CRS安装路径


添加node2信息

修改网络属性

指定OCR磁盘位置

指定VOTE磁盘位置

运行脚本:(所有node)

[[email protected]:/]# /export/home/ora10/oraInventory/orainstRoot.sh 
Changing permissions of /export/home/ora10/oraInventory to 770.
Changing groupname of /export/home/ora10/oraInventory to oinstall.
The execution of the script is complete

[[email protected]:/]# /export/home/ora10/oraInventory/orainstRoot.sh 
Changing permissions of /export/home/ora10/oraInventory to 770.
Changing groupname of /export/home/ora10/oraInventory to oinstall.
The execution of the script is complete
[[email protected]:/]# /export/home/crs_1/root.sh
Checking to see if Oracle CRS stack is already configured
Setting the permissions on OCR backup directory
Setting up NS directories
Oracle Cluster Registry configuration upgraded successfully
Successfully accumulated necessary OCR keys.
Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.
node <nodenumber>: <nodename> <private interconnect name> <hostname>
node 1: node1 node1-priv node1
node 2: node2 node2-priv node2
Creating OCR keys for user ‘root‘, privgrp ‘root‘..
Operation successful.
Now formatting voting device: /oracle/vote
Format of 1 voting devices complete.
Startup will be queued to init within 30 seconds.
Adding daemons to inittab
Expecting the CRS daemons to be up within 600 seconds.
CSS is active on these nodes.
        node1
CSS is inactive on these nodes.
        node2
Local node checking complete.
Run root.sh on remaining nodes to start CRS daemons.

[[email protected]:/]# /export/home/crs_1/root.sh 
Checking to see if Oracle CRS stack is already configured
Setting the permissions on OCR backup directory
Setting up NS directories
Oracle Cluster Registry configuration upgraded successfully
clscfg: EXISTING configuration version 3 detected.
clscfg: version 3 is 10G Release 2.
Successfully accumulated necessary OCR keys.
Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.
node <nodenumber>: <nodename> <private interconnect name> <hostname>
node 1: node1 node1-priv node1
node 2: node2 node2-priv node2
clscfg: Arguments check out successfully.
NO KEYS WERE WRITTEN. Supply -force parameter to override.
-force is destructive and will destroy any previous cluster
configuration.
Oracle Cluster Registry for cluster has already been initialized
Startup will be queued to init within 30 seconds.
Adding daemons to inittab
Expecting the CRS daemons to be up within 600 seconds.
CSS is active on these nodes.
        node1
        node2
CSS is active on all nodes.
Waiting for the Oracle CRSD and EVMD to start
Oracle CRS stack installed and running under init(1M)
Running vipca(silent) for configuring nodeapps
Creating VIP application resource on (2) nodes...
Creating GSD application resource on (2) nodes...
Creating ONS application resource on (2) nodes...
Starting VIP application resource on (2) nodes...
Starting GSD application resource on (2) nodes...
Starting ONS application resource on (2) nodes...
Done.

@脚本运行成功 !

查看CRS服务和资源信息:

[[email protected]:/]# vi /etc/profile
export PATH=$PATH:/export/home/crs_1/bin

[[email protected]:/]# crsctl check crs
CSS appears healthy
CRS appears healthy
EVM appears healthy

[[email protected]:/]# crs_stat -t
Name           Type           Target    State     Host        
------------------------------------------------------------
ora.node1.gsd  application    ONLINE    ONLINE    node1       
ora.node1.ons  application    ONLINE    ONLINE    node1       
ora.node1.vip  application    ONLINE    ONLINE    node1       
ora.node2.gsd  application    ONLINE    ONLINE    node2       
ora.node2.ons  application    ONLINE    ONLINE    node2       
ora.node2.vip  application    ONLINE    ONLINE    node2

[[email protected]:/]# crsctl check crs
CSS appears healthy
CRS appears healthy
EVM appears healthy

[[email protected]:/]# crs_stat -t
Name           Type           Target    State     Host        
------------------------------------------------------------
ora.node1.gsd  application    ONLINE    ONLINE    node1       
ora.node1.ons  application    ONLINE    ONLINE    node1       
ora.node1.vip  application    ONLINE    ONLINE    node1       
ora.node2.gsd  application    ONLINE    ONLINE    node2       
ora.node2.ons  application    ONLINE    ONLINE    node2       
ora.node2.vip  application    ONLINE    ONLINE    node2

@至此,CRS安装成功!

时间: 2024-08-12 08:15:29

Solaris 10(x86)构建Oracle 10g RAC之--安装CRS的相关文章

Solaris 10(x86)构建Oracle 10g RAC之--安装Oracle软件

系统环境: 操作系统:Solaris 10(x86-64) Cluster: Oracle CRS 10.2.0.1.0 Oracle:  Oracle 10.2.0.1.0 如图所示:RAC 系统架构 三.Oracle软件安装 在构建.配置完成CRS以后,就可以安装Oracle软件 安装需采用图形化方式,以Oracle用户的身份安装(在node1上): 选择"Cluster Installation" 运行脚本:(所有node) [[email protected]:/]# /exp

Solaris 10(x86)构建Oracle 10g RAC之--配置系统环境(2)

Solaris 10(x86)构建Oracle 10g RAC之--配置系统环境(2) 系统环境: 操作系统:Solaris 10(x86-64) Cluster: Oracle CRS 10.2.0.1.0 Oracle:  Oracle 10.2.0.1.0 如图所示:RAC 系统架构 一.建立主机之间的信任关系(在所有node) 1.配置主机hosts.equiv文件 [[email protected]:/]# cat /etc/hosts.equiv  node1  root node

Solaris 10(x86)构建Oracle 10g RAC之--建立数据库

Solaris 10(x86)构建Oracle 10g RAC之--建立数据库 系统环境: 操作系统:Solaris 10(x86-64) Cluster: Oracle CRS 10.2.0.1.0 Oracle:  Oracle 10.2.0.1.0 如图所示:RAC 系统架构 四.通过netca建立监听器      对于listener可以通过netca在建库之前建立,也可以在用dbca建库时来建立. Listener建立成功,验证: [[email protected]:/]# crs_

Solaris 10(x86)构建Oracle 10g RAC之--配置系统环境(1)

系统环境: 操作系统:Solaris 10(x86-64) Cluster: Oracle CRS 10.2.0.1.0 Oracle:  Oracle 10.2.0.1.0 如图所示:RAC 系统架构 一.操作系统环境 1.网络配置(在所有节点) [[email protected]:/]# cat /etc/inet/ipnodes  # # Internet host table # ::1     localhost        127.0.0.1       localhost   

Solaris 10(x86)构建Oracle 11gR2 RAC之--配置系统环境(2)

系统环境: 操作系统:Solaris 10(x86-64) Cluster: Oracle GRID 11.2.0 Oracle:  Oracle 11.2.0.1.0 如图所示:RAC 系统架构 对于Oracle 11G构建RAC首先需要构建GI(Grid Infrastructure)的架构 三.安装相关软件和补丁包(所有node) 1.检查软件包: [[email protected]:/]# pkginfo -i SUNWarc SUNWbtool SUNWhea SUNWlibm SU

AIX 5.3下Oracle 10g RAC 启动故障--CRS启动失败

AIX 5.3下Oracle 10g RAC 启动故障--CRS启动失败 系统环境: 操作系统: AIX 5300-09 集群软件: CRS 10.2.0.1 数据库:   Oracle 10.2.0.1                     系统架构图 故障现象: 系统重启后,在节点上CRS 启动失败或CRS服务启动成功,CRS Resource无法ONLINE. [[email protected] racg] cat /etc/hosts 127.0.0.1              

Oracle Study之-AIX6.1构建Oracle 10gR2 RAC(1)

Oracle Study之-AIX6.1构建Oracle 10gR2 RAC(1) 环境: 操作系统: AIX 6100-09(SP3) 集群软件: CRS 10.2.0.1 数据库:   Oracle 10.2.0.1 构建AIX平台下RAC 依据共享存储的使用方式可以分两种: 1.建立基于并发卷组(VG concurrent)的共享存储 2.建立基于ASM下的RAW的共享存储 系统架构: 本案例是用于基于VG Concurrent 的共享存储: 一.查看系统环境信息 [[email prot

Oracle Study之-AIX6.1构建Oracle 10gR2 RAC(4)

Oracle Study之-AIX6.1构建Oracle 10gR2 RAC(4) 一.安装CRS补丁 在安装CRS之前,需要安装补丁p6718715_10203_AIX64-5L,否则在安装时会出现"无法发现node"的错误. [[email protected] /]#cd /home/oracle/p6718715_10203_AIX64-5L/ 补丁解压后,只需要以root身份运行"root.sh"即可: [[email protected] p671871

RedHat EL5 安装Oracle 10g RAC之--CRS 安装

RedHat EL5 安装Oracle 10g RAC之--CRS 安装 系统环境: 操作系统:RedHat EL5 Cluster: Oracle CRS 10.2.0.1.0 Oracle:  Oracle 10.2.0.1.0 如图所示:RAC 系统架构 二.CRS 安装   Cluster Ready Service是Oracle 构建RAC,负责集群资源管理的软件,在搭建RAC中必须首先安装. 安装需采用图形化方式,以Oracle用户的身份安装(在node1上): 注意:修改安装配置文