设为首页 收藏本站
查看: 674|回复: 0

[经验分享] Oracle 12c RAC Flex Cluster & Flex ASM安装配置截图

[复制链接]
累计签到:1 天
连续签到:1 天
发表于 2014-4-1 09:45:53 | 显示全部楼层 |阅读模式

配置dhcp和dns服务器过程省略


Center.jpg


Center.jpg


Center.jpg


Center.jpg


Center.jpg


Center.jpg


Center.jpg


Center.jpg


Center.jpg


Center.jpg


Center.jpg


Center.jpg


Center.jpg


Center.jpg


Center.jpg




--root.sh

[iyunv@vzwc1 ~]# /u01/app/12.1.0/grid/root.sh
Performing root user operation for Oracle 12c


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


Enter the full pathname of the local bin directory: [/usr/local/bin]:
   Copying dbhome to /usr/local/bin ...
   Copying oraenv to /usr/local/bin ...
   Copying coraenv to /usr/local/bin ...




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
2014/03/31 22:27:28 CLSRSC-363: User ignored prerequisites during installation


OLR initialization - successful
  root wallet
  root wallet cert
  root cert export
  peer wallet
  profile reader wallet
  pa wallet
  peer wallet keys
  pa wallet keys
  peer cert request
  pa cert request
  peer cert
  pa cert
  peer root cert TP
  profile reader root cert TP
  pa root cert TP
  peer pa cert TP
  pa peer cert TP
  profile reader pa cert TP
  profile reader peer cert TP
  peer user cert
  pa user cert
2014/03/31 22:28:16 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-2673: Attempting to stop 'ora.drivers.acfs' on 'vzwc1'
CRS-2677: Stop of 'ora.drivers.acfs' on 'vzwc1' succeeded
CRS-2672: Attempting to start 'ora.evmd' on 'vzwc1'
CRS-2672: Attempting to start 'ora.mdnsd' on 'vzwc1'
CRS-2676: Start of 'ora.evmd' on 'vzwc1' succeeded
CRS-2676: Start of 'ora.mdnsd' on 'vzwc1' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'vzwc1'
CRS-2676: Start of 'ora.gpnpd' on 'vzwc1' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'vzwc1'
CRS-2672: Attempting to start 'ora.gipcd' on 'vzwc1'
CRS-2676: Start of 'ora.cssdmonitor' on 'vzwc1' succeeded
CRS-2676: Start of 'ora.gipcd' on 'vzwc1' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'vzwc1'
CRS-2672: Attempting to start 'ora.diskmon' on 'vzwc1'
CRS-2676: Start of 'ora.diskmon' on 'vzwc1' succeeded
CRS-2676: Start of 'ora.cssd' on 'vzwc1' succeeded


ASM created and started successfully.


Disk Group CRSDG created successfully.


CRS-2672: Attempting to start 'ora.crf' on 'vzwc1'
CRS-2672: Attempting to start 'ora.storage' on 'vzwc1'
CRS-2676: Start of 'ora.storage' on 'vzwc1' succeeded
CRS-2676: Start of 'ora.crf' on 'vzwc1' succeeded
CRS-2672: Attempting to start 'ora.crsd' on 'vzwc1'
CRS-2676: Start of 'ora.crsd' on 'vzwc1' succeeded
CRS-4256: Updating the profile
Successful addition of voting disk 51332438a70f4f9bbfa2929f3d26d842.
Successfully replaced voting disk group with +CRSDG.
CRS-4256: Updating the profile
CRS-4266: Voting file(s) successfully replaced
##  STATE    File Universal Id                File Name Disk group
--  -----    -----------------                --------- ---------
1. ONLINE   51332438a70f4f9bbfa2929f3d26d842 (/dev/asm-diskd) [CRSDG]
Located 1 voting disk(s).
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'vzwc1'
CRS-2673: Attempting to stop 'ora.crsd' on 'vzwc1'
CRS-2677: Stop of 'ora.crsd' on 'vzwc1' succeeded
CRS-2673: Attempting to stop 'ora.gpnpd' on 'vzwc1'
CRS-2673: Attempting to stop 'ora.evmd' on 'vzwc1'
CRS-2673: Attempting to stop 'ora.storage' on 'vzwc1'
CRS-2673: Attempting to stop 'ora.mdnsd' on 'vzwc1'
CRS-2673: Attempting to stop 'ora.drivers.acfs' on 'vzwc1'
CRS-2677: Stop of 'ora.storage' on 'vzwc1' succeeded
CRS-2677: Stop of 'ora.drivers.acfs' on 'vzwc1' succeeded
CRS-2677: Stop of 'ora.gpnpd' on 'vzwc1' succeeded
CRS-2677: Stop of 'ora.mdnsd' on 'vzwc1' succeeded
CRS-2677: Stop of 'ora.evmd' on 'vzwc1' succeeded
CRS-2673: Attempting to stop 'ora.crf' on 'vzwc1'
CRS-2673: Attempting to stop 'ora.ctssd' on 'vzwc1'
CRS-2673: Attempting to stop 'ora.asm' on 'vzwc1'
CRS-2677: Stop of 'ora.crf' on 'vzwc1' succeeded
CRS-2677: Stop of 'ora.ctssd' on 'vzwc1' succeeded
CRS-2677: Stop of 'ora.asm' on 'vzwc1' succeeded
CRS-2673: Attempting to stop 'ora.cluster_interconnect.haip' on 'vzwc1'
CRS-2677: Stop of 'ora.cluster_interconnect.haip' on 'vzwc1' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'vzwc1'
CRS-2677: Stop of 'ora.cssd' on 'vzwc1' succeeded
CRS-2673: Attempting to stop 'ora.gipcd' on 'vzwc1'
CRS-2677: Stop of 'ora.gipcd' on 'vzwc1' succeeded
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'vzwc1' has completed
CRS-4133: Oracle High Availability Services has been stopped.
CRS-4123: Starting Oracle High Availability Services-managed resources
CRS-2672: Attempting to start 'ora.mdnsd' on 'vzwc1'
CRS-2672: Attempting to start 'ora.evmd' on 'vzwc1'
CRS-2676: Start of 'ora.evmd' on 'vzwc1' succeeded
CRS-2676: Start of 'ora.mdnsd' on 'vzwc1' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'vzwc1'
CRS-2676: Start of 'ora.gpnpd' on 'vzwc1' succeeded
CRS-2672: Attempting to start 'ora.gipcd' on 'vzwc1'
CRS-2676: Start of 'ora.gipcd' on 'vzwc1' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'vzwc1'
CRS-2676: Start of 'ora.cssdmonitor' on 'vzwc1' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'vzwc1'
CRS-2672: Attempting to start 'ora.diskmon' on 'vzwc1'
CRS-2676: Start of 'ora.diskmon' on 'vzwc1' succeeded
CRS-2789: Cannot stop resource 'ora.diskmon' as it is not running on server 'vzwc1'
CRS-2676: Start of 'ora.cssd' on 'vzwc1' succeeded
CRS-2672: Attempting to start 'ora.cluster_interconnect.haip' on 'vzwc1'
CRS-2672: Attempting to start 'ora.ctssd' on 'vzwc1'
CRS-2676: Start of 'ora.ctssd' on 'vzwc1' succeeded
CRS-2676: Start of 'ora.cluster_interconnect.haip' on 'vzwc1' succeeded
CRS-2672: Attempting to start 'ora.asm' on 'vzwc1'
CRS-2676: Start of 'ora.asm' on 'vzwc1' succeeded
CRS-2672: Attempting to start 'ora.storage' on 'vzwc1'
CRS-2676: Start of 'ora.storage' on 'vzwc1' succeeded
CRS-2672: Attempting to start 'ora.crf' on 'vzwc1'
CRS-2676: Start of 'ora.crf' on 'vzwc1' succeeded
CRS-2672: Attempting to start 'ora.crsd' on 'vzwc1'
CRS-2676: Start of 'ora.crsd' on 'vzwc1' succeeded
CRS-6023: Starting Oracle Cluster Ready Services-managed resources
CRS-6017: Processing resource auto-start for servers: vzwc1
CRS-6016: Resource auto-start has completed for server vzwc1
CRS-6024: Completed start of Oracle Cluster Ready Services-managed resources
CRS-4123: Oracle High Availability Services has been started.
2014/03/31 22:33:53 CLSRSC-343: Successfully started Oracle clusterware stack


CRS-2672: Attempting to start 'ora.net1.network' on 'vzwc1'
CRS-2676: Start of 'ora.net1.network' on 'vzwc1' succeeded
CRS-2672: Attempting to start 'ora.gns.vip' on 'vzwc1'
CRS-2676: Start of 'ora.gns.vip' on 'vzwc1' succeeded
CRS-2672: Attempting to start 'ora.gns' on 'vzwc1'
CRS-2676: Start of 'ora.gns' on 'vzwc1' succeeded
CRS-2672: Attempting to start 'ora.ASMNET1LSNR_ASM.lsnr' on 'vzwc1'
CRS-2676: Start of 'ora.ASMNET1LSNR_ASM.lsnr' on 'vzwc1' succeeded
CRS-2672: Attempting to start 'ora.asm' on 'vzwc1'
CRS-2676: Start of 'ora.asm' on 'vzwc1' succeeded
CRS-2672: Attempting to start 'ora.CRSDG.dg' on 'vzwc1'
CRS-2676: Start of 'ora.CRSDG.dg' on 'vzwc1' succeeded
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'vzwc1'
CRS-2673: Attempting to stop 'ora.crsd' on 'vzwc1'
CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on 'vzwc1'
CRS-2673: Attempting to stop 'ora.vzwc1.vip' on 'vzwc1'
CRS-2673: Attempting to stop 'ora.CRSDG.dg' on 'vzwc1'
CRS-2673: Attempting to stop 'ora.cvu' on 'vzwc1'
CRS-2673: Attempting to stop 'ora.LISTENER_SCAN3.lsnr' on 'vzwc1'
CRS-2673: Attempting to stop 'ora.LISTENER_SCAN1.lsnr' on 'vzwc1'
CRS-2673: Attempting to stop 'ora.LISTENER_SCAN2.lsnr' on 'vzwc1'
CRS-2673: Attempting to stop 'ora.gns' on 'vzwc1'
CRS-2673: Attempting to stop 'ora.oc4j' on 'vzwc1'
CRS-2677: Stop of 'ora.cvu' on 'vzwc1' succeeded
CRS-2677: Stop of 'ora.LISTENER_SCAN3.lsnr' on 'vzwc1' succeeded
CRS-2673: Attempting to stop 'ora.scan3.vip' on 'vzwc1'
CRS-2677: Stop of 'ora.LISTENER_SCAN1.lsnr' on 'vzwc1' succeeded
CRS-2673: Attempting to stop 'ora.scan1.vip' on 'vzwc1'
CRS-2677: Stop of 'ora.LISTENER_SCAN2.lsnr' on 'vzwc1' succeeded
CRS-2673: Attempting to stop 'ora.scan2.vip' on 'vzwc1'
CRS-2677: Stop of 'ora.vzwc1.vip' on 'vzwc1' succeeded
CRS-2677: Stop of 'ora.scan1.vip' on 'vzwc1' succeeded
CRS-2677: Stop of 'ora.scan2.vip' on 'vzwc1' succeeded
CRS-2677: Stop of 'ora.scan3.vip' on 'vzwc1' succeeded
CRS-2677: Stop of 'ora.gns' on 'vzwc1' succeeded
CRS-2673: Attempting to stop 'ora.gns.vip' on 'vzwc1'
CRS-2677: Stop of 'ora.gns.vip' on 'vzwc1' succeeded
CRS-2677: Stop of 'ora.oc4j' on 'vzwc1' succeeded
CRS-2677: Stop of 'ora.CRSDG.dg' on 'vzwc1' succeeded
CRS-2673: Attempting to stop 'ora.asm' on 'vzwc1'
CRS-2677: Stop of 'ora.asm' on 'vzwc1' succeeded
CRS-2673: Attempting to stop 'ora.ASMNET1LSNR_ASM.lsnr' on 'vzwc1'
CRS-2677: Stop of 'ora.ASMNET1LSNR_ASM.lsnr' on 'vzwc1' succeeded
CRS-2673: Attempting to stop 'ora.ons' on 'vzwc1'
CRS-2677: Stop of 'ora.ons' on 'vzwc1' succeeded
CRS-2673: Attempting to stop 'ora.net1.network' on 'vzwc1'
CRS-2677: Stop of 'ora.net1.network' on 'vzwc1' succeeded
CRS-2792: Shutdown of Cluster Ready Services-managed resources on 'vzwc1' has completed
CRS-2677: Stop of 'ora.crsd' on 'vzwc1' succeeded
CRS-2673: Attempting to stop 'ora.storage' on 'vzwc1'
CRS-2673: Attempting to stop 'ora.drivers.acfs' on 'vzwc1'
CRS-2673: Attempting to stop 'ora.ctssd' on 'vzwc1'
CRS-2673: Attempting to stop 'ora.gpnpd' on 'vzwc1'
CRS-2673: Attempting to stop 'ora.mdnsd' on 'vzwc1'
CRS-2677: Stop of 'ora.storage' on 'vzwc1' succeeded
CRS-2673: Attempting to stop 'ora.asm' on 'vzwc1'
CRS-2677: Stop of 'ora.drivers.acfs' on 'vzwc1' succeeded
CRS-2677: Stop of 'ora.mdnsd' on 'vzwc1' succeeded
CRS-2677: Stop of 'ora.gpnpd' on 'vzwc1' succeeded
CRS-2677: Stop of 'ora.ctssd' on 'vzwc1' succeeded
CRS-2677: Stop of 'ora.asm' on 'vzwc1' succeeded
CRS-2673: Attempting to stop 'ora.cluster_interconnect.haip' on 'vzwc1'
CRS-2677: Stop of 'ora.cluster_interconnect.haip' on 'vzwc1' succeeded
CRS-2673: Attempting to stop 'ora.evmd' on 'vzwc1'
CRS-2677: Stop of 'ora.evmd' on 'vzwc1' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'vzwc1'
CRS-2677: Stop of 'ora.cssd' on 'vzwc1' succeeded
CRS-2673: Attempting to stop 'ora.crf' on 'vzwc1'
CRS-2677: Stop of 'ora.crf' on 'vzwc1' succeeded
CRS-2673: Attempting to stop 'ora.gipcd' on 'vzwc1'
CRS-2677: Stop of 'ora.gipcd' on 'vzwc1' succeeded
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'vzwc1' has completed
CRS-4133: Oracle High Availability Services has been stopped.
CRS-4123: Starting Oracle High Availability Services-managed resources
CRS-2672: Attempting to start 'ora.mdnsd' on 'vzwc1'
CRS-2672: Attempting to start 'ora.evmd' on 'vzwc1'
CRS-2676: Start of 'ora.mdnsd' on 'vzwc1' succeeded
CRS-2676: Start of 'ora.evmd' on 'vzwc1' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'vzwc1'
CRS-2676: Start of 'ora.gpnpd' on 'vzwc1' succeeded
CRS-2672: Attempting to start 'ora.gipcd' on 'vzwc1'
CRS-2676: Start of 'ora.gipcd' on 'vzwc1' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'vzwc1'
CRS-2676: Start of 'ora.cssdmonitor' on 'vzwc1' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'vzwc1'
CRS-2672: Attempting to start 'ora.diskmon' on 'vzwc1'
CRS-2676: Start of 'ora.diskmon' on 'vzwc1' succeeded
CRS-2789: Cannot stop resource 'ora.diskmon' as it is not running on server 'vzwc1'
CRS-2676: Start of 'ora.cssd' on 'vzwc1' succeeded
CRS-2672: Attempting to start 'ora.cluster_interconnect.haip' on 'vzwc1'
CRS-2672: Attempting to start 'ora.ctssd' on 'vzwc1'
CRS-2676: Start of 'ora.ctssd' on 'vzwc1' succeeded
CRS-2676: Start of 'ora.cluster_interconnect.haip' on 'vzwc1' succeeded
CRS-2672: Attempting to start 'ora.asm' on 'vzwc1'
CRS-2676: Start of 'ora.asm' on 'vzwc1' succeeded
CRS-2672: Attempting to start 'ora.storage' on 'vzwc1'
CRS-2676: Start of 'ora.storage' on 'vzwc1' succeeded
CRS-2672: Attempting to start 'ora.crf' on 'vzwc1'
CRS-2676: Start of 'ora.crf' on 'vzwc1' succeeded
CRS-2672: Attempting to start 'ora.crsd' on 'vzwc1'
CRS-2676: Start of 'ora.crsd' on 'vzwc1' succeeded
CRS-6023: Starting Oracle Cluster Ready Services-managed resources
CRS-6017: Processing resource auto-start for servers: vzwc1
CRS-2672: Attempting to start 'ora.oc4j' on 'vzwc1'
CRS-2672: Attempting to start 'ora.ons' on 'vzwc1'
CRS-2672: Attempting to start 'ora.cvu' on 'vzwc1'
CRS-2676: Start of 'ora.cvu' on 'vzwc1' succeeded
CRS-2676: Start of 'ora.ons' on 'vzwc1' succeeded
CRS-2672: Attempting to start 'ora.scan3.vip' on 'vzwc1'
CRS-2672: Attempting to start 'ora.scan1.vip' on 'vzwc1'
CRS-2672: Attempting to start 'ora.scan2.vip' on 'vzwc1'
CRS-2672: Attempting to start 'ora.vzwc1.vip' on 'vzwc1'
CRS-2676: Start of 'ora.scan1.vip' on 'vzwc1' succeeded
CRS-2672: Attempting to start 'ora.LISTENER_SCAN1.lsnr' on 'vzwc1'
CRS-2676: Start of 'ora.scan3.vip' on 'vzwc1' succeeded
CRS-2672: Attempting to start 'ora.LISTENER_SCAN3.lsnr' on 'vzwc1'
CRS-2676: Start of 'ora.scan2.vip' on 'vzwc1' succeeded
CRS-2672: Attempting to start 'ora.LISTENER_SCAN2.lsnr' on 'vzwc1'
CRS-2676: Start of 'ora.vzwc1.vip' on 'vzwc1' succeeded
CRS-2676: Start of 'ora.LISTENER_SCAN1.lsnr' on 'vzwc1' succeeded
CRS-2676: Start of 'ora.LISTENER_SCAN3.lsnr' on 'vzwc1' succeeded
CRS-2676: Start of 'ora.LISTENER_SCAN2.lsnr' on 'vzwc1' succeeded
CRS-2676: Start of 'ora.oc4j' on 'vzwc1' succeeded
CRS-6016: Resource auto-start has completed for server vzwc1
CRS-6024: Completed start of Oracle Cluster Ready Services-managed resources
CRS-4123: Oracle High Availability Services has been started.
2014/03/31 22:42:25 CLSRSC-325: Configure Oracle Grid Infrastructure for a Cluster ... succeeded



--验证安装

[iyunv@vzwc3 ~]# crsctl stat res -t
--------------------------------------------------------------------------------
Name           Target  State        Server                   State details      
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.ASMNET1LSNR_ASM.lsnr
               ONLINE  ONLINE       vzwc1                    STABLE
               ONLINE  ONLINE       vzwc2                    STABLE
               ONLINE  ONLINE       vzwc3                    STABLE
ora.CRSDG.dg
               ONLINE  ONLINE       vzwc1                    STABLE
               ONLINE  ONLINE       vzwc2                    STABLE
               ONLINE  ONLINE       vzwc3                    STABLE
ora.DATADG.dg
               ONLINE  ONLINE       vzwc1                    STABLE
               ONLINE  ONLINE       vzwc2                    STABLE
               ONLINE  ONLINE       vzwc3                    STABLE
ora.FRADG.dg
               ONLINE  ONLINE       vzwc1                    STABLE
               ONLINE  ONLINE       vzwc2                    STABLE
               ONLINE  ONLINE       vzwc3                    STABLE
ora.LISTENER.lsnr
               ONLINE  ONLINE       vzwc1                    STABLE
               ONLINE  ONLINE       vzwc2                    STABLE
               ONLINE  ONLINE       vzwc3                    STABLE
ora.net1.network
               ONLINE  ONLINE       vzwc1                    STABLE
               ONLINE  ONLINE       vzwc2                    STABLE
               ONLINE  ONLINE       vzwc3                    STABLE
ora.ons
               ONLINE  ONLINE       vzwc1                    STABLE
               ONLINE  ONLINE       vzwc2                    STABLE
               ONLINE  ONLINE       vzwc3                    STABLE
ora.proxy_advm
               ONLINE  ONLINE       vzwc1                    STABLE
               ONLINE  ONLINE       vzwc2                    STABLE
               ONLINE  ONLINE       vzwc3                    STABLE
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.LISTENER_SCAN1.lsnr
      1        ONLINE  ONLINE       vzwc2                    STABLE
ora.LISTENER_SCAN2.lsnr
      1        ONLINE  ONLINE       vzwc3                    STABLE
ora.LISTENER_SCAN3.lsnr
      1        ONLINE  ONLINE       vzwc1                    STABLE
ora.MGMTLSNR
      1        ONLINE  ONLINE       vzwc1                    169.254.39.90 10.10.
                                                             10.1,STABLE
ora.asm
      1        ONLINE  ONLINE       vzwc1                    STABLE
      2        ONLINE  ONLINE       vzwc2                    STABLE
      3        ONLINE  ONLINE       vzwc3                    STABLE
ora.cvu
      1        ONLINE  ONLINE       vzwc1                    STABLE
ora.gns
      1        ONLINE  ONLINE       vzwc1                    STABLE
ora.gns.vip
      1        ONLINE  ONLINE       vzwc1                    STABLE
ora.mgmtdb
      1        ONLINE  ONLINE       vzwc1                    Open,STABLE
ora.oc4j
      1        ONLINE  ONLINE       vzwc1                    STABLE
ora.scan1.vip
      1        ONLINE  ONLINE       vzwc2                    STABLE
ora.scan2.vip
      1        ONLINE  ONLINE       vzwc3                    STABLE
ora.scan3.vip
      1        ONLINE  ONLINE       vzwc1                    STABLE
ora.vzwc1.vip
      1        ONLINE  ONLINE       vzwc1                    STABLE
ora.vzwc2.vip
      1        ONLINE  ONLINE       vzwc2                    STABLE
ora.vzwc3.vip
      1        ONLINE  ONLINE       vzwc3                    STABLE
--------------------------------------------------------------------------------



[iyunv@vzwc3 ~]# crsctl check cluster -all
**************************************************************
vzwc1:
CRS-4537: Cluster Ready Services is online
CRS-4529: Cluster Synchronization Services is online
CRS-4533: Event Manager is online
**************************************************************
vzwc2:
CRS-4537: Cluster Ready Services is online
CRS-4529: Cluster Synchronization Services is online
CRS-4533: Event Manager is online
**************************************************************
vzwc3:
CRS-4537: Cluster Ready Services is online
CRS-4529: Cluster Synchronization Services is online
CRS-4533: Event Manager is online
**************************************************************



[iyunv@vzwc3 ~]# olsnodes -s
vzwc1   Active
vzwc2   Active
vzwc3   Active



[grid@vzwc3 ~]$ cluvfy comp scan
Verifying scan

Checking Single Client Access Name (SCAN)...

Checking TCP connectivity to SCAN Listeners...
TCP connectivity to SCAN Listeners exists on all cluster nodes

Checking name resolution setup for "vzwc-cluster-scan.zero.zhongwc.com"...

Checking integrity of name service switch configuration file "/etc/nsswitch.conf" ...
All nodes have same "hosts" entry defined in file "/etc/nsswitch.conf"
Check for integrity of name service switch configuration file "/etc/nsswitch.conf" passed

Checking SCAN IP addresses...
Check of SCAN IP addresses passed

Verification of SCAN VIP and Listener setup passed

Verification of scan was successful.



[iyunv@vzwc3 ~]# srvctl status scan_listener
SCAN Listener LISTENER_SCAN1 is enabled
SCAN listener LISTENER_SCAN1 is running on node vzwc2
SCAN Listener LISTENER_SCAN2 is enabled
SCAN listener LISTENER_SCAN2 is running on node vzwc3
SCAN Listener LISTENER_SCAN3 is enabled
SCAN listener LISTENER_SCAN3 is running on node vzwc1



[grid@vzwc3 ~]$ lsnrctl status ASMNET1LSNR_ASM

LSNRCTL for Linux: Version 12.1.0.1.0 - Production on 31-MAR-2014 23:19:46

Copyright (c) 1991, 2013, Oracle.  All rights reserved.

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=ASMNET1LSNR_ASM)))
STATUS of the LISTENER
------------------------
Alias                     ASMNET1LSNR_ASM
Version                   TNSLSNR for Linux: Version 12.1.0.1.0 - Production
Start Date                31-MAR-2014 22:58:18
Uptime                    0 days 0 hr. 21 min. 28 sec
Trace Level               off
Security                  ON: Local OS Authentication
SNMP                      OFF
Listener Parameter File   /u01/app/12.1.0/grid/network/admin/listener.ora
Listener Log File         /u01/app/grid/diag/tnslsnr/vzwc3/asmnet1lsnr_asm/alert/log.xml
Listening Endpoints Summary...
  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=ASMNET1LSNR_ASM)))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.10.10.6)(PORT=1521)))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.10.10.5)(PORT=1521)))
Services Summary...
Service "+ASM" has 3 instance(s).
  Instance "+ASM1", status READY, has 1 handler(s) for this service...
  Instance "+ASM2", status READY, has 1 handler(s) for this service...
  Instance "+ASM3", status READY, has 2 handler(s) for this service...
The command completed successfully



[iyunv@vzwc3 ~]# srvctl status asm -detail
ASM is running on vzwc2,vzwc3,vzwc1
ASM is enabled.



[grid@vzwc2 grid]$ srvctl config asm
ASM home: /u01/app/12.1.0/grid
Password file: +CRSDG/orapwASM
ASM listener: LISTENER
ASM instance count: 3
Cluster ASM listener: ASMNET1LSNR_ASM



[grid@vzwc1 ~]$ hostname
vzwc1.zhongwc.com
[grid@vzwc1 ~]$ sqlplus / as sysasm

SQL*Plus: Release 12.1.0.1.0 Production on Mon Mar 31 23:27:33 2014

Copyright (c) 1982, 2013, Oracle.  All rights reserved.

Connected to:
Oracle Database 12c Enterprise Edition Release 12.1.0.1.0 - 64bit Production
With the Real Application Clusters and Automatic Storage Management options

SQL> col instance_name for a10
SQL> select instance_name, db_name, status from v$asm_client;

INSTANCE_N DB_NAME          STATUS
---------- ---------------- ------------------------
+ASM1      +ASM             CONNECTED
+APX1      +APX             CONNECTED
-MGMTDB    _mgmtdb          CONNECTED



[grid@vzwc1 ~]$ asmcmd lsdg
State    Type    Rebal  Sector  Block       AU  Total_MB  Free_MB  Req_mir_free_MB  Usable_file_MB  Offline_disks  Voting_files  Name
MOUNTED  EXTERN  N         512   4096  1048576     10240     6498                0            6498              0             Y  CRSDG/
MOUNTED  EXTERN  N         512   4096  1048576     30720    30582                0           30582              0             N  DATADG/
MOUNTED  EXTERN  N         512   4096  1048576     20480    20342                0           20342              0             N  FRADG/
[grid@vzwc1 ~]$ asmcmd lsdsk
Path
/dev/asm-diskb
/dev/asm-diskc
/dev/asm-diskd



[grid@vzwc2 grid]$asmcmd showclustermode
ASM cluster : Flex mode enabled



参考:

Expert Oracle RAC 12c



运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-16564-1-1.html 上篇帖子: Oracle 使用连接显示多个表中的数据 下篇帖子: 查看oracle的sql语句历史记录和锁表的情况 Oracle
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表