Unix Technical Forum

Re: Multiple instances

This is a discussion on Re: Multiple instances within the Informix forums, part of the Database Server Software category; --> Add two functions to the .profile that export the relevant Informix environment variables and PS1. Then from the command ...


Go Back   Unix Technical Forum > Database Server Software > Informix

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-20-2008, 11:26 AM
Colin Dawson
 
Posts: n/a
Default Re: Multiple instances


Add two functions to the .profile that export the relevant Informix
environment variables and PS1. Then from the command line execute each
function when required





Regards

Colin

There are 10 types of people in the world, those that understand binary and
those that don't





>From: "SaltTan" <SaltTan@gmail.com>
>To: informix-list@iiug.org
>Subject: Re: Multiple instances
>Date: 2 Feb 2006 02:22:23 -0800
>
>I use command prompt to see my current INFORMIXSERVER.
>
>export PS1='[$USER@$INFORMIXSERVER]'
>
> > Greetings, I have been asked to setup two DB servers on the same box for
> > development purposes. I have two questions related to multiple DB
> > servers:
> >
> > 1. When "onstat -" is run, is IDS returning the status for the DB server
> > based on the current value of the environment variable, INFORMIXSERVER?
> >
> > 2. What would be the best way to switch between each DB server; ie,
> > scripts, separate user accounts which would set the appropriate
> > environment variables to point to the proper DB server, ...?
> >
> > 3. Maybe a feature request would be to have onstat return the name of
> > the DB server it is referencing?
> >
> > Your suggestions regarding questions 1 and 2 would be greatly
> > appreciated.
> >
> > Thanks for your time.
> >
> > Mike Badar
> > ESRI-Denver
> > 1 International Court
> > Broomfield, CO 80021-3200
> > 303-449-7779
> > mbadar@esri.com
> > www.esri.com

>
>_______________________________________________
>Informix-list mailing list
>Informix-list@iiug.org
>http://www.iiug.org/mailman/listinfo/informix-list



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-20-2008, 11:34 AM
Daniel
 
Posts: n/a
Default Re: Multiple instances

On 02.02.2006 14:14:03, "Colin Dawson" wrote:
>
>Add two functions to the .profile that export the relevant Informix
>environment variables and PS1. Then from the command line execute each
>function when required
>
>
>
>
>
>Regards
>
>Colin
>
>There are 10 types of people in the world, those that understand binary and
>those that don't
>
>
>
>
>
>>From: "SaltTan" <SaltTan@gmail.com>
>>To: informix-list@iiug.org
>>Subject: Re: Multiple instances
>>Date: 2 Feb 2006 02:22:23 -0800
>>
>>I use command prompt to see my current INFORMIXSERVER.
>>
>>export PS1='[$USER@$INFORMIXSERVER]'
>>
>> > Greetings, I have been asked to setup two DB servers on the same box for
>> > development purposes. I have two questions related to multiple DB
>> > servers:
>> >
>> > 1. When "onstat -" is run, is IDS returning the status for the DB server
>> > based on the current value of the environment variable, INFORMIXSERVER?
>> >
>> > 2. What would be the best way to switch between each DB server; ie,
>> > scripts, separate user accounts which would set the appropriate
>> > environment variables to point to the proper DB server, ...?
>> >
>> > 3. Maybe a feature request would be to have onstat return the name of
>> > the DB server it is referencing?
>> >
>> > Your suggestions regarding questions 1 and 2 would be greatly
>> > appreciated.
>> >
>> > Thanks for your time.
>> >
>> > Mike Badar
>> > ESRI-Denver
>> > 1 International Court
>> > Broomfield, CO 80021-3200
>> > 303-449-7779
>> > mbadar@esri.com
>> > www.esri.com

>>
>>______________________________________________ _
>>Informix-list mailing list
>>Informix-list@iiug.org
>>http://www.iiug.org/mailman/listinfo/informix-list

>
>
>


Colin,
is that also possible with w2k-terminalserver ? So can i make two or three
different configurations inside the environment-tab of informix setnet32 ,
save them and use both at the same time ?

Best regards
Daniel
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-20-2008, 11:34 AM
david@smooth1.co.uk
 
Posts: n/a
Default Re: Multiple instances


"Colin,
is that also possible with w2k-terminalserver ? So can i make two or
three
different configurations inside the environment-tab of informix
setnet32 ,
save them and use both at the same time ? "

Depends how does your application connect. I have never seen an
application
that uses the setnet settings apart from the demo stuff that comes with
Connect.

E.g. with jdbc you put all the info in the connection string. I guess
odbc is the same..

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:46 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com