dbTalk Databases Forums  

FW: Query for database HDR mode?

comp.databases.informix comp.databases.informix


Discuss FW: Query for database HDR mode? in the comp.databases.informix forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Sean Baker
 
Posts: n/a

Default FW: Query for database HDR mode? - 05-26-2011 , 10:24 AM






Found it. The sysmaster:sysdri table has exactly the info I need, including the name of the other database server in the HDR pair!

Thanks,

Sean.

-----Original Message-----
From: informix-list-bounces (AT) iiug (DOT) org [mailto:informix-list-bounces (AT) iiug (DOT) org] On Behalf Of Sean Baker
Sent: Thursday, May 26, 2011 7:51 AM
To: informix-list (AT) iiug (DOT) org
Subject: Query for database HDR mode?

I'm trying to determine from within an SPL routine what HDR mode the current database is in (standard, primary or secondary). Is there anything in systables that has this information? I've looked at sysopendb, but it doesn't seem to have that info.

Even better, if I can detect that I'm on a secondary server, is there a wayto lookup the primary server?

We're on IDS 11.50.FC6.

Thanks,

Sean.
_______________________________________________
Informix-list mailing list
Informix-list (AT) iiug (DOT) org
http://www.iiug.org/mailman/listinfo/informix-list

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.