Many thanks to everyone who responded to my question. The sample
scripts are great examples of how I might be able to set the proper
variables to connect to the required DB server. As bozon indicated, I
was also not aware of "onstat -g env".
Thanks again.
Mike
> -----Original Message-----
> From: informix-list-bounces@iiug.org
> [mailto:informix-list-bounces@iiug.org] On Behalf Of Mike Badar
> Sent: Wednesday, February 01, 2006 3:41 PM
> To: informix-list@iiug.org
> Subject: Multiple instances
>
> 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
>
>