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: windows odbc connection to connection mana....

Posted By: Justin Killen
Date: Thursday, 8 August 2013, at 3:16 p.m.

In Response To: RE: windows odbc connection to connection mana.... (Paul Watson)

It's not the CM behavior that I'm concerned with, it's the SQL group behavior. For instance, given this sqlhosts, where each entry is a connection manager SLA:

cm_hq group - - i=1777,c=1
cm_hq_srv1net onsoctcp srv1 cmhqsoc g=cm_hq
cm_hq_srv2net onsoctcp srv2 cmhqsoc g=cm_hq
cm_hq_srv3net onsoctcp srv3 cmhqsoc g=cm_hq
cm_hq_srv4net onsoctcp srv4 cmhqsoc g=cm_hq
cm_hq_srv5net onsoctcp srv5 cmhqsoc g=cm_hq

On my unix boxes, I can set INFORMIXSERVER=cm_hq and every time I attempt to connect (dbaccess) I get assigned to a random connection manager (as monitored in the connection manager logs for each server).

On my windows boxes, I have the registry keys setup as per IBM's document (Art's link). In the branch node for the cm_hq group, I have the string value:

OPTIONS: i=1777,c=1

And yet, when I attempt to connect to cm_hq (with the .net provider), it always connects to the first connection manager, as though the c=1 option was not set.

So then, my question is - does the windows CSDK support the c=1 option on groups, and if so as of which version?

-Justin

-----Original Message-----
From: ids-bounces@iiug.org [mailto:ids-bounces@iiug.org] On Behalf Of Paul Watson
Sent: Thursday, August 08, 2013 10:40 AM
To: ids@iiug.org
Subject: RE: windows odbc connection to connection mana.... [31096]

As per presentation at IIUG this year, CM can only do load balanced
connections - or that is what we were told

Cheers
Paul

> Perhaps I should clarify. Once I'm connected to the connection manager,
> the
> connection manager redirects as expected (all our secondary servers are
> read/write). To avoid a single point of failure, we have the connection
> manager running on each of the servers. My problem is that on windows CSDK
> 3.5TC5 a connection to the SLA group always goes to the same connection
> manager instead of randomly choosing an entry from the group (as per the
> c=1
> option). We have a bit of a mix with the CSDK versions, ranging from
> 3.5TC5 to
> 3.5TC9; I'm just trying to find out if the c=1 option is supported, and if
> so,
> what version it was added in (it seems to not work in TC5).
>
> -Justin
>
> -----Original Message-----
> From: ids-bounces@iiug.org [mailto:ids-bounces@iiug.org] On Behalf Of Art
> Kagel
> Sent: Thursday, August 08, 2013 10:18 AM
> To: ids@iiug.org
> Subject: Re: windows odbc connection to connection mana.... [31090]
>
> Hmm, don't know. One thing to note: Groups will never failover to a
> secondary that is read-only (just found this one out yesterday). This was
> a change to the behavior of groups somewhere around v11.10 of the server
> (so v3.10 of the CSDK). So, could that be the problem you are seeing?
> Also, I don't remember when the c=1 option was first available (don't
> think that it goes all the way back) so the CSDK/iConnect on your Windows
> boxes may not support this if they are older. IBM can research that one
> for you if your version on windows isn't up to snuff. Looking back I see
> you said you are using v3.50.TC8 and that SHOULD be good, but again, not
> sure.
>
> Art
>
> Art S. Kagel
> Advanced DataTools (www.advancedatatools.com)
> Blog: http://informix-myview.blogspot.com/
>
> Disclaimer: Please keep in mind that my own opinions are my own opinions
> and do not reflect on my employer, Advanced DataTools, the IIUG, nor any
> other organization with which I am associated either explicitly,
> implicitly, or by inference. Neither do those opinions reflect those of
> other individuals affiliated with any entity with which I am affiliated
> nor
> those of the entities themselves.
>
> On Thu, Aug 8, 2013 at 1:10 PM, Justin Killen <
> jkillen@allamericanasphalt.com> wrote:
>
>> Does the c=1 option work for the windows CSDK 3.50.TC5? I have the
>> option
>> listed in the group registry key, but always seems to go back to the
>> same
>> server (the first one alphabetically).
>>
>> -Justin
>> -----Original Message-----
>> From: ids-bounces@iiug.org [mailto:ids-bounces@iiug.org] On Behalf Of
>> Art
>> Kagel
>> Sent: Thursday, June 06, 2013 4:50 PM
>> To: ids@iiug.org
>> Subject: Re: windows odbc connection to connection mana.... [30450]
>>
>> You are almost right, c=1 means that instead of every client connecting
>> in
>> the specified order starting with the first listed connection name each
>> client selects one of the connection names at random then cycles through
>> the list if the first one it tries doesn't respond. Not exactly round
>> robin, but it does do some load distribution if not balancing.
>>
>> Art
>>
>> Art S. Kagel
>> Advanced DataTools (www.advancedatatools.com)
>> Blog: http://informix-myview.blogspot.com/
>>
>> Disclaimer: Please keep in mind that my own opinions are my own opinions
>> and do not reflect on my employer, Advanced DataTools, the IIUG, nor any
>> other organization with which I am associated either explicitly,
>> implicitly, or by inference. Neither do those opinions reflect those of
>> other individuals affiliated with any entity with which I am affiliated
>> nor
>> those of the entities themselves.
>>
>> On Thu, Jun 6, 2013 at 6:47 PM, Justin Killen <
>> jkillen@allamericanasphalt.com> wrote:
>>
>> > Art,
>> >
>> > Thanks - that works great! I think when we deploy the connection setup
>> to
>> > the
>> > client machines we'll be using registry files anyway, so requiring a
>> few
>> > extra
>> > keys is no big deal.
>> >
>> > As for the round-robin, I was under the impression that the option
>> "c=1"
>> > setup
>> > servers for round-robin distribution, but perhaps I'm mistaken.
>> Round-robin
>> > connections to the CM's isn't a requirement for us, so it's not
>> something
>> > I'm
>> > going to worry about.
>> >
>> > -Justin
>> >
>> > -----Original Message-----
>> > From: ids-bounces@iiug.org [mailto:ids-bounces@iiug.org] On Behalf Of
>> Art
>> > Kagel
>> > Sent: Thursday, June 06, 2013 2:50 PM
>> > To: ids@iiug.org
>> > Subject: Re: windows odbc connection to connection mana.... [30448]
>> >
>> > Justin:
>> >
>> > See this link for how to configure windows apps to use sqlhsots
>> "groups":
>> >
>> > http://www-01.ibm.com/support/docview.wss?uid=swg21447622
>> >
>> > You have to manually edit the registry to enter the definition of the
>> group
>> > since there is no sqlhosts file on the windows side.
>> >
>> > Also, AFAIK, using groups does not round robin through the group
>> members,
>> > it just sequentially tries each group member, in the order they are
>> listed,
>> > until one of them responds. Groups are for failover not load balancing
>> > (hence the need for Connection Manager). You can make it kind of
>> > round-robin/load-balancing by using the environment variables
>> > INFORMIX_CONTIME and INFORMIX_CONRETRY to configure how long the
>> client
>> > will wait for a response from SOME group member before returning an
>> error
>> > and how many retries the client will make within that time. Indirectly
>> > that will configure the time the client waits for each member before
>> trying
>> > to connect to the next member of the group.
>> >
>> > Art
>> >
>> > Art S. Kagel
>> > Advanced DataTools (www.advancedatatools.com)
>> > Blog: http://informix-myview.blogspot.com/
>> >
>> > Disclaimer: Please keep in mind that my own opinions are my own
>> opinions
>> > and do not reflect on my employer, Advanced DataTools, the IIUG, nor
>> any
>> > other organization with which I am associated either explicitly,
>> > implicitly, or by inference. Neither do those opinions reflect those
>> of
>> > other individuals affiliated with any entity with which I am
>> affiliated
>> nor
>> > those of the entities themselves.
>> >
>> > On Thu, Jun 6, 2013 at 5:22 PM, Justin Killen <
>> > jkillen@allamericanasphalt.com> wrote:
>> >
>> > > I have 3 connection manager (Linux) instances whose SLA's are in a
>> group
>> > in
>> > > sqlhosts (group option c=1). When I run dbaccess on any of those
>> > machines,
>> > > the
>> > > SLA group is listed as an option, and I can connect to the group (it
>> will
>> > > round-robin my connection to one of the connection managers).
>> > > Now that it is working on the servers themselves, I'd like to get it
>> to
>> > > work
>> > > on my windows PC. I've added the SLA for each server as well as the
>> SLA
>> > > group
>> > > into the system via Setnet32. When creating an ODBC connection, I'm
>> using
>> > > the
>> > > following information:
>> > >
>> > > Server Name: sla_cm_grp
>> > > Host Name: -
>> > > Service: -
>> > > Protocol: group
>> > > Options: c=1
>> > >
>> > > When I try to test the connection, I get the error:
>> > > "[Informix][Informix ODBC Driver][Informix]Server sla_cm_grp is not
>> > listed
>> > > as
>> > > a dbserver name in sqlhosts"
>> > > If I use any of the connection managers directly I can connect just
>> > fine, I
>> > > just can't get it to connect to the group. Is this option supported
>> by
>> > the
>> > > ODBC framework?
>> > >
>> > > I'm using CSDK version 3.50 TC8 on the windows machine. Server is
>> running
>> > > on
>> > > Linux, Informix 12.1
>> > >
>> > > -Justin
>> > >
>> > >
>> > >
>> > >
>> >
>> >
>> >
>>
>>
>>
>
>
*******************************************************************************
>> > > Forum Note: Use "Reply" to post a response in the discussion forum.
>> > >
>> > >
>> >
>> > --089e013d1a4a91d12904de834cd0
>> >
>> >
>> >
>> >
>>
>>
>>
>
>
*******************************************************************************
>> > Forum Note: Use "Reply" to post a response in the discussion forum.
>> >
>> >
>> >
>> >
>>
>>
>>
>
>
*******************************************************************************
>> > Forum Note: Use "Reply" to post a response in the discussion forum.
>> >
>> >
>>
>> --089e01493c1ea0be0604de84f9f1
>>
>>
>>
>>
>
>
*******************************************************************************
>> Forum Note: Use "Reply" to post a response in the discussion forum.
>>
>>
>>
>>
>
>
*******************************************************************************
>> Forum Note: Use "Reply" to post a response in the discussion forum.
>>
>>
>
> --001a1133a67414819204e372d7ab
>
>
>
*******************************************************************************
> Forum Note: Use "Reply" to post a response in the discussion forum.
>
>
>
*******************************************************************************
> Forum Note: Use "Reply" to post a response in the discussion forum.
>

--
Paul Watson
Tel: +1 913-674-0360
Mob: +1 913-387-7529
Web: www.oninit.com

www.advancedatatools.com

Failure is not as frightening as regret.
If you want to improve, be content to be thought foolish and stupid.
What this country needs are more unemployed politicians

*******************************************************************************
Forum Note: Use "Reply" to post a response in the discussion forum.

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.