- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Oracle Dataguard - managed with SG packages
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
03-20-2009 07:42 AM
03-20-2009 07:42 AM
Oracle Dataguard - managed with SG packages
The source database at the primary site is already in a serviceguard package. The DR site is on the same logical subnet - which should make things easier for the end users.
I would like to setup dataguard and have switchover controlled from within a serviceguard package. I assume that others have done this, so I'm looking for some tips.
My first thoughts: I'd create a new SG package on the primary cluster that would do everything just like the production package, but would NOT present the production IP, and would issue a DataGuard broker command to initiate a switchover.
I look forward to hearing about your proven solutions.
-tjh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2009 08:24 AM
03-20-2009 08:24 AM
Re: Oracle Dataguard - managed with SG packages
Unfortunately there's a very big fly in the ointmnent... oracle doesn't support the dataguard broker with any failover cluster except their own clusterware or with oracle RAC. There's a metalink article on this if you search in metalink for "dataguard broker cold failover cluster".
So that leaves you having to use the old fashioned SQL commands and some home-made mechanism for determining who is the primary and who is the standby... there's different ways of doing this, but typically I've seen it done with a seperate "control package" - that is you have the normal database packages that get the 2 databases to mount state and then you have seperate control packages that are dependent on your database packages. These control packages need to use some mechanism to determine who is primary and who is standby and then configure the databases appropriately using standard SQL commands ("alter database open" for the primary and "alter database recover managed standby ..." for the standby)
It isn't straightforward or simple I'm afraid - in some cases people feel more comfortable just using a flag file to determine who is primary and who is standby and let the DBAs manage the flag files...
Hope vthat gives you some ideas...
HTH
Duncan
I am an HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2009 09:51 AM
03-20-2009 09:51 AM
Re: Oracle Dataguard - managed with SG packages
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2009 01:06 AM
03-21-2009 01:06 AM
Re: Oracle Dataguard - managed with SG packages
Certainly any version before 10.2.0.4 it didn't work with, cos I've tried it. The physical hostname gets written into dataguard brokers configuration file. Failover yhe database to the other cluster node and the broker just won't start right.
From 10.2.0.4 onwards? I'm not so sure - that's the version that Oracle fixed it for Oracle Clusterware in. So I guess it depends how they fixed it... if it works let us all know.
HTH
Duncan
I am an HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2009 09:44 AM
03-24-2009 09:44 AM
Re: Oracle Dataguard - managed with SG packages
-tjh