Results 1 to 6 of 6
  1. #1
    Join Date
    Sep 2011
    Posts
    5

    Unanswered: 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 12:23.

  2. #2
    Join Date
    Jan 2003
    Posts
    4,292
    Provided Answers: 5
    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

  3. #3
    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

  4. #4
    Join Date
    Jan 2003
    Posts
    4,292
    Provided Answers: 5
    You should edit the services file to let everyone else know what port you are using.

    Andy

  5. #5
    Join Date
    Apr 2006
    Location
    Belgium
    Posts
    2,514
    Provided Answers: 11
    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
    Good DBAs are not formed in a week or a month. They are created little by little, day by day. Protracted and patient effort is needed to develop good DBAs.
    Spoon feeding : To treat (another) in a way that discourages independent thought or action, as by overindulgence.
    DB2 UDB LUW Certified V7-V8-V9-V9.7-V10.1-V10.5 DB Admin - Advanced DBA -Dprop..
    Information Server Datastage Certified
    http://www.infocura.be

  6. #6
    Join Date
    Sep 2011
    Posts
    5

    Thanks

    Thanks for all advices.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •