I am familiar with automating startup of single instances on Linux using $ORACLE_HOME/bin/dbstart and /etc/oratab and a script init /etc/init.d that invokes dbstart at the right runlevel.
Could someone say if any of that is relevant to automating the startup/shutdown of a 2-node RAC on Linux?
I've searched Google and this forum for an example of how to automate startup on RAC, but have come up empty-handed.
(I know things like srvctl start database -d mydb, but I am unclear if that needs to go into an init.d script, or if that takes care of all the crs processes etc., or if they need to be started up separately -and if there's a way to setup a dependency on the database and ASM instances, etc.)
You didn't specify your oracle version. but generally on RAC when you do a proper installation it will set you up to automated started when rebooting the server. Unless someone disable the automating restart. use srvctl enable to set it to automated startup