This content has been marked as final. Show 3 replies
Could you please elaborate more? What do you want to achieve by creating custom procedure? What does this procedure do?
For one thing, I want to prevent my production application from being shutdown just for a clone.
Sorry, I still do not get you correctly.
For cloning, you can either shutdown the database and take a cold backup. Or you can use RMAN to achieve this without a need to shutdown the source database.
You can use addbctl.sh script to startup/shutdown the database, so what kind of script you have that prevent your production instance from being shutdown?