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: Symlinks and informix...

Posted By: Art Kagel
Date: Tuesday, 27 January 2009, at 9:17 a.m.

In Response To: RE: Symlinks and informix... (Jarrod Teale)

OK, the RPM install should NOT be removing the existing software whether the
engine is online or not!

You should ALWAYS have two, and sometimes three, versions of the IDS
software on disk at all times:

1. The currently running version

2. The previous version in case you have to revert due to problems with

the newer software

3. Sometimes, between installation and starting the new version you'll

also have the next version on disk.

So, how to fix this. The RPM should not be removing /usr/informix or the
previous installed version. It should be trying to remove any previously
installed copy of the same new version. In this case it should be removing
any existing copy of 11.10.UC3 not 11.10.UC2. That solves your device
problems and the install script can copy the device links to the new install
directory post-install at the same time that it copies the sqlhosts and
ONCONFIG files. Then there's no conflict and no need to remove the existing
chunk links.

Art

On Mon, Jan 26, 2009 at 8:59 PM, Jarrod Teale <Jarrod.Teale@fonterra.com>wrote:

> Okay - so the reason.
>
> We deploy everything using the RedHat RPM system - including the base
> setup of the informix engine.
> When the package for 11.10.UC2W2 was built, the author added the
> /usr/informix/DBSPACES directory to the package - making it owned by it.
> If you then build a package to deploy 11.50.UC3 binaries and perform a
> silent install into a different informix directory then you have the new
> version of the engine installed and ready to pick up when the
> INFORMIXDIR is changed and the instance cycled.
> This is great - except that the upgrade to 11.50.UC3 removes the package
> for 11.10.UC2W2 - along with all files it owns. 99% of these are just
> the install media and scripts so harmless. But the DBSPACES directory is
> really important as the engine is still running at the time.
>
> The workaround we came up with was to push out a package that removed
> ownership of the files from the RPM system - but to do that we have to
> allow the RPM system to rip out the symlinks and then create them using
> a post script so they are there, but not owned.
>
> In brief:
> 11.10.UC2W2 is installed into /usr/informix11UC2W2
> 11.50.UC3 is being installed into /usr/informix115UC3
> 10.0.UC6 is also installed in /usr/informix10
> The running engine has INFORMIXDIR set to /usr/informix
> /usr/informix is a symlink to the installed set of binaries that we have
> the engine running on.
> Upgrade is to install the new version at the DBA's convienence then when
> an outage can be achieved (may be months later) swap the /usr/informix
> symlink to the new binary directory and let it migrate (testing all
> completed ahead of time - there are 25ish of these identical systems).
>
> Stupidly the directory with the chunks from the engines point of view is
> in /usr/informix/DBSPACES - which is in the underlying binary directory
> which is where the problem begins.
> We all know that changing this now (moving the chunks) is not easy
> (though not impossible).
>
> The problem arises when the 11.50.UC3 package hits the server and
> removes the content from the 11.10.UC2W2 directory (and the engine is
> running).
>
> Jarrod
> -----Original Message-----
> From: ids-bounces@iiug.org [mailto:ids-bounces@iiug.org] On Behalf Of
> Art Kagel
> Sent: Tuesday, 27 January 2009 1:43 p.m.
> To: ids@iiug.org
> Subject: Re: Symlinks and informix... [14637]
>
> Jarrod,
>
> IDS opens and closes the chunks periodically. If you run fuser against
> the chunks you will often note that they are not all opened by all of
> the CPU VPs. If a VP hasn't needed to perform IO against a chunk it will
> not have th chunk open. Existing open files in the engine will not be
> affected if you remove the links, and once the links have been
> reestablished to the existing chunks (I assume you aren't going to link
> them elsewhere while the engine is running) the engine should not notice
> that they were gone for a bit, but if the engine tries to open the
> chunks while the links are down all hell will break loose.
>
> I agree with others. Why do this at all?
>
> Art
>
> On Mon, Jan 26, 2009 at 5:42 PM, Jarrod Teale
> <Jarrod.Teale@fonterra.com>wrote:
>
> > Hey all.
> > Now I know that creating symlinks for access to chunks is a really
> > really good idea and is a practice that we follow religiously.
> > I have a question though - when does the database engine make use of
> > them? Is it just at startup when the chunks are going through sanity
> > checking?
> > Obviously I'm not counting any interaction with onspaces or admin/task
>
> > operation that add/remove/manipulate allocated disk - required then.
> >
> > The reason I ask is that we are looking at building a script that
> > destroys and then recreates them while the engine is running.
> > My assumption is that the engine creates the file handles it requires
> > to the chunks on startup and then doesn't need them again - so
> > destroying and recreating them won't cause a problem.
> >
> > It would be better to do while the engine is off-line, but in this
> > case we are hoping to avoid the downtime.
> >
> > We are on RedHat EL4 x86 (11.10.UC2W2 and 11.50.UC3).
> >
> > Thanks
> >
> > Jarrod Teale
> >
> > Team Lead - Manufacturing Execution Systems
> >
> > Automation & Process Control Group
> >
> > NZ Technical
> >
> > Fonterra
> >
> > Fonterra Extn: 77525
> >
> > DDI: +64 7 850 7525
> >
> > Mobile: +64 21 968 364
> > fax: +64 7 849 7855
> > email: jarrod.teale@fonterra.com
> > <mailto:jarrod.teale@fonterra.com>
> >
> >
> >
> >
> ************************************************************************
> *******
> > Forum Note: Use "Reply" to post a response in the discussion forum.
> >
> >
>
> --
> Art S. Kagel
> Oninit (www.oninit.com)
> IIUG Board of Directors (art@iiug.org)
>
> Disclaimer: Please keep in mind that my own opinions are my own opinions
> and do not reflect on my employer, Oninit, the IIUG, nor any other
> organization with which I am associated either explicitly or implicitly.
> Neither do those opinions reflect those of other individuals affiliated
> with any entity with which I am affiliated nor those of the entities
> themselves.
>
> --001636c5a1fb19ed9904616c2253
>
> ************************************************************************
> *******
> Forum Note: Use "Reply" to post a response in the discussion forum.
>
> DISCLAIMER:
> This email contains confidential information and may be legally privileged.
> If
> you are not the intended recipient or have received this email in error,
> please notify the sender immediately and destroy this email.
> You may not use, disclose or copy this email or its attachments in any way.
> Any opinions expressed in this email are those of the author and are not
> necessarily those of the Fonterra Co-operative Group.
> http://www.fonterra.com/
>
>
>
> *******************************************************************************
> Forum Note: Use "Reply" to post a response in the discussion forum.
>
>

--
Art S. Kagel
Oninit (www.oninit.com)
IIUG Board of Directors (art@iiug.org)

Disclaimer: Please keep in mind that my own opinions are my own opinions and
do not reflect on my employer, Oninit, the IIUG, nor any other organization
with which I am associated either explicitly or implicitly. Neither do
those opinions reflect those of other individuals affiliated with any entity
with which I am affiliated nor those of the entities themselves.

--001636c5bf725a186e046177850c

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.