Login  Register

Re: init script for Oracle VMs like Weblogic Server

Posted by ErmanArslansOracleBlog on Oct 30, 2014; 8:37pm
URL: http://erman-arslan-s-oracle-forum.124.s1.nabble.com/init-script-for-Oracle-VMs-like-Weblogic-Server-tp79p80.html

When the ODA_BASE is up. You can start them using oakcli.
"oakcli start vm VIRTUAL_MACHINE_NAME" is enough for starting a virtual machine.

You can place this type of commands into /etc/rc.local. Thus will be executed after all the system services are started.

I could not find any best practices for that.

To stop , you can use oakcli stop vm VIRTUAL_MACHINE_NAME

you can use rc.local even for shutting down..
I didnt test it yet , but check the following ; it is nice if it s working..
http://crunchbang.org/forums/viewtopic.php?id=14453

Also, If you want to use rc.d runlevel scripts, prepare your "oakcli start vm "script in the same logic as you prepared for your  ODA_BASE.