473,809 Members | 2,744 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Log Mirroring + User Exit AIX

Has anyone enabled log mirroring under DB2 v8 on AIX 4.3.3 or 5.? and
if so are you archiving these mirrored logs to TSM? Is this possible?
If so is there any sample code for the user exit and mirrored logging?

Thanks
Nov 12 '05 #1
4 2819
Mulder
The user exit will archive the log file from the primary log path unless it
is damaged, in which case the user exit will archive from the secondary
path.
The DB2 engine tracks which path contains the "good" copy and will invoke
the user exit with the appropriate path.
The user exit that you used prior to V8 will continue to work with V8, there
are no user exit changes required.
The sample source code is located in the instance directory under
sqllib/sample/c

Hope this helps

Dale

"Mulder" <ty****@newsguy .com> wrote in message
news:6m******** *************** *********@4ax.c om...
Has anyone enabled log mirroring under DB2 v8 on AIX 4.3.3 or 5.? and
if so are you archiving these mirrored logs to TSM? Is this possible?
If so is there any sample code for the user exit and mirrored logging?

Thanks

Nov 12 '05 #2
On Tue, 27 Jan 2004 18:50:38 -0500, "Dale McInnis" <mc*****@aci.on .ca>
wrote:
Mulder
The user exit will archive the log file from the primary log path unless it
is damaged, in which case the user exit will archive from the secondary
path.
The DB2 engine tracks which path contains the "good" copy and will invoke
the user exit with the appropriate path.
The user exit that you used prior to V8 will continue to work with V8, there
are no user exit changes required.
The sample source code is located in the instance directory under
sqllib/sample/c

Hope this helps

Dale

"Mulder" <ty****@newsguy .com> wrote in message
news:6m******* *************** **********@4ax. com...
Has anyone enabled log mirroring under DB2 v8 on AIX 4.3.3 or 5.? and
if so are you archiving these mirrored logs to TSM? Is this possible?
If so is there any sample code for the user exit and mirrored logging?

Thanks


I guess this would mean I'll need to recompile the user exit since I
have been using my user exit since v5. I would assume then that the
user exit code has been modified for v8 since the previous versions (
or the one I'm using now ) contain an embedded log path name for my
current log path.

Thanks
Nov 12 '05 #3

"Mulder" <ty****@newsguy .com> wrote in message
news:no******** *************** *********@4ax.c om...
On Tue, 27 Jan 2004 18:50:38 -0500, "Dale McInnis" <mc*****@aci.on .ca>
wrote:
Mulder
The user exit will archive the log file from the primary log path unless itis damaged, in which case the user exit will archive from the secondary
path.
The DB2 engine tracks which path contains the "good" copy and will invoke
the user exit with the appropriate path.
The user exit that you used prior to V8 will continue to work with V8, thereare no user exit changes required.
The sample source code is located in the instance directory under
sqllib/sample/c

Hope this helps

Dale

"Mulder" <ty****@newsguy .com> wrote in message
news:6m******* *************** **********@4ax. com...
Has anyone enabled log mirroring under DB2 v8 on AIX 4.3.3 or 5.? and
if so are you archiving these mirrored logs to TSM? Is this possible?
If so is there any sample code for the user exit and mirrored logging?

Thanks


I guess this would mean I'll need to recompile the user exit since I
have been using my user exit since v5. I would assume then that the
user exit code has been modified for v8 since the previous versions (
or the one I'm using now ) contain an embedded log path name for my
current log path.

Thanks


AFAIK, db2 udb V7.1 introduced the Log Mirroring. If you don't need to
recompile your user exit program after you upgrade the db server to V7.x,
then why you need to recompile when using V8?
Nov 12 '05 #4
v7 fixpak 3 (aka 7.2) was when we shipped log mirroring.

Fan Ruo Xin wrote:
"Mulder" <ty****@newsguy .com> wrote in message
news:no******** *************** *********@4ax.c om...
On Tue, 27 Jan 2004 18:50:38 -0500, "Dale McInnis" <mc*****@aci.on .ca>
wrote:

Mulder
The user exit will archive the log file from the primary log path unless
it
is damaged, in which case the user exit will archive from the secondary
path.
The DB2 engine tracks which path contains the "good" copy and will invoke
the user exit with the appropriate path.
The user exit that you used prior to V8 will continue to work with V8,
there
are no user exit changes required.
The sample source code is located in the instance directory under
sqllib/sample/c

Hope this helps

Dale

"Mulder" <ty****@newsguy .com> wrote in message
news:6m***** *************** ************@4a x.com...

Has anyone enabled log mirroring under DB2 v8 on AIX 4.3.3 or 5.? and
if so are you archiving these mirrored logs to TSM? Is this possible?
If so is there any sample code for the user exit and mirrored logging?

Thanks

I guess this would mean I'll need to recompile the user exit since I
have been using my user exit since v5. I would assume then that the
user exit code has been modified for v8 since the previous versions (
or the one I'm using now ) contain an embedded log path name for my
current log path.

Thanks

AFAIK, db2 udb V7.1 introduced the Log Mirroring. If you don't need to
recompile your user exit program after you upgrade the db server to V7.x,
then why you need to recompile when using V8?


Nov 12 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
2046
by: hrishy | last post by:
Hi All I was just wundering is there any way of mirroring our active logs just in case of disk failures.wil db2 do it automatically for us maybe through some inititalisation parameter. regards Hrishy
6
2779
by: GGerard | last post by:
Hello Does anyone know if there's a way to mirror data from a backend database to a second database? Example: When writing data to one database it would mirror the data in a second database for backup and then if anything should happen to the first database the user could switch to the second backup database.
2
4568
by: Sally Sally | last post by:
Does anyone know of a good way of implementing postgres real-time mirroring? Whether it's a program that's already out there or whether it is something that can be done by the DBA? I know there is one in contrib called dbmirror but does it actually work well (it seems to also require pgperl) Thanks much Sally _________________________________________________________________ Express yourself with the new version of MSN Messenger!...
5
2173
by: Ryan | last post by:
I'm devlving into 2005 and specifically mirroring. Having read the following article ( http://www.microsoft.com/technet/prodtechnol/sql/2005/dbmirror.mspx ), is mirroring a sensible option as it indicates that it should not be used in a production environment, yet the SQL2005 seminars I've been to indicate that this is a worthy option. Do we also need a witness server, or can this be done (sensibly) with two SQL2005 servers ?
5
6234
by: d.grabov | last post by:
Can anyone offer some advice on how to reduce the size of a database log. The database is mirrored on another server using the logs. Thanks
0
4403
by: serge | last post by:
I have 2 SQL Enterprise Editions running SP2 and same collation. When i try to start database mirroring I get the following error message: "The remote copy of database "ABC" has not been rolled forward to a point in time that is emcompassed in the local copy of the database log. (Microsoft SQL Server, Error: 1412)" Both SQL Server services are running under account
0
3068
by: umeshpotdar | last post by:
i am doing mirroring on the data base i have done every step but i got problem below "Database Mirroring Transport is disabled in the endpoint configuration." this problem occured when i cilck on the "start mirroring" button can anybody know about mirroring
5
5869
by: bosko19 | last post by:
We have recently set up two SQL Server 2005 Standard Edition servers with database mirroring. The mirrors function and fail over without a problem, but the Database Mirroring Monitor Job fails every time with the following error message: Incorrect syntax near '.'. (Error 102) Incorrect syntax near the keyword 'with'. If this statement is a common table expression or an xmlnamespaces clause, the previous statement must be terminated...
2
2221
by: cmrhema | last post by:
Hi, All I underwent the following Steps for creating a mirror in sql server 2005. 1. Downloaded and isntalled sp2 in principal,mirror as well as witness servers 2. Created a new database named it as FinalMirror 3. Right clicked on the database Tasks-backup-BackupType--Full--Ok created FinalMirror.bak 4. Right clicked on the database Tasks-backup-BackupType--Transactional Log--Ok created FinalMirror-Transaction Log Backup(both of the...
0
9603
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10640
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10376
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10387
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10120
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9200
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5550
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3861
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3015
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.