Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
1.
Introduction ..................................................................................................................................................................2
2.
2.1.
2.2.
2.3.
2.4.
2.5.
2.6.
2.7.
3.
3.1.
3.2.
3.3.
3.4.
3.5.
CRS - Start / Stop CRS Daemons - will also stop all dependent processes.............................................................................. 4
3.6.
3.7.
3.8.
3.9.
3.10.
3.11.
4.
4.1.
4.2.
4.3.
5.
RAC Commands_v1.1
Page 1 of 7
1.
Introduction
2.
2.1.
2.2.
2.3.
2.4.
2.5.
RAC Commands_v1.1
Page 2 of 7
2.6.
ASM - Views
ASM Dynamic Views: ASM Instance Information
V$ASM_ALIAS
V$ASM_CLIENT
V$ASM_DISK
V$ASM_DISKGROUP
V$ASM_FILE
V$ASM_OPERATION
V$ASM_TEMPLATE
Shows every alias for every disk group mounted by the ASM instance
Shows which database instance(s) are using any ASM disk groups that are being
mounted by this ASM instance
Discovers and lists disks in ASM_DISKSTRING, including disks that are not part
of any ASM disk group
[name, allocation, unit_size, compatibility, database_compatibility-]
Describes information about ASM disk groups mounted by the ASM instance.
Discovers disks in ASM_DISKSTRING
Lists each ASM file in every ASM disk group mounted by the ASM instance
Like its counterpart, V$SESSION_LONGOPS, it shows each long-running ASM
operation in the ASM instance
Lists each template present in every ASM disk group mounted by the ASM instance
Fixed views
X$KFALS
X$KFDSK
X$KFFIL
X$KFGRP
X$KFGMG
X$KFKID
X$KFNCL
X$KFMTA
ASM
ASM
ASM
ASM
ASM
ASM
ASM
ASM
aliases
disks
files
disk groups
operations
disk performance
clients
templates
2.7.
RAC Commands_v1.1
Page 3 of 7
3.
3.1.
3.2.
3.3.
3.4.
3.5.
CRS - Start / Stop CRS Daemons - will also stop all dependent processes.
Start CRS deamons: run as root
# /rac01/app/crs/product/11.1.0/bin/crsctl start crs
Stop CRS deamons: run as root
# /rac01/app/crs/product/11.1.0/bin/crsctl stop crs
3.6.
RAC Commands_v1.1
Page 4 of 7
3.7.
3.8.
3.9.
3.10.
3.11.
4.
4.1.
4.2.
RAC Commands_v1.1
Page 5 of 7
4.3.
5.
RAC Commands_v1.1
Page 6 of 7
$ crsstat
HA Resource
----------ora.RTSTDB0.RTSTDB01.inst
ora.RTSTDB0.RTSTDB02.inst
ora.RTSTDB0.db
ora.phls6843.ASM1.asm
ora.phls6843.LISTENER_PHLS6843_+ASM1.lsnr
ora.phls6843.gsd
ora.phls6843.ons
ora.phls6843.vip
ora.phls6844.ASM2.asm
ora.phls6844.LISTENER_PHLS6844.lsnr
ora.phls6844.LISTENER_PHLS6844_+ASM2.lsnr
ora.phls6844.gsd
ora.phls6844.ons
ora.phls6844.vip
Target
-----OFFLINE
OFFLINE
OFFLINE
ONLINE
ONLINE
ONLINE
ONLINE
ONLINE
ONLINE
ONLINE
ONLINE
ONLINE
ONLINE
ONLINE
State
----OFFLINE
OFFLINE
OFFLINE
ONLINE on phls6843
ONLINE on phls6843
ONLINE on phls6843
ONLINE on phls6843
ONLINE on phls6843
ONLINE on phls6844
UNKNOWN on phls6844
ONLINE on phls6844
ONLINE on phls6844
ONLINE on phls6844
ONLINE on phls6844
$ crs_stop -f ora.phls6844.LISTENER_PHLS6844.lsnr
Attempting to stop `ora.phls6844.LISTENER_PHLS6844.lsnr` on member `phls6844`
Stop of `ora.phls6844.LISTENER_PHLS6844.lsnr` on member `phls6844` succeeded.
$ crsstat
HA Resource
----------ora.RTSTDB0.RTSTDB01.inst
ora.RTSTDB0.RTSTDB02.inst
ora.RTSTDB0.db
ora.phls6843.ASM1.asm
ora.phls6843.LISTENER_PHLS6843_+ASM1.lsnr
ora.phls6843.gsd
ora.phls6843.ons
ora.phls6843.vip
ora.phls6844.ASM2.asm
ora.phls6844.LISTENER_PHLS6844.lsnr
ora.phls6844.LISTENER_PHLS6844_+ASM2.lsnr
ora.phls6844.gsd
ora.phls6844.ons
ora.phls6844.vip
Target
-----OFFLINE
OFFLINE
OFFLINE
ONLINE
ONLINE
ONLINE
ONLINE
ONLINE
ONLINE
OFFLINE
ONLINE
ONLINE
ONLINE
ONLINE
State
----OFFLINE
OFFLINE
OFFLINE
ONLINE on
ONLINE on
ONLINE on
ONLINE on
ONLINE on
ONLINE on
OFFLINE
ONLINE on
ONLINE on
ONLINE on
ONLINE on
phls6843
phls6843
phls6843
phls6843
phls6843
phls6844
phls6844
phls6844
phls6844
phls6844
If needed, you can now continue to remove the resource from clusterware.
RAC Commands_v1.1
Page 7 of 7