Bug 458481 - oracledb.sh does not correctly handle multiple Oracle instances
Summary: oracledb.sh does not correctly handle multiple Oracle instances
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Red Hat Cluster Suite
Classification: Retired
Component: rgmanager
Version: 4
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Lon Hohberger
QA Contact: Cluster QE
URL:
Whiteboard:
Depends On:
Blocks: 471226
TreeView+ depends on / blocked
 
Reported: 2008-08-08 19:27 UTC by Matthew Whitehead
Modified: 2009-04-16 20:23 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-02-18 20:39:47 UTC
Embargoed:


Attachments (Terms of Use)
Patched oracle database agent that supports multiple instances (but has this bug) (20.48 KB, text/plain)
2008-10-27 20:40 UTC, Lon Hohberger
no flags Details
Fix, pass 1 (20.36 KB, text/plain)
2008-12-09 22:14 UTC, Lon Hohberger
no flags Details

Description Matthew Whitehead 2008-08-08 19:27:06 UTC
Description of problem: when using the /etc/init.d/oracledb.sh script that handles multiple oracles instances, it kills ALL oracle processes when shutting down an oracle service.  


Version-Release number of selected component (if applicable): rgmanager-1.9.80-1


How reproducible: 100%


Steps to Reproduce:
1. Create 2 oracle clustered services
2. Run them on the same cluster member
3. Fail one over to another node
  
Actual results: All oracle processes get killed and restarted


Expected results: Only the moving service processes should be killed and moved.


Additional info:

Comment 3 Lon Hohberger 2008-10-27 20:40:25 UTC
Created attachment 321658 [details]
Patched oracle database agent that supports multiple instances (but has this bug)

Comment 4 Lon Hohberger 2008-11-11 19:21:12 UTC
Shane noted that changing the 'pids' line in force_cleanup to this might fix the problem:

pids=`ps ax | grep $ORACLE_HOME | grep "ora_.*_${ORACLE_SID}" |grep -v
grep | awk '{print $1}'`

Comment 7 Lon Hohberger 2008-12-09 22:14:20 UTC
Created attachment 326415 [details]
Fix, pass 1

Comment 8 Lon Hohberger 2009-02-18 20:39:47 UTC
Based on customer reports, I have copied the above script to my notes page here:

http://people.redhat.com/lhh/oracle-rhel5-notes-0.6/oracle-notes.html

However, due to limited feedback, I am closing this.


Note You need to log in before you can comment on or make changes to this bug.