create one more instance
Posted in 2004
The poster asked whether running a second Informix instance on one machine requires a second full installation in a different directory, as IBM support had told him. The consensus answer: no. Instances of the same version can share one set of binaries; you just need a new ONCONFIG with a unique SERVERNUM/DBSERVERNAME and ROOTPATH, an sqlhosts/services entry, and a separate environment profile. A separate installation is only needed for a different version (or convenience cases like ONBAR, or patching one instance without stopping the other); one poster suggested using symbolic links to INFORMIXDIR to ease upgrades.
Auto-generated by DrWatson from the posts below — may be imperfect; read the full thread.
Topics: Installation, Setup & Upgrades
I have question on how to create one more instance in the same box where instance is already running. can I create new one. Spoke with Informix-IBM support said that I need one more complete installation in differnt directory. Please tell me if it correct. Thanks
In theory, you don't need two installations (same binaries). But, for administrative purposes, it is a good idea to have two separate installations so that if you want to do some maintenance (like patch ...) on one instance, you need not shutdown the other instance. Vivek -----Original Message----- From: forum.subscriber@iiug.org [mailto:forum.subscriber@iiug.org] On Behalf Of SREENIVASA .... Sent: Tuesday, March 23, 2004 2:34 PM To: ids@iiug.org Subject: create one more instance [2721] I have question on how to create one more instance in the same box where instance is already running. can I create new one. Spoke with Informix-IBM support said that I need one more complete installation in differnt directory. Please tell me if it correct. Thanks
Yes you can. >From: "SREENIVASA ...." <samnatla@yahoo.com> >To: ids@iiug.org >Subject: create one more instance [2721] Date: Tue, 23 Mar 2004 16:34:05 >-0500 (EST) >Received: from mc4-f9.hotmail.com ([65.54.190.145]) by mc4-s17.hotmail.com >with Microsoft SMTPSVC(5.0.2195.6824); Tue, 23 Mar 2004 13:45:35 -0800 >Received: from ace.iiug.org ([216.177.38.212]) by mc4-f9.hotmail.com with >Microsoft SMTPSVC(5.0.2195.6824); Tue, 23 Mar 2004 13:44:42 -0800 >Received: from ace.iiug.org (localhost [127.0.0.1])by ace.iiug.org >(8.12.10-14/8.12.8) with ESMTP id i2NLbeqb021631;Tue, 23 Mar 2004 16:37:44 >-0500 (EST) >Received: (from nobody@localhost)by ace.iiug.org (8.12.10-14/8.12.8/Submit) >id i2NLY5BW021492;Tue, 23 Mar 2004 16:34:05 -0500 (EST) >X-Message-Info: jl7Vrt/mfsqrWxkeSXs/4XwFc59kFxgQ >Message-Id: <200403232134.i2NLY5BW021492@ace.iiug.org> >Apparently-To: forum.subscriber@iiug.org >Precedence: bulk >Return-Path: nobody@ace.iiug.org >X-OriginalArrivalTime: 23 Mar 2004 21:44:43.0310 (UTC) >FILETIME=[0D4EA4E0:01C41120] > >I have question on how to create one more instance in the same box where >instance is already running. can I create new one. Spoke with Informix-IBM >support said that I need one more complete installation in differnt >directory. Please tell me if it correct. > >Thanks > > _________________________________________________________________ Find a broadband plan that fits. Great local deals on high-speed Internet access. http://click.atdmt.com/AVE/go/onm00200360ave/direct/01/
You need a complete new installation into a different directory, only if you are planning creating your new instance with a different version of Informix other than the one already on the box. If you need to know how to create a new instance with the same version of Informix on the existing box then just follow the same procedure you followed before. Only difference is that you must create a new .profile for the new instance and execute the new .profile whenever you need to get into the new instance. For the new instace you must have its own onconfig, sqlhosts and the env (.profile) files accurately set up. If you are new to Informix and trying to do this in production then GOD BLESS U ! If you have a dev/test environment then get some Informix books and practice setting up two instances using the same version of Informix. And then when you get errors come down to this site and post your errors. Hope this helps. "SREENIVASA ...." <samnatla@yahoo.com> wrote: I have question on how to create one more instance in the same box where instance is already running. can I create new one. Spoke with Informix-IBM support said that I need one more complete installation in differnt directory. Please tell me if it correct. Thanks Do you Yahoo!? Yahoo! Finance Tax Center - File online. File on time.
no this is WRONG. create a new onconfig file set the SERVERNUM parameter to something other than the original (normally 0), set the new ONCONFIG INFORMIXSERVER variables in environment and onconfig script, set a new entry in /etc/services file set any other parameters you need for the new instance like ROOTPATH and so forth.. and you good to go Regards John ----- Original Message ----- From: "SREENIVASA ...." <samnatla@yahoo.com> To: <ids@iiug.org> Sent: Tuesday, March 23, 2004 5:34 PM Subject: create one more instance [2721] > I have question on how to create one more instance in the same box where instance is already running. can I create new one. Spoke with Informix-IBM support said that I need one more complete installation in differnt directory. Please tell me if it correct. > > Thanks > >
Depends... will you be creating a second instance of the same IDS version as the first instance? or will you have IDS 7.x and IDS 9.x (2 diff versions) on the same box? Two diff versions would need different binary directories i imagine.... but if you'll have the same version..... please do not give up on IBM/Informix support... drill them and get past the "front lines" ... maybe you got a newbie? check the manuals yourself. go to http://www-306.ibm.com/software/data/informix/pubs/library/ select your database (i.e Informix Dynamic Server V9.x) then select your language, then find your manual. for example, the IBM Informix Dynamic Server Administration Guide , Version 9.4. This manual, on page 3-62, explains "accessing multiple database servers" (2 database servers on one host) at a high level. Page 3-62 refers to the Installation guide.... back up and find click on the installation guide manual link. the installation guide explains how to set up multiple residency on page A-7 NOTE: Page A-8 of the IBM Informix Dynamic Server installation guide for Unix and Linux says: " Important: You do not need to install more than one copy of the database server binary files. All instances of the same version of the database server on one computer can share the same executable files." have fun, Norma Jean -----Original Message----- From: ugrp@tstt.net.tt [mailto:ugrp@tstt.net.tt] Sent: Tuesday, March 23, 2004 5:50 PM To: ids@iiug.org; forum.subscriber@iiug.org Subject: Re: create one more instance [2725] no this is WRONG. create a new onconfig file set the SERVERNUM parameter to something other than the original (normally 0), set the new ONCONFIG INFORMIXSERVER variables in environment and onconfig script, set a new entry in /etc/services file set any other parameters you need for the new instance like ROOTPATH and so forth.. and you good to go Regards John ----- Original Message ----- From: "SREENIVASA ...." <samnatla@yahoo.com> To: <ids@iiug.org> Sent: Tuesday, March 23, 2004 5:34 PM Subject: create one more instance [2721] > I have question on how to create one more instance in the same box where instance is already running. can I create new one. Spoke with Informix-IBM support said that I need one more complete installation in differnt directory. Please tell me if it correct. > Thanks > > ----------------------------------------- ============================================================ The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any reproduction, dissemination or distribution of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. Tellabs ============================================================
It
depends on what you are trying to do: if you just want another instance,
just set up the disks, create a new onconfig, modify sqlhosts and you should
be able to get it up. However, if you are going to do things like onbar, you
probably want to install in a separate directory.
--
Bye now,
Obnoxio
"C'est pas parce qu'on n'a rien à dire qu'il faut fermer sa gueule"
- Coluche
"Necrophilia means never having to say ... well, anything!"
- Captain Pedantic
"Ogni uomo mi guarda come se fossi una testa di cazzo"
- Marco
>From: "SREENIVASA ...." <samnatla@yahoo.com>
>To: ids@iiug.org
>Subject: create one more instance [2721] Date: Tue, 23 Mar 2004 16:34:05
>-0500 (EST)
>Received: from ace.iiug.org ([216.177.38.212]) by mc3-f18.hotmail.com with
>Microsoft SMTPSVC(5.0.2195.6824); Tue, 23 Mar 2004 14:48:05 -0800
>Received: from ace.iiug.org (localhost [127.0.0.1])by ace.iiug.org
>(8.12.10-14/8.12.8) with ESMTP id i2NLbeqf021631;Tue, 23 Mar 2004 17:28:12
>-0500 (EST)
>Received: (from nobody@localhost)by ace.iiug.org (8.12.10-14/8.12.8/Submit)
>id i2NLY5BW021492;Tue, 23 Mar 2004 16:34:05 -0500 (EST)
>X-Message-Info: dpeAAki3kMRiGdYt4VMPt/zt15OYLpMO
>Message-Id: <200403232134.i2NLY5BW021492@ace.iiug.org>
>Apparently-To: forum.subscriber@iiug.org
>Precedence: bulk
>Return-Path: nobody@ace.iiug.org
>X-OriginalArrivalTime: 23 Mar 2004 22:48:07.0229 (UTC)
>FILETIME=[E89E9ED0:01C41128]
>
>I have question on how to create one more instance in the same box where
>instance is already running. can I create new one. Spoke with Informix-IBM
>support said that I need one more complete installation in differnt
>directory. Please tell me if it correct.
>
>Thanks
>
>
_________________________________________________________________
Stay in touch with absent friends - get MSN Messenger
http://www.msn.co.uk/messenger
Hello, It is absolutely not true that you have to install another instance of the binaries. How it could be doen is discussed ion previuous answers on your request. I find it always very helpfull to do some extra stuff, like: Create a symbolic link for every instance/environment to the informix dir. For example ix_sales and ix_finance that both point to the existing informixdir (like /opt/informix/IDS9.40.UC3). In all your scripts you can point to ths link. If you want to upgrade/patch 1 of your instances, jsut install it in a new directory like IDS9.40.UC4) and copy the sqlhosts and ONCONFIG from your old informix dir (the link or real dir.). Aftyer taht stop the instance, move the link to the new directory and start the engine. Advantages: - Minimal downtime (no downtime during installation of binaries) - Only one copy of used binaries necessary (if you use both you have two of course) - Easy upgrade and reversion Hope this helps, Rob Prop -----Original Message----- From: forum.subscriber@iiug.org [mailto:forum.subscriber@iiug.org] On Behalf Of SREENIVASA .... Sent: dinsdag 23 maart 2004 22:34 To: ids@iiug.org Subject: create one more instance [2721] I have question on how to create one more instance in the same box where instance is already running. can I create new one. Spoke with Informix-IBM support said that I need one more complete installation in differnt directory. Please tell me if it correct. Thanks