Re: Startup & Shutdown scripts wisdom needed for informix 7.2
Posted in 1996
David Williams wrote:
>
> In article <32409CB9.459D@west.co.za>, "Mark D. Stock"
> <marks@west.co.za> writes
> >Juan R. Guzman wrote:
> >>
> >> /bin/su - informix -c "${INFORMIXDIR}/bin/ontape -c &"
> >> <ETC, ETC>
> >
> >I hate to be a critic of a nice script, But...
> >I have come across so many sites with automated log backups (I am referring
> >to your use of ontape -c) that I don't have much hair left. An example:
> >
> >I had a site which had crashed, and I restored and then tried loading the
> >log tapes. The one they gave me and the logs I took off the system. Well
> >you can guess the rest, there was a big gap between the two. So I asked who
> >looked after the log backups, and they said "Oh nobody, it's fully automatic.
> >We just make sure the log tape is in the drive". Notice they said "..THE
> >log tape...". Arghh! So whenever the system went down, or was re-booted,
> >yes you guessed it, they overwrote the previous logical logs.
> >
> >But otherwise the script looks fine. I've finished whinging now.
> >
> >Cheers,
>
> So what is the answer for a site that wants to run fully automated
> logging and do not want people to have to restart continous loggin by
> hand? I hand a site who wants to do just this and I'm currently talking
> to Informix about this exact problem.
>
> --
> David Williams
Try echo "0" and return 1 with your ontape -c script.
I have done this with Informix Level 0 archive and ontape -c.
Or talk to Informix Tech support.
John Chantha
chantha@tiac.net