 |
It really is not that difficult, but it is a little different than what we are used to do on Solaris. You do need to edit /etc/hostconfig and add a line that will be used later on to decide about having to start or not to start.
I added in /etc/hostconfig: ORACLE=-YES- and can change this to ORACLE=-NO- when I don't want to start oracle.
In /System/Library/StartupItems I created a directory oracle. In this directory are 2 files. 1)StartupParameters.plist 2)oracle
The directory name and the script file, oracle, must have the same name.
The files are also on the iDisk. The oracle script references /usr/local/bin/oracle as the script that should start what you call oracle. In my case I start the listener, the database[s] and if available dbconsole or gridcontrol. The script is also on the iDisk (local_bin/)
Having problems or need help ?, send me a message. Ronald.

|
 |