Site Oracledbnote Home Reference Oracl
Site Oracledbnote Home Reference Oracl
Site Oracledbnote Home Reference Oracl
Quick
Reference
Home > Reference > Oracle RAC >
SRVCTL Commands
Command Description
add Adds a component to the Oracle Restart configuration.
config Displays the Oracle Restart configuration for a component.
disable Disables management by Oracle Restart for a component.
enable Reenables management by Oracle Restart for a component.
getenv Displays environment variables in the Oracle Restart configuration for
a database, Oracle ASM instance, or listener.
modify Modifies the Oracle Restart configuration for a component.
remove Removes a component from the Oracle Restart configuration.
setenv Sets environment variables in the Oracle Restart configuration for a
database, Oracle ASM instance, or listener.
start Starts the specified component.
status Displays the running status of the specified component.
stop Stops the specified component.
unsetenv Unsets environment variables in the Oracle Restart configuration for a
database, Oracle ASM instance, or listener.
https://sites.google.com/site/oracledbnote/home/reference/oraclerac/11gr2-rac-comma... 12/02/2016
11gR2 RAC Commands - Oracle Quick Reference Página 2 de 5
srvctl relocate service You can reallocate a service from one named instance to
another named instance.
srvctl disable instance enable = when the server restart the resource must be
srvctl enable database restarted
service
asm disable = when the server restart the resource must NOT
be restarted
(perhaps we are working for some maintenance
tasks)
srvctl config database Lists configuration information from the OCR (Oracle
service Cluster Registry).
asm
nodeapps
srvctl getenv instance srvctl getenv = displays the environment variables stored
srvctl setenv database in the OCR for target.
srvctl unsetenv service
nodeapps srvctl setenv = allows these variables to be set
srvctl unsetenv = llows these variables to be unset
https://sites.google.com/site/oracledbnote/home/reference/oraclerac/11gr2-rac-comma... 12/02/2016
11gR2 RAC Commands - Oracle Quick Reference Página 3 de 5
srvctl config database -d DBname -> to get some information about the database
from OCR.
CRSCTL Commands
https://sites.google.com/site/oracledbnote/home/reference/oraclerac/11gr2-rac-comma... 12/02/2016
11gR2 RAC Commands - Oracle Quick Reference Página 4 de 5
https://sites.google.com/site/oracledbnote/home/reference/oraclerac/11gr2-rac-comma... 12/02/2016
11gR2 RAC Commands - Oracle Quick Reference Página 5 de 5
ATTENTION:
The following commands are deprecated in Oracle Clusterware 11g release 2
(11.2):
crs_stat
crs_register
crs_unregister
crs_start
crs_stop
crs_getperm
crs_profile
crs_relocate
crs_setperm
Iniciar sesión | Actividad reciente del sitio | Informar de uso inadecuado | Imprimir página | Con la tecnología de
Google Sites
https://sites.google.com/site/oracledbnote/home/reference/oraclerac/11gr2-rac-comma... 12/02/2016