Unix Technical Forum

onunload/onload & trigger audit

This is a discussion on onunload/onload & trigger audit within the Informix forums, part of the Database Server Software category; --> system info: HP rp7410; OS B.11.11 (11iv1); IDS 9.40.HC3 We have a live, live_audit & train db; the live ...


Go Back   Unix Technical Forum > Database Server Software > Informix

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-20-2008, 05:29 PM
jda
 
Posts: n/a
Default onunload/onload & trigger audit

system info: HP rp7410; OS B.11.11 (11iv1); IDS 9.40.HC3

We have a live, live_audit & train db; the live has about 20 tables we
use trigger audits to write audits to our live_audit db.

These been a process to move our live db to our train db using
onunload and onload using tape and have been using it for about 4-5
years without any problems.

script 1 does a :
/opt/informix/bin/onunload -t $tape livedb {where $tape is defines in
script as one of our tape drives)

script 2 does a :
/opt/informix/bin/onload -t $tape -d dbs0 traindb {same $tape coding}

This weekend I ran the process an some how for the first time the
train db is now writing audits to the live_audit db.

Anyone have have a clue why, as this process has been working for
years?

John

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-20-2008, 05:29 PM
John Carlson
 
Posts: n/a
Default Re: onunload/onload & trigger audit

jda wrote:
> system info: HP rp7410; OS B.11.11 (11iv1); IDS 9.40.HC3
>
> We have a live, live_audit & train db; the live has about 20 tables we
> use trigger audits to write audits to our live_audit db.
>
> These been a process to move our live db to our train db using
> onunload and onload using tape and have been using it for about 4-5
> years without any problems.
>
> script 1 does a :
> /opt/informix/bin/onunload -t $tape livedb {where $tape is defines in
> script as one of our tape drives)
>
> script 2 does a :
> /opt/informix/bin/onload -t $tape -d dbs0 traindb {same $tape coding}
>
> This weekend I ran the process an some how for the first time the
> train db is now writing audits to the live_audit db.
>
> Anyone have have a clue why, as this process has been working for
> years?
>
> John


Ok, let me make sure I have this straight . . .

triggers on livedb --> live_audit

copy database from livedb to traindb using onload

Wouldn't that mean:
triggers on traindb --> live_audit ??

Is there a process somewhere that disables the triggers that isn't
working, perhaps??

JWC
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-20-2008, 05:29 PM
jda
 
Posts: n/a
Default Re: onunload/onload & trigger audit

JWC

Well that might be true but in the past when these scripts have been
run the triggers where not loaded or did not work or whatever.

I'm just trying to figure out what changed, the scripts have not been
changed since 04/03/2002, we have been on 9.4 since 04/01/2005 and
have run these scripts at least 4-5 times prior without this
happening.

John

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:55 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com