473,395 Members | 2,446 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Db2 help needed


Hi,

How to change the Db2 server's IP address? I have DB2 UDB 7.1 installed on
AIX 5.2 machine and DB2 UDB 8.1 installed on Linux machine.

Thanks!
Lan
--
Message posted via http://www.dbmonster.com
Nov 12 '05 #1
4 1576
I presume you now want to go to the Linux server instead of the AIX machine.
Easiest is to give the Linux server IPaddress the address of the AIX box and
a new address to your old AIX box, in your DNS hosts file.

If you can't play with actual adresses, then you play with names.
Change your AIX hostname to SOMENAME and then set your Linux server's
hostname NEWNAME, where newname is the former name of your old AIX db27.1
server.
SOMENAME keeps its IP address and NEWNAME should have the new address of the
Linux box.
This way nothing else needs to change and it is transparent to all your
users.

If, for whatever reason, you can't play with the hosts file, then, for each
workstation that needs to connect to Linux Server:
you will need to uncatalog both the DAS node and any instance nodes.
db2 list node directory
Identify and pick the ones that are of concern to you
db2 uncatalog node <dasnodename>
db2 uncatalog node <inst1name> ... etc.

Then you nedd to recatalog them using the command, for the DAS:
CATALOG ADMIN TCPIP NODE dasnodename REMOTE hostname [SYSTEM system-name]
[OSTYPE os-type] [WITH "comment string"]
and then for each instance:
CATALOG TCPIP NODE yourchoice REMOTE NEWNAME SERVER <INSTANCE svcename or
PORTNO>

HTH, Pierre.
--
Pierre Saint-Jacques
SES Consultants Inc.
514-737-4515
"Lan W via DBMonster.com" <fo***@DBMonster.com> a écrit dans le message de
news: 51***********@DBMonster.com...

Hi,

How to change the Db2 server's IP address? I have DB2 UDB 7.1 installed on
AIX 5.2 machine and DB2 UDB 8.1 installed on Linux machine.

Thanks!
Lan
--
Message posted via http://www.dbmonster.com


Nov 12 '05 #2

Hi,

Thanks for reply. Actually, I need to change the two server's IP address to
something new, since we moved both server to a new location recently. No
relation between the two servers.
My question is how to change the DB2 server's IP address that has DB2 UDB 8.1
installed on a linux RHEL 3. aslo I need to do the same thing on the AIX
server.

kindly help!
Thanks!
Lan
Pierre Saint-Jacques wrote:
I presume you now want to go to the Linux server instead of the AIX machine.
Easiest is to give the Linux server IPaddress the address of the AIX box and
a new address to your old AIX box, in your DNS hosts file.

If you can't play with actual adresses, then you play with names.
Change your AIX hostname to SOMENAME and then set your Linux server's
hostname NEWNAME, where newname is the former name of your old AIX db27.1
server.
SOMENAME keeps its IP address and NEWNAME should have the new address of the
Linux box.
This way nothing else needs to change and it is transparent to all your
users.

If, for whatever reason, you can't play with the hosts file, then, for each
workstation that needs to connect to Linux Server:
you will need to uncatalog both the DAS node and any instance nodes.
db2 list node directory
Identify and pick the ones that are of concern to you
db2 uncatalog node <dasnodename>
db2 uncatalog node <inst1name> ... etc.

Then you nedd to recatalog them using the command, for the DAS:
CATALOG ADMIN TCPIP NODE dasnodename REMOTE hostname [SYSTEM system-name]
[OSTYPE os-type] [WITH "comment string"]
and then for each instance:
CATALOG TCPIP NODE yourchoice REMOTE NEWNAME SERVER <INSTANCE svcename or
PORTNO>

HTH, Pierre.

Hi,

[quoted text clipped - 4 lines]
Thanks!
Lan

--
Message posted via http://www.dbmonster.com
Nov 12 '05 #3
Linux - try looking in /etc/sysconfig/network-scripts
You should find a file ifcfg-eth0 (or similar) that contains information
about the adapter configuration. When using DHCP, this is where it's
told to use DHCP so I assume that a fixed address will be specified here.

I also think you can run the linux configurator and change the IP
address there, but it should end up in the same file.

As a last resort, you can add an ifcfg command to /etc/rc.local to
change to the new IP address.

You should also check Red Hat's info base to see if your question is
answered there. Your RHEL3 maintenance contract allows you to ask RH
using your support mechanism.

Don't forget that you will also probably have to change the default
router if you are on a different network segment.

Phil Sherman

Lan W via DBMonster.com wrote:
Hi,

Thanks for reply. Actually, I need to change the two server's IP address to
something new, since we moved both server to a new location recently. No
relation between the two servers.
My question is how to change the DB2 server's IP address that has DB2 UDB 8.1
installed on a linux RHEL 3. aslo I need to do the same thing on the AIX
server.

kindly help!
Thanks!
Lan
Pierre Saint-Jacques wrote:
I presume you now want to go to the Linux server instead of the AIX machine.
Easiest is to give the Linux server IPaddress the address of the AIX box and
a new address to your old AIX box, in your DNS hosts file.

If you can't play with actual adresses, then you play with names.
Change your AIX hostname to SOMENAME and then set your Linux server's
hostname NEWNAME, where newname is the former name of your old AIX db27.1
server.
SOMENAME keeps its IP address and NEWNAME should have the new address of the
Linux box.
This way nothing else needs to change and it is transparent to all your
users.

If, for whatever reason, you can't play with the hosts file, then, for each
workstation that needs to connect to Linux Server:
you will need to uncatalog both the DAS node and any instance nodes.
db2 list node directory
Identify and pick the ones that are of concern to you
db2 uncatalog node <dasnodename>
db2 uncatalog node <inst1name> ... etc.

Then you nedd to recatalog them using the command, for the DAS:
CATALOG ADMIN TCPIP NODE dasnodename REMOTE hostname [SYSTEM system-name]
[OSTYPE os-type] [WITH "comment string"]
and then for each instance:
CATALOG TCPIP NODE yourchoice REMOTE NEWNAME SERVER <INSTANCE svcename or
PORTNO>

HTH, Pierre.
Hi,


[quoted text clipped - 4 lines]
Thanks!
Lan


Nov 12 '05 #4
Phil, thanks as I had no clue (not using Red Hat) as to to where to go.
I've kept a copy of this for further use.
Merci, Pierre.

--
Pierre Saint-Jacques
SES Consultants Inc.
514-737-4515
"Phil Sherman" <ps******@ameritech.net> a écrit dans le message de news:
9K*****************@newssvr19.news.prodigy.com...
Linux - try looking in /etc/sysconfig/network-scripts
You should find a file ifcfg-eth0 (or similar) that contains information
about the adapter configuration. When using DHCP, this is where it's told
to use DHCP so I assume that a fixed address will be specified here.

I also think you can run the linux configurator and change the IP address
there, but it should end up in the same file.

As a last resort, you can add an ifcfg command to /etc/rc.local to change
to the new IP address.

You should also check Red Hat's info base to see if your question is
answered there. Your RHEL3 maintenance contract allows you to ask RH using
your support mechanism.

Don't forget that you will also probably have to change the default router
if you are on a different network segment.

Phil Sherman

Lan W via DBMonster.com wrote:
Hi,

Thanks for reply. Actually, I need to change the two server's IP address
to
something new, since we moved both server to a new location recently.
No
relation between the two servers. My question is how to change the DB2
server's IP address that has DB2 UDB 8.1
installed on a linux RHEL 3. aslo I need to do the same thing on the AIX
server.

kindly help!
Thanks!
Lan
Pierre Saint-Jacques wrote:
I presume you now want to go to the Linux server instead of the AIX
machine.
Easiest is to give the Linux server IPaddress the address of the AIX box
and a new address to your old AIX box, in your DNS hosts file.

If you can't play with actual adresses, then you play with names.
Change your AIX hostname to SOMENAME and then set your Linux server's
hostname NEWNAME, where newname is the former name of your old AIX db27.1
server.
SOMENAME keeps its IP address and NEWNAME should have the new address of
the Linux box.
This way nothing else needs to change and it is transparent to all your
users.

If, for whatever reason, you can't play with the hosts file, then, for
each workstation that needs to connect to Linux Server:
you will need to uncatalog both the DAS node and any instance nodes.
db2 list node directory
Identify and pick the ones that are of concern to you
db2 uncatalog node <dasnodename>
db2 uncatalog node <inst1name> ... etc.

Then you nedd to recatalog them using the command, for the DAS:
CATALOG ADMIN TCPIP NODE dasnodename REMOTE hostname [SYSTEM system-name]
[OSTYPE os-type] [WITH "comment string"]
and then for each instance:
CATALOG TCPIP NODE yourchoice REMOTE NEWNAME SERVER <INSTANCE svcename or
PORTNO>

HTH, Pierre.

Hi,

[quoted text clipped - 4 lines]

Thanks!
Lan


Nov 12 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: System | last post by:
Hello All, Redhat 9.0 Mysql 3.23.56 ==> Running I want to upgarde to 4.0.13 but this is the error it says: # rpm -Uvh MySQL-server-4.0.13-0.i386.rpm warning: MySQL-server-4.0.13-0.i386.rpm: V3...
8
by: Stephen | last post by:
I am trying to add some code to below to include a datatable and fill the datatable. The reason for doing this is so as I can check to see whether there are any rows returned by the stored...
13
by: Joe Feldman | last post by:
This position is located in the South Bay Area in Northern California. If you are interested please send me your resume in a word .doc so that I can review it. If this does not look like a match,...
0
by: Cindy B | last post by:
Please send your resume and position to Cindy@AtlanticResource.com! I CAN NOT accept candidates that ARE OUTSIDE OF THE US! NO PHONE CALLS PLEASE! Email your resume to me! Position:SQL...
3
by: Wade | last post by:
I would like to install the .Net 1.1 framework on a Web Server running W2K to be able to run ASP.NET files, but I'm not sure where to find the files I need for the .Net framework. I have ".NET...
17
by: dingoatemydonut | last post by:
The C99 standard states: "In the abstract machine, all expressions are evaluated as specified by the semantics. An actual implementation need not evaluate part of an expression if it can deduce...
5
by: Steve | last post by:
Hi, I am sitting down to design our next set of internal apps. I would like to approach this in a way that would allow me to break logical parts of the application that handle specific tasks...
0
by: ultradiv | last post by:
I have a VB.NET application partly built that produces an xml output (just a file at present) I have a .NET webserver and SQLserver 2000 I need to be able to send the xml to the webserver/database...
28
by: Ian Davies | last post by:
Hello I would appreciate some help from someone who has knowledge of working with css, php javascript and how they interact. Ive been working on a task for the last few days and have started to...
37
by: C_guy | last post by:
Does anyone know of a (hopefully free) tool that can traverse a project and determine which "#include"s are not needed or needed in every .C file? This would be helpful in removing header...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.