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 > IP/Domain Change

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-06-10, 10:13
mdx34 mdx34 is offline
Registered User
 
Join Date: Oct 2004
Posts: 238
IP/Domain Change

DB2 V9.5 FP5 - Linux REL 5

We had to move the Linux server to a different domain and had to change the IP address too. What are the steps I need to do to get the DB2 adjusted to the new domain ?

Couldn't find much info in Google. Some suggested to change "db2nodes.cfg" file but this file does not even exist on the DB2 V9.5 (I think it is on V 8.2).

Can anyone please let me know the steps or direct me to a source ?

Thanks.

Joe.
Reply With Quote
  #2 (permalink)  
Old 05-06-10, 12:44
db2girl db2girl is offline
∞∞∞∞∞∞
 
Join Date: Aug 2008
Location: Toronto, Canada
Posts: 1,816
Take a look at the following technote:
IBM - Changing hostname of the DB2 server

Also, check hostname / IP address clients use to connect to the server. .rhosts should not exist on your server.
Reply With Quote
  #3 (permalink)  
Old 05-06-10, 14:58
mdx34 mdx34 is offline
Registered User
 
Join Date: Oct 2004
Posts: 238
Thanks Bella. I have read that. My only concern is that the current server name is like MYSERVER.da.domain1.com and new one will be MYSERVER.so.domain7.com. I wonder if the fully qualified domain/server name registered somewhere in DB2 and would give me problems after moving the server.


Thanks again.
Reply With Quote
  #4 (permalink)  
Old 05-06-10, 15:14
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
Quote:
Originally Posted by mdx34 View Post
Some suggested to change "db2nodes.cfg" file but this file does not even exist on the DB2 V9.5 (I think it is on V 8.2).
db2nodes.cfg does exist on DB2 9.5 and 9.7 in the $home/sqllib directory (where $home is home directory of instance owner). This is for Linux and UNIX systems only.
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390
Reply With Quote
  #5 (permalink)  
Old 05-06-10, 16:00
mdx34 mdx34 is offline
Registered User
 
Join Date: Oct 2004
Posts: 238
It only exist in DB2 9.5 ESE. Not WorkGroup Server (Which we have), or Personal Edition according to here


IBM - Changing hostname of the DB2 server
Reply With Quote
  #6 (permalink)  
Old 05-06-10, 22:05
db2girl db2girl is offline
∞∞∞∞∞∞
 
Join Date: Aug 2008
Location: Toronto, Canada
Posts: 1,816
db2nodes.cfg is the one that causes most of the problems on the server. You don't have it so no worries. Check node directory (db2 list node directory) on the client side, it can have the fully qualified hostname. The technote is a good checklist.
Reply With Quote
  #7 (permalink)  
Old 05-07-10, 10:03
mdx34 mdx34 is offline
Registered User
 
Join Date: Oct 2004
Posts: 238
........will d that............Thanks Bella...........


Joe.
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