If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > create one more instance in the sam box

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-23-04, 13:57
natlasr natlasr is offline
Registered User
 
Join Date: Mar 2004
Posts: 3
create one more instance in the sam box

I am new for informix. could somebody tell the procedure, how I can create one more instance in the same box where one more instance is already running.

Thanks
Reply With Quote
  #2 (permalink)  
Old 03-23-04, 16:00
RobP RobP is offline
Registered User
 
Join Date: Mar 2004
Location: Netherlands
Posts: 183
Create new instance

Hi,

This depends on your platform:
- Windows -> Use instance manager to create config file, edit registry and add service

- Unix:
create new onconfig file (copy from onconfig.std)
add connectivity lines to sqlhosts file
createprepare disk/chunks
set some parameters in your onconfig, at least
- SERVERNUM (unique on your machine), DBSERVERNAME,
ROOTPATH, ROOTSIZE
set some enironment variables: same as existing env +
INFORMIXSERVER (= DBSERVERNAME and 1st field of connectivity
entry in sqlhosts)
+ ONCONFIG

Check if everything is ok and new environment is set and give oninit -i command. Beware if settings point to your existing environment then this environment will be destroyed!!!

Hope this helps,

Rob Prop
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On