0% found this document useful (0 votes)
35 views4 pages

Lab 1004

This document demonstrates how to use SRVCTL to start and stop Oracle database components. It describes setting the Oracle environment, checking the status of nodes, databases and scan listeners. It also provides the SRVCTL commands to shutdown and restart instances on a node, stop and start the whole database, and stop and start the scan listener.

Uploaded by

Yash Raj
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
35 views4 pages

Lab 1004

This document demonstrates how to use SRVCTL to start and stop Oracle database components. It describes setting the Oracle environment, checking the status of nodes, databases and scan listeners. It also provides the SRVCTL commands to shutdown and restart instances on a node, stop and start the whole database, and stop and start the scan listener.

Uploaded by

Yash Raj
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Using

Srvctl
We will demonstrate how to start and stop a database
using SRVCTL
Using Srvctl
Set the Oracle environment
From the rst node
$. oraenv
orcl1
Retrieve the status of the node applicaDons
$srvctl status nodeapps
Retrieve the status of the database
$srvctl status database d orcl
Retrieve the status of the scan_listener
srvctl status scan_listener
Using Srvctl
Shutdown the instance on node 2

$srvctl stop instance d orcl I orcl2


Restart the instance
$srvctl start instance d orcl I orcl
Stop the database
$srvctl stop database d orcl
Restart the database
$srvctl start database d orcl
Using Srvctl
Stop the scan listener
$srvctl stop scan_listener I [1]
where 1 is the locaDon of the scan listener
Start the scan listener
$srvctl start scan_listener I[1]

You might also like