- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- using oracle listener in a two nodes serviceguard'...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2006 01:27 PM
09-11-2006 01:27 PM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2006 01:47 PM
09-11-2006 01:47 PM
Re: using oracle listener in a two nodes serviceguard's cluster
An active-active cluster requires oracle rac.
Oracle server will not work in an active-active cluster. If you do get the two databases to come up you will soon have corrupted data. I've seen the results and its not pretty.
Oracle RAC's standard configuration tools deals with these issues.
The listener startup script is aware its clustered and checks for the presence of an already running listener and takes appropriate action.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2006 07:52 PM
09-11-2006 07:52 PM
Re: using oracle listener in a two nodes serviceguard's cluster
You don't need your listener to run in a seperate package, you do however need to make sure that you are a) referencing the correct listener.ora for the package (some people use the TNS_ADMIN env variable to point at a copy of listener.ora on the shared disk) and b) make sure that the two listeners are using different TCP ports - they can't both use 1521 - if you change one you will also have to update tnsnames.ora on the servers and any clients.
HTH
Duncan
I am an HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2006 12:33 AM
09-12-2006 12:33 AM
Re: using oracle listener in a two nodes serviceguard's cluster
You CAN run multiple DBs - WITH listeners - w/o using RAC.
AND you really should run multiple listeners when you're running multiple SIDs.
All you need to do is run EACH listener on a separate port.
For instance run SID1 on 1521, run SID2 on 1522, etc.
Then all that needs to be done is the tnsnames.ora file just needs to codify that.
It's really that simple.
We do it all the time here & we're a BIG shop.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2006 03:05 AM
09-12-2006 03:05 AM
Re: using oracle listener in a two nodes serviceguard's cluster
if this is your problem, one solution is to create a set of the above that the package puts in place during the package move that have the new nodes IP address(hostname) in the above files.
Or...
Have all of the names of services in the above named files reference the virtual IP address.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2006 03:42 AM
09-12-2006 03:42 AM
Re: using oracle listener in a two nodes serviceguard's cluster
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2006 03:58 AM
09-12-2006 03:58 AM
Re: using oracle listener in a two nodes serviceguard's cluster
First Node:
ORACLE_HOME=/lvolora12/app/product/9.2.0.6
ORACLE_ADMIN=oraclust
SID_NAME=STUDUM
LISTENER=yes
LISTENER_NAME=HP1N0_LISTENER
LISTENER_PASS=
PFILE=${ORACLE_HOME}/dbs/init${SID_NAME}.ora
Second Node:
ORACLE_HOME=/lvolora32/app/product/9.2.0.6
ORACLE_ADMIN=oraclust
SID_NAME=JPOINT
LISTENER=yes
LISTENER_NAME=HP2N0_LISTENER
LISTENER_PASS=
PFILE=${ORACLE_HOME}/dbs/init${SID_NAME}.ora
One data base per node is the responsable for startup the listener.
I want to say you that I am not the Oracle DBA. My parthner and I configured only serviceguard. We want to know the best practice to manage the listener with serviceguard. Is posible run two diferent listeners in the same node when occurs a failover? Any additional comments and help will be appreciate.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2006 07:48 AM
09-12-2006 07:48 AM
Re: using oracle listener in a two nodes serviceguard's cluster
You should create 2 oracle users on both cluster nodes. For example on node 1 create user oracle1 and on node 2 user oracle2. Make sure the UID are the same.
Now install oracle on node 1 with user oracle1 in package1 and install oracle on node 2 with user oracle2.
Make sure SG brings down the VG's your oracle installation uses and moves them towards the other node after failover.
In this way you can run both oracle installations(including the listeners) on the same node.
If you've got any more questions let me now.
Regards,
MB.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2006 08:16 AM
09-12-2006 08:16 AM
Re: using oracle listener in a two nodes serviceguard's cluster
Can't see why your diagreeing with me, as I actually said pretty much the same as you (in not so many words)...
HTH
Duncan
I am an HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2006 09:14 AM
09-12-2006 09:14 AM
SolutionThere is no reason for Oracle RAC for an active-active cluster, just ensure each DB has different ports for each listener as has been mentioned.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2006 06:28 PM
09-12-2006 06:28 PM
Re: using oracle listener in a two nodes serviceguard's cluster
Hi,
Maybe your DBA should define for each Listener a different Listener Port.
So even if the package would switch the listener will come up because each listener uses a different listener port.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2006 02:49 AM
09-13-2006 02:49 AM
Re: using oracle listener in a two nodes serviceguard's cluster
Somebody has some evidence or document to support all this information? (about the use of two listener)
My customer ask me for documentation.
Any help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2006 03:49 AM
09-13-2006 03:49 AM
Re: using oracle listener in a two nodes serviceguard's cluster
On node which is running package, you add ip alias address. Then you start listener on ip alias address, not host address.
In that case users do not care which node runs package (database and listener).
You can also use this for each database instance (and listener).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2006 03:02 AM
09-14-2006 03:02 AM
Re: using oracle listener in a two nodes serviceguard's cluster
I don't find anything to convince my client. I found only that links:
http://www.utexas.edu/its/unix/reference/oracledocs/v92/B10501_01/rac.920/a96597/pshavdtl.htm
http://www.freelists.org/archives/oracle-l/03-2005/msg00759.html
Any other suggestion.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2006 09:45 AM
09-14-2006 09:45 AM