Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

srvctl -force and -draint_timeout command

Harmeet Kaur-OracleFeb 14 2020 — edited Feb 14 2020

Hi,

I have few queries w.r.t srvctl   drain_timeout / force  parameters

1    As per the documentation "Drain timeout is the maximum time the service waits before exiting (in case of srvctl stop service or srvctl stop instance) or proceeding to stop database (srvctl stop database), until the draining of sessions is completed. If session draining completes in 10 seconds and the drain timeout value (on CLI or resource attribute) is 100 seconds, then SRVCTL moves on after 10 seconds. It does not wait for the remaining 90 seconds."

2) what exactly is meant by "resource draining "

3 ) AS per the docuemntation  for -force  option "  you can use this parameter to stop the database, its instances, its services, and any resources that depend on those services."

4 )  As per  my understanding the, the drain_timeout parameter  allows to complete the resource draining action before stopping an instance.  However anyone please explain what happens if within the given timeframe the service doesn’t get relocated?

5) What is the exact difference in -force and drain_timeout command.

6) Can both -force and draint_timeout option be used together.

7) Is there any alternate to drain_timeout parameter  in the version 11.2,12.1,12.2.

Comments
Post Details
Added on Feb 14 2020
1 comment
4,138 views