473,492 Members | 4,279 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Logon

I'm ashamed to ask this question because I did it before, but have not
done it in a few years.

For a brand new database, client server, V8.2, Win32, I need to connect
all clients to the server.

I forgot how, and the documentation doesn't help.

For the command on the client: CATALOG TCPIP NODE x REMOTE y, SERVER z

x = NODE NAME. How do I find it?
y = REMOTE IP ADDRESS. Is that the address of the server on which DB2
server is located?
z = PORT NUMBER. I have no idea how to find that.

Nov 12 '05 #1
3 1641
28******@gmail.com wrote:
I'm ashamed to ask this question because I did it before, but have not
done it in a few years.

For a brand new database, client server, V8.2, Win32, I need to connect
all clients to the server.

I forgot how, and the documentation doesn't help.

For the command on the client: CATALOG TCPIP NODE x REMOTE y, SERVER z

x = NODE NAME. How do I find it?
y = REMOTE IP ADDRESS. Is that the address of the server on which DB2
server is located?
z = PORT NUMBER. I have no idea how to find that.


x - any name you choose; it will be used in next step;
y - fully qualified host name or ip address where DB2 resides;
z - service name or port number DB2 is listening on for incoming connections;

Note that z must match DBM configuration parameter SVCENAME. If using service
name - this is the name of the DB2 listening service defined in
C:\WINDOWS\SYSTEM32\DRIVERS\ETC
Example:

On Database server called myhost.mydomain.com:

Fragment of services file:

....
db2c_DB2 50000/tcp
db2c_DB2CTLSV 50001/tcp
db2icserver 51000/tcp
db2hpudm2 54002/tcp

DB2_DB2 60000/tcp
DB2_DB2_1 60001/tcp
DB2_DB2_2 60002/tcp
DB2_DB2_END 60003/tcp

DB2_DB2CTLSV 60004/tcp
DB2_DB2CTLSV_1 60005/tcp
DB2_DB2CTLSV_2 60006/tcp
DB2_DB2CTLSV_END 60007/tcp
....

Fragment of Database Manager configuration:

....

NetBIOS Workstation name (NNAME) =

TCP/IP Service name (SVCENAME) = db2c_DB2
Discovery mode (DISCOVER) = SEARCH
Discover server instance (DISCOVER_INST) = ENABLE
....
This concludes server configuration. To manually configure client to connect to
database SAMPLE on this server, you do:

CATALOG TCPIP NODE mynode REMOTE myhost.mydomain.com SERVER 50000
or
CATALOG TCPIP NODE mynode REMOTE myhost.mydomain.com SERVER db2c_DB2
if you modified services file on CLIENT to reflect db2c_DB2 service - same way
as on server;

CATALOG DB SAMPLE AT NODE mynode AUTHENTICATION SERVER;
Of course instead of learning those details you could use configuration wizard -
DB2 Configuration Assistant - invoke db2ca from command prompt

Jan M. Nelken


Nov 12 '05 #2
Thanks, Jan.

SS

Nov 12 '05 #3
Woops! I have installed Run Time Client on a new machine. Installed
8.1, updated to 8.2, and installed Fixpak 9a.

No command db2ca -- ?

SS

Nov 12 '05 #4

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

Similar topics

1
5183
by: Manfred | last post by:
I want to access via CDO outlook. Therfore i have to logon. In VB.NEt I make it like: Dim objSession As MAPI.Session If objSession Is Nothing Then objSession = CreateObject("MAPI.Session")...
10
9834
by: Fabrizio | last post by:
(Sorry for the crosspost, but I really don't know which is the right newsgroup!) Hi all, I try to change the password to a user that as to change the password at first logon: try {
2
1730
by: J-T | last post by:
Hi All, We have an asp.net application on a windows 2003 server which is part of a domain controller which my worksatis is too. We have impersonated in our applciation with a fixed identity...
6
3701
by: Mr Flibble | last post by:
I have a class that has a LogOn method. I'm trying to think what the advantages are two approaches I have. a) Having a bool returned containing the success of the LogOn. b) Raising an...
0
2621
by: Marty Cruise | last post by:
I successfully deploy my application to 20 domain users. Only one new user is giving me a problem, although he can access all domain resources. When he clicks the installation link on the...
0
3208
by: robpimentel | last post by:
Hi, I've been using DB2 for about 1 week, so please bear with me. DB2 Connect Enterprise Edition v8.1 FixPack 5 Windows Server 2003 Standard Edition SP1 Here is an error that continues to...
6
21282
by: Manuel | last post by:
Hi, Using the PIA "Microsoft Outlook 11 Object Library". I've noticed that the Logon method of the NameSpace Object is simply ignored. My Outlook 2003 is full updated. For example if I...
5
2326
by: drummerpunk10 | last post by:
Sorry if this is off topic, I haven't really used this forum a lot so I don't know where to put it. Anyways I have a game application that runs off a list games and users on a file, that I built in...
1
2712
by: =?Utf-8?B?ZGpjYXNlbGV5?= | last post by:
I'm trying to write a service that will sit on the domain controller (or, if this proves to be impossible, to be rolled to all connecting Windows machines). It needs to get notification of each...
1
3952
by: cactuscrust | last post by:
I'm running IIS6 Windows2003, and as you'll see very quickly.. I'm pretty new to this stuff. Lately I've been getting bombarded with login attempts.... sometimes several in the same second, and it...
0
7118
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
7157
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
7364
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5452
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,...
1
4886
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4579
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3078
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1397
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
282
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.