Examine the following output:
[oracle@gr5153~]$srvctl add service -d RACDB -s erp -g pool1 -c uniform -y manual
[oracle0gr5153~]$srvctl start service -d RACDB -s ERP
[oracle@gr5153~]$crsctl stat res ora.racdb.erp.svc NAME=ora.racdb.erp.svc
TYPE=ora.service.type
TARGET=ONLINE, ONLINE, ONLINE STATE=ONLINE on gr5118, ONLINE on gr5152, ONLINE
on gr5153
[oracle@gr5153~]$ srvctl config database -d RACDB
Database unique name: RACDB
Database name: RACDB
Oracle home:/u01/app/oracle/product/11.2.0/dbhome_1
Oracle user:oracle
Spfile:+DATA/RACDB/spfileRACDB.ora
Domain:
Start options:open
Stop options:immediate
Database role:PRIMARY
Management policy:AUTOMATIC
Server pools:POOL 1
Database instances:
Disk Groups:DATA, FRA
Services:ERP
Database is policy managed
$srvctl stop database -d RACDB -o immediate
Which two statements are true regarding the srvctl stop command?
A.
It will shut down all the instances of the RACDB database.
B.
It will shut down only the RACDB instance and the ERP service on the node on which the
Command is executed.
C.
It will shut down only the database instance on the node on which the command is executed.
D.
It will stop the ERP service related to the RACDB database on all the nodes.
Explanation:
Shut down all Oracle RAC instances on all nodes. To shut down all Oracle RAC
instances for a database, enter the following command, where db_name is the name of the
database:
srvctl stop database -d db_name
Stops a database, its instances, and its services. When the database later restarts, services with
AUTOMATIC management start automatically but services with MANUAL management policy
must be started manually.
Oracle Real Application Clusters Administration and Deployment Guide
A is right. stop database and its all services
B is wrong.
C is wrong.
D is right.
So A.D. are correct.