Installation guide

http://www.suse.com/oracle/ Page 21
Appendix SuSE Package orarun9i.rpm
Package information
Name : orarun9i
License : GPL
Summary: Environment for running Oracle 9i
Description: This package
sets the Oracle environment variables for each user, like ORACLE_HOME and PATH
sets the recommended kernel parameters, e.g. SHMMAX
provides for automated start/stop of Oracle processes at system startup/shutdown
You may want to or even have to edit /etc/profile.d/oracle.[c]sh (environment variables),
/etc/rc.config.d/oracle.rc.config (which components to start/stop, values for kernel parameters).
File list:
Shell script: /etc/init.d/oracle
Shell variables: /etc/profile.d/oracle.csh
C−Shell variables: /etc/profile.d/oracle.sh
Link (in root’s PATH): /usr/sbin/rcoracle −> ../../etc/init.d/oracle
Shell variables: /etc/rc.config.d/oracle.rc.config
Documentation: /usr/share/doc/packages/orarun9i/README
1.) It provides the environment variables for running Oracle. It does so for all users, by
placing it in the /etc/profile.d/ directory, and it provides a file each for Bourne shell users
and for C shells (SuSE Linux default shell is bash, a Bourne shell). Some administrators may not
like to have an Oracle environment set for all users, they can simply place those files somewhere
else and ignore any errors rpm produces later when it finds that the two files that art part of the
orarun8i package are not there.
2.) The package also provides a script for automated startup and shutdown (when the system
starts up or shuts down) of the Oracle database and of other Oracle components like the Apache
webserver or the listener. Which components should be started by the script can be controlled by
setting certain variables to yes or no in the text file
/etc/rc.config.d/oracle.rc.config.
3.) The startup script also takes care of setting the kernel parameters for running Oracle. This
requires a 2.4 kernel (default in SuSE Linux Enterprise Server 7, but a 2.2 kernel is also available)
to work, with a 2.2 kernel only one parameter (SHMMAX) can be set this way. This is because as
of kernel 2.4 all the parameters that need be be set according to the Oracle recommendations are
dynamically (during runtime) adjustable, so no kernel rebuilding is necessary! The file storing the
values is /etc/rc.config.d/oracle.rc.config. Have a look and edit it according to the
instructions contained in that text file! For small to medium databases no values need to be adjusted
at all since SuSE already provides reasonable defaults, only for bigger production systems might it
become necessary.
Note that the startup script does its two tasks − setting kernel parameters and starting/stopping
Oracle processes − independent of one another.