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 > new instance

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-24-03, 12:33
kioda kioda is offline
Registered User
 
Join Date: Jul 2003
Location: Italy
Posts: 5
new instance

Hi!
How is it possible to create a new instance of DataBase in a Sun/Unix machine?
Thank you!
Reply With Quote
  #2 (permalink)  
Old 07-25-03, 03:27
eherber eherber is offline
Registered User
 
Join Date: Aug 2002
Location: Bonn/Germany
Posts: 152
By reading the fine documentation or ordering a consultant.
__________________

Best regards

Eric
--
IT-Consulting Herber
WWW: http://www.herber-consulting.de
Email: eric@herber-consulting.de

***********************************************
Download the IFMX Database-Monitor for free at:
http://www.herber-consulting.de/BusyBee
***********************************************
Reply With Quote
  #3 (permalink)  
Old 07-25-03, 04:58
kioda kioda is offline
Registered User
 
Join Date: Jul 2003
Location: Italy
Posts: 5
What a funny answer!
Thank you!
Reply With Quote
  #4 (permalink)  
Old 07-25-03, 05:06
eherber eherber is offline
Registered User
 
Join Date: Aug 2002
Location: Bonn/Germany
Posts: 152
The answer is as funny as your question.

Yes, it is possible to create a new instance on a SUN
machine (make sure your licensing is not violated).

This is all described in the fine manual.
You can't expect a detailled answer that show's you how to
set up a new instance. Informix is not Microsoft. You can't
simply click on an icon and a new instance will be created
for you.
__________________

Best regards

Eric
--
IT-Consulting Herber
WWW: http://www.herber-consulting.de
Email: eric@herber-consulting.de

***********************************************
Download the IFMX Database-Monitor for free at:
http://www.herber-consulting.de/BusyBee
***********************************************
Reply With Quote
  #5 (permalink)  
Old 07-25-03, 08:32
kioda kioda is offline
Registered User
 
Join Date: Jul 2003
Location: Italy
Posts: 5
You are almost right!
I know that Informix is not Microsoft but i work always with Informix on Windows machines. In windows i know how to create a new instance, believe me!
In my firm there's another person who works with Informix on Sun machines but now he's in Paris, and i think that he's having a lot of fun!
Unfortunately a sun machine has had a fault in a disk, so i have had to duplicate an instance in another machine, trying to import the old instance in the new instance... I know how to do it, i have read a lot of books and manual, but it was my first time... I think that anybody can have a bit of fear doing a thing for the first time...
So i was looking for some help in the Informix forum but nobody has helped me. There's no problem! I have created a new instance in my Sun machine without creating problems to the other instances...
Reply With Quote
  #6 (permalink)  
Old 07-30-03, 07:02
dananio dananio is offline
Registered User
 
Join Date: Mar 2002
Posts: 112
Re

Have you ever used 'onmonitor' ?
It's the same, for INFORMIXSQLHOSTS
in Windows use as registry but in Sun use as text file
Reply With Quote
  #7 (permalink)  
Old 09-02-03, 18:12
kalpanapai kalpanapai is offline
Registered User
 
Join Date: May 2003
Location: Newzealand
Posts: 5
Thumbs up Creating second instance

Quote:
Originally posted by kioda
You are almost right!
I know that Informix is not Microsoft but i work always with Informix on Windows machines. In windows i know how to create a new instance, believe me!
In my firm there's another person who works with Informix on Sun machines but now he's in Paris, and i think that he's having a lot of fun!
Unfortunately a sun machine has had a fault in a disk, so i have had to duplicate an instance in another machine, trying to import the old instance in the new instance... I know how to do it, i have read a lot of books and manual, but it was my first time... I think that anybody can have a bit of fear doing a thing for the first time...
So i was looking for some help in the Informix forum but nobody has helped me. There's no problem! I have created a new instance in my Sun machine without creating problems to the other instances...

Hi
You can always setup a second instance.
Actually quite simple. Create a new ONCONFIG file, usually by copying the existing one to a new name. You MUST change the file/device for the ROOTPATH and/or ROOTOFFSET (and MIRRORPATH/MIRROROFFSET if you use it), the SERVERNUM, DBSERVERNAME, DBSERVERALIASES, MSGPATH (so each instance has its own logfile), LTAPEDEV if you intend to run ontape -c for both, DUMPDIR if you want to configure for core or shared memory dumps.

In the sqlhosts file add the new DBSERVERNAME and DBSERVERALIASES with different service/port names than the existing instance. If the service names are new add them with unique port numbers to /etc/hosts. (OH! If you have moved the physical log to a dbspace other than root in the original instance {a good idea BTW} then change PHYSDBS back to the ROOTNAME value until the instance is online and you have created the additional dbspace to house it.)

Now you are all set to set INFORMIXSERVER to the new DBSERVERNAME and ONCONFIG to the new onconfig filename and run oninit -i
Before that check env to confirm (TRIPLE CHECK THAT YOU ARE NOT POINTING TO YOUR EXISTING INSTANCE BEFORE YOU DO THIS!)

Be VERY careful when adding new chunks/dbspaces that they do not overlap disk space used by the other instance.

When u want to swicth between 2 instances just give
export INFORMIXSERVER = <servername>
export ONCONFIG =<onconfig filename>


Hope this helps you

Cheers
Kalpana pai
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