Section 5.1:Setting Up an Oracle Service
#
# This line does the real work.
#
/usr/bin/dbiproxy --logfile /home/oracle/dbiproxy.log --localport 1100 &
exit 0
The following is an example of the stopdbi script, which is used to stop a networking DBI proxy
daemon:
#!/bin/sh
#
#
###################################################################
#
# Our Web Server application (perl scripts) work in a distributed
# environment. The technology we use is base upon the
# DBD::Oracle/DBI CPAN perl modules.
#
# This script STOPS the required networking DBI Proxy daemon.
#
###################################################################
PIDS=$(ps ax | grep /usr/bin/dbiproxy | awk '{print $1}')
for pid in $PIDS
do
kill -9 $pid
done
exit 0
The following example shows how to use cluadmin to add an Oracle service.
cluadmin> service add oracle
The user interface will prompt you for information about the service.
Not all information is required for all services.
Enter a question mark (?) at a prompt to obtain help.
Enter a colon (:) and a single-character command at a prompt to do
one of the following:
89
Need help?
Do you have a question about the CLUSTER MANAGER - INSTALLATION AND and is the answer not in the manual?