sitemap

RSS地图

收藏本站

设为首页

Oracle研究中心

当前位置:Oracle研究中心 > 产品DBA > Oracle RAC >

【学习笔记】Oracle RAC安装 测试安装 ORACLE 12C 单节点RAC

时间:2016-06-30 10:34   来源:Oracle研究中心   作者:惜分飞   点击:

天萃荷净 分享一篇Oracle 12C RAC的安装案例,含详细的安装步骤和安装截图

装过ORACLE 12C RAC 的朋友应该感觉到12C的RAC简直就是一个怪物,需要消耗太多的内存、IO、CPU资源,在没有物理机器的情况下,使用虚拟机装ORACLE 12C RAC那可能需要比较好的主机资源(8G的内存不运行主机,仅仅够2个节点的虚拟机运行,所以8G的内存主机基本上无法ORACLE 12C 2节点RAC),而没有好的资源情况下,又需要玩12C RAC功能的朋友,我这里展示了单节点RAC(一个节点的RAC的rac),这里主要显示的是单节点RAC和多节点RAC安装不同之处,同时这里的安装也仅仅是为了玩

1.Oracle 12C RAC内存要求

12c_rac_require


2.Oracle 12C Rac 准备环境

 

[oracle@oracleplus ~]$ more /etc/oracle-release 
Oracle Linux Server release 5.8

[oracle@oracleplus ~]$ free -m
             total       used       free     shared    buffers     cached
Mem:          4350       4036        313          0          4       2805
-/+ buffers/cache:       1226       3124
Swap:         2047        853       1193

[oracle@oracleplus ~]$ /sbin/ifconfig
eth0      Link encap:Ethernet  HWaddr 00:0C:29:02:1B:A7  
          inet addr:192.168.30.22  Bcast:192.168.30.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:66152 errors:0 dropped:0 overruns:0 frame:0
          TX packets:83647 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:21143877 (20.1 MiB)  TX bytes:44756747 (42.6 MiB)

eth1      Link encap:Ethernet  HWaddr 00:0C:29:02:1B:B1  
          inet addr:10.10.30.22  Bcast:10.10.30.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:8064 errors:0 dropped:0 overruns:0 frame:0
          TX packets:366 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:645158 (630.0 KiB)  TX bytes:64125 (62.6 KiB)

[oracle@oracleplus ~]$ more /etc/hosts
127.0.0.1       localhost.localdomain localhost

10.10.30.22     oracleplus-priv

192.168.30.22   oracleplus
192.168.30.32   oracleplus-vip
192.168.30.42   scan-ip

[root@oracleplus ~]# yum install oracle-validated
[root@oracleplus rpm]# rpm -ivh cvuqdisk-1.0.9-1.rpm

3.Oracle 12C RAC 安装GRID软件

single_rac_gi0.jpg
single_rac_gi1
single_rac_gi2.jpg


4.安装ORACE DB软件

single_rac_db1

 


5.创建Oracle 12C数据库

single_rac_dbca

 


6.Oracle 12C RAC安装结果

 

[root@oracleplus ~]# crsctl status res -t
--------------------------------------------------------------------------------
Name           Target  State        Server                   State details       
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.ASMNET1LSNR_ASM.lsnr
               ONLINE  ONLINE       oracleplus                 STABLE
ora.DATA.dg
               ONLINE  ONLINE       oracleplus                 STABLE
ora.LISTENER.lsnr
               ONLINE  ONLINE       oracleplus                 STABLE
ora.net1.network
               ONLINE  ONLINE       oracleplus                 STABLE
ora.ons
               ONLINE  ONLINE       oracleplus                 STABLE
ora.proxy_advm
               ONLINE  ONLINE       oracleplus                 STABLE
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.LISTENER_SCAN1.lsnr
      1        ONLINE  ONLINE       oracleplus                 STABLE
ora.MGMTLSNR
      1        ONLINE  ONLINE       oracleplus                 169.254.243.16 10.10
                                                             .30.22,STABLE
ora.asm
      1        ONLINE  ONLINE       oracleplus                 STABLE
      2        OFFLINE OFFLINE                               STABLE
      3        OFFLINE OFFLINE                               STABLE
ora.cdb.db
      1        ONLINE  ONLINE       oracleplus                 Open,STABLE
ora.cvu
      1        ONLINE  ONLINE       oracleplus                 STABLE
ora.mgmtdb
      1        ONLINE  ONLINE       oracleplus                 Open,STABLE
ora.oc4j
      1        ONLINE  ONLINE       oracleplus                 STABLE
ora.scan1.vip
      1        ONLINE  ONLINE       oracleplus                 STABLE
ora.oracleplus.vip
      1        ONLINE  ONLINE       oracleplus                 STABLE
--------------------------------------------------------------------------------

[root@oracleplus ~]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:0C:29:02:1B:A7  
          inet addr:192.168.30.22  Bcast:192.168.30.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:66419 errors:0 dropped:0 overruns:0 frame:0
          TX packets:83849 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:21168865 (20.1 MiB)  TX bytes:44798962 (42.7 MiB)

eth0:1    Link encap:Ethernet  HWaddr 00:0C:29:02:1B:A7  
          inet addr:192.168.30.42  Bcast:192.168.30.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

eth0:2    Link encap:Ethernet  HWaddr 00:0C:29:02:1B:A7  
          inet addr:192.168.30.32  Bcast:192.168.30.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

eth1      Link encap:Ethernet  HWaddr 00:0C:29:02:1B:B1  
          inet addr:10.10.30.22  Bcast:10.10.30.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:12244 errors:0 dropped:0 overruns:0 frame:0
          TX packets:368 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:994988 (971.6 KiB)  TX bytes:64536 (63.0 KiB)

eth1:1    Link encap:Ethernet  HWaddr 00:0C:29:02:1B:B1  
          inet addr:169.254.243.16  Bcast:169.254.255.255  Mask:255.255.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:91800 errors:0 dropped:0 overruns:0 frame:0
          TX packets:91800 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:68999524 (65.8 MiB)  TX bytes:68999524 (65.8 MiB)

--------------------------------------ORACLE-DBA----------------------------------------

最权威、专业的Oracle案例资源汇总之【学习笔记】Oracle RAC安装 测试安装 ORACLE 12C 单节点RAC

本文由大师惜分飞原创分享,网址:http://www.oracleplus.net/arch/654.html

Oracle研究中心

关键词:

Oracle RAC安装

安装ORACLE 12C 单节点RAC

Oracle 12C RAC安装截图