[ClusterLabs] ocf:heartbeat:oracle

Ken Gaillot kgaillot at redhat.com
Thu Nov 15 00:21:02 UTC 2018


On Wed, 2018-11-14 at 11:43 -0600, Scott Croft wrote:
> Where is the path set for the resource-agent in $SUBJ to look for the
> oracle binaries, specifically like sqlplus? We are seeing a failure
> in an instance startup because it can't find the binary and the
> configuration files don't indicate where it's looking? ORACLE_HOME?
> 
> Thanks
> 
> SCOTT CROFT
> SENIOR ARCHITECT, RHCE RHEV
> Red Hat Inc.
> scroft at redhat.com    M: 469.664.9453    
> 	TRIED. TESTED. TRUSTED.

Hi,

The XML meta-data for each agent shows the parameters it accepts:

   crm_resource --show-metadata ocf:heartbeat:oracle

although your front end of choice probably has more user-friendly
output, for example with pcs:

   pcs resource describe ocf:heartbeat:oracle

In this case I see:

home: The Oracle home directory (aka ORACLE_HOME). If not specified,
then the SID along with its home should be listed in /etc/oratab.

So, you would set that in the resource parameters when creating the
resource (or modifying an existing one).
-- 
Ken Gaillot <kgaillot at redhat.com>


More information about the Users mailing list