Download as pdf or txt
Download as pdf or txt
You are on page 1of 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