Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Ben Thompson — — source: Usenet: comp.databases.informix
Superboer wrote:
> Assume Unix.
If you're on a Windows system changing the INFORMIXSERVER name is
non-trivial. You would have to reinstall the software otherwise you will
get security subsystem errors.
> Define what you mean with rename instance.
>
> if you want to have a different name/port/whatever to access it:
>
> shut it down;
> edit $INFORMIXDIR/etc/$ONCONFIG
> look at values after:
>
> -->> DBSERVERNAME
> -->> DBSERVERALIAS
>
> (after DBSERVERALIAS you can add a new name. separate it with ,)
> Then edit $INFORMIXDIR/etc/sqlhosts (or $INFORMIXSQLHOSTS)
> to modify the values you have changed/added in onconfig.
>
> the first col in sqlhosts represents the a value in DBSERVERNAME,
> DBSERVERALIAS
> in there you also find the name of tcp service used incase of a tcp
> connection,if you change this, then make sure it is also in
> /etc/services.
> Check if your env var $INFORMIXSERVER needs to be changed since you
> may have modified it above. Then start it again.
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.