Join IIUG
 for   
 

Informix News
18 Nov 13 - ZDNet - Top 20 mobile skills in demand... Read
09 Sep 13 - telecompaper - Shaspa and Tatung have shown a new smart home platform at Ifa in Berlin. Powered by the IBM Informix software... Read
06 Sep 13 - IBM data magazine - Mission Accomplished - Miami, Florida will be the backdrop for the 2014 IIUG Informix Conference... Read
01 Feb 13 - IBM Data Magazine - Are your database backups safe? Lester Knutsen (IBM Champion) writes about database back up safety using "archecker"... Read
14 Nov 12 - IBM - IBM's Big Data For Smart Grid Goes Live In Texas... Read
3 Oct 12 - The Financial - IBM and TransWorks Collaborate to Help Louisiana-Pacific Corporation Achieve Supply Chain Efficiency... Read
28 Aug 12 - techCLOUD9 - Splunk kicks up a SaaS Storm... Read
10 Aug 12 - businessCLOUD9 - Is this the other half of Cloud monitoring?... Read
3 Aug 12 - IBM data management - Supercharging the data warehouse while keeping costs down IBM Informix Warehouse Accelerator (IWA) delivers superior performance for in-memory analytics processing... Read
2 Aug 12 - channelbiz - Oninit Group launches Pay Per Pulse cloud-based service... Read
28 May 12 - Bloor - David Norfolk on the recent Informix benchmark "pretty impressive results"... Read
23 May 12 - DBTA - Informix Genero: A Way to Modernize Informix 4GL Applications... Read
9 Apr 12 - Mastering Data Management - Upping the Informix Ante: Advanced Data Tools... Read
22 Mar 12 - developerWorks - Optimizing Informix database access... Read
14 Mar 12 - BernieSpang.com - International Informix User Group set to meet in San Diego... Read
1 Mar 12 - IBM Data Management - IIUG Heads West for 2012 - Get ready for sun and sand in San Diego... Read
1 Mar 12 - IBM Data Management - Running Informix on Solid-State Drives.Speed Up Database Access... Read
26 Feb 12 - BernieSpan.com - Better results, lower cost for a broad set of new IBM clients and partners... Read
24 Feb 12 - developerWorks - Informix Warehouse Accelerator: Continuous Acceleration during Data Refresh... Read
6 Feb 12 - PRLOG - Informix port delivers unlimited database scalability for popular SaaS application ... Read
2 Feb 12 - developerWorks - Loading data with the IBM Informix TimeSeries Plug-in for Data Studio... Read
1 Feb 12 - developerWorks - 100 Tech Tips, #47: Log-in to Fix Central... Read
13 Jan 12 - MC Press online - Informix Dynamic Server Entices New Users with Free Production Edition ... Read
11 Jan 12 - Computerworld - Ecologic Analytics and Landis+Gyr -- Suitors Decide to Tie the Knot... Read
9 Jan 12 - planetIDS.com - DNS impact on Informix / Impacto do DNS no Informix... Read
8 Sep 11 - TMCnet.com - IBM Offers Database Solution to Enable Smart Meter Data Capture... Read
1 Aug 11 - IBM Data Management Magazine - IIUG user view: Happy 10th anniversary to IBM and Informix... Read
8 Jul 11 - Database Trends and Applications - Managing Time Series Data with Informix... Read
31 May 11 - Smart Grid - The meter data management pitfall utilities are overlooking... Read
27 May 11 - IBM Data Management Magazine - IIUG user view: Big data, big time ( Series data, warehouse acceleration, and 4GLs )... Read
16 May 11 - Business Wire - HiT Software Announces DBMoto for Enterprise Integration, Adds Informix. Log-based Change Data Capture... Read
21 Mar 11 - Yahoo! Finance - IBM and Cable&Wireless Worldwide Announce UK Smart Energy Cloud... Read
14 Mar 11 - MarketWatch - Fuzzy Logix and IBM Unveil In-Database Analytics for IBM Informix... Read
11 Mar 11 - InvestorPlace - It's Time to Give IBM Props: How many tech stocks are up 53% since the dot-com boom?... Read
9 Mar 11 - DBTA - Database Administration and the Goal of Diminishing Downtime... Read
2 Feb 11 - DBTAs - Informix 11.7 Flexible Grid Provides a Different Way of Looking at Database Servers... Read
27 Jan 11 - exactsolutions - Exact to Add Informix Support to Database Replay, SQL Monitoring Solutions... Read
25 Jan 11 - PR Newswire - Bank of China in the UK Works With IBM to Become a Smarter, Greener Bank... Read
12 Oct 10 - Database Trends and Applications - Informix 11.7: The Beginning of the Next Decade of IBM Informix... Read
20 Sep 10 - planetIDS.com - ITG analyst paper: Cost/Benefit case for IBM Informix as compared to Microsoft SQL Server... Read
20 Jul 10 - IBM Announcements - IBM Informix Choice Edition V11.50 helps deploy low-cost scalable and reliable solutions for Apple Macintosh and Microsoft Windows... Read
20 Jul 10 - IBM Announcements - Software withdrawal: Elite Support for Informix Ultimate-C Edition... Read
24 May 10 - eWeek Europe - IBM Supplies Database Tech For EU Smart Grid... Read
23 May 10 - SiliconIndia - IBM's smart metering system allows wise use of energy... Read
21 May 10 - CNET - IBM to help people monitor energy use... Read
20 May 10 - ebiz - IBM Teams With Hildebrand To Bring Smart Metering To Homes Across Britain... Read
19 May 10 - The New Blog Times - Misurare il consumo energetico: DEHEMS è pronto... Read
19 May 10 - ZDNet - IBM software in your home? Pact enables five-city smart meter pilot in Europe... Read
17 March 10 - ZDNet (blog) David Morgenstern - TCO: New research finds Macs in the enterprise easier, cheaper to manage than... Read
17 March 2010 - Virtualization Review - ...key components of Big Blue's platform to the commercial cloud such as its WebSphere suite of application ser vers and its DB2 and Informix databases... Read
10 February 2010 - The Wall Street Journal - International Business Machines is expanding an initiative to win over students and professors on its products. How do they lure the college crowd?... Read


End of Support Dates

IIUG on Facebook IIUG on Twitter

[ View Thread ] [ Post Response ] [ Return to Index ] [ Read Prev Msg ] [ Read Next Msg ]

IDS Forum

Re: Logical Log files MISSING

Posted By: VIKAS HIVARKAR
Date: Thursday, 6 November 2008, at 6:34 a.m.

Hello Martin,

Your Note :"this is not 100% error proof as there still is a gap between checking for a running "ontape -a -d" process and starting a new one. "
came true and the server missed backing of one more logical log yesterday.

I tried

if ( `test x${BACKUPLOGS} = xY` ) then

## $BACKUP_CMD 2>&1 >> /dev/null

COUNT=`ps -aef | grep "ontape -a -d" |grep -v grep | wc -l`

if [ $COUNT -eq 0 ]; then

$BACKUP_CMD 2>&1 |tee -a $LOG > $CPLOG

EXIT_STATUS=$?

it worked well untill yestarday and we missed backing yet another logical log and writing the description along with error = 2 in my log file.

only 11.10 FC3 will help us when it arrives and till then we have to live with this bug.

Could you please explain me what stituation helped your Note come true ?
yes there was heavy loading at the time when this happened.

Any improvement i can do with the workaround in alarmprogram.sh ?

Regards
Vikas

------------------------------------------------------------
----------------------------------------------------
Re: Logical Log files MISSING

Posted By: Martin Fuerderer <Send E-Mail>
Date: Monday, 13 October 2008, at 5:05 a.m.

In Response To: Re: Logical Log files MISSING (Davis Kwong)

Hi,

most likely (> 98%), the problem is what Davis described
in his answer (see below). If you want to be 100% sure,
then you have to modify your alarm program script (or
whatever script/program actually executes the ontape
command) to capture the output of the ontape processes
in a file. If you see messages indicating that some
temporary file cannot be renamed and/or removed
because it does not exist (errno 2), then this is the
described problem.

Besides taking a level-0 archive when the situation of
log file backup loss occured, you may consider the
following to improve the situation:

a) in your script/program add some code to first
check whether an "ontape -a -d" command is already
being executed (e.g. using "ps ..." output). If so, then
do not start a new "ontape -a -d". The one that is
running will backup all the used log files anyway
(except the current log file).
Note: this is not 100% error proof as there still is a

gap between checking for a running "ontape -a -d"

process and starting a new one.

b) Capture all ontape output (stdout and stderr) to a
file and put in your alarm program some additional
code to check this file for above dscribed errors.
If such an error is detected, write a warning (to online.log
or whatever) because now surely it is time to do a
level-0 archive ...
Note: this may also not bee 100% error proof. An error

may still slip your attention. It highly depends on the

implementation of the error checking/scanning ...

c) The respective defect is: idsdb00165611 (for IDS 11.10).
While in the upcoming 11.50.xC3 this is fixed already,
you may contact IBM Informix Tech Support (check
your contract) to get a fix of this problem for
your IDS 11.10 ...

Regards,
Martin
--
Martin Fuerderer
IBM Informix Development Munich, Germany
Information Management

IBM Deutschland Research & Development GmbH
Chairman of the Supervisory Board: Martin Jetter
Board of Management: Erich Baier
Corporate Seat: Boeblingen, Germany
Reg.-Gericht: Amtsgericht Stuttgart, HRB 243294

ids-bounces@iiug.org wrote on 10.10.2008 21:55:01:

> ids-bounces@iiug.org wrote on 10/10/2008 10:01:44 AM:
>
> > Hello,
> >
> > IDS 11.10.FC2W4 on solaris 10
> >
> > Ontape for backing up of logical log files to a directory using the
> > alarmprogram.sh script
> >
> > I see that manyyy logical log files are missing from the logical log
> backup
> > directory..
> >
> > -rw-rw---- 1 informix informix 20578304 Oct 7 23:11
> proddb_1_Log0000020073
> > -rw-rw---- 1 informix informix 20578304 Oct 7 23:11
> proddb_1_Log0000020074
> > -rw-rw---- 1 informix informix 20578304 Oct 7 23:11
> proddb_1_Log0000020075
> > -rw-rw---- 1 informix informix 20578304 Oct 7 23:11
> proddb_1_Log0000020076
> > -rw-rw---- 1 informix informix 20578304 Oct 7 23:11
> proddb_1_Log0000020077
> > -rw-rw---- 1 informix informix 20578304 Oct 7 23:11
> proddb_1_Log0000020078
> > -rw-rw---- 1 informix informix 20578304 Oct 7 23:12
> proddb_1_Log0000020079
> > -rw-rw---- 1 informix informix 20578304 Oct 7 23:12
> proddb_1_Log0000020080
> > -rw-rw---- 1 informix informix 20578304 Oct 7 23:12
> proddb_1_Log0000020081
> > -rw-rw---- 1 informix informix 20578304 Oct 7 23:12
> proddb_1_Log0000020082
> > -rw-rw---- 1 informix informix 20578304 Oct 7 23:12
> proddb_1_Log0000020083
> > -rw-rw---- 1 informix informix 20578304 Oct 7 23:12
> proddb_1_Log0000020085
> > -rw-rw---- 1 informix informix 20578304 Oct 7 23:12
> proddb_1_Log0000020086
> > -rw-rw---- 1 informix informix 20578304 Oct 7 23:12
> proddb_1_Log0000020087
> > -rw-rw---- 1 informix informix 20578304 Oct 7 23:12
> proddb_1_Log0000020088
> >
> > i checked in onstat -l and found that log with uniqid
> >
> > a3180d77e0 142 U-B---- 20066 5:1290053 10000 10000 100.00
> > a3180d7848 143 U-B---- 20067 5:1300053 10000 10000 100.00
> > a3180d78b0 144 U-B---- 20068 5:1310053 10000 10000 100.00
> > a3180d7918 145 U-B---- 20069 5:1320053 10000 10000 100.00
> > a3180d7980 146 U-B---- 20070 5:1330053 10000 10000 100.00
> > a3180d79e8 147 U-B---- 20071 5:1340053 10000 10000 100.00
> > a3180d7a50 148 U-B---- 20072 5:1350053 10000 10000 100.00
> > a3180d7ab8 149 U-B---- 20073 5:1360053 10000 10000 100.00
> > a3180d7b20 150 U-B---- 20074 5:1370053 10000 10000 100.00
> > a3180d7b88 151 U-B---- 20075 5:1380053 10000 10000 100.00
> > a3180d7bf0 152 U-B---- 20076 5:1390053 10000 10000 100.00
> > a3180d7c58 153 U-B---- 20077 5:1400053 10000 10000 100.00
> > a3180d7cc0 154 U-B---- 20078 5:1410053 10000 10000 100.00
> > a3180d7d28 155 U-B---- 20079 5:1420053 10000 10000 100.00
> > a3180d7d90 156 U-B---- 20080 5:1430053 10000 10000 100.00
> > a3180d7df8 157 U-B---- 20081 5:1440053 10000 10000 100.00
> > a3180d7e60 158 U-B---- 20082 5:1450053 10000 10000 100.00
> > a3180d7ec8 159 U-B---- 20083 5:1460053 10000 10000 100.00
> > a3180d7f30 160 U-B---- 20084 5:1470053 10000 10000 100.00
> > a3180d7f98 161 U-B---- 20085 5:1480053 10000 10000 100.00
> > a3180d8028 162 U-B---- 20086 5:1490053 10000 10000 100.00
> > a3180d8090 163 U-B---- 20087 5:1500053 10000 10000 100.00
> > a3180d80f8 164 U-B---- 20088 5:1510053 10000 10000 100.00
> >
> > So the Logical log 20084 is missing from the logical log backup
> directory.
> > and there are manyyyy more...
> > Plssss let me know what could be the reason and what more do i have to

> look
> > for.
>
> This is a bug that is fixed in 11.50xC3
>
> The problem is that when log files are filled rapidly (matter of
seconds)
> and
> the alarmprogram.sh is used to perform automatic ontape backup to
> directory,
> the alarmprogram.sh which invokes ontape may cause ontape to run when
> there,
> is already another ontape running that is backing up a logfile to
> directory.
> This can cause the loss of the logfile that was being backed up by the
> ontape that was already running.
>
> The current workaround is that when this is detected, take a level 0
> archive.
> Since you are on 11.10, I'll see if we can backport the fix to 11.10.
>
> Thanks. Davis.
>
> >
> > the logical log directory has RWX to user and group informix and no
other
> than
> > the dbas so at first i dont think any one would delete that log.
> >
> > any idea what should i do with this ....
> >
> >
> >

Messages In This Thread

[ View Thread ] [ Post Response ] [ Return to Index ] [ Read Prev Msg ] [ Read Next Msg ]

IDS Forum is maintained by Administrator with WebBBS 5.12.