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 > DB2 > Conneting to other instances...

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-13-07, 16:37
sampathm_78 sampathm_78 is offline
Registered User
 
Join Date: Mar 2007
Posts: 20
Conneting to other instances...

Version Db2 v8.2
OS: LINUX/Windows

In a server ,I am working on a instance, and there are several other instances .How do i connect to other instances and access databases present in them.

Regards.

Sampath.
Reply With Quote
  #2 (permalink)  
Old 03-13-07, 16:57
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
You need to catalog the node (instance) and DB to be able to access them. You have to do this in each instance to be able to connect to the other instances.

Andy
Reply With Quote
  #3 (permalink)  
Old 03-14-07, 01:34
rahul_s80 rahul_s80 is offline
Registered User
 
Join Date: Jul 2006
Location: Pune , India
Posts: 433
On Server
On Windows: set DB2INSTANCE=<instance name>
and then connect to DB of that instance
__________________
Rahul Singh
Certified DB2 9 DBA / Application Developer
Reply With Quote
  #4 (permalink)  
Old 03-14-07, 06:52
stolze stolze is offline
Registered User
 
Join Date: Jan 2007
Location: Jena, Germany
Posts: 2,662
If you are working locally, then setting the DB2INSTANCE environment variable is sufficient. However, I would recommend that you source the instance-specific db2profile (which will automatically set the mentioned variable).
__________________
Knut Stolze
IBM DB2 Analytics Accelerator
IBM Germany Research & Development
Reply With Quote
  #5 (permalink)  
Old 03-14-07, 13:32
sampathm_78 sampathm_78 is offline
Registered User
 
Join Date: Mar 2007
Posts: 20
Thanx..

Thanx a lot...........
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