Results 1 to 5 of 5
  1. #1
    Join Date
    Oct 2010
    Posts
    56

    Unanswered: changing hostname on windows 2003 db2 server

    Hi all,
    We have a db2 v9.7 ESE , installed on windows 2003.
    For som reason, our system admin changed the hostname of the server (without any change on db2 details first)) and after that ,restarted the server.
    Now i can't open a CLP to change the db2 parameters setting. ( When i try to open a CLP, it reflect and emidiatly desapear).

    How can i change the hostname defination db2 paramaeters and configuration files so it will continue to work ?

  2. #2
    Join Date
    Apr 2006
    Location
    Belgium
    Posts
    2,514
    Provided Answers: 11
    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

  3. #3
    Join Date
    Oct 2010
    Posts
    56

    I know this document but it doesn't help

    Hi Guy,
    I know this document but my situation is different.

    The document note that :
    "Do not reboot the Windows Server at this time - you must make the DB2 Configuration changes first. "

    But as i say , the server restart was made before DB2 Configuration has bean made !!

    And i can't open the db2 command line !!!!

    so how can i change a setting, like : db2set -g DB2SYSTEM=<new hostname> etc' ?

  4. #4
    Join Date
    Apr 2006
    Location
    Belgium
    Posts
    2,514
    Provided Answers: 11
    I believe in wind:2003 this info is still in file and not registry
    check in install dir and a file like default/reg.. (can not remember the name for the moment)
    check db2nodes.cfg file
    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

  5. #5
    Join Date
    Oct 2010
    Posts
    56

    Thanks, isuue has been resolved

    Hi,
    Than you !!.
    problem has been resolved after changing all the old name on db2 registry tree + db2nodes.cfg file

Posting Permissions

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