配置dhcp和dns服务器过程省略
--root.sh
[root@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
--验证安装
[root@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
--------------------------------------------------------------------------------
[root@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
**************************************************************
[root@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.
[root@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
[root@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