sdruss
asked on
Determine Oracle Server or Oracle Client Installation
In my shop we have several Solaris bash shell scripts that help with database procedures/maintenance. One of the things that we rely on, is the condition on a particular box, whether the database server software or client software is installed. Via the script what would be a good way to determine whether I have a server or client installed on a particular Solaris box?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I wrote a few scripts to monitor an oracle server
part of this is the use of oracle client
after much pains, I simply copy the instant client to the same path on all my servers and refert to it
the instant client doesn't require an installation
that's the easiest way to not depend on any other items installed on a server an no need to check
off course, you need the script to use the hardcoded path of the instant client
part of this is the use of oracle client
after much pains, I simply copy the instant client to the same path on all my servers and refert to it
the instant client doesn't require an installation
that's the easiest way to not depend on any other items installed on a server an no need to check
off course, you need the script to use the hardcoded path of the instant client
If a path is returned, then the executable is installed, so you'll run which on both your client + server executables.