Some times you may notice to stop all the databases running on oracle rac cluster as soon as possible, and assume there are 50+ databases are running on same host, then manually stoping all the databases will take lots of time.
So, Stopping all RAC databases running on an ORACLE_HOME at once and saving the state before shutting them down is really helpful when you are doing patching on a server.
In my case I have databases running on some nodes and not the others, it’s getting complicated to keep track of which database is running where. With this method you will shutdown all databases at once and keep track of the databases running on that node before shutting them down.
Stopping all RAC databases of an ORACLE_HOME
This command will stop all databases running on the ORACLE_HOME specified and save the state before the shutdown in a state file.
$ srvctl stop home -oraclehome
/u01/app/oracle/product/12.1.0/dbhome_1 -node node1 -statefile
/tmp/node1_stop.dmp
Starting all RAC databases of an ORACLE_HOME
This command uses a state file to restart all databases previously running on a node.
srvctl start home -oraclehome
/u01/app/oracle/product/12.1.0/dbhome_1 -node node1 -statefile
/tmp/node1_stop.dmp
Have you been a victim of crypto wallet attacks? Here’s a way to quickly recover your crypto wallet and assets if you’ve been in similar situation, I was recently a victim of crypto wallet attacks and I lost access to my BTC and ETH funds. I was drowning in debt, until I approached a legal firm who recommended I contacted MorphoHack, a data recovery and funds recovery team, who helped me trace and regained access to my crypto wallet with my funds fully recovered. MorphoHack are simply magnificent individuals, with a professional direct approach to the situation, and countless others have been able to recover their crypto, funds lost due to scam, data, personal data recovery. MorphoHack are truly ethical hackers, with well advanced technology to help in any case. I highly recommend their service and fortunately, MorphoHack can be reached easily via email below
ReplyDeletemorphohack@cyberservices.com