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 > Syntax for create instance

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-09-11, 10:08
olitree olitree is offline
Registered User
 
Join Date: Sep 2011
Posts: 5
Syntax for create instance with port

Hello all.

I would like create a db2 instance and define same port .

What's the correct syntax?

Tks all

SO- Windows

Last edited by olitree; 09-09-11 at 11:23.
Reply With Quote
  #2 (permalink)  
Old 09-09-11, 12:03
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
You use db2icrt to create an instance. You cannot use the same port as anything else on the system. Look in the manual for the syntax.

Andy
Reply With Quote
  #3 (permalink)  
Old 09-09-11, 16:59
olitree olitree is offline
Registered User
 
Join Date: Sep 2011
Posts: 5
For example:

I have one database dbtest with a instance dbtestei1 in port 50000 by default.
Next i will create another instance for example:
db2icrt dbtesti2
now when a change/set the port for instance? I have read in some places its necessary edit the file services in so windows or linux, its true?

Anyone have a mini how for share ?

Tks4all

Quote:
Originally Posted by ARWinner View Post
You use db2icrt to create an instance. You cannot use the same port as anything else on the system. Look in the manual for the syntax.

Andy
Reply With Quote
  #4 (permalink)  
Old 09-09-11, 17:02
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
You should edit the services file to let everyone else know what port you are using.

Andy
Reply With Quote
  #5 (permalink)  
Old 09-12-11, 02:12
przytula_guy przytula_guy is offline
Registered User
 
Join Date: Apr 2006
Location: Belgium
Posts: 1,159
there are many chapters on this topic - have a look and try to understand.. only the sun comes up for free..
Configuring communication protocols for a local DB2 instance
__________________
Best Regards, Guy Przytula
Database Software Consultant
DB2 UDB LUW Certified V7-V8-V9-V9.7 DB Admin - Dprop..
Information Server Datastage Certified
http://www.infocura.be
Reply With Quote
  #6 (permalink)  
Old 09-15-11, 06:16
olitree olitree is offline
Registered User
 
Join Date: Sep 2011
Posts: 5
Thanks

Thanks for all advices.
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