Welcome to dbFreaks.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Rename "demo_on" db server and create new db server?

 
   Database Help (Home) -> Informix RSS
Next:  Relationships  
Author Message
epsilon

External


Since: Mar 05, 2009
Posts: 1



(Msg. 1) Posted: Thu Mar 05, 2009 7:31 am
Post subject: Rename "demo_on" db server and create new db server?
Archived from groups: comp>databases>informix (more info?)

All:

We use Informix where I work and I have built a virtual Debian server
to become more acquainted with the database. My question is how do I
rename the "demo_on" server and also create a new db server on the
same box.

I have read through the documentation but have not found what I'm
looking for. Also, I have tried to rename "demo_on" db server that
was created when installing the software. Changes where made to the
following files.

- onconfig
MIRRORPATH $INFORMIXDIR/tmp/demo_on.root_mirror
DBSERVERNAME demo_on

- sqlhosts
demo_on onipcshm vm-debian-4 demo_on

- environment variables
INFORMIXSERVER=demo_on

After making the changes and restarting the processes, the db server
will not start until everything is placed back to original state.

Thank you,
Christopher

 >> Stay informed about: Rename ""demo_on"" db server and create new db server? 
Back to top
Login to vote
superboer7

External


Since: Dec 04, 2008
Posts: 10



(Msg. 2) Posted: Fri Mar 06, 2009 10:13 am
Post subject: Re: Rename "demo_on" db server and create new db server? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

the changes you have to make are:

in $INFORMIXDIR/etc/$ONCONFIG:

change
DBSERVERNAME demo_on
to
DBSERVERNAME yournewserver

$INFORMIXDIR/etc/$INFORMIXSQLHOSTS when set or $INFORMIXDIR/etc/
sqlhosts

change
demo_on onipcshm vm-debian-4 demo_on

to

yournewserver onipcshm vm-debian-4 demo_on

you could change it also to

yournewserver onipcshm vm-debian-4 yournewserver



- environment variables
change
INFORMIXSERVER=demo_on
to
INFORMIXSERVER= yournewserver

do not change rootpath or mirror!!! because these are real devices or
files unless you want to reintialize.
the values of these are also in the reserved pages which reside in
rootpath and mirror.

This should do it, if it does not start it with oninit -v to see why
it does not start and post the logfile
(onstat -m ) or have a look in $INFORMIXDIR/etc/$ONCONFIG

MSGPATH

Superboer.


On 5 mrt, 16:31, epsilon wrote:
> All:
>
> We use Informix where I work and I have built a virtual Debian server
> to become more acquainted with the database.  My question is how do I
> rename the "demo_on" server and also create a new db server on the
> same box.
>
> I have read through the documentation but have not found what I'm
> looking for.  Also, I have tried to rename "demo_on" db server that
> was created when installing the software.  Changes where made to the
> following files.
>
> - onconfig
>     MIRRORPATH $INFORMIXDIR/tmp/demo_on.root_mirror
>     DBSERVERNAME demo_on
>
> - sqlhosts
>     demo_on onipcshm        vm-debian-4     demo_on
>
> - environment variables
>     INFORMIXSERVER=demo_on
>
> After making the changes and restarting the processes, the db server
> will not start until everything is placed back to original state.
>
> Thank you,
> Christopher

 >> Stay informed about: Rename ""demo_on"" db server and create new db server? 
Back to top
Login to vote
eric

External


Since: Feb 14, 2008
Posts: 26



(Msg. 3) Posted: Fri Mar 06, 2009 1:22 pm
Post subject: Re: Rename "demo_on" db server and create new db server? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 5 Mrz., 16:31, epsilon wrote:
> All:
>
> We use Informix where I work and I have built a virtual Debian server
> to become more acquainted with the database.  My question is how do I
> rename the "demo_on" server and also create a new db server on the
> same box.
>
> I have read through the documentation but have not found what I'm
> looking for.  Also, I have tried to rename "demo_on" db server that
> was created when installing the software.  Changes where made to the
> following files.
>
> - onconfig
>     MIRRORPATH $INFORMIXDIR/tmp/demo_on.root_mirror
>     DBSERVERNAME demo_on
>
> - sqlhosts
>     demo_on onipcshm        vm-debian-4     demo_on
>
> - environment variables
>     INFORMIXSERVER=demo_on
>
> After making the changes and restarting the processes, the db server
> will not start until everything is placed back to original state.
>
> Thank you,
> Christopher

Christopher,

you might take a look at the Informix Wiki at:

http://informix-zone.com/idswiki

Especially this entry:
http://informix-zone.com/idswiki/doku.php/idsdev:install:configure

The setup of a new instance is described here.

HTH

-Eric
 >> Stay informed about: Rename ""demo_on"" db server and create new db server? 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Linked server informix in sql server - hello, Sorry for my English, is very poor. I have a problem when try to link a server informix in sql server. I have this linked server for ODBC, but the speed is bad. Then i want to link the server with OLEDB, i have installed "IBM Informix Client-...

Two different Versions in the same server. - Any idea if it is possible to install two differents Informix IDS Solaris versions, 9.2 and 9.3, in the same machine? If yes how to solve the issue of the 'RUN_AS_ROOT.server' script that updates the serial number infos and perform some links. Thanks.

Server Studio - We just bought the new Server Studio/Sentinel Server 6.0 product. I've been pointing and clicking my way through the install and I'm now at a point where we're "turning" things on. Only problem is the documentation isn't great, like there's n...

onmode could not block server. (Why?) - Hi! I want to block the server with "onmode -c block" and then sync and detach a plex in Veritas Volume Manager. I have a problem with blocking the server: Informix@S0221849> onstat -V IBM Informix Dynamic Server Version 9.40.FC3 Softw...

Ontape restore to another server - I have a need to restore our production DB (9.4) to a junk box to salvage a table that recently lost some data. I am not very familiar with the steps required. The production server is running Solaris 9 with raw devices. I was hoping to restore to a..
   Database Help (Home) -> Informix All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]