Xshell 5 (Build 1199)
Copyright (c) 2002-2017 NetSarang Computer, Inc. All rights reserved.
Type `help' to learn how to use Xshell prompt.
[d:\~]$
Connecting to 192.168.1.156:22...
Connection established.
To escape to local shell, press 'Ctrl+Alt+]'.
Last login: Sun Apr 23 01:36:15 2017 from 192.168.1.1
[root@node2 ~]# su - oragrid
[oragrid@node2 ~]$ crs_stat -t
CRS-0184: Cannot communicate with the CRS daemon.
[oragrid@node2 ~]$ asmcmd
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 NORMAL N 512 4096 1048576 30912 30230 8544 10843 0 N ARCH/
MOUNTED NORMAL N 512 4096 1048576 46464 42348 12576 14886 0 N DATA/
MOUNTED NORMAL N 512 4096 1048576 16192 15266 5728 4769 0 Y OCRVOTE/
ASMCMD> lsdsk
Path
/dev/mapper/nas1archfg11
/dev/mapper/nas1archfg12
/dev/mapper/nas1datafg11
/dev/mapper/nas1datafg12
/dev/mapper/nas1vote
/dev/mapper/nas2archfg11
/dev/mapper/nas2archfg12
/dev/mapper/nas2datafg11
/dev/mapper/nas2datafg12
/dev/mapper/nas2vote
/voting_disk/nfsvote
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 NORMAL N 512 4096 1048576 30912 30230 8544 10843 0 N ARCH/
MOUNTED NORMAL N 512 4096 1048576 46464 42348 12576 14886 0 N DATA/
MOUNTED NORMAL N 512 4096 1048576 16192 15266 5728 4769 0 Y OCRVOTE/
ASMCMD> lsdsk
Path
/dev/mapper/nas1archfg11
/dev/mapper/nas1archfg12
/dev/mapper/nas1datafg11
/dev/mapper/nas1datafg12
/dev/mapper/nas1vote
/dev/mapper/nas2archfg11
/dev/mapper/nas2archfg12
/dev/mapper/nas2datafg11
/dev/mapper/nas2datafg12
/dev/mapper/nas2vote
/voting_disk/nfsvote
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 NORMAL N 512 4096 1048576 30912 30230 8544 10843 0 N ARCH/
MOUNTED NORMAL N 512 4096 1048576 46464 42348 12576 14886 0 N DATA/
MOUNTED NORMAL N 512 4096 1048576 16192 15266 5728 4769 0 Y OCRVOTE/
ASMCMD> lsdsk
Path
/dev/mapper/nas1archfg11
/dev/mapper/nas1archfg12
/dev/mapper/nas1datafg11
/dev/mapper/nas1datafg12
/dev/mapper/nas1vote
/dev/mapper/nas2archfg11
/dev/mapper/nas2archfg12
/dev/mapper/nas2datafg11
/dev/mapper/nas2datafg12
/dev/mapper/nas2vote
/voting_disk/nfsvote
####nas2 断电
ASMCMD> lsdsk
Path
/dev/mapper/nas1archfg11
/dev/mapper/nas1archfg12
/dev/mapper/nas1datafg11
/dev/mapper/nas1datafg12
/dev/mapper/nas1vote
/voting_disk/nfsvote
ASMCMD> exit
[oragrid@node2 ~]$ crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora.ARCH.dg ora....up.type ONLINE ONLINE node1
ora.DATA.dg ora....up.type ONLINE ONLINE node1
ora....ER.lsnr ora....er.type ONLINE ONLINE node1
ora....N1.lsnr ora....er.type ONLINE ONLINE node2
ora.OCRVOTE.dg ora....up.type ONLINE ONLINE node1
ora.asm ora.asm.type ONLINE ONLINE node1
ora.cvu ora.cvu.type ONLINE ONLINE node2
ora.gsd ora.gsd.type OFFLINE OFFLINE
ora....network ora....rk.type ONLINE ONLINE node1
ora....SM1.asm application ONLINE ONLINE node1
ora....E1.lsnr application ONLINE ONLINE node1
ora.node1.gsd application OFFLINE OFFLINE
ora.node1.ons application ONLINE ONLINE node1
ora.node1.vip ora....t1.type ONLINE ONLINE node1
ora....SM2.asm application ONLINE ONLINE node2
ora....E2.lsnr application ONLINE ONLINE node2
ora.node2.gsd application OFFLINE OFFLINE
ora.node2.ons application ONLINE ONLINE node2
ora.node2.vip ora....t1.type ONLINE ONLINE node2
ora.oc4j ora.oc4j.type ONLINE ONLINE node2
ora.ons ora.ons.type ONLINE ONLINE node1
ora.orcc.db ora....se.type ONLINE ONLINE node1
ora....ry.acfs ora....fs.type ONLINE ONLINE node1
ora.scan1.vip ora....ip.type ONLINE ONLINE node2
[oragrid@node2 ~]$ sqlplus /nolog
SQL*Plus: Release 11.2.0.4.0 Production on Tue Apr 25 17:44:53 2017
Copyright (c) 1982, 2013, Oracle. All rights reserved.
SQL> connect /as sysasm
Connected.
SQL> col path for a30;
SQL> col name for a20;
SQL> select name,header_status,mount_status,path from v$asm_disk;
NAME HEADER_STATU MOUNT_S PATH
-------------------- ------------ ------- ------------------------------
UNKNOWN CLOSED /dev/mapper/nas2archfg12
UNKNOWN CLOSED /dev/mapper/nas2archfg11
DATA_0003 UNKNOWN MISSING
DATA_0002 UNKNOWN MISSING
ARCH_0003 UNKNOWN MISSING
ARCH_0002 UNKNOWN MISSING
UNKNOWN CLOSED /dev/mapper/nas2vote
UNKNOWN CLOSED /dev/mapper/nas2datafg11
UNKNOWN CLOSED /dev/mapper/nas2datafg12
ARCH_0000 MEMBER CACHED /dev/mapper/nas1archfg11
DATA_0000 MEMBER CACHED /dev/mapper/nas1datafg11
NAME HEADER_STATU MOUNT_S PATH
-------------------- ------------ ------- ------------------------------
ARCH_0001 MEMBER CACHED /dev/mapper/nas1archfg12
OCRVOTE_0000 MEMBER CACHED /dev/mapper/nas1vote
DATA_0001 MEMBER CACHED /dev/mapper/nas1datafg12
OCRVOTE_0002 MEMBER CACHED /voting_disk/nfsvote
15 rows selected.
########nas2 加电
SQL>
SQL>
SQL>
SQL>
SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Real Application Clusters and Automatic Storage Management options
[oragrid@node2 ~]$ exit
logout
[root@node2 ~]# tail -10f /var/log/messages
Apr 25 17:46:44 node2 multipathd: nas2vote: remaining active paths: 1
Apr 25 17:46:44 node2 multipathd: nas2archfg11: sdv - directio checker reports path is up
Apr 25 17:46:44 node2 multipathd: 65:80: reinstated
Apr 25 17:46:44 node2 multipathd: nas2archfg11: remaining active paths: 2
Apr 25 17:46:47 node2 multipathd: nas2vote: sdh - directio checker reports path is up
Apr 25 17:46:47 node2 multipathd: 8:112: reinstated
Apr 25 17:46:47 node2 multipathd: nas2vote: remaining active paths: 2
Apr 25 17:46:47 node2 multipathd: nas2datafg11: sdo - directio checker reports path is up
Apr 25 17:46:47 node2 multipathd: 8:224: reinstated
Apr 25 17:46:47 node2 multipathd: nas2datafg11: remaining active paths: 2
^C
[root@node2 ~]# su - oragrid
[oragrid@node2 ~]$ sqlplus /nolog
SQL*Plus: Release 11.2.0.4.0 Production on Tue Apr 25 17:47:35 2017
Copyright (c) 1982, 2013, Oracle. All rights reserved.
SQL> connect /as sysasm
Connected.
SQL> col path for a30;
SQL> col name for a20;
SQL> select name,header_status,mount_status,path from v$asm_disk;
NAME HEADER_STATU MOUNT_S PATH
-------------------- ------------ ------- ------------------------------
MEMBER CLOSED /dev/mapper/nas2archfg12
MEMBER CLOSED /dev/mapper/nas2archfg11
DATA_0003 UNKNOWN MISSING
DATA_0002 UNKNOWN MISSING
ARCH_0003 UNKNOWN MISSING
ARCH_0002 UNKNOWN MISSING
MEMBER CLOSED /dev/mapper/nas2vote
MEMBER CLOSED /dev/mapper/nas2datafg11
MEMBER CLOSED /dev/mapper/nas2datafg12
ARCH_0000 MEMBER CACHED /dev/mapper/nas1archfg11
DATA_0000 MEMBER CACHED /dev/mapper/nas1datafg11
NAME HEADER_STATU MOUNT_S PATH
-------------------- ------------ ------- ------------------------------
ARCH_0001 MEMBER CACHED /dev/mapper/nas1archfg12
OCRVOTE_0000 MEMBER CACHED /dev/mapper/nas1vote
DATA_0001 MEMBER CACHED /dev/mapper/nas1datafg12
OCRVOTE_0002 MEMBER CACHED /voting_disk/nfsvote
15 rows selected.
####nas2 加电完成后
SP2-0734: unknown command beginning "###加电?." - rest of line ignored.
SQL>
SQL>
SQL> alter diskgroup data online disks in failgroup fg2;
Diskgroup altered.
SQL> alter diskgroup arch online disks in failgroup fg2;
Diskgroup altered.
SQL> select name,header_status,mount_status,path from v$asm_disk;
NAME HEADER_STATU MOUNT_S PATH
-------------------- ------------ ------- ------------------------------
MEMBER CLOSED /dev/mapper/nas2vote
ARCH_0000 MEMBER CACHED /dev/mapper/nas1archfg11
ARCH_0003 MEMBER CACHED /dev/mapper/nas2archfg12
DATA_0000 MEMBER CACHED /dev/mapper/nas1datafg11
ARCH_0001 MEMBER CACHED /dev/mapper/nas1archfg12
ARCH_0002 MEMBER CACHED /dev/mapper/nas2archfg11
OCRVOTE_0000 MEMBER CACHED /dev/mapper/nas1vote
DATA_0002 MEMBER CACHED /dev/mapper/nas2datafg11
DATA_0003 MEMBER CACHED /dev/mapper/nas2datafg12
DATA_0001 MEMBER CACHED /dev/mapper/nas1datafg12
OCRVOTE_0002 MEMBER CACHED /voting_disk/nfsvote
11 rows selected.
SQL> select name from v$asm_diskgroup;
NAME
--------------------
ARCH
DATA
OCRVOTE
SQL> select name,path from v$asm_disk;
NAME PATH
-------------------- ------------------------------
/dev/mapper/nas2vote
ARCH_0000 /dev/mapper/nas1archfg11
ARCH_0003 /dev/mapper/nas2archfg12
DATA_0000 /dev/mapper/nas1datafg11
ARCH_0001 /dev/mapper/nas1archfg12
ARCH_0002 /dev/mapper/nas2archfg11
OCRVOTE_0000 /dev/mapper/nas1vote
DATA_0002 /dev/mapper/nas2datafg11
DATA_0003 /dev/mapper/nas2datafg12
DATA_0001 /dev/mapper/nas1datafg12
OCRVOTE_0002 /voting_disk/nfsvote
11 rows selected.
SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Real Application Clusters and Automatic Storage Management options
[oragrid@node2 ~]$ asmcmd
ASMCMD> lsdsk
Path
/dev/mapper/nas1archfg11
/dev/mapper/nas1archfg12
/dev/mapper/nas1datafg11
/dev/mapper/nas1datafg12
/dev/mapper/nas1vote
/dev/mapper/nas2archfg11
/dev/mapper/nas2archfg12
/dev/mapper/nas2datafg11
/dev/mapper/nas2datafg12
/voting_disk/nfsvote
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 NORMAL N 512 4096 1048576 30912 30156 8544 10806 0 N ARCH/
MOUNTED NORMAL N 512 4096 1048576 46464 42262 12576 14843 0 N DATA/
MOUNTED NORMAL N 512 4096 1048576 10848 10056 0 5028 0 Y OCRVOTE/
ASMCMD> exit
[oragrid@node2 ~]$ sqlplus /nolog
SQL*Plus: Release 11.2.0.4.0 Production on Tue Apr 25 18:02:58 2017
Copyright (c) 1982, 2013, Oracle. All rights reserved.
SQL> connect /as sysasm
Connected.
SQL> alter diskgroup ocrvote add disk '/dev/mapper/nas2vote' force;
Diskgroup altered.
SQL> select name,path from v$asm_disk;
NAME PATH
-------------------- ------------------------------
OCRVOTE_0001 /dev/mapper/nas2vote
ARCH_0000 /dev/mapper/nas1archfg11
ARCH_0003 /dev/mapper/nas2archfg12
DATA_0000 /dev/mapper/nas1datafg11
ARCH_0001 /dev/mapper/nas1archfg12
ARCH_0002 /dev/mapper/nas2archfg11
OCRVOTE_0000 /dev/mapper/nas1vote
DATA_0002 /dev/mapper/nas2datafg11
DATA_0003 /dev/mapper/nas2datafg12
DATA_0001 /dev/mapper/nas1datafg12
OCRVOTE_0002 /voting_disk/nfsvote
11 rows selected.
SQL>
[BEGIN] 2017/4/25 10:08:17
[oragrid@node2 ~]$ asmcmd
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 NORMAL N 512 4096 1048576 30912 30156 8544 10806 0 N ARCH/
MOUNTED NORMAL N 512 4096 1048576 46464 42262 12576 14843 0 N DATA/
MOUNTED NORMAL N 512 4096 1048576 16192 15266 5728 4769 0 Y OCRVOTE/
ASMCMD> lsdsk
Path
/dev/mapper/nas1archfg11
/dev/mapper/nas1archfg12
/dev/mapper/nas1datafg11
/dev/mapper/nas1datafg12
/dev/mapper/nas1vote
/dev/mapper/nas2archfg11
/dev/mapper/nas2archfg12
/dev/mapper/nas2datafg11
/dev/mapper/nas2datafg12
/dev/mapper/nas2vote
/voting_disk/nfsvote
ASMCMD>
ASMCMD>
ASMCMD>
#######nas2 already add back;now power off nas1
ASMCMD>
ASMCMD>
ASMCMD>
ASMCMD> lsdsk
Path
/dev/mapper/nas1archfg11
/dev/mapper/nas1archfg12
/dev/mapper/nas1datafg11
/dev/mapper/nas1datafg12
/dev/mapper/nas1vote
/dev/mapper/nas2archfg11
/dev/mapper/nas2archfg12
/dev/mapper/nas2datafg11
/dev/mapper/nas2datafg12
/dev/mapper/nas2vote
/voting_disk/nfsvote
######nas1 断电完成后
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 NORMAL N 512 4096 1048576 30912 30156 8544 10806 0 N ARCH/
MOUNTED NORMAL N 512 4096 1048576 46464 42262 12576 14843 0 N DATA/
MOUNTED NORMAL N 512 4096 1048576 16192 15266 5728 4769 0 Y OCRVOTE/
ASMCMD> lsdsk
Path
/dev/mapper/nas2archfg11
/dev/mapper/nas2archfg12
/dev/mapper/nas2datafg11
/dev/mapper/nas2datafg12
/dev/mapper/nas2vote
/voting_disk/nfsvote
ASMCMD> exit
[oragrid@node2 ~]$ sqlplus /nolog
SQL*Plus: Release 11.2.0.4.0 Production on Tue Apr 25 18:15:55 2017
Copyright (c) 1982, 2013, Oracle. All rights reserved.
SQL> connect /as sysasm
Connected.
SQL> col path for a30;
SQL> col name for a20;
SQL> select name,header_status,mount_status,path from v$asm_disk;
NAME HEADER_STATU MOUNT_S PATH
-------------------- ------------ ------- ------------------------------
UNKNOWN CLOSED /dev/mapper/nas1archfg11
UNKNOWN CLOSED /dev/mapper/nas1datafg11
UNKNOWN CLOSED /dev/mapper/nas1archfg12
UNKNOWN CLOSED /dev/mapper/nas1vote
DATA_0000 UNKNOWN MISSING
ARCH_0000 UNKNOWN MISSING
ARCH_0001 UNKNOWN MISSING
DATA_0001 UNKNOWN MISSING
UNKNOWN CLOSED /dev/mapper/nas1datafg12
ARCH_0003 MEMBER CACHED /dev/mapper/nas2archfg12
ARCH_0002 MEMBER CACHED /dev/mapper/nas2archfg11
NAME HEADER_STATU MOUNT_S PATH
-------------------- ------------ ------- ------------------------------
DATA_0002 MEMBER CACHED /dev/mapper/nas2datafg11
DATA_0003 MEMBER CACHED /dev/mapper/nas2datafg12
OCRVOTE_0001 MEMBER CACHED /dev/mapper/nas2vote
OCRVOTE_0002 MEMBER CACHED /voting_disk/nfsvote
15 rows selected.
#######nas1 加电完成后
SQL>
SQL> l
1* select name,header_status,mount_status,path from v$asm_disk
SQL> /
NAME HEADER_STATU MOUNT_S PATH
-------------------- ------------ ------- ------------------------------
MEMBER CLOSED /dev/mapper/nas1archfg11
MEMBER CLOSED /dev/mapper/nas1datafg11
MEMBER CLOSED /dev/mapper/nas1archfg12
MEMBER CLOSED /dev/mapper/nas1vote
DATA_0000 UNKNOWN MISSING
ARCH_0000 UNKNOWN MISSING
ARCH_0001 UNKNOWN MISSING
DATA_0001 UNKNOWN MISSING
MEMBER CLOSED /dev/mapper/nas1datafg12
ARCH_0003 MEMBER CACHED /dev/mapper/nas2archfg12
ARCH_0002 MEMBER CACHED /dev/mapper/nas2archfg11
NAME HEADER_STATU MOUNT_S PATH
-------------------- ------------ ------- ------------------------------
DATA_0002 MEMBER CACHED /dev/mapper/nas2datafg11
DATA_0003 MEMBER CACHED /dev/mapper/nas2datafg12
OCRVOTE_0001 MEMBER CACHED /dev/mapper/nas2vote
OCRVOTE_0002 MEMBER CACHED /voting_disk/nfsvote
15 rows selected.
SQL> alter diskgroup data online disks in failgroup fg1;
Diskgroup altered.
SQL> alter diskgroup arch online disks in failgroup fg1;
Diskgroup altered.
SQL> l
1* alter diskgroup arch online disks in failgroup fg1
SQL> select name,header_status,mount_status,path from v$asm_disk;
NAME HEADER_STATU MOUNT_S PATH
-------------------- ------------ ------- ------------------------------
MEMBER CLOSED /dev/mapper/nas1vote
ARCH_0000 MEMBER CACHED /dev/mapper/nas1archfg11
ARCH_0003 MEMBER CACHED /dev/mapper/nas2archfg12
DATA_0000 MEMBER CACHED /dev/mapper/nas1datafg11
ARCH_0001 MEMBER CACHED /dev/mapper/nas1archfg12
ARCH_0002 MEMBER CACHED /dev/mapper/nas2archfg11
DATA_0002 MEMBER CACHED /dev/mapper/nas2datafg11
DATA_0003 MEMBER CACHED /dev/mapper/nas2datafg12
DATA_0001 MEMBER CACHED /dev/mapper/nas1datafg12
OCRVOTE_0001 MEMBER CACHED /dev/mapper/nas2vote
OCRVOTE_0002 MEMBER CACHED /voting_disk/nfsvote
11 rows selected.
SQL> alter diskgroup ocrvote add disk '/dev/mapper/nas1vote' force;
Diskgroup altered.
SQL> select name,header_status,mount_status,path from v$asm_disk;
NAME HEADER_STATU MOUNT_S PATH
-------------------- ------------ ------- ------------------------------
ARCH_0000 MEMBER CACHED /dev/mapper/nas1archfg11
ARCH_0003 MEMBER CACHED /dev/mapper/nas2archfg12
DATA_0000 MEMBER CACHED /dev/mapper/nas1datafg11
ARCH_0001 MEMBER CACHED /dev/mapper/nas1archfg12
ARCH_0002 MEMBER CACHED /dev/mapper/nas2archfg11
OCRVOTE_0000 MEMBER CACHED /dev/mapper/nas1vote
DATA_0002 MEMBER CACHED /dev/mapper/nas2datafg11
DATA_0003 MEMBER CACHED /dev/mapper/nas2datafg12
DATA_0001 MEMBER CACHED /dev/mapper/nas1datafg12
OCRVOTE_0001 MEMBER CACHED /dev/mapper/nas2vote
OCRVOTE_0002 MEMBER CACHED /voting_disk/nfsvote
11 rows selected.
SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Real Application Clusters and Automatic Storage Management options
[oragrid@node2 ~]$ asmcmd
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 NORMAL N 512 4096 1048576 30912 30156 8544 10806 0 N ARCH/
MOUNTED NORMAL N 512 4096 1048576 46464 42262 12576 14843 0 N DATA/
MOUNTED NORMAL Y 512 4096 1048576 16192 15266 5728 4769 0 Y OCRVOTE/
ASMCMD> lsdsk
Path
/dev/mapper/nas1archfg11
/dev/mapper/nas1archfg12
/dev/mapper/nas1datafg11
/dev/mapper/nas1datafg12
/dev/mapper/nas1vote
/dev/mapper/nas2archfg11
/dev/mapper/nas2archfg12
/dev/mapper/nas2datafg11
/dev/mapper/nas2datafg12
/dev/mapper/nas2vote
/voting_disk/nfsvote
ASMCMD> exit
[oragrid@node2 ~]$
[oragrid@node2 ~]$
[oragrid@node2 ~]$
[oragrid@node2 ~]$ crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora.ARCH.dg ora....up.type ONLINE ONLINE node1
ora.DATA.dg ora....up.type ONLINE ONLINE node1
ora....ER.lsnr ora....er.type ONLINE ONLINE node1
ora....N1.lsnr ora....er.type ONLINE ONLINE node2
ora.OCRVOTE.dg ora....up.type ONLINE ONLINE node1
ora.asm ora.asm.type ONLINE ONLINE node1
ora.cvu ora.cvu.type ONLINE ONLINE node2
ora.gsd ora.gsd.type OFFLINE OFFLINE
ora....network ora....rk.type ONLINE ONLINE node1
ora....SM1.asm application ONLINE ONLINE node1
ora....E1.lsnr application ONLINE ONLINE node1
ora.node1.gsd application OFFLINE OFFLINE
ora.node1.ons application ONLINE ONLINE node1
ora.node1.vip ora....t1.type ONLINE ONLINE node1
ora....SM2.asm application ONLINE ONLINE node2
ora....E2.lsnr application ONLINE ONLINE node2
ora.node2.gsd application OFFLINE OFFLINE
ora.node2.ons application ONLINE ONLINE node2
ora.node2.vip ora....t1.type ONLINE ONLINE node2
ora.oc4j ora.oc4j.type ONLINE ONLINE node2
ora.ons ora.ons.type ONLINE ONLINE node1
ora.orcc.db ora....se.type ONLINE ONLINE node1
ora....ry.acfs ora....fs.type ONLINE ONLINE node1
ora.scan1.vip ora....ip.type ONLINE ONLINE node2
[oragrid@node2 ~]$ srvctl status database -d orcc
实例 orcc1 正在节点 node1 上运行
实例 orcc2 正在节点 node2 上运行
#######nas1 聚合盘恢复后,重启oracle cluster 测试是否正常
[oragrid@node2 ~]$ exit
logout
[root@node2 ~]# /grid/grid_home/bin/crsctl stop cluster -all
CRS-2673: Attempting to stop 'ora.crsd' on 'node2'
CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on 'node2'
CRS-2673: Attempting to stop 'ora.cvu' on 'node2'
CRS-2673: Attempting to stop 'ora.oc4j' on 'node2'
CRS-2673: Attempting to stop 'ora.LISTENER.lsnr' on 'node2'
CRS-2673: Attempting to stop 'ora.OCRVOTE.dg' on 'node2'
CRS-2673: Attempting to stop 'ora.registry.acfs' on 'node2'
CRS-2673: Attempting to stop 'ora.orcc.db' on 'node2'
CRS-2673: Attempting to stop 'ora.LISTENER_SCAN1.lsnr' on 'node2'
CRS-2677: Stop of 'ora.LISTENER.lsnr' on 'node2' succeeded
CRS-2673: Attempting to stop 'ora.node2.vip' on 'node2'
CRS-2677: Stop of 'ora.cvu' on 'node2' succeeded
CRS-2677: Stop of 'ora.LISTENER_SCAN1.lsnr' on 'node2' succeeded
CRS-2673: Attempting to stop 'ora.scan1.vip' on 'node2'
CRS-2677: Stop of 'ora.registry.acfs' on 'node2' succeeded
CRS-2677: Stop of 'ora.orcc.db' on 'node2' succeeded
CRS-2673: Attempting to stop 'ora.ARCH.dg' on 'node2'
CRS-2673: Attempting to stop 'ora.DATA.dg' on 'node2'
CRS-2677: Stop of 'ora.node2.vip' on 'node2' succeeded
CRS-2677: Stop of 'ora.ARCH.dg' on 'node2' succeeded
CRS-2677: Stop of 'ora.DATA.dg' on 'node2' succeeded
CRS-2677: Stop of 'ora.scan1.vip' on 'node2' succeeded
CRS-2673: Attempting to stop 'ora.crsd' on 'node1'
CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on 'node1'
CRS-2673: Attempting to stop 'ora.LISTENER.lsnr' on 'node1'
CRS-2673: Attempting to stop 'ora.OCRVOTE.dg' on 'node1'
CRS-2673: Attempting to stop 'ora.registry.acfs' on 'node1'
CRS-2673: Attempting to stop 'ora.orcc.db' on 'node1'
CRS-2677: Stop of 'ora.LISTENER.lsnr' on 'node1' succeeded
CRS-2673: Attempting to stop 'ora.node1.vip' on 'node1'
CRS-2677: Stop of 'ora.oc4j' on 'node2' succeeded
CRS-2677: Stop of 'ora.registry.acfs' on 'node1' succeeded
CRS-2677: Stop of 'ora.orcc.db' on 'node1' succeeded
CRS-2673: Attempting to stop 'ora.ARCH.dg' on 'node1'
CRS-2673: Attempting to stop 'ora.DATA.dg' on 'node1'
CRS-2677: Stop of 'ora.node1.vip' on 'node1' succeeded
CRS-2677: Stop of 'ora.DATA.dg' on 'node1' succeeded
CRS-2677: Stop of 'ora.ARCH.dg' on 'node1' succeeded
CRS-2677: Stop of 'ora.OCRVOTE.dg' on 'node2' succeeded
CRS-2673: Attempting to stop 'ora.asm' on 'node2'
CRS-2677: Stop of 'ora.asm' on 'node2' succeeded
CRS-2677: Stop of 'ora.OCRVOTE.dg' on 'node1' succeeded
CRS-2673: Attempting to stop 'ora.asm' on 'node1'
CRS-2677: Stop of 'ora.asm' on 'node1' succeeded
CRS-2673: Attempting to stop 'ora.ons' on 'node1'
CRS-2677: Stop of 'ora.ons' on 'node1' succeeded
CRS-2673: Attempting to stop 'ora.net1.network' on 'node1'
CRS-2677: Stop of 'ora.net1.network' on 'node1' succeeded
CRS-2792: Shutdown of Cluster Ready Services-managed resources on 'node1' has completed
CRS-2673: Attempting to stop 'ora.ons' on 'node2'
CRS-2677: Stop of 'ora.ons' on 'node2' succeeded
CRS-2673: Attempting to stop 'ora.net1.network' on 'node2'
CRS-2677: Stop of 'ora.net1.network' on 'node2' succeeded
CRS-2792: Shutdown of Cluster Ready Services-managed resources on 'node2' has completed
CRS-2677: Stop of 'ora.crsd' on 'node1' succeeded
CRS-2673: Attempting to stop 'ora.ctssd' on 'node1'
CRS-2673: Attempting to stop 'ora.evmd' on 'node1'
CRS-2673: Attempting to stop 'ora.asm' on 'node1'
CRS-2677: Stop of 'ora.crsd' on 'node2' succeeded
CRS-2673: Attempting to stop 'ora.ctssd' on 'node2'
CRS-2673: Attempting to stop 'ora.evmd' on 'node2'
CRS-2673: Attempting to stop 'ora.asm' on 'node2'
CRS-2677: Stop of 'ora.evmd' on 'node1' succeeded
CRS-2677: Stop of 'ora.evmd' on 'node2' succeeded
CRS-2677: Stop of 'ora.ctssd' on 'node2' succeeded
CRS-2677: Stop of 'ora.asm' on 'node1' succeeded
CRS-2673: Attempting to stop 'ora.cluster_interconnect.haip' on 'node1'
CRS-2677: Stop of 'ora.ctssd' on 'node1' succeeded
CRS-2677: Stop of 'ora.asm' on 'node2' succeeded
CRS-2673: Attempting to stop 'ora.cluster_interconnect.haip' on 'node2'
CRS-2677: Stop of 'ora.cluster_interconnect.haip' on 'node1' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'node1'
CRS-2677: Stop of 'ora.cluster_interconnect.haip' on 'node2' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'node2'
CRS-2677: Stop of 'ora.cssd' on 'node1' succeeded
CRS-2677: Stop of 'ora.cssd' on 'node2' succeeded
[root@node2 ~]# /grid/grid_home/bin/crsctl start cluster -all
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'node2'
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'node1'
CRS-2676: Start of 'ora.cssdmonitor' on 'node2' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'node2'
CRS-2672: Attempting to start 'ora.diskmon' on 'node2'
CRS-2676: Start of 'ora.cssdmonitor' on 'node1' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'node1'
CRS-2676: Start of 'ora.diskmon' on 'node2' succeeded
CRS-2672: Attempting to start 'ora.diskmon' on 'node1'
CRS-2676: Start of 'ora.diskmon' on 'node1' succeeded
CRS-2676: Start of 'ora.cssd' on 'node2' succeeded
CRS-2672: Attempting to start 'ora.ctssd' on 'node2'
CRS-2676: Start of 'ora.cssd' on 'node1' succeeded
CRS-2672: Attempting to start 'ora.ctssd' on 'node1'
CRS-2672: Attempting to start 'ora.cluster_interconnect.haip' on 'node1'
CRS-2676: Start of 'ora.ctssd' on 'node1' succeeded
CRS-2676: Start of 'ora.ctssd' on 'node2' succeeded
CRS-2672: Attempting to start 'ora.evmd' on 'node2'
CRS-2672: Attempting to start 'ora.cluster_interconnect.haip' on 'node2'
CRS-2672: Attempting to start 'ora.evmd' on 'node1'
CRS-2676: Start of 'ora.evmd' on 'node2' succeeded
CRS-2676: Start of 'ora.evmd' on 'node1' succeeded
CRS-2676: Start of 'ora.cluster_interconnect.haip' on 'node1' succeeded
CRS-2672: Attempting to start 'ora.asm' on 'node1'
CRS-2676: Start of 'ora.cluster_interconnect.haip' on 'node2' succeeded
CRS-2672: Attempting to start 'ora.asm' on 'node2'
CRS-2676: Start of 'ora.asm' on 'node1' succeeded
CRS-2672: Attempting to start 'ora.crsd' on 'node1'
CRS-2676: Start of 'ora.crsd' on 'node1' succeeded
CRS-2676: Start of 'ora.asm' on 'node2' succeeded
CRS-2672: Attempting to start 'ora.crsd' on 'node2'
CRS-2676: Start of 'ora.crsd' on 'node2' succeeded
[root@node2 ~]# /grid/grid_home/bin/crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora.ARCH.dg ora....up.type ONLINE ONLINE node1
ora.DATA.dg ora....up.type ONLINE ONLINE node1
ora....ER.lsnr ora....er.type ONLINE ONLINE node1
ora....N1.lsnr ora....er.type ONLINE ONLINE node2
ora.OCRVOTE.dg ora....up.type ONLINE ONLINE node1
ora.asm ora.asm.type ONLINE ONLINE node1
ora.cvu ora.cvu.type ONLINE ONLINE node1
ora.gsd ora.gsd.type OFFLINE OFFLINE
ora....network ora....rk.type ONLINE ONLINE node1
ora....SM1.asm application ONLINE ONLINE node1
ora....E1.lsnr application ONLINE ONLINE node1
ora.node1.gsd application OFFLINE OFFLINE
ora.node1.ons application ONLINE ONLINE node1
ora.node1.vip ora....t1.type ONLINE ONLINE node1
ora....SM2.asm application ONLINE ONLINE node2
ora....E2.lsnr application ONLINE ONLINE node2
ora.node2.gsd application OFFLINE OFFLINE
ora.node2.ons application ONLINE ONLINE node2
ora.node2.vip ora....t1.type ONLINE ONLINE node2
ora.oc4j ora.oc4j.type ONLINE ONLINE node1
ora.ons ora.ons.type ONLINE ONLINE node1
ora.orcc.db ora....se.type ONLINE ONLINE node1
ora....ry.acfs ora....fs.type ONLINE ONLINE node1
ora.scan1.vip ora....ip.type ONLINE ONLINE node2
[END] 2017/4/25 10:37:07
|
|