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 > IDS Multiple servers configuration

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-22-03, 07:50
TarekEzzat TarekEzzat is offline
Registered User
 
Join Date: Oct 2003
Posts: 1
Post IDS Multiple servers configuration

Hello,

I have installed informix IDS on AIX.

I want to use 2 databases, say DB1 and DB2.
I want two informix server on the same machine, say SERV1 and SERV2.

I want thant each server "sees" only one database.
SERV1 accesses DB1 and cannot access DB2
SERV2 accesses DB2 and cannot access DB1

Is this possible?

How should I configure my different files?

Thanks.
Reply With Quote
  #2 (permalink)  
Old 10-22-03, 11:41
Roelwe Roelwe is offline
Registered User
 
Join Date: Aug 2002
Location: Belgium
Posts: 534
Well....

You will need one $ONCONFIG file per server,
onconfig.SERV1
onconfig.SERV2

In these ONCONFIG files you have to make sure your ROOTPATH points to different devices. Same for the DBSERVERNUM. you need different numbers for the two servers.

In these servers you create your database.

You will have a 'common' sqlhosts' file; Probably containing two lines per server, one shm, and one tcp. you will need two lines in your /etc/services file. You need to configure two ports, on efor each server.
__________________
rws
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