2026-03-12 21:01:38
This commit is contained in:
8
tiddlywiki/CRS resources check examples.txt
Executable file
8
tiddlywiki/CRS resources check examples.txt
Executable file
@@ -0,0 +1,8 @@
|
||||
# not started databases
|
||||
crsctl status resource -w "((TYPE = ora.database.type) AND (LAST_SERVER = $(hostname -s)) AND (STATE != ONLINE))"
|
||||
|
||||
# not started services
|
||||
crsctl status resource -w "((TYPE = ora.service.type) AND (LAST_SERVER = $(hostname -s)) AND (STATE != ONLINE))"
|
||||
|
||||
# list in tabular mode services not started but having a target=ONLINE
|
||||
crsctl status resource -t -w "((TYPE = ora.service.type) AND (LAST_SERVER = $(hostname -s)) AND (TARGET = ONLINE) AND (STATE != ONLINE))"
|
||||
Reference in New Issue
Block a user