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: Intermittent DNS failures

Posted By: Fernando Nunes
Date: Tuesday, 23 December 2014, at 6:04 p.m.

In Response To: Intermittent DNS failures (Kennedy, Randy)

It's a well known problem with Informix... or as you correctly put it, with
DNS that impacts Informix.
Both suggestion I've seen are interesting (ncd daemon and the ns_cache
parameter). Unfortunately you cannot consider the later one (you should be
aware that 11.1 is out of support)

There are some points I'd like to add. First and more important, and
eventually I missed some information or detail on this thread:

1- Do you need the reverse DNS to happen? Have you created trusts based on
client names? IF not, they you could configure the system to just go to the
local files and be immune to any DNS issue. In other words, if your
connections are based on USER/PASS and not trusted, then this would be
possible

2- If that's not the case, and you have to rely on your DNS, than the DNS
must be considered a top priority and be handled like any high availability
system. An Informix customer (specially on versions where NS_CACHE cannot
be used) that decides to use DNS will become dependent on it. The way we do
things make it particularly susceptible to any issues in the DNS. Let's
see....

- The reverse DNS is made by the MSC VP or VPs.
- Each call is synchronous
- The DNS configuration plans and default to very large timeouts (in some
systems I believe you cannot even ask for values below 5s)
- To add up to all this, the functions of the OS (gethostbyaddr() ) will by
design create "caches" of the DNS configurations (if DNS is used, or just
files, what DNS etc). Basically the information in files like
/etc/nsswitch.conf and /etc/resolv.conf are cached after the first call.
This means that you can change this files but the database will not change
the behavior unless you restart it. This is one of my "personal battles"
that is going nowhere...

So, what can we do to improve the situation?

- If possible don't use DNS (I have the impression that if using IPV6 this
is not an option)
- Eventually use more than 1 MSC VP. If the issue with calls to
gethostbyaddr() are occasional, this means that at any moment you may have
one "hanged" MSC VP while the others will continue to answer requests. So
eventually only some of the connection attempts will fail
- Use ncd daemon as very well suggested by another person
- Use NS_CACHE if the Informix version has it, as Stefan very well reminded
us
- If you need to change the DNS configuration frequently there is a trick
that can be used while IBM does not solve the problem. I described the
trick in this article:
http://informix-technology.blogspot.pt/2014/02/dns-changes-ok-mudancas-no-dns-ok.html
It's relatively simple to follow, but some programming skills will make it
easier to implement. It basically takes advantage of the fact that PAM
authentication functions also run on the MSC VPs... so we can create a
"fake" PAM module that will clear the MSC VP DNS cache by calling the OS
function that clears it (res_init() ). The authentication will always
return false, so this fake module should be used only in a "maintenance
listener" created only for this purpose.

Regards.

On Mon, Dec 22, 2014 at 7:06 PM, Kennedy, Randy <RKennedy@scottsdaleaz.gov>
wrote:

> While this is probably not primarily an Informix question, it is impacting
> our
> users' ability to establish a database connection and causing a great deal
> of
> 'pain' and I am looking for any help I can get.
>
> IDS: 11.1FC3
> OS: RHEL 5.11 on VMWARE
>
> Our configuration has been in place for several years and most of it
> trouble
> free. However, recently we started having issues with users logging in to
> our
> application or getting kicked-out after trying to apply a transaction. We
> had
> some network issues in the past so we redesigned the app to create the
> connection, use it, close it, as having an open connection and using it all
> session caused issues if the connection was lost during a network 'hiccup'.
> This worked well for the last couple of years, but recently ran into more
> issues. What it appears like it happening is the client is connecting to
> the
> server and while doing a reverse lookup back to the client, it is
> failing/timing out and then the connection fails and user can't login or
> gets
> booted out and has to re-launch and re-do the transaction. To mitigate the
> problem for the short term, I added all of our users to the server's host
> file, but their IP's could change and cause more problems moving forward
> with
> this approach.
>
> Couple of questions.
> Has anyone experienced this issue and resolved? If so, what areas should I
> be
> targeting as a starting point of investigation?
> Is there a way to change the configuration of Informix so it doesn't
> require
> the reverse lookup to establish the database connection?
>
> TIA,
> Randy
>
>
>
> *******************************************************************************
> Forum Note: Use "Reply" to post a response in the discussion forum.
>
>

--
Fernando Nunes
Portugal

http://informix-technology.blogspot.com
My email works... but I don't check it frequently...

--001a1140f88edd55e4050aea31e8

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.