Which two utilities support the “what-if” command evaluation?
A.
asmcmd
B.
ocrconfig
C.
oifcfg
D.
crsctl
E.
srvctl
Explanation:
Which two utilities support the “what-if” command evaluation?
Which two utilities support the “what-if” command evaluation?
A.
asmcmd
B.
ocrconfig
C.
oifcfg
D.
crsctl
E.
srvctl
Explanation:
Correct: D & E
SRVCTL:
You can use the -eval parameter with several SRVCTL commands. This parameter, when you use it, enables you to simulate running a command without making any changes to the system. SRVCTL returns output that informs you what will happen if you run a particular command. For example, to know what might happen if you relocate a server:
$ srvctl relocate server –servers “rac1” –eval –serverpool pool2
Database db1
will stop on node rac1
will start on node rac7
Service mySrv1
will stop on node rac1, it will not run on any node
Service myServ2
will stop on node rac1
will start on node rac6
Server rac1
will be moved from pool myPoolX to pool pool2
The -eval parameter is available with the following commands:
srvctl add database
srvctl add service
srvctl add srvpool
srvctl modify database
srvctl modify service
srvctl modify srvpool
srvctl relocate server
srvctl relocate service
srvctl remove srvpool
srvctl start database
srvctl start service
srvctl stop database
srvctl stop service
predict
The predict command predicts what happens when a resource fails and cannot be restarted on the same node. This command does not make any modifications to the system.
Table A-97 srvctl predict Summary
Command – Description
srvctl predict asm – Predicts the consequences of Oracle ASM failure
srvctl predict database – Predicts the consequences of database failure
srvctl predict diskgroup – Predicts the consequences of diskgroup failure
srvctl predict filesystem – Predicts the consequences of filesystem failure
srvctl predict listener – Predicts the consequences of listener failure
srvctl predict network – Predicts the consequences of network failure
srvctl predict oc4j – Predicts the consequences of OC4J failure
srvctl predict scan – Predicts the consequences of SCAN failure
srvctl predict scan_listener – Predicts the consequences of SCAN listener failure
srvctl predict service – Predicts the consequences of service failure
srvctl predict vip – Predicts the consequences of VIP failure
http://docs.oracle.com/database/121/RACAD/srvctladmin.htm#RACAD005
CRSCTL:
Using the eval Command
The eval command, when you use it, enables you to simulate a command without making any changes to the system. CRSCTL returns output that informs you what will happen if you run a particular command.
The eval commands available are:
crsctl eval activate policy
crsctl eval add resource
crsctl eval add server
crsctl eval add serverpool
crsctl eval delete server
crsctl eval delete serverpool
crsctl eval fail resource
crsctl eval modify resource
crsctl eval modify serverpool
crsctl eval relocate resource
crsctl eval relocate server
crsctl eval start resource
crsctl eval stop resource
http://docs.oracle.com/database/121/CWADD/crsref.htm#CWADD91142
http://www.toadworld.com/platforms/oracle/w/wiki/11702.oracle-clusterware-12c-what-if-command-evaluation-part-i
http://www.toadworld.com/platforms/oracle/w/wiki/11724.oracle-clusterware-12c-what-if-command-evaluation-part-ii
So, “D” and “E”, but, in the Exam, have three questions
Training material (p7-40)says:
What-if command evaluation is supported using the clusterware C API, the crsctl eval command, and the srvctl command with the -eval opetion.
Correct ones are D and E, if there is another choice I hope is “Clusterware C API”
Agree, just D and E from this list,
the other should be “Clusterware C API”