+ All Categories
Home > Documents > IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2....

IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2....

Date post: 27-Feb-2021
Category:
Upload: others
View: 4 times
Download: 0 times
Share this document with a friend
135
Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03
Transcript
Page 1: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

Linux, UNIX � Windows�

DB2 �� 9.5

IBM Data Server Client� �� ��

2010� 12� ��

�� 9 ��� 5

GA30-4165-03

���

Page 2: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03
Page 3: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

Linux, UNIX � Windows�

DB2 �� 9.5

IBM Data Server Client� �� ��

2010� 12� ��

�� 9 ��� 5

GA30-4165-03

���

Page 4: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

��

� ��� � ��� ���� ��� ���� ��, 115 ���� �� B �������� �� ��� �� ����.

��� ����

� ���� IBM�� ���� � ��� ���. �� ���� ��� �� ��� ��� ��� ��� ����. � �

� ���� �� ��� ���� ���, � ����� ��� ��� � � �� �� ��� � ����.

����� IBM ��� ����� �� IBM ���� �� ��� ��� � ���.

v ����� ��� ����� IBM Publications Center(www.ibm.com/shop/publications/order)� ������.

v �� IBM ���� ���� IBM Directory of Worldwide Contacts(www.ibm.com/planetwide)� ������.

�� �� ���� DB2 Marketing and Sales�� DB2 ��� ����� 1-800-IBM-4YOU (426-4968)� ������.

IBM� ��� IBM�� �� ��� ��� ��� ���� �� �� ��� ����� ��� ���� ����� ���

� ���.

© Copyright IBM Corporation 1993, 2010.

Page 5: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

��

� �� �� �� . . . . . . . . . . . . v

� 1 � IBM Data Server Client. . . . 1

� 1 � IBM Data Server Client �� . . . . 3

IBM Data Server Client Driver � . . . . 3

IBM Data Server Client Driver � . . . . 4

IBM Data Server Client� �� �. . . . . . 8

DB2 ������ � � . . . . . . . . . 9

� 2 � IBM Data Server Client �� 15

� 2 � IBM Data Server Client �� ���� 17

��� ��� ���� . . . . . . . . . 17

DB2 �� IBM Data Server Client �� ��

��(AIX) . . . . . . . . . . . . . . . 18

DB2 �� IBM Data Server Client �� ��

��(HP-UX). . . . . . . . . . . . . . 20

� �� � ���(HP-UX) . . . . . . 21

�� ��� ��(HP-UX). . . . . . . . 21

DB2 �� IBM Data Server Client �� ��

��(Linux) . . . . . . . . . . . . . . 26

�� ��� ��(Linux) . . . . . . . . 27

C++ ����� ��� ��� �� . . . . 29

DB2 �� IBM Data Server Client� �� �

� ����(Solaris �� ��) . . . . . . . . 29

�� ��� ��(Solaris �� ��) . . . . 31

DB2 �� IBM Data Server Client �� ��

��(Windows) . . . . . . . . . . . . . 32

��� ���� ���� �� DB2 Connect

�� �� ���� . . . . . . . . . . . . 34

� 3 � IBM Data Server Client �� . . . . 35

IBM Data Server Client ��(Windows) . . . . 35

IBM Data Server Client ��(Linux UNIX) 38

��� �� �(Linux UNIX) . . . . . . 40

�� ��� ��� �� � ���. . . . . 41

��� ��� �� . . . . . . . . . . . 41

DB2 ��� ��� ���� �� . . . . . 44

db2rfe� ��� ��� ���� �� �� �

�� . . . . . . . . . . . . . . 46

��� ��� ��� �� . . . . . . . . 48

db2_deinstall� ��� ��� DB2 ����

�� �� ��(Linux UNIX) . . . . . . 49

� 3 � IBM Data Server Client� �

����� �� . . . . . . . . . . . 51

� 4 � �����-�� �� �� �� . . . . 53

���� ������ �� �� �� . . . . . 56

���� �� ��� . . . . . . . . . . 56

� �� ���� ��� ������ �

�� . . . . . . . . . . . . . . . . . 57

� �� ���� ��� �����-��

� � . . . . . . . . . . . . . . 57

� �� ���� ��� ������

� �� � . . . . . . . . . . . . . 58

� �� ���� ��� ���� ���

�� ������ � � . . . . . . . 59

� �� ���� ��� ����� �

�� � . . . . . . . . . . . . . . 60

� �� ����� ����� ����

��� ������ � � . . . . . . 61

� �� ���� ��� ������

� ��� . . . . . . . . . . . . . . 62

� �� ���� �� LDAP ���� . . 63

�� ���� ��� �����-�� � � 63

�� ���� ��� �����-�� �

� . . . . . . . . . . . . . . . . 63

Named Pipe � . . . . . . . . . . . 64

TCP/IP � . . . . . . . . . . . . . 65

CLP� ��� ������� ������

��� . . . . . . . . . . . . . . 69

CLP� ��� ������ ��� � ��

� . . . . . . . . . . . . . . . . 72

� 4 � Thin Client ������ IBMData Server Client ��(Windows) . . 75

� 5 � Thin Client ���� ��(Windows) . . 77

Thin Client �� �(Windows) . . . . . . . 79

��� IBM Data Server Client ��

(Windows) . . . . . . . . . . . . . . 79

© Copyright IBM Corp. 1993, 2010 iii

Page 6: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

� Thin Client �������� �� ��

��� �(Windows) . . . . . . . . . 80

Thin Client � �� �(Windows) . . . . . 80

Thin Client�� ��� ���� ���

(Windows) . . . . . . . . . . . . . 81

thnsetup �� ��� Thin Client ��

(Windows) . . . . . . . . . . . . . . 82

� 5 � �� �� . . . . . . . . . . 85

� 6 � �� �� �� . . . . . . . . . . 87

�DB2 ��� �� ��(Windows) . . . . . 87

DB2 ��� �� ��(Windows) . . . . . . 89

� 6 � �� �� �� . . . . . . . . 93

� 7 � ��� �� �� . . . . . . . . . 95

IBM Data Server Runtime Client �� ��

� . . . . . . . . . . . . . . . . . 95

IBM Data Server Driver Package� ���� �

� �(Windows) . . . . . . . . . . . . 97

� 7 � �� �� . . . . . . . . . . 99

� 8 � IBM Data Server Client �� �� 101

� 8 � �� . . . . . . . . . . . . 103

�� A. DB2 �� �� �� . . . . . . . . 105

DB2 � ����(�� �� PDF �) 106

��� DB2 �� �� . . . . . . . . . . 108

�� ����� SQL �� ��� ��. . . . 109

DB2 �� ��� �� ��� ��� . . . . . 110

DB2 �� ���� ��� ��� � �� . . 110

��� �� ���� ��� ��� DB2 �� �

� �� . . . . . . . . . . . . . . . 111

DB2 ���. . . . . . . . . . . . . . 113

DB2 ��� �� �� . . . . . . . . . . 113

���� . . . . . . . . . . . . . . . 114

�� B. ���� . . . . . . . . . . . . 115

�� . . . . . . . . . . . . . . . . 119

iv IBM Data Server Client� � ��

Page 7: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

� �� �� ��

IBM® Data Server Client, IBM Data Server Runtime Client �� IBM Data Server

Driver for ODBC, CLI, and .NET� ���� ��� � ���� � �� �

� ���.

�� Thin Client �� DB2 Connect™ Thin Client ��� ���� � ����

�� ��� ��� � �� �� ��� � � ���.

© Copyright IBM Corp. 1993, 2010 v

Page 8: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

vi IBM Data Server Client� � ��

Page 9: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

� 1 � IBM Data Server Client

© Copyright IBM Corp. 1993, 2010 1

Page 10: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

2 IBM Data Server Client� � ��

Page 11: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

� 1 � IBM Data Server Client ��

IBM Data Server Client � Driver ��

� ���� ����� ���� �� �� �� ��� ���� �� �

� ����� �� ��� �����. � ��� �� ���� ���� � ���

���.

1. ���� ��� ������ ��� �� �� ��� �� ��� IBM Data

Server Client �� Driver� �����.

2. ����� �� ��� ��� � ��� ��� �����.

3. ��� ��� � ����� �� ���� ���� � ��� ����� �

�����.

�� ��

��� ������� ���� ��� ��� �� IBM Data Server Client

Driver� ���. ��� ������� ���� ��� ��� �� �

� ��� � � �� ��� ����.

v ��� ��� �� �� ����� ��� � �����

v ����� � ������

v ������ ��� ������

���� �� ���� �������� ��� �� �� ��� �� �

� ���.

IBM Data Server Client � Driver ��

��� IBM Data Server Client Driver ����.

v IBM Data Server Client

v IBM Data Server Runtime Client

v IBM Data Server Driver Package

v IBM Data Server Driver for ODBC and CLI

v IBM Data Server Driver for JDBC and SQLJ

�� ��� DB2 Connect Personal Edition�� IBM Data Server Client� �

�� ���� ���� ������� ��� �� ���� ���.

DB2 Connect �� ��� ����� �� ���� ��� � ���.

© Copyright IBM Corp. 1993, 2010 3

Page 12: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

�� ���

����� �� ���� ���� ���� ��� �� DVD� ��� ��

���� ���� ����.

Linux® UNIX®� IBM Data Server Driver for ODBC and CLI� �� ��

���� ����. � ���� ��� ���.

�� ��� ��� ��� �� ���. �� ��� ��� ����� �

� ����� �� �����. �� ����� �� Windows® �� ��

� �����. �� �, Windows �� ����� �� ��� ��� Data

Server Runtime Client �� IBM Data Server Driver Package� ������ �

�� � ���.

����� �� ���� ��

��� ������ ���� �� ��� ��� ������ ������.

1. ��� ����� ��� ��

2. �� ��

3. ������ ��� ��� ��� �� � �

�� 8 ����� �� DB2® �� 9 ������ �� � ���� �� �� �

����� �� 9.5 Data Server Client� ��� ��� ��� �� 9.5 ����

�� �� �� �� 9.5 Data Server Client� �� ������ ��� ��� �

�����.

�: �� ������ ���� ���� �� Data Server Client�� �����.

IBM Data Server Client � Driver ��

��� � � IBM Data Server Client Driver �� ��� ����. �

� ��� �� �� �����.

��� ��� � � IBM Data Server Client Driver � ����.

v IBM Data Server Driver for JDBC and SQLJ

v IBM Data Server Driver for ODBC and CLI

v IBM Data Server Driver Package

v IBM Data Server Runtime Client

v IBM Data Server Client

4 IBM Data Server Client� � ��

Page 13: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

�� ��� DB2 Connect Personal Edition�� IBM Data Server Client� �

�� ���� ���� ������� ��� �� ���� ���.

DB2 Connect �� ��� ����� �� ���� ��� � ���.

IBM Data Server Client Driver� ��� �� ��� �� �� ����

�.

v Java™ ������ ���� IBM Data Server Driver for JDBC and SQLJ

� ������.

v ODBC �� CLI� ���� ������ ���� IBM Data Server Driver

for ODBC and CLI� ������(cli ������ �).

v ODBC, CLI, .NET, OLE DB, Open Source� ���� ������� Java

������ �� IBM Data Server Driver Package� ������.

v ����� �� �� �� ���(CLP) �� �� ����� ���

��� �� IBM Data Server Runtime Client� ������.

v ������ �� �� ODBC, CLI, .NET �� JDBC� �� API� ���

� ����� �� ��� �� IBM Data Server Client� ������.

v System z® ��� �� IBM i DB2 IBM Data Server Client� � ��

�� ���� ��� �� DB2 Connect Personal Edition� ������.

IBM Data Server Driver for JDBC and SQLJ

IBM Data Server Driver for JDBC and SQLJ� Java ��� �� ��

� �� ��(UDF)� ��� ������. � ���� Java� �� ����

� ����� ���� JDBC� ��� �� �� ��� ��� �����

� ���� Java ������ ���(embedded) �� SQL� SQLJ� ���

��.

IBM Data Server Driver for ODBC and CLI

Data Server Driver for ODBC and CLI� ISV(Independent Software Vendor) �

� ��� ��� � ������. cli ������ �� � ���� Data

Server Client �� Data Server Runtime Client� ���� ��� ODBC API �

� CLI API� ��� ������ �� � ��� �����. � ���

� tar ���� �� ��� �� �� ���� ��� � ����. ���� �

��� �����.

IBM Data Server Driver for ODBC and CLI� ��� �����.

v CLI API� �� � ��

v ODBC API� �� � ��

v XA API� �� � ��

� 1 IBM Data Server Client � 5

Page 14: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

v ������ �

v DB2 ��� � �� �����(db2cli) ��

v LDAP ������ ��� ��

v ��, � � ��

db2oreg1.exe ��� ��� Data Server Driver for ODBC and CLI�

Microsoft® ODBC ��� ���� ������.

IBM Data Server Driver Package

IBM Data Server Driver Package� Data Server Runtime Client �� Data Server

Client� ���� ��� ODBC, CLI, .NET, OLE DB, Open Source �� Java

API� ��� ������ � ��� ���� Lightweight � ����

��. �� ���� � � ���� ISV(Independent Software Vendor)� �

���� � ������ ���� �� � ������ �����

�� ����� ���� ���.

IBM Data Server Driver Package ��� ��� ���.

v ODBC, CLI �� Open Source(PHP �� Ruby)� ��� ������� �

���� ����� ��

v JDBC� ��� Java� �� ����� ����� ���� Java� �

��(embedded) SQL(SQLJ)� �� ��

v .NET, PHP Ruby� �� IBM Informix® ��

v �� �� ���� ���� �� ����� �� ��

v DB2 ��� � �� �����(db2cli) ��

v Windows �� ���� IBM Data Server Driver Package� .NET �� OLE

DB� ��� ������� ����� ������ �����. �� �

���� �� �� ����� �� ��� Windows �� ��� �� �

��� ���� � ��� � �� �� ��� ��� � ���.

v Linux UNIX �� ���� IBM Data Server Driver Package� �� ��

���� ��� � ����.

IBM Data Server Runtime Client

IBM Data Server Runtime Client� ��� �������� ������ ���

� �� �����. GUI ��� IBM Data Server Runtime Client�� ����

����.

�� �� ��� ����.

v � ��� �� �� ���(CLP). �� CLP� ��� ���� ��� �

�� �� �� �����.

6 IBM Data Server Client� � ��

Page 15: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

v ������ �, SQL�, XQuery� �� ���� �� ����� ��

v �� ������ ��� ����� ��: JDBC, ADO.NET, OLE DB, ODBC,

� �����(CLI), PHP Ruby. � ���� ��� ��� ���� ��

� � �����. �� �, ODBC� �� IBM Data Server Client�

���� ODBC ���� ����, �� ���� �����. �����

�� �� ���� Windows ODBC ��� �� ��� ��� ��� �

�� ��� ��� � ���.

v LDAP(Lightweight Directory Access Protocol) Exploitation

v �� ���� �� ���(TCP/IP Named Pipe) ��

v ��� ���� � ����� �� �� ��. �� ��� �����

�� ��� � ���.

v ���� ������ �� IBM Data Server Runtime Client� � ����

���� ���� ��

v �� ��� �� ��� ����� ��� �� IBM Data Server Client�

� � �� � ���� �����.

v ������ ��� ��� � ��� ��� �� ��

v Windows �� �� �� ���� �: ������ ������ �� ��

�� �� ������ �� �� �����. �� ������ ��

��� �� ���� RTCL DLL ��� ���� � � Windows �� �

��� �� ��� ��� �� ���. � ��� ������ ��� �

����� ��� ���� �� ���.

v IBM Informix� PHP, Ruby, .NET JDBC� �����.

IBM Data Server Client

IBM Data Server Client�� IBM Data Server Runtime Client� � �� �

����� ��, ����� � �����/�� �� �� �� ����

���.

�� �� ��� ����.

v IBM Data Server Client ���� ��� Windows �� ���� �� ���

��� ��� �

v ������� ����� ������ ��� ��� � ��� �� �

�� ���

v ������ �� ������ ��� �� �� �� � ��� ��. �

� ��� x86(32�� ��)� Windows, x64(AMD64/EM64T)� Windows, x86�

Linux, AMD64/EM64T(x64)� Linux ��� ��� � ���.

v � ���� �� � �� ��

� 1 IBM Data Server Client � 7

Page 16: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

v Visual Studio ��

v IBM Data Studio

v ����� �� ��

v � � ���� ��� ����

v �� ��

v �� ���

v PHP, Ruby, .NET, JCC JDBC� �� IBM Informix ��

IBM Data Server Client� �� ��

� ���� IBM Data Server Client �� Driver� ���� ���� � �

� �� �� ���� ����.

������ ����� ��� �� ���� �����. ���� IBM Data Server

Client� � �� ���� ��� �� ��� �� ���� � ���� �

����� ��� ��� ����.

�� ��

IBM Data Server Client �� Driver� ���� ���� �� �� DVD� �

�� �� ���� ���� ����(Windows �� ��� setup, Linux UNIX

�� ��� db2setup). IBM Data Server Client �� ���� �� �� ����

���� ���.

��� ��� ���

� �� ��� ����� �� ����� �� �����.

v �� �. � �� �� ��� ��� ����� ��� ���� � �

��. � �� ��� �� ��� �� �� �� ��� ��� � ���.

v �� �� �� ��. Windows Active Directory, SMS(Windows Systems

Management Server) �� Tivoli® ��� �� � �� �� �� ���

������ ��� � ���.

Windows �� �� �� ��

� �� � ��� Windows �� �� � �����.

v Windows Thin Client ����. � �� IBM Data Server Client DB2

Connect Personal Edition�� �����. Thin Client ����� �����

� ����� ������� �� � ���� � �� ��� �

� Windows ���� �����. �� ����� ������� Data

Server Client � ��� ��� �� Windows ���� ����.

8 IBM Data Server Client� � ��

Page 17: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

v Windows ��� ID. �� �� �� Windows ��� ��� ID(��� �

�� ��� ID)� �����. �� IBM Data Server Client� ��� �� �

� Windows Power ��� ��� ��� ��� ID� ��� ��� ��

���. � ��� ��� ���� ��� ID� ��� ��� �� � ����

�. DB2 ��� Windows � �� ����� �����. ����� IBM Data

Server Client� ����� Windows � ��� ���� �� ����.

Linux � UNIX �� �� ��

Linux UNIX �� ��� �� ��� ���� �� �� �� �����

(db2_install ����)�� ��� � ���.

�� IBM Data Server Driver for ODBC and CLI� tar ��� ��� �� �

��.

�� ����� ����

�� ��� ���� � ��, ����� ����� ���� �� ����

���� �� �� ����� ���� ��� � ���.

����� ���� ���� �� ����� -s �� � db2icrt �

� ������.

db2icrt -s client <instname>

DB2 ������ �� ��

� ���� �� ��(��� ���)� ������� �� ���� ��(��

���)� ��� � � �� �� �� ����. �� �� ���� �

�� ���� ��� ��� �� ��� ���.

v ��� ��� ��� �� ����� ���� ��� ������ ��

�� ���

v ����� � ������

v ������ ��� ������

���� ������� ����� �� �� ���. ������� ���

��� ����.

v ��� �� �, �� ���. ��� �� DB2 ��� �� � � DB2 ��

�� ��� ������� �����.

v �� �� �, ��� ���

v ���� �� ���� ��� �� ��

� 1 IBM Data Server Client � 9

Page 18: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

���� ��� ��� �� ������ �� ��

����� ��� ������ ������� �� � �� ���� � ��

� �����.

v ������ DB2 ������� ���, � �� ��� ��� ���. �

�� �� ������� �� ���� ���� ������ ���.

v ������ �� ��� DB2 ������� ����.

v ����� ������ ����� ��� ���, ��� ��� ��� �

� ��� DB2 ������� ����.

– ��� ����

– �� ��� �� ����

– �� ��

DB2 ��� ������ ��� ��� ����, �� ������ ��� �

�� ����. DB2 �� ���� ������ �� ������� ��� �

�� ��� �������� �� � �� �� �� �����.

�� ������ � ��� DB2 ��� ���, ������ ��� DB2 �

������ �� � �� �� ��� �� �� ���.

v IBM Data Server Client. � �� DB2 ��� ��� ����� � ���

�� �� �����. IBM Data Server Client� DB2 ������� �

��� � ��� �����. ����� ����� ��, ������

��� ��� ������ �� ����� ��� �����. �� IBM Data

Server Client� ��� ��� � ������ �� ��� �� ��� DB2

������� �� � ���.

v DB2 ���� �� ��. � �� ��� DB2 ��� ��� ����. �

� �� ��� �� ��� ��� ���� IBM Data Server Runtime Client�

��� �� ����, Windows �� ���� Windows �� ��� �

� ��� ���� � �� ��� ���� �� �� ���. � �� ��

�� �� �� ���� ������ Data Server Runtime Client� �� �

����. ��� �� �� �� ���(CLP)� ���� �� ��, ���

� ���� ���� �DB2 ��� �� ��� ��� ���.

v �DB2 ���� �� ��. � �� ��� �DB2 ��� ��� ����. �

� �� ��� ����� � ���� ����� DLL ��� ���� IBM

Data Server Driver Package� ��� �� ����, Windows �� ��

�� Windows �� ��� �� ��� ���� � �� ��� ���� �

� �� ���. � �� ���� �� �� ���� ������ IBM Data

Server Driver Package� �� �����.

10 IBM Data Server Client� � ��

Page 19: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

v DB2 ������ ����. DB2 ����� ���� ���� ������

� ��� � ��� ��� ������ ����� ������ ����

� � ��� ����� �����. �� �� ��� �� ��� �

��� ���� IBM Data Server Client�� ����. ����� ����

����� ����� ��� ���� �� DB2 � �� �� ���

�� ����. ����� ����� ���� �� ������ ��

���� ���� ������ �� ������. DB2 ����� ���

� �� DB2 ����� ��� �� IBM Data Server Client� ��� �

�� ��� � ���. DB2 ��� ���� Java(JDBC SQLJ)� ODBC

CLI ������ �����. ���� ��� ��� IBM Data Server

Driver Package �� ����� ����� developerWorks®�� ����

� � ���.

������ �� ������ ��

IBM Data Server Client� IBM Data Server Runtime Client� � �� ��

��� �� �, ������ �� ����� �� ��� ��� ����

�. �� ����� ����� ��� ��� � �� ��� ���� Data

Server Client� �� ��� ����.

DB2 ������� ���� � ��� ����� ��� ����� �

��� � �� ��� ���. �� �������� ����� �

� ���� ���.

v Rational® Application Developer �� Microsoft Visual Studio� �� IDE(In-

tegrated Development Environment)

v ��� �� IDE� ��� DB2 �� � ��

– IBM Database Add-Ins for Microsoft Visual Studio

– IBM Data Studio

v � �� ������� � ������ ��� ���. � ������ ��

� �� �� � �� �� � ��� � � ���.

– �� ������. ��� ����� ��� �� ������ ��

� ���.

– ���� ����. ��� ��� ��� ������ ���� ���

��.

����� ��� �� ���� Data Server Client� �� ������ ���

�� � ��� �� ����� ���� ������ �� ��� ���� �

���. �� �� ��� � �� �� Data Server Client� ��� ��� �

���. DB2 ��� ��� ��� �, �� IBM Data Server Client� ��� �

� 1 IBM Data Server Client � 11

Page 20: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

�� ����. DB2 �� ���� �� Data Server Client� �� �� �

�� �����.

��� ������ ��

������ ���� � �� �� � � ��� ��� �������� �� �

��� ��� � ���. Telnet� �� ��� ��� �� ������ �

�� ��� DB2 ��� �� ��� �����. ��� ���, ��� ���

���� ��� �� �������� �� �� ��� � ���. � �

��� ��� IBM Data Server Client� ��� ��� ��� � �� ��� �

�� ���.

DB2� ��� �������� ���� �� ��� DB2 ���� �� �� �

��� � � �� �����. � ����� ��� ����.

v IBM Data Server Runtime Client� ������. � �� ���� ��

�� ���(CLP)� ��� ��� �����.

v IBM Data Server Client� ������. � ������� Data Server Runtime

Client� � �� ����� �� �, ������ �� �����

�� ���� ��� �����. ��� � �� ��� �� ��(��

�� �� �� �� ��)� �� ��� �� ��� �����. �� ��

� DB2 �� �� � ���� ��� DB2 ��� DB2 Administration Server

� �����.

v DB2 �� �� ������. DB2 ��� ��� ��� �, �� IBM Data

Server Client� ��� ��� ����. DB2 �� ���� �� IBM Data

Server Client� �� �� � �� �����.

����� � ���� ������� �� ��

DB2 Connect ���� ���� ���� �� (�, OS/390® z/OS®,

System i®, VSE VM)� DB2 ������� �� � ���. DRDA®(Dis-

tributed Relational Database Architecture™� ���� �IBM ������� �

� �� ���. DB2 Connect� ��� ��� �������� �� Linux,

UNIX �� Windows� DB2�� �� � ���.

� ����� ��� ����.

v DB2 Connect Personal Edition. � ��� ������� ���� �� ��

��������� �� �����. � �� �� �������� �

�� ��� ���� �� �� �����. � ��� Linux, Solaris

Windows �� ���� �� ����.

v DB2 Connect Server Editions. DB2 Connect ��� �� ��� �����

� ��� ���� ���� ���� �� ���� ������ ��� �

12 IBM Data Server Client� � ��

Page 21: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

����� �����. DB2 Connect ��� �� ��� ��� IBM Data

Server Client� � ������� Windows, Linux UNIX� DB2� ��

����� ��� DB2 Connect ������ �� ��� ���� �� ���

� ��� � ���.

� � �� ��� ��� � ���. �� �, ������� �� ���

���� �� ���� ������� �� � ���.

v DB2 Connect Personal Edition� ��� ��� � �� ��� ���� �

�����.

v � DB2 Connect �� ������ �� ����� �� ���� ����

�.

� 1 IBM Data Server Client � 13

Page 22: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

14 IBM Data Server Client� � ��

Page 23: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

� 2 � IBM Data Server Client ��

© Copyright IBM Corp. 1993, 2010 15

Page 24: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

16 IBM Data Server Client� � ��

Page 25: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

� 2 � IBM Data Server Client �� ����

��� � ��� ����

��� ���

��� ��� ��� ����� ���� ��� �� � ���� ����

�� ��� �� �� �����. DB2 �� ��� �� ��, �� �� �

�� �� �� �� �� ���� ���� �� �� ���� �����.

�� ������, ���� �� ��� ��� ��� ����� ��� �

��.

Linux UNIX �� ����, /tmp ���� 2GB� � � � � ��

�.

Windows �� ����� DB2 ��� ��� � � ��� ��� �� �

� � � ���.

v ��� ���� 40MB

v temp �� ��� ��� �� ��� 60MB

��� ���

DB2 ������ ����� ��� 256MB� RAM� �����. DB2 DB2

GUI ��� ���� ���� ��, �� 512MB� RAM� �����. ��

� ������ 1GB� RAM� �����. � ������ ����� �� �

� � ����� �� �� ��� ����� ���� ����.

��� ����� �� ��� �� ��� �� � ���.

v Itanium �� ���� HP-UX �� 11i�� �� �� DB2 ���� ��

512MB� RAM� �����.

v IBM Data Server Client ��� ��, ����� 5� �� ����� ��

�� ��� �������. 5� ����� ��� ��� 16MB� RAM�

�����.

v ��� ����� ������ ���� ��� ���, ������ �� ��

���� ����� ����� �� ��� ����.

DB2 ��� ��, �� �� ��� �� ��� � ���� �

� ���� ������ ��� � ���� ������. �� �� ��, �

© Copyright IBM Corp. 1993, 2010 17

Page 26: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

�� �� ���� �� �� ��� ��� ��, ��� ��, �� �

�� �� ��� ��� ����� ���� ����.

v Linux �� ����� RAM ��� �� � �� ���� �� ��� � ��

�.

DB2 �� � IBM Data Server Client �� ����(AIX)AIX® �� ��� DB2 ������ ��� ���� �� �� ���� �� �

� ��, ���, ���� �� ����� ���� ������.

DB2 ������ ��� � �� �� ���� �� ����. �� DB2 ��

���� �� �� �� �� ����� �� ����. �� ���� �

� �� DB2 ������ �� �� ������.

DB2 ������ ��� ����� �� ����� �� ���.

� 1. AIX �� ����

� �� ���

AIX �� 5.3

v 64�� AIX ��� ���

v AIX 5.3 TL(Technology Level) 6 ��� �(SP) 2

APAR IZ03063

v �� C++ � ���� xlC.rte 9.0.0.1 xlC.aix50.rte

9.0.0.1 �� ��� �����. � �� ��� 2007 8

� ���� IBM C++ Runtime Environment Components

for AIX ���� ���� ���.

AIX �� 6.12

v 64�� AIX ��� ���

v �� C++ � ���� xlC.rte 9.0.0.1 xlC.aix61.rte

9.0.0.1 �� ��� �����. � �� ��� 2007 10

� ���� IBM C++ Runtime Environment Components

for AIX ���� ���� ���.

�: POWER7™ ���3�� AIX 6.1 TL4� �����.

AIX �� 7.14

v 64�� AIX ��� ���

v AIX 7.1.0 GA(General Availability)

v �� C++ � ���� xlC.rte 11.1.0.0 xlC.aix61.rte

11.1.0.0 �� �� ��� �����. � �� ���

2010 4� 2010 IBM C++ Runtime Environment

Components for AIXV11.1 ���� ���� ���.

64�� CHRP(Common Hardware

Reference Platform) ����1

���� AIX �� ��� ��� �

� � ���

18 IBM Data Server Client� � ��

Page 27: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

v1CHRP ���� ����� ����� lscfg �� ���� �� �� ���

��. Model Architecture: chrp

v2AIX 6.1�� ��� WPAR ����� WPAR��� � �� ��

WPAR(Workload Partition)� ���. DB2 ��� ��� WPAR��� ��

���. �� AIX 6.1� JFS2 �� ��� �� �� ��� ����� �� �

����. �� �� ���� �� �� �� � �� ���� ����.

v3 POWER7 ���� �� ����:

– IBM Tivoli System Automation for Multiplatforms(SA MP) 2.2.x �� SA

MP 3.1.x RSCT(Reliable Scalable Cluster Technology) 2.5.4.0� ��� �

� RSCT ��� �� ��� RSCT 2.5.4.2� ��� ���. �� 9.5 ��

� 6 ���� POWER7 ���� ���� RSCT ��� ��� SA MP�

�� ��� �����.

– POWER7 ����� �� �� DB2 ��� ��� � � �����.

v4���(HA) �� ����� �� 9.5 ��� 6 ��� ��� ���. �

����� ��� ��� IBM Tivoli System Automation for Multiplatforms(SA

MP) �� ���� �����.

���� ����

v ����� � � ����� �� ��� ������ �����

�� �� ���� ���� �� ���� � ��� ������.

v IBM AIX XL C C++ �� � ����� �� IBM C++ Runtime

Environment Components for AIX� ���� � ���.

v (����� ��) Kerberos ��� �����, IBM Network Authentication

Service ����� v1.4 ��� �����.

v 64�� ��� ����� bosboot �� ������.

64�� ��� ����� �� ��� ���� �� �� ��� ���.

ln -sf /usr/lib/boot/unix_64 /unixln -sf /usr/lib/boot/unix_64 /usr/lib/boot/unixbosboot -ashutdown -Fr

v ��� ���� ��, � �� ��(db2fs)� ����� �� ��� � ���

�����.

– Mozilla 1.4 ��

– Firefox 1.0 ��

– Netscape 7.0 ��

v DB2 �� ��� ��� Linux �� UNIX �� ��� DB2 ��� ���

�� ��� ��� ������ ���� � � X Window ��� ����

� �����.

� 2 IBM Data Server Client �� ���� 19

Page 28: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

v �� AIX ��� �� ��� ��� www.ibm.com/support/docview.wss?

&uid=swg21165448� ������.

��� ����

UNIX �� ���� DB2 ��� �� ��� �� nosetuid �� ��� ��

���� ����� ����.

DB2 �� � IBM Data Server Client �� ����(HP-UX)

DB2 ������ ��� � �� �� ���� �� ����. �� DB2 ��

���� �� �� �� �� ����� �� ����. �� ���� �

� �� DB2 ������ �� �� ������.

DB2 ��� ����� �� �� ��, ��� �� ����� �� ��

�.

�: 32�� HP-UX ������ � �� ���� ����.

� 2. HP-UX �� ����

� �� ���

���� DB2 ��� �����.

v ��� ���� HP-UX 11iv2(11.23.0505)

– 2005 5� �� Base Quality(QPKBASE) �

– 2005 5� �� Applications Quality(QPKAPPS) �

– PHCO_38637 - libc �� ��

v ��� ���� HP-UX 11iv3(11.31)

– PHCO_38658 - libc �� ��

Itanium® �� HP Integrity Series

Systems

���� �� ��� ��� �� �

�� ��� ��� � � � ��

�, ���� � �� ���� �

��� �� �� �����.

�� �� ����

�� � ���� ��� �� ��� ���� �����. �� � ����

/etc/system� ���� ���. �� � ��� �� �� �� 9 �����

�� DB2 �� ��� ���� �� � �� �� � ���� ��� ���.

�� �� �� ���� ���� ���� �� �� /etc/system ����� �

���� ���� ���� ���.

���� ����

v ��� ���� ��, � �� ��(db2fs)� ����� �� ��� � ���

�����.

– Mozilla 1.4 ��

20 IBM Data Server Client� � ��

Page 29: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

– Firefox 1.0 ��

– Netscape 7.0 ��

v ��� ���� ��� ��� ����� ��� �� � X Window ���

����� �����.

– DB2 �� ��� ��� Linux �� UNIX �� ��� DB2 ��� �

���� ��

v �� HP-UX ��� �� ��� ��� www.ibm.com/support/docview.wss?

&uid=swg21257602� ������.

�: ��� 5 ���� HP-UX �� ��� ��� DB2 ��� ��� ��� �

����. ��� 255���� � ���� �� �� ��� ��� ��� �

���. �� �� �� ����� HPUX 11iv2 �����.

��� �� ��� �� ��� ��� �� ���� ������.

1. �� �� � ��� expanded_node_host_name� ������.

Kctune expanded_node_host_name=1

2. -D_HPUX_API_LEVEL=20040821 �� ��� ��� �� ��� ��� �

����� �������.

��� ����

UNIX �� ���� DB2 ��� �� ��� �� nosetuid �� ��� ��

���� ����� ����.

� �� �� ����(HP-UX)

DB2 64�� ������ ���� �� �� HP-UX ���� ��, db2osconf

�� ��� ���� ��� �� � ��� �� ��� � ���. db2osconf

��� $DB2DIR/bin��� ��� � ���. �� $DB2DIR� DB2 ���

���� � ������.

�� ���� ��(HP-UX)

DB2 ��� HP-UX�� ���� ����� ��� �� � ���� ���

� � ���. �� � ��� �� ���� �� ���� ���� ���.

�� ���� ����� �� ��� � ���.

�� ���� ����� ��� ������.

1. sam �� ��� ��� �� ���(SAM)� ������.

2. �� �� �� � �� ������.

3. �� ���� �� � �� ������.

� 2 IBM Data Server Client �� ���� 21

Page 30: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

4. ����� ���� �� ���� ��/� �� � �� ������.

5. ��� �����.

6. ����� � �� � ���� �� � ��� ������.

7. � �� � ��� ��� ���� �� �� ���� �� --> ��� �

� ��� �����.

���� �� � ��� �� ����, HP-UX �� ��� ���� ����

��.

DB2 �� � IBM Data Server Client �� ����(Linux)Linux �� ��� DB2 ������ ��� ���� �� �� ���� �� �

� ��, ���, ���� �� ����� ���� ������.

DB2 ������ ��� � �� �� ���� �� ����. �� DB2 ��

���� �� �� �� �� ����� �� ����. �� ���� �

� �� DB2 ������ �� �� ������.

���� Linux �� �� �� ��� ��� ����� http://www.ibm.com/

software/data/db2/linux/validate/� ���.

�� ����� DB2 ������ ��� �����.

v x86(Intel® Pentium®, Intel Xeon® AMD) 32�� Intel AMD ���

v x64(64�� AMD64 Intel EM64T ���)

v POWER®(Linux� ���� IBM eServer™ OpenPower®, System i �� pSeries®

���)

v eServer System z, System z9® �� System z10

Linux� ���� �� ��� ��� ����.

v RHEL(Red Hat Enterprise Linux) 4 Update 4

v RHEL(Red Hat Enterprise Linux) 5

v SLES(SUSE Linux Enterprise Server) 9 ��� � 3

v SLES(SUSE Linux Enterprise Server) 10 ��� � 1

v SLES(SUSE Linux Enterprise Server) 11

v Ubuntu 8.04

v Ubuntu 7.04

v Ubuntu 7.10

v Turbolinux 11

v Asianux Server 3

22 IBM Data Server Client� � ��

Page 31: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

�:

v POWER�� ��� SLES 10 ��� � 1 �� RHEL 5� �����.

v �� 9.5 ��� 6 ���� SLES 11 �� POWER7 ��� ���� ��� �

� ��� ��� IBM Tivoli System Automation for Multiplatforms(SA MP)

�� ���� �����. ��� ��� �IBM Tivoli System Automation for

Multiplatforms(SA MP) �� ��� ��� �� �Upgrading IBM Tivoli System

Automation for Multiplatforms(SA MP) �� ��� ������ �����

�.

����� �� ��

DB2 �� 9.5 32�� ������ ��� Linux �� ��� ���� ���� 64

�� �� ��� ������ �� DB2 �� 9.5 64�� ������ ��� �

�� �� ������. ����� ��� ����� ��� �� ����

�. �� �� 32�� DB2 ������ ��� ��� �� ��� � � �

��. �� �, ��� ����.

v ���� ��� � ���� �� �� ��� ��� �����. ����

�� ����� �� � � ��� ��� ��� �� ��� ��� ��

���� �� �� �� ���.

v � ������� � ������ �� ��� ����� �� �����

����� �� ������ ��� �����. � ������� ���

��� ���� �� ������� ��� ���� � � �� ���. �

����� �� ��� � ��� � �� ���. � �� ��� ��

���� ��� ��� � ������� ����� ����. �

� � �� ���� ���� � ��� ��� �����.

�� ���

Linux �� ���� �� �� � ���� ��� ���. DB2 �����

� ���� ��� �� �� �� ���� ����� �� �� � ��

�.

Linux ��� ��� ��� �� � �� �� ������ � �� ��

�. Linux ��� �� �� ��� �� �� � ���� ��� ���.

�� � ���� /etc/sysctl.conf� ���� ���.

sysctl �� ��� � ���� ���� ��� � �� ��� �� �

� �� ���� ������.

� 2 IBM Data Server Client �� ���� 23

Page 32: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

�� ���

�� ��� DB2 �� 9.5� SLES, RHEL Ubuntu �� �� ��� ���

�� ���� ���.

v libaio.so.1� ��� I/O� ���� DB2 ������ ��� �����.

v libstdc++.so.5� DB2 ������ �� ������ �����.

�: g++ 4.1� ��� RHEL 5 �� SLES 10�� C++ ������ ��

��� �� �� ��� ����. libstdc++.so.5, needed by libdb2.so,

may conflict with libstdc++.so.6 29 ���� �C++ ����� ��� �

�� ���� ��� ������.

� 1: SLES, RHEL Ubuntu� �� ��� ����

��� �� �� � �� �� ����

libaio � ����� DB2

��� ��� ��

� ����� �

����.

RHEL 32�� DB2� ����� db2setup� ���� ��

libaio ���(x86 �����)� ��� �

��.

RHEL 64�� DB2� ����� db2setup� ���� ��

� � libaio ���� ��� ���.

��� ��� � � libaio���. �� �

�� � � �� RPM ��� ���. �

� ��� i386 RPM ���� �� ���

x86_64 RPM �����.

SUSE 32�� DB2� ����� db2setup� ���� ��

libaio ���(x86 �����)� ��� �

��.

SUSE - 64�� DB2� ����� db2setup� ���� ��

� � libaio ���(x86_64 ����

�)� ��� ���. � ���� ���

"libaio" "libaio-32bit"�� � � x86_64

RPM �����.

Ubuntu 32�� Ubuntu� � ����� ��� ��� ��

� ���� �����.

Ubuntu 64�� Ubuntu� � ����� ��� ��� ��

� ���� �����.

compat-libstdc++ � �����

libstdc++.so.5

� �����

(POWER� Linux

�� ��� ��).

RHEL 32�� DB2� ����� db2setup� ���� ��

compat-libstdc++ ���(x86 �����)� �

�� ���.

24 IBM Data Server Client� � ��

Page 33: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

� 1: SLES, RHEL Ubuntu� �� ��� ����

��� �� �� � �� �� ����

RHEL 64�� DB2� ����� db2setup� ���� ��

� � compat-libstdc++ ���� ��

� ���. ��� ��� � �

compat-libstdc++-33��� ��� � � �

� RPM ��� ���. � � ��� i386

RPM ���� �� ��� x86_64 RPM �

����.

SUSE 32�� DB2� ����� db2setup� ���� ��

compat-libstdc++ ���(x86 �����)� �

�� ���.

SUSE - 64�� DB2� ����� db2setup� ���� ��

compat-libstdc++ ���(x86_64 �����)

� ��� ���.

Ubuntu 32�� Ubuntu� � ����� ��� ��� ��

� ���� �����.

Ubuntu 64�� Ubuntu� � ����� ��� ��� ��

� ���� �����.

�� ��� DB2 �� 9.5 ��� ��� SUSE Linux Red Hat �� ��

��� ����� ���� ���.

v SUSE10 RHEL5 ���� �� ksh93 Korn �� �����. pdksh Korn �

���� � DB2 ������ ���� �����.

v ��� ������ ����� ��� � ��� �����. DB2� ��

� �� ��� � ��� �����.

– rsh

– ssh

���� DB2 ������ ���� ��� DB2 �� �� ��� � rsh

� �����(�� �, ��� DB2 ������ ��� ��� �). DB2 �

���� ����� rsh-server ���� ���� � ���(�� � ��). rsh

ssh� �� ��� ��� DB2 �� ��� ���.

rsh ��� � ��� ����� �� �� inetd(�� xinetd)� ���� �

� ��� ���. ssh ��� � ��� ����� �� ��, DB2 ��

� ��� �� DB2RSHCMD �� ��� ��� ���. � ����� ��

� ���� ��� rsh� �����.

v nfs-utils ���� �� ���� ��� ������ ���� ��� ����

�����.

DB2 ������ ��� ��� ����� � �� ���� �� ���

� ��� . �� Linux ��� ��� Linux � ��� ������ .

� 2 IBM Data Server Client �� ���� 25

Page 34: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

� 2: SUSE Linux� �� ��� ����

��� �� ��

pdksh �� ksh93 Korn �. ��� ������ ���� � ���� �����.

openssh � ����� ���� �� �� �� ��� ����( ��� ���

���) �� ��� � � �� ��� ��� �����. rsh� �

� DB2 ������ ���� ��� �� ��� ���� � ���

� ���� ����.

rsh-server � ����� ���� ��� ����� �� ���� �� ����

����� ��� � ��� ��� � �� �� �� ���� �

�� ���� ���(rsh, rexec, rlogin rcp). ssh� ����� DB2

������ ���� �� �� � ���� ��� ����.

nfs-utils ���� �� ��� �� ���. � ���� ���� ��� ����

�� �� ��� ���� � ���.

� 3: Red Hat� �� ��� ����

���� ��� �� ��

/System Environment/Shell pdksh �� ksh93 Korn �. ��� ������ ���� �

���� �����.

/Applications/Internet openssh � ����� �� �� �� ��� ���

�� �� ��� � � �� �����

��� ��� ���� ���. rsh� �

� DB2 ������ ���� ��� ��

��� ���� � ���� ���� ���

�.

/System Environment/Daemons openssh-server � ����� �� �� �� ��� ���

�� �� ��� � � �� �� ��

� ��� ���� ���. rsh� �� DB2

������ ���� ��� �� ���

���� � ���� ���� ����.

/System Environment/Daemons rsh-server � ����� ���� ��� �����

�� ��� � �� �� ��� ���

���� ���. ��� ������ ��

� �����. ssh� ����� DB2 ���

��� ���� �� �� � ���� �

�� ����.

/System Environment/Daemons nfs-utils ���� �� ��� �� ���. � ���

� ���� ��� ������ �� ���

���� � ���.

���� ����

v (����� ��) Kerberos ��� �����, IBM Network Authentication

Service ����� v1.4 ��� �����.

v ��� ���� ��, � �� ��(db2fs)� ����� �� ��� � ���

�����.

– Mozilla 1.4 ��

26 IBM Data Server Client� � ��

Page 35: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

– Firefox 1.0 ��

– Netscape 7.0 ��

v ��� ���� ��� ��� ����� ��� �� � X Window ���

����� �����.

– DB2 �� ��� ��� Linux �� UNIX �� ���� DB2 ����

�� ��� ����� ��

– x86� Linux AMD 64/EM64T� Linux�� � DB2 ��� ��� ��

�� ��

v Micro Focus� SLES 11� COBOL ��� ��� �� ��� ���� ��

��.

��� ��� Linux ����

RHEL 4 RHEEL 5 ����� SELinux(Security-Enhanced Linux)� �� �

�� �� �� �� SELinux ������ �� �� ���� ��� �

���.

SELinux� ������� �� ��� �� ���� �� � ��� ���

���.

v /etc/sysconfig/selinux �� ��

v sestatus � ��

v SELinux ����� �� /var/log/messages �� ��(���� �� RHEL

4� RHEL 5 � �� � �)

SELinux� �� ���� ��� �� � ��� ������.

v �� �� ��� � �� ��� ���� setenforce 0 � ��

v /etc/sysconfig/selinux� ���� ��� ���

RHEL 4 �� RHEL 5 ����� DB2 ������ ��� ���� ����

DB2 ���� ���� �� ����� �����. DB2 ���� �� ���

� ����� �� ������. �� SELinux �� sqllib/samples ��

�� �����,

�� ���� ��(Linux)

�� 9.5 ��� 6�� ��� ��(IPC)� ��� Linux �� ���� ���

��� ����. �� 9.5 ��� 5 ��� ������ �� �� ���� ��

�� �� ����� DB2 ������ ���� ��� � ��� DB2 �����

� ��� ���� �� ��� ��� ����.

�� ���� ����� �� ��� � ���.

� 2 IBM Data Server Client �� ���� 27

Page 36: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

Red Hat SUSE Linux�� �� ���� ����� ��� �� �����

�.

1. ipcs -l �� ��� ��� �� ��� ��� ������.

2 . h t t p : / / p u b l i b . b o u l d e r . i b m . c o m / i n f o c e n t e r / d b 2 l u w / v 9 r 5 / t o p i c /

com.ibm.db2.luw.qb.server.doc/doc/c0057140.html�� �� 9.5 ��� 6 ���

���� �� ��� �� �� ��� �� ��� ��� ��� �� �

��� � �� �����. �� ���� ipcs � �� ��, // �

� ��� ��� ���� ��� ���� ���.

# ipcs -l

------ �� ��� �� --------�� ���� � = 4096 // SHMMNI�� ���� ��(KB)= 32768 // SHMMAX�� � �� ���(KB) = 8388608 // SHMALL�� ���� ��(���) = 1

------ ���� �� --------�� �� � = 1024 // SEMMNI��� �� ���� = 250 // SEMMSL�� ���� ��� �� = 256000 // SEMMNS���� ��� �� �� � = 32 // SEMOPM���� ��� = 32767

------ ���: �� --------�� � ��� �� = 1024 // MSGMNI�� ��� ��(���) = 65536 // MSGMAX��� �� � ��(���) = 65536 // MSGMNB

3. /etc/sysctl.conf ��� ��� ��� ��� �� ���� ������.

� ��� ���� ��� ��� �����. �� �� ��� �� � �

��� �� ����.

#Example for a computer with 16GB of RAM:kernel.shmmni=4096kernel.shmmax=17179869184kernel.shmall=8388608#kernel.sem=<SEMMSL> <SEMMNS> <SEMOPM> <SEMMNI>kernel.sem=250 256000 32 4096kernel.msgmni=16384kernel.msgmax=65536kernel.msgmnb=65536

4. -p ���� �� sysctl� ��� ��� ��� /etc/sysctl.conf���

sysctl ��� �����.

sysctl -p

5. ���� ��� ����� ����� ��� ������.

v (SUSE Linux) boot.sysctl� �

v (Red Hat) rc.sysinit ���� ����� ���� /etc/sysctl.conf �

�� ����.

28 IBM Data Server Client� � ��

Page 37: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

C++ ������ ��� ��� ��

g++ 4.1� ��� RHEL 5 �� SLES 10�� C++ ������ ����� �

� �� ��� ����. libstdc++.so.5, needed by libdb2.so, may conflict

with libstdc++.so.6

��

SLES 9�� DB2 V9.5 Linux, UNIX Windows�� �� libstdc++.so.5� �

�� ����. RHEL 5 SLES 10�� ���� g++ 4.1 ����

libstdc++.so.6� �����.

� ��

� ��� ���� � �� �� ���.

v SLES 9 ���� GCC 3.3� ��� ������ �����.

v DB2 V9.7 Linux, UNIX Windows� ������ ��� ����� �

����. DB2 V9.7� g++ 4.1� ��� ���� ��� ��� ���

�. DB2 V9.7� V9.1 V9.5� ���� ����.

v ��� �� � �� ������. �� � �� � ��� ���� ���

��� ������ �� ���� ���� ��� ����. ��� ��

�� � � �� ���� �������. � ��� �� ��� � � �

���� ���� ����� �� � SIGSEGV ��� ���� ����.

DB2 �� � IBM Data Server Client� �� �� ����(Solaris ��

��)

DB2 ������ ��� � �� �� ���� �� ����. �� DB2 ��

���� �� �� �� �� ����� �� ����. �� ���� �

� �� DB2 ������ �� �� ������.

DB2 ������ ��� ����� �� �� ��, ��� �� �����

�� ���.

� 2 IBM Data Server Client �� ���� 29

Page 38: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

� 3. Solaris �� ����

� �� ���

Solaris 9

v 64�� ��

v �� 111711-12 111712-12

v �� ����� ���� ��, �� 122300-11

v 64�� Fujitsu PRIMEPOWER �� 912041-01� �

� ����� ���� �� Solaris 9 �� �� ��

112233-01 ��

Solaris 10

v 64�� ��

v �� ����� ���� ��, �� 125100-07

UltraSPARC �� SPARC64 ���

Solaris 10

v 64�� ��

v �� 118855-33

v �� ����� ���� ��, �� 125101-07

Solaris x64(Intel 64 �� AMD64)

v �� ��� ��� DB2�� �����. �� ��� ���� �� �� DB2�

� ���� ����.

�� �� ����

�� � ���� /etc/system� ���� ���. �� �� �� ����

���� ���� �� �� /etc/system ����� ����� ���� ����

���. �� ���� IBM Data Server Client� ���� �� ��� �

��.

���� ����

v (����� ��) Kerberos ��� ����� IBM NAS(Network Authentication

Service) ����� v1.4 ��� �����.

v ��� ���� ��, � �� ��(db2fs)� ����� �� ��� � ���

�����.

– Mozilla 1.4 ��

– Firefox 1.0 ��

– Netscape 7.0 ��

v ��� ���� ��� ��� ����� ��� �� � X Window ���

����� �����.

– DB2 �� ��� ��� Linux �� UNIX �� ��� DB2 �����

� ��� ����� ��

30 IBM Data Server Client� � ��

Page 39: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

v �� Solaris ��� �� ��� ��� www.ibm.com/support/docview.wss?

&uid=swg21257606� ������.

�� ��� http://sunsolve.sun.com � ����� � � ���. SunSolve �

�� � ����� �� ��� � "��" �� � � �����.

J2SE(Java2 Standard Edition) Solaris �� �� �� ��� SUNWlibC �

���� ���� http://sunsolve.sun.com � ����� � � ���.

64�� Fujitsu PRIMEPOWER ���� DB2� �� ��� �����.

v �� 912041-01� �� ����� ���� �� Solaris 9 �� �� ��

112233-01 ��

Solaris �� ��� Fujitsu PRIMEPOWER ��� http://download.ftsi.fujitsu.com/

� FTSI�� ���� � ���.

��� ����

UNIX �� ���� DB2 ��� �� ��� �� nosetuid �� ��� ��

���� ����� ����.

�� ���� ��(Solaris �� ��)

DB2 ������ ���� ��� ���� ��� ���� �� � ����

���� �� ����. db2osconf ��� ��� � �� ���� ��

� � ���. ��� �� ����(/etc/project)� ����� Solaris ��� �

�� ���.

�� ���� ����� �� ��� � ���.

db2osconf �� ����� � DB2 ������ ���� ��� ���.

db2osconf ��� $DB2DIR/bin��� ��� � ���. �� $DB2DIR� DB2

��� ���� � ������.

�� ���� ��� ��� ���� ���� ���.

�� ���� �����, ��� �� /etc/system ��� �� �� �����

set parameter_name = value

�� �, msgsys:msginfo_msgmax ��� �� ����� �� �� /etc/system

�� �� ������.

set msgsys:msginfo_msgmax = 65535

/etc/system ��� ��� � ���� �������.

� 2 IBM Data Server Client �� ���� 31

Page 40: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

DB2 �� � IBM Data Server Client �� ����(Windows)Windows �� ��� DB2 ������ ��� ���� �� �� ���� �

� �� ��, ��� ���� ����� ���� ������.

� 4. Windows ������ ��

� �� ��� ���

Windows XP Professional(32��

64��)

Windows Vista Business(32��

64��)

Windows Vista Enterprise(32��

64��)

Windows Vista Ultimate(32��

64��)

Windows 7 Professional(32��

64��)

Windows 7 Enterprise(32�� 64

��)

Windows 7 Ultimate(32�� 64�

�)

Windows XP ��� �

2 ��

IBM Data Server

Provider for .NET ��

��� �����

CLR �� ���

� .NET 1.1 SP1 ��

.NET 2.0 ����

�� �����.

64�� IBM Data Server

Provider for .NET ��

���� �����.

� Windows Vista �

�� �� �����.

���� Windows �� ��(32��

x64 �� ���)� ��� �

� � Intel AMD ���

� 5. Windows �� ��

� �� ��� ���

Windows Server 2003 Datacenter

Edition(32�� 64��)

Windows Server 2003 Enterprise

Edition(32�� 64��)

Windows Server 2003 Standard

Edition(32�� 64��)

��� � 1 ��� �����.

R2 �� �����.

IBM Data Server Provider for .NET

����� ����� CLR �

� ���� .NET 1.1 SP1 �

� .NET 2.0 ���� �� �

����.

64�� IBM Data Server Provider

for .NET ������ �����.

���� Windows ��

��(32�� x64 ��

���)� ��� � �

� Intel AMD �

��

Windows Server 2008 Datacenter

E d i t i o n ( 3 2 � � 6 4 � � )

Windows Server 2008 R2(64��)

Windows Server 2008 Enterprise

E d i t i o n ( 3 2 � � 6 4 � � )

Windows Server 2008 R2(64��)

Windows Server 2008 Standard

E d i t i o n ( 3 2 � � 6 4 � � )

Windows Server 2008 R2(64��)

IBM Data Server Provider for .NET

����� ����� CLR �

� ���� .NET 1.1 SP1 �

� .NET 2.0 ���� �� �

����.

64�� IBM Data Server Provider

for .NET ������ �����.

� Windows Server 2008 ��� �

� �����.

32 IBM Data Server Client� � ��

Page 41: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

�:

v DB2 ������ ��� �� Windows �� ��� �� ��� ��

DEP(Data Execution Prevention) �� �����.

v �� Windows Server 2008� DB2 ������ ���� �����(����

���, �� ������)� ���� ����.

v ��� DB2 ������ ���� � �� ��� �� Windows Server 2008

Failover Clusters� ����� DB2 �� 9.5 ��� 3(�� ��)� ��� �

��.

�� ���� ����

v Windows �� ��� 3.0� �����. � ���� ��� � ��

��, �� ���� ��� �����.

v IBM Data Server Provider for .NET ����� ����� CLR

�� ���� .NET 1.1 SP1 �� .NET 2.0 ���� ��

�����. x64 ����� 32�� IBM Data Server Provider for .NET

������ WOW64 ����� ��� �����.

v MDAC 2.8� �����. DB2 �� ��� MDAC 2.8� ����

� �� �� �� �����.

�: �� ��� MDAC(�: 2.7)� �� ���� � ��, DB2 ���

MDAC� 2.8� �������. �� ��� ��, MDAC 2.8� ��

���. ��� ��� ��, MDAC 2.8� ���� ���� �� ��

�� �� ���� �����. ��� ��� ��� MDAC� � ��

� ���� ���� ����.

v LDAP(Lightweight Directory Access Protocol)� ����� Microsoft

LDAP ����� �� IBM Tivoli Directory Server v6 �����(DB2

��� ��� IBM LDAP �������� �)� ��� ���.

Microsoft Active Directory� ���� �� db2\Windows\utilities �

�� �� �� ���� db2schex ��� ��� ��� ���

� � � ���.

Microsoft LDAP ������ Windows �� ��� ���� ���.

v ��� ���� ���� DB2 �� ��(setup.exe)� ����, �

�� ��(db2fs)� ����� �� ��� � ��� �����.

– Internet Explorer 6 ��

– Mozilla 1.4 ��

– Firefox 1.0 ��

– Netscape 7.0 ��

� 2 IBM Data Server Client �� ���� 33

Page 42: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

��� � ����� ���� �� DB2 Connect �� �� ����

DB2 Connect ��� ���� ������� ���� ��� ���� ��

� ������(�: z/OS� DB2)� �� � ���. �� ���� DB2

Connect ��� ��� �� ���� ������ ��� ��� ��� � �

� �� ��� � ���.

IBM Data Server Client� � ��� �IBM Data Server Client ��(Linux

UNIX)� �IBM Data Server Client ��(Windows)�� ������.

34 IBM Data Server Client� � ��

Page 43: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

� 3 � IBM Data Server Client ��

IBM Data Server Client ��(Windows)IBM Data Server Client � �, IBM Data Server Client, IBM Data Server

Runtime Client IBM Data Server Driver Package� �� �� �������.

�� ��� �� ��� DB2 ��� �� ���� ��� �� ����.

��� �� ��� ������ �� ���� � ��, � ��� �� ���

��� ������.

��� DB2 �� ��� �� ���� � ��, DB2 ��� IBM Data Server

Client� � � �� ����� ������ ��� ��� ����.

���

IBM Data Server Client �� �:

v ��� ����� � ��� ������ ����.

v ��� DVD �� � �� ���� �����. IBM Support Fix Central

� ���(http://www-933.ibm.com/support/fixcentral/)�� ���� ��

�� � ���. Data Server Client Driver ���� Information

Management �� �� IBM Data Server Client Packages �� �

�� �� � ���. ���� �� �� �� � �� �� ��

� �����. �� ���� ��� �� � � ��� Windows�� �

� �� � ����� ��� ��� �� �����. ���

�� ��� 32�� �� 64�� ��� �� ������.

v ��� ��� ��� Windows ��� ��� ���.

�: ��� ��� ��� ���� �� ��� ����� ��, DB2 �

� ��� ���� �� VS2005 � ����� ��� ���. �

� ��� VS2005 � ����� � DB2 ��� ��� �

���. VS2005 � ����� Microsoft � ���� ���

� ����� �����. � � ���� ���. 32�� ���

� �� vcredist_x86.exe, 64�� ���� �� vcredist_x64.exe�

�����.

v ���� � ���, ��� ���� �� ����� ����� �

�����. �� ����� ��� � �� ��� ����� �

��� ���� � �� ����� �����.

����

© Copyright IBM Corp. 1993, 2010 35

Page 44: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

v �� �� � ��� �� ���� � ��, ��� ��� �� DB2

��� ��� � ����.

– IBM Data Server Runtime Client

– IBM Data Server Driver Package

– DB2 �� ��

v DB2 �� �� ���� ���� ��� � ���.

� ��� ��� ��� �� ����. �� ��� ��� � ��� �� �

�� ����. Windows�� IBM Data Server Client� ����� ��� ���

���.

1. ��� ��� � ��� ��� ���� ���� �������.

2. ���: � � ���� ������.

3. ���� DVD� �����. �� �� �� ��� ��� ��� �� �

�� �� �� ���� ���� DB2 �� ��� �����.

Data Server Client� �� ���� DB2 �� ��� ��� �� � �

�� ��� ��� ��� � ��� DB2 �� ��� ��� � ��

�. �� �, setup -i fr �� DB2 �� ��� ���� �����. Data

Server Runtime Client �� IBM Data Server Driver Package� �� ��

�� �� �� ���� ���.

4. IBM Data Server Client� ����� ��� ������.

v Data Server Client� ��� ��, DB2 �� ��� ���� DB2 ��

� ��� � ��� �����. DB2 �� ��� ��� ���

��.

v Data Server Runtime Client ����� ��� ��� � ����. setup

� ���� �� ��� ������.

Data Server Runtime Client� � �� ��� ��� �� �� ��� �

���.

setup /v" TRANSFORMS=:InstanceId1.mst MSINEWINSTANCE=1"

Data Server Runtime Client� �� ��� �����(�� 16� ���

�), InstanceIdn� �� �� ������. �� � ��� ����.

setup /v" TRANSFORMS=:InstanceId2.mst MSINEWINSTANCE=1"

v Data Server Driver Package� ���� �� �� DVD�� setup �� �

�����. ��� ���� ���� �� setup �� �� � �� �

� �� ��� ������.

36 IBM Data Server Client� � ��

Page 45: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

Data Server Driver Package� � �� ��� ���� �� �� �� �

�� � ���.

– �� ��� �� ���� � �� ��� ����� ��� �����

�.

setup /o

– �� ��� �� � ��, �� ���� ����(�� ����) ��

� ������. ��� �� �� ��� �� ��� ��� �� ��

����.

setup /n copyname

Data Server Driver Package� ��� � ���� db2dsdriver.cfg � �

�� �� ������ ��� ��� �� � ���.

5. DB2 Universal Database™(UDB) �� 8 ��� �� ��� ��� Data Server

Client� ���� �� � ��� ����� DB2 UDB �� 8 ��� ���

� �� �� ����� �����.

� ��� ���� DB2 UDB �� 8 ��� ���� �� DB2 �� 9 ��

� �����. ��� ��� DB2 UDB �� 8 ����� ��� ����

DB2 �� 9 ���� ��� � DB2 UDB �� 8 ��� �����.

�: DB2 UDB �� 8 ��� �� ��� ���� �� 9 ��� ���� �

�� � ����.

Data Server Runtime Client� ��� ��, �� ���� �� � ��� �

����. �� ��� DB2 UDB �� 8 ����� ���� ����� ��

� �� ��� ������.

� ��� ���� ��, �� ��� ��� ��� ��� �����. ��

�� �� DB2 ������ �� ���� ����. "DB2"�� �� ��

�� ��� � ���� "DB2"�� ���. DB2 �� 8 �� DB2 �� 9.1�

��� ���� � ��� ��� ���� DB2_01���.

Data Server Client Data Server Runtime Client� ��� �� ��� Program

Files\IBM\sqllib���. � �� ��� ��� ��� ����, ��� ���

��� Program Files\IBM\sqllib_01���. ����� ��� ��� ���

sqllib_nn���. ��, nn� �� ��� ��� �� ��� ��� ����.

Data Server Driver Package� ��� �� ��� Program Files\IBM\IBM DATA

SERVER DRIVER���. � �� ��� ��� ��� ����, ��� ��� �

�� Program Files\IBM\IBM DATA SERVER DRIVER_02���. ����� ���

��� ��� IBM DATA SERVER DRIVER_nn���. ��, nn� � ���� �

��� ��� � �����.

� 3 IBM Data Server Client �� 37

Page 46: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

Data Server Driver Package ��� � �� ����� �� �� 16� ��� �

�� � ���. ��� �� �� ���� ���� ���.

Data Server Client �� Data Server Runtime Client� ��� �� ��� ���

����.

DB2COPY1

Data Server Driver Package� ��� �� ��� ��� ����.

IBMDBCL1

� ��� �� �� ��� ���� � ����. DB2 �� �� �� ���

�� ���� �� ��� ������.

IBM Data Server Client� ���� �� �� ��� ��� DB2 ��� ����

�� ��� ����.

�� ��� ���� �� �� �� ���� ���� � �� ��

�� ��� ��� ��� IBM Data Server Client� ��� � ���. ���

��� ��� �� ��� � �� ��� � IBM Data Server Client� ���

�� ���. ��� ��� ���� IBM Data Server Client� �����, �

�� ��� ��� �� �� ����� ��� �� �� �� ��� �� �

�� ���.

v HKEY_LOCAL_MACHINE\SOFTWARE ����� �

v ��� ���(�: c:\WINNT)

v ��� �� ��(c:\Program Files) �� �� �� ��

�� ��� ����� �� ��� ��� �� ����� ���� ��� ��

���. �� �� ��� ��� ���� ��� ���� ����� ���

� ��� � ����.

IBM Data Server Client ��(Linux � UNIX)� ���� Linux �� UNIX�� IBM Data Server Client� ���� �� �

���. � ����� IBM Data Server Client IBM Data Server Runtime

Client� �����. �� ��� �� ��� DB2 ��� �� ���� ���

�� ����. ���� ��� ��� �� ���. ��� ��� � � �� �

� ��� ������.

��� �� ��� ������ �� ���� � ��, � ��� �� ���

��� ������.

38 IBM Data Server Client� � ��

Page 47: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

��� DB2 �� ��� ���� � ��, DB2 ��� IBM Data Server Client

� � � �� ����� ������ ��� ��� ����.

v ��� ����� � ��� ������ �����(Data Server Client ��

Data Server Runtime Client).

v ��� DVD �� � �� ���� �����. IBM Support Fix Central �

���(http://www-933.ibm.com/support/fixcentral/)�� ���� ���� �

���. Data Server Client Driver� Information Management �� ��

IBM Data Server Client Packages �� ��� �� � ���. ���� �

� �� �� � �� �� ��� �����. �� ���� ��� �� �

� ��� �� �� �� �� �� � ����� ��� ��� �

� �����.

v ���� � ���, ��� ���� �� ����� ����� ����

��. �� ����� ��� � �� ��� ����� ���� ����

� �� ����� �����.

v Solaris �� �� �� HP-UX�� IBM Data Server Client� ����� ��

� ���� ��� ���. Linux�� � ���.

Linux �� UNIX�� IBM Data Server Client� ����� ��� ������.

1. �� DVD� �� �������.

2. DVD� ���� ���� ������.

3. ./db2setup �� ��� DB2 �� ��� ������.

4. DB2 ��� ��� � ��� �����.

5. ����� ������ �����.

6. DB2 �� ��� ��� �����. ��� ��� ���� �� ��

�� ���� ��� � ���.

��� ����, IBM Data Server Client� ���� �� ���� �����.

Linux /opt/ibm/db2/V9.5

UNIX /opt/IBM/db2/V9.5

� ��� �� �� ��� ���� � ����.

DB2 �� �� �� ��� �� ���� �� ��� ������.

IBM Data Server Client� ���� ��, �� ��� ��� DB2 ��� ���

��� ��� ����.

�� ��� �� �� ��

� 3 IBM Data Server Client �� 39

Page 48: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

���� DB2 �� ��� ��� �� � ��� ��� ��� ��� �

��� DB2 �� ��� ��� � ���. �� �, ./db2setup -i fr� DB2

�� ��� ���� �����. �� DB2 �� �� ���� ����

��� � ���.

�� DB2 �� 9.5 ������ �� �� ���� � �� ��

� �� ��� ��� ��� ��� V9.5���. ��� �� ��� ��, � �

� ��� V9.5_01� ��� ��� ��� �����. ����� ��� ��

� ��� V9.5_nn���. ��, nn� ��� �� ��� ��� ����.

��� DB2 �� 9.5 ������ �� �� ���� � �� ��

DB2 Universal Database(UDB) �� 8 �� DB2 �� 9 ������ � ���

� Data Server Client �� Data Server Runtime Client� ���� �� ��� �

��� �� DB2 �� 9.5 ��� �����. DB2 �� 9.5�� ����� ��

� ��� �� ��� �� �� ��� ������.

��� �� ��(Linux � UNIX)�� 9.5 ���� �� ��� � ���� ��� ���� ���� �� ��

�� ���� ��� �� ����� ��� �� ��� � ����. ��

� �� ��� �� ���� �� Linux UNIX �� ���� �� ����

��� � ���.

DB2 �� ���� ��� �� �� ��� ���� ���� ��� ��

��. ��� ���� �� �� ��� ���� �� ��� ��� � ��

�. �� �� �� ��� DB2 ������ ��� ���� ����� �� �

��.

DB2 ������ ��� ��� ���� ���� �� � �� �� �� �

�� DB2 ���� ���.

��� ��� ��� �� �� ��� �����.

v ��� ���� � � ���� �� DB2 ������ ��� ����� ��

� ������ ���� � ����

v ����� ��� ���� ���� ������ ��� �� DB2 ����

�� ��� ���� ����� ��

v �� ��� ��� �� ��� DB2 ������ ��� � � �����

��� ISV(Independent Software Vendor)

40 IBM Data Server Client� � ��

Page 49: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

��� �� � �� � �� �� �� ��� � �� � �� ���� ���

���. �� ���� db2rfe �� ������ �� ��� �� �� �

���.

�� ��� ��� �� � ���

� �� �� ��� ��� ��� ��� ��� �� ��� ��� ��� �

����.

�� �� � DB2 ��� ����� ��� �� ���� �� ����

����.

�� ���� ��, ��� ���� DB2 ��� ��� ��� �� � ����.

��� ��� �� $HOME/sqllib ���� �����. �� $HOME� ���

���� � ���� � ��. ���� sqllib ��� ��� �����

� ����� �� ��� ����� �����.

�� ��� �� ���� �� � ���. ��� ���� ��� �

� ��� ��� ID� ����.

��� ���� � ��� DB2 ���� � � ���. ��� �� ���

�� �� ��� �� � DB2 �� �� ��� ��� �����.

�� �� �� ��� ��� �� � ���� �����.

� 6. �� ��� ��� �� � ���

�� � �� �� ��

���� �� ���� ��

� �

� ���. DB2 ��� ���� �

��� ��� �����.

�� DB2 ���� ��� �� � �� �

�� �� �� � ��� �� ��. ���� �

� �� ��� ���.

��� �� ��� ��.

DB2 ��� �� �� �� ��

����.

��� ��� ��

�� ��� ��� �� � ��� ��� ��� ���� ��� � �� ��

�. � ����� ��� ��� ���� �� ���� � ��� �� ��� �

� ����.

� �

��� �� �� DB2 ������ ��� ��� ���� ���� ���

�.

v IBM Data Studio

v DB2 EAS(DB2 Embedded Application Server)

� 3 IBM Data Server Client �� 41

Page 50: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

v DB2 Query Patroller

v DB2 Net Search Extender

v ��� ��� DB2 �� ��

�: ��� ����� �� ��� ��� ����� ��� ��� DB2

�� ��� ��� ���� ���� ����. �� ��� �� DB2

���� ��� ��� DB2 �� ��� ��� ���� ����

� �� �� �� ��� ����� � ���� �� � ���.

�� � �� �

�� � ��� ��� ����� ��� � ����.

v DB2 Administration Server(DAS) �� �(dascrt, dasdrop, daslist,

dasmigr dasupdt)

v � �� ���

v �� ��

v db2governor� � ��� ��� �� ���� ����.

v WLM(Work Load Manager)�� ��� DB2 ���� DB2 ��� �

���� ���� � ��� ����� ��� �����. �� ��

�� � ��� ���� �� SQLCODE ��� ��� ����.

v ��� ��� � ��� DB2 ���� �� ��� ���� ����.

Health Monitor �

��� �� Health Monitor �� ��� ����� ���� ����.

v �� �� � ���� �� ��� �� ��

v �� �� ���

���� ������ �

�� �� �������� ��� ���� �����. ������ �

�� � ��� � ����.

DB2 ������ � ��

��� ����� ��� � db2ls �� ��� �� �� �����

��� � ��� �� ����. ��� ��� db2ls � ��� ��

����.

DB2 ��

��� ��� � ��� DB2 �� ��� ��� � ���.

DB2 ���� �

��� ����� �� �� ��� DB2 ���� ����. ���� �

��� �� � ����.

42 IBM Data Server Client� � ��

Page 51: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

���� ��� �� � �� DB2 ���� ��

�� �� ��� ��� �� ����� �� �� ��� ��� �

���. �� ��� ���� ��� ���� ���� ��� ���

� ����� ��(drop)� � ���(db2_deinstall � ��).

�� ��� ��� � ����� �� ��� ��� � ���� �

� DB2 ���� ����� ��� � ���.

DB2 ���� ��

�� DB2 ��� �� ��� ����� ��� � ����.

db2icrt

��� ���� DB2 ��� ���� �� ���� �� ���

� � ����. �� ���� ��� ���� �� � �

���. �� ���� �� ���� �� �� ���� �

�� �� � � db2nrcfg� ��� � ���.

db2iupdt

db2iupdt �� ��� ����� ��� � ����. �� ��

� DB2 ���� ����� ��� �� � �(db2nrcfg)� �

�����. �� DB2 ������ ��� ��� � ��� ��

�� ���� ����� ����� ��� ���� ��� �

�� ����.

db2idrop

��� �� �� ���� ��� ���� ��(drop)� � �

���. DB2 ���� ����� DB2 ������ ��� ��

��� ���.

db2imigr

��� ��� �� ��� ���� ����.

�� ����

�� ���� ��� ���� ��� � ����.

DB2 ���� ��� �� � �� �� � ��

�� �� ��� ��� �� ���� ��� � ���. �� DB2

������ ��� ��� �� ��� ����� ��� �� �� ���

��� � ���.

v ��� ��

v � ��

v ��(add-on) �� ��

ulimit � ��

UNIX Linux �� ���� ulimit �� ���� ��� �� ��

� 3 IBM Data Server Client �� 43

Page 52: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

� �� ��� �� ��� ����� �����. �� ���� �� �

����� ��� �� ��� ���� �� ��� ulimit ��� ����

�����. �� ��� ���� �� ulimit ��� �� ��� ��

� ���. ��� ���� �� �� ���� �����. ulimit ���

����� �� ��� �����.

db2rfe� ��� �� � �� ��

��� ���� db2rfe �� ��� ��� � � ���� ��� ���.

�� �� ��� ����� ���� ��� � ����.

v �� �� �� ��

v ���(HA) �

v /etc/services ���� ��� ��� ���� �

v ��� ��� ��(ulimits)� ��� �. � �� AIX�� �����. ��

�� ����� ��� ��� ��� ���� �� ���.

��� ���� �� � �� �(db2rfe)� ��� �� �� �� ��

� ����. db2rfe � ��� ������ �� ��� ��� � ����

� �� ��� ���.

��� ���� �� ��

�� �� �� ��� DB2 ������ ��� ��� �� ����. ��� �

�� �� �� �� ��� ���� ���� ��� ����� DB2 ������

��� ��� � db2rfe �� ����� ��� �� �� �� �� ���

� ��� ���. ������ �� ��� �(dbm cfg) ���� �� �

��� ��� �� ��� � ���.

v clnt_pw_plugin(����� ��� ID-�� ��� � ���)

v group_plugin(�� ��� � ���)

v srvcon_pw_plugin(���� �� �� ���� ��� ID-�� ��� �

���)

DB2 � ��� ���� ��

�� � DB2 ������ ��� ��� ���� ��� � ���.

� �� ��

DB2 ������ ��� ��� ���� ���� �� �� ��� ��� ��

� ���� ��� ��� ����� �� ���. ��� ��� �� ��� �

�� ���� ��� �(Linux UNIX)�� ������.

44 IBM Data Server Client� � ��

Page 53: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

��� ���� DB2 ������ ��� ���� �� ����� ��� ���

�.

v �� DVD� ���� � � ��� �� ���� �� DVD� � ��

�.

v DB2 ���� ���� ��� � � �� ��� ID� � ���.

��� ID� ���� ����� ��� ����.

– guests, admins, users local ��� �� ��� � �

– ��� ��(a–z), ��(0–9) �� ��(_)� ��� � � �

– 8� ���� �

– IBM, SYS, SQL �� ��� ��� � ��

– DB2 ���(USERS, ADMINS, GUESTS, PUBLIC �� LOCAL) �� SQL

���� � ��

– DB2 ��� ID, DAS ID �� � ID� �� �� ��� � � ��

� ID� ��� � ��

– �� ��� ��� � ��

– � ��� ID� ��� �� �� ��� ID� ��� ���� ��� ID�

� �� ��� ������.

- ��� ID� �� � ���

- ��� ��� � ���

v �� �� ��� ���� ��� ���� ����� �� ���� ��

��� ��� ����� �����.

v AIX �� 5.3�� ��� ��(AIO)� �� �� ���.

v � ���� �� DB2 �� ���.

DB2 �� ��� �� ��� ����.

– ��� ��(a–z), ��� ��(A–Z) �� ��(_)� ��� � �

– 128� ���� �

– ����� ��� � ��

– ��� � ��� ��� � ��

� ��� �� ��

DB2 ������ ��� ��� ���� ���� �� ��� ����� � �

��� ���. �� ��, ��� ���� ����� � ��� ��� ����

DB2 ������ ��� ���� �� ��� �� �� ��� ����.

����

� 3 IBM Data Server Client �� 45

Page 54: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

��� ��� ����� ��� ������.

1. ��� ���� �������.

2. �� �� �� ��� DB2 ������ ��� ������. �� �

�� ����.

v DB2 �� ��(GUI ��)

v db2_install �

v � ��� � db2setup �(�� ��)

�: ��� ���� DB2 ������ ��� ��� ���� �� � �

��� � ���� FILE ��� ����.

3. DB2 ������ ��� ��� �� ��� DB2 ���� ����� � �

�� ��� �� ���. �� $HOME/sqllib/db2profile(Bourne � Korn

� ����) �� $HOME/sqllib/db2chsrc(C � ����)� ��� ���

���� ���� ��� ��� ��� ��� �� ���. �� $HOME

� ��� ���� � ������.

�� �

DB2 ������ ��� ��� �� �� �� ��� ��� �� ��(ulimits)

� ��� ���. �� ulimit �� ��� ��� DB2 � � ��� �� �

� �� �� ��� ��� � ���. �� ��� �� DB2� ��� � �

��.

db2rfe� ��� ��� ���� �� � �� ��

��� ���� ���� �� ����� db2rfe �� ���� �� �� �

�� �� ���.

� �� ��

� ���� ����� �� ��� ��� �����.

����

��� ���� ���� �� ��� �� �� ��� ��� ��� ���

���.

1. �� � ��� �����. � � �� � ��� �����.

v $HOME/sqllib/instance/db2rfe.cfg� ��� DB2 ���� �� ���

��� �� ��� ���.

v $HOME/sqllib/cfg/db2rfe.cfg.sample� ��� �����.

�� $HOME� ��� ���� � ������.

46 IBM Data Server Client� � ��

Page 55: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

2. �� ��� ���� ��� �� � �� � ��� �� ��� �����

�.

3. ��� � ��� ��� �� ������. � � ��� db2rfe �� �

����.

��� � ��� ����.

INSTANCENAME=db2inst2SET_ULIMIT=NOENABLE_HA=NOENABLE_OS_AUTHENTICATION=NORESERVE_REMOTE_CONNECTION=NO

**SVCENAME=db2c_db2inst2**SVCEPORT=48000

RESERVE_TEXT_SEARCH_CONNECTION=NO**SVCENAME_TEXT_SEARCH=db2j_db2inst2**SVCEPORT_TEXT_SEARCH=55000

�:

v INSTANCENAME ���� �� ���� DB2 �� ���� �� �

����.

v SET_ULIMIT ���� AIX��� ��� � ���. � �� ���

�� �� ��� � ���� ulimit �� � ��� ���.

v � ��� ����� NO���.

v �� ���(�: SVCENAME)� ���� �� �����. ��� **� �

����.

v ���� YES� ���� �� ���� �� �� ���� �� �

��� ��� �� ���� �� ����. ���� � �� �� ���

�. ���� ��� �� �� �� ��� ������.

�� �� �� ��� �� ��� � ��� ���� �� ��� ��

���� ���.

v ���

v �� �� �� ��

v ��� ��� db2j_db2inst2�� �� �� 55000� DB2 ��� ��

�� �� �� ��� ��� � ��� ��� �� ������.

INSTANCENAME=db2inst2SET_ULIMIT=NOENABLE_HA=YESENABLE_OS_AUTHENTICATION=YESRESERVE_REMOTE_CONNECTION=NO

**SVCENAME=db2c_db2inst2**SVCEPORT=48000

RESERVE_TEXT_SEARCH_CONNECTION=YESSVCENAME_TEXT_SEARCH=db2j_db2inst2SVCEPORT_TEXT_SEARCH=55000

� 3 IBM Data Server Client �� 47

Page 56: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

4. �� ��� ���� �������.

5. $HOME/sqllib/instance ���� ������. �� $HOME� ��� ��

�� � ���� �����.

6. �� ��� ��� db2rfe �� ������.

db2rfe -f config_file

�� config_file� 47 ���� 3 ���� �� � �����.

�� �

��� ���� �� �� �� �� ��� ����� ���� ��� � db2rfe

�� �� ��� ���.

��� ��� ��� ��

���� ��� ��� ���� ���� ����� � �� ��� ����� �

� ��� ���� ���� �� ����.

� �� ��

���� ��� ��� ���� �� ��� ��� ���� � ���� ��� ID

� ���� ���.

db2rfe �� ��� ��� ���� �� �� �� ��� ��� ����

db2rfe �� ��� � ���� � ��� �� ���. ���� ��� ��

�� �� �� �� ��� ��� � � ��� �����.

����

��� ��� ���� ����� ��� ������.

1. ���� ���� ��� ��� �� ������.

�: installFixPack �� -b �� ��� ��� ��� ����.

2. ���: db2rfe �� ������. ��� ���� �� �� �� �� �

�� ���� �� �� �� �� ��� ��� db2rfe �� �� �

�� ���. � �� ����� �� ��� ��� �����.

�: �� �� ���� �� ��� ��� � $HOME/sqllib/instance/

db2rfe.cfg� ��� ���� db2rfe �� ��� � � ��� �� ��

� � �� ��� �� � � � ��� ������ ����. ��

$HOME/sqllib/cfg/db2rfe.cfg.sample� ��� ���. ���� ��� �

��� �� �� � �� �� �� �� $HOME/sqllib/cfg/

db2rfe.cfg.sample� � �� �����.

48 IBM Data Server Client� � ��

Page 57: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

db2_deinstall ��� ��� DB2 ������ � ��(Linux �

UNIX)

� ������ db2_deinstall �� ��� ��� DB2 ������ �� ��

���� ���� ��� �����.

� �� ��

db2_deinstall �� ���� �� ��� ���� ��� ���.

� ��� �� ��

v � ���� �� ��� �� �� ��� DB2 ������ ��� �����.

�� ��� ��� ��� ��� DB2 ������ �� �� ��� ����

� �� ���� ���.

v �� ���� ����� ��� ���� db2_deinstall �� ��� DB2 �

����� ��� �� ��� � ���. ��� ��� ���� db2_deinstall

��� �� ��� ��� �� �� �� �� -f sqllib� ���.

v db2_deinstall� ��� ���� ���� DB2 ������ ��� �� ���

� ��� ���� ���� �� ������. �� db2_deinstall� ����

DB2 ������ ��� ��� �� ���� �� ��� ����.

v rpm �� SMIT� �� �� �� �� ��� ��� DB2 ������ �

�� ��� � ���.

����

��� ���� ��� DB2 ������ ��� �� ����� ��� �� ��

����.

1. DB2 ������ ��� ���� � ��� ��� ID� �������.

2. $HOME/sqllib/install ���� ������. �� $HOME� � ����

��.

3. db2_deinstall �� ������.

�:

v db2_deinstall �� -a �� �� ���� DB2 ������ ��� �

�� ����� � ��� sqllib_bk�� �� ���� ����.

v db2_deinstall �� -a -f sqllib �� �� ���� � ����� ��

sqllib ������ �����. sqllib� ����� ��� � ��

db2_deinstall -a -f sqllib� ���� �� �� ��� �� ��� ����

��.

v �� ����� ����� ��� ��� �� db2_deinstall �� -F �

� �� ���� ��� ���� �� DB2 �� ��� � ���.

� 3 IBM Data Server Client �� 49

Page 58: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

50 IBM Data Server Client� � ��

Page 59: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

� 3 � IBM Data Server Client� ������ ��

© Copyright IBM Corp. 1993, 2010 51

Page 60: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

52 IBM Data Server Client� � ��

Page 61: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

� 4 � �����-�� �� �� ��

� ����� �����-�� �� �� ��� ��� ��� � ��� ��

��� �����. � ��� ������ � ���� � IBM Data Server

Client �� ��� ��� � �����.

�����-�� �� ��: ��� � ����

�����-�� ��� ��� �� ���� �� ��� ���.

v �����. �� ���� � ��. � ��� ��� �� DB2 �� �� �

��� �� �����.

– IBM Data Server Client �� IBM Data Server Runtime Client

– DB2 Connect Personal Edition: � ��� IBM Data Server Client� ��

�����.

– DB2 �� ��: DB2 ��� Data Server Client� �� �����.

v ��. �������� �� ��� �� ���� � ��. ����� � ��

� Linux, UNIX Windows� DB2 �� ��� �� �����. DB2 Connect

��� � ��, ���� ��� ���� �� ���� �� � � DB2

��� ��� �� ���.

v �� ����. �����-�� � ���� ���� � ���� �����

�. DB2 ��� ���� ���� ��� ����.

– TCP/IP. TCP/IPv4 �� TCP/IPv6� �� �� �� ����.

– Named Pipe. Windows��� ��� � � ����.

– IPC(Interprocess Communications). � ���� �� �� �����.

��� �� �� ���� ���� �� ���� ���.

v DB2 Connect ����. IBM Data Server Client� ���� ����

��� DB2 ��� �� ������ ���� DB2 Connect �� ��� �

��.

v LDAP(Lightweight Directory Access Protocol). LDAP �� ����� ��

���-�� ��� �� ��� ����. ������ ������� ���

� � �, ������� �� ��� ������ ���� ���� ���

LDAP ����� ������ �� ��� ��� �����.

�� ��� ����� �����-�� ���� ����� ��� �� �� �

���.

v Data Server Client� TCP/IP� ��� DB2 ��� �����.

© Copyright IBM Corp. 1993, 2010 53

Page 62: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

v Data Server Runtime Client� Windows ������ Named Pipe� ���

DB2 ��� �����.

v DB2 ��� �� �� ���� ��� �� DB2 ��� �����.

v Data Server Client� TCP/IP� ��� DB2 Connect ��� �� ����

DB2 ��� �����.

� ��(�: IBM Data Studio)�� ���� �� ��� ��� � �� DB2

��� SQL30081N �� ���� ��� � ���. ��� ������ ���

� ����� �� �� ��� �� �� ��� � � ���. �� �� �

��� ��� ��� ������ � ��� ���� ������.

�����-�� �� ��: �� ��

����� ���, �����-�� �� ��� �� �� � ��� �� �

����.

�� �� ������ �� ��� ���� �� ���� ���� ���

��� � ����. �, CONNECT�� ������ �� ��� ����

� ��� ��� �����. �� �� �� ��� ���� ��

IPC(Interprocess Communications)� ����� � ����.

��� �� ������� �� CONNECT�� ���� ������ ����

�� ��� �� ��� � ����. �����, ����� ��� �� �

� ��� �����. ��, ����� ��� �� �� ���� � ��

�� ��� �� ��� ��� �� ����.

� ���� �� � �� �� ����. � �� DB2 ���(����

�)�� ��� DB2 ���(��)� �� ��� ��� � ����.

�����-�� �� �� �� ��

�� �� ��� �����-�� ��� �� � ���. �� � ��

��� ����� ��� �� �� � ���. � �� ��� � ��

��� �� �� �� � �� ��� ��������?���.

v � �� ���� Intel™ x86 32�� �� AMD64/EM46T �� �

Windows Linux�� Data Server Client DB2 �� ��� ��� �� �

��� ��� �����. Data Server Runtime Client�� � ��� ���� �

���.

v �� ��� �� ���(CLP) � db2cfexp(� ����)� db2cfimp(�

���)� ����.

� �� ��� ��� � ���� �� ����?���. �� ��� ��

��.

54 IBM Data Server Client� � ��

Page 63: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

v ��� ���� ��� ������ ����.

v ��� �� ����� ��� ������ ����.

v �� ��� ������ �� ������� ���� � �� ���.

v � ������ �� � ��� �� ������ ��� �� ��� ���

��.

� ��� �� �� �� ��� ��� � �� ������. � ��� �

� �� �� ��� ���� ���. ��� ��� �� �� ������.

� 7. �����-�� �� ��� � ���� �� �

�� �� �� �� �� ���� ���

��� ���� ��� ���

�� �

� �� ���� ��� �

����� �� ���� �

�� ���� ��� ���

��-�� � �

��� �� ����� ���

����� �

� �� ����� ����

� ��� ������ � �

��� � ��

� ������ �� � ���

�� ����� �� �� ��

� ��

1. � �� ���� ���

����� ��� �

2. � �� ����� ���

�� ���� ��� �

����� � �

db2cfexp� db2cfimp �� �

�� ����� ��� �

��

�: ���� �����-�� ��� ��� �� ��� �����. ����

� ���� ����� ��� ���� �����. ���� ��� ��� �

���.

v ������ � ��(CLI �� ODBC ��� ��)

v ����� ���(������ �� ��� � ��� DB2 �����

�� ��)

v CLI �� ODBC �� ���

�� ���� ����� ���� ����� ��� �� ��� �����.

���� � �� ��� �� db2cfexp(� ����)� db2cfimp(� ���)

�� ��� ��� ��� � ���.

�: � �� ����� ����� ��� ������ �� ��� ��

���� �� ���� �� � ������� ��� DB2 Connect ���

�� � �� �� ����.

� 4 ������ � � 55

Page 64: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

���� ����� �� �� ��

� ���� �� ��� �� � � ����� ��� �� ����. ��

� �� �� ��� ���� ���� ����� DB2 ������ ���

��� �����.

DB2 Universal Database(UDB) �� 8, DB2 �� 9.1 � DB2�� 9.5� ��

DB2 Universal Database(UDB) �� 8 DB2 �� 9.1 ������ ��� DB2

�� 9.5 ��� ���� � ���. �� ����� ������.

v ������ DB2 ��� �� ���� ���� ��� �� �� ���� ��

����� ���. � ��, IPC(Interprocess Communication)� ���� ��

�����-�� �� ���� ����. ��, TCP/IP� ��� �� ��

� �(�� ���� �)� ������ �� ��� � ���.

IBM Data Server Client, IBM Data Server Runtime Client, IBM Data Server Driver

Package IBM Data Server Driver for ODBC and CLI �� 9.5� DB2 ��

9.1 DB2 UDB �� 8 ��� ���� � ���. �� DB2 �� 9.5� �

�� �� ��� � ����.

DB2 UDB �� 7 ������� DB2 �� 9.5 ��� ���

DB2 UDB �� 7 ��������� ���� ���� ����.

����� � ���� ����� DB2 �� 9.5� DB2 �� �

DB2 �� 9.5 ��� ���� ���� �� � � �� �������

�� ���� �����.

v z/OS OS/390� DB2 �� 7 ��

v i5/OS®� DB2 �� 5 ��

v VM VSE� DB2 �� 7

IBM Data Server Client �� 9.5, IBM Data Server Runtime Client �� 9.5

DB2 �� 9.1 ������ DB2 Connect �� 9.5 �� 9.1 �� 8� ����

� ���.

���� �� ����

� ����� IBM Data Server Client�� DB2 ��� �� � �� ����

���� ����. ��� �����.

56 IBM Data Server Client� � ��

Page 65: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

v DB2 Connect ��� ��� IBM Data Server Client�� ���� �� �

��� ���� �

v ���� �� ���� �� �� Linux, UNIX Windows� DB2� �

������ �

TCP/IP ���� Linux, UNIX, Windows� DB2� ��� � � � ��

�� �����. TCP/IPv4 TCP/IPv6� �����. IPv4 ��� 4 �� �

�� ����(�: 9.11.22.314). IPv6 ��� 8� �� ���� ���,

��� 4� 16 �� ���� ����. � � ��(::)� 0 ��� �� ��

�� � ��(�: 2001:0db8:4545:2::09ff:fef7:62dc).

DB2 ������ ��� SSL ���� �����. DB2 ����� SSL(Secure

Socket Layer) �� �� ������.

�� Windows Named Pipe ���� Windows ������ �����. �� 9

DB2 ������� ���� ����� TCP/IP� ��� �� ���.

�� �� ����� ��� ������ �� ��

�� �� ���� ��� �����-�� �� ��

� �� ���� ������ ��� DB2 ������ � ������

�� ��� � ��� � � ��� �����.

� �� ���� Windows Linux(Intel x86 x64 �� )�� ���� IBM

Data Server Client DB2 ������ ���� ��� � ���.

� �� ���� ��� ������ �� ���� ��� ����� ��

� ���� �� ���� �������� �� �� � ���. ���

� DB2 ������ �� �� ���� ��� ����� �� �� ��

� ���� ���� ����.

�� � � ��� ��� ������ �� �� � ���.

59 ���� ��� �� ����� ���� ��� �� �� ������ �

� ���

���� ������� �� ��� �� � ���� ����. � �

� ����� ��� �� �� � ������� �����. DB2

��� ��� ���� DAS(DB2 Administration Server)� ���� �

��� CA �� �� ���� ���.

61 ���� ��� �� ������ ����� ���� ���� ������

�� ���

� ������� ����� � ��� � ��� ��� ��� � �

� 4 ������ � � 57

Page 66: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

�� � �� ������. � �� ��� ��� ��� ���

� ������� ����� ��� ��� ��� � ���.

��� �� ����� ���� ������ �� �� ���

� ������� ��� � ��� � ��� �� � � ����

����. �� � ��� ��� ����.

v � ������� � ��� ���� �� ���

v �� ���� �� ��� �� ���

v ������ ��

�� �� ���� ��� ������ �� �� ��

���� ������� �� ��� � ������� ���� ��� �� ��

� � �� � � ��� ���� ��� � ���. � ��� �� �

��� ��� �� ���� �� ����, ���� ����� �����.

� �� ���� ��� ������� �� �� ���� ��� �� �

�� ������.

v �� ������� �� �� DB2 ��� ID� ��� �� ������.

v DB2 �� �� DB2 Connect �� ��� ��� ����� �� �� ��,

������ �� ��� ���� �� SYSADM �� SYSCTRL ���

� ��� ID� ��� �� ������.

CA� ��� ������� �� �� ���� ���� ��� �����

�.

1. �� DB2 ��� ID� ���� �������.

2. CA� ������. CA� Windows� �� ���� ����� db2ca ��

��� ��� � ���.

3. CA �� ��� �� ���� ��� ������ ��� �����.

4. ������� �� ��� ���� �� ��� ��� ��� ��� ��

���.

5. LDAP(Lightweight Directory Access Protocol)� ���� ��, DB2 ��

�� ����� ��� ���� �� � ��� �����. ��� ���

��.

6. ���� ��� ����� ���� ���� ��� ��� �����.

(��: APPC, APPN �� NetBIOS� ���� ��� ����� � �� �

��� ����.) DB2 Connect� ���� ���� � TCP/IP� �� �

�, ������� ��� �� OS/400 ���� ����� ��� ���

�� ���. � ��� ����, ��� �� OS/400® ������� �

� ����� � �� �� � ���.

58 IBM Data Server Client� � ��

Page 67: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

v DB2 Connect ������ �� ���� ����� �� ��� ��

�� � ��� �����.

v � �� ����� ��� �� ��� ��� �����.

��� �����.

7. �� �� ��� ���� ���� ��� �����.

8. ������ �� �� ����� ��� ������� ������ �

���� ������ � �� �� ������ � ������. ��

� �� OS/400 ������� ���� ��, ������ �� �� OS/390

�� z/OS ������� �� ��, OS/400 ������� RDB �� ��

VSE� VM ������� DBNAME� ������. ����, �� � �

������ �� ��� ��� ��� � ���.

��� �����.

9. ODBC� �����, � ������� ODBC ��� ��� ������. �

��� ���� �� ODBC� ���� �� ������. ��� ����

�.

10. �� �� �� ��� �� ��� ��� ���� ������ ����

��� ��� ��� ������.

11. ��� �� �� ��� ��� ��, ��� ��, �� ��� ���� �

�����. � ��� ��� �� � ��� � �����. ����

��� ��� � ���. ��� �����.

12. �� �� �� ���, ��� ��� �� �� ������.

13. �� �����. �� � ������� ��� � ���. � �� ��

� �� CA� �����.

�� �� ���� ��� ���� �� �� ������ �� ��

� �� ���� ��� ������ ������� ��� � ���.

����� ��� ������ �� ��� �� ��� ������.

v �� DB2 ��� ID� �� ������.

v DB2 Server �� DB2 Connect �� ��� ��� ����� �� ���

��, ���� �� SYSADM �� SYSCTRL ��� � ��� ID� ��

� �� ������.

�� ���� �� �� �� ��� ���� ���� � � ���.

v ��� ���� �����.

v DB2 Administration Server(DAS)� ��� ����� �� �� ����.

� 4 ������ � � 59

Page 68: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

v ��� � �������. ����, ��� 1��� ����� �����. � �

� ��� ���� ���� � �� ����. � � � ���� ��

DB2DISCOVERYTIME ����� ��� ��� � ���.

v ��� �� �� ����� ��� ��� ����� ��� � �� ���

�����.

�� ��� IPv6� ���� ������ IPv6 ��� ���� ���� ��

� �����.

v ���� ��� ��� ��� ���� ���.

v � �� ��� �� �� ��� ���� IPv6 �� ����.

����� ��� ������ �� ���� ��� ������.

1. �� DB2 ��� ID� ���� �������.

2. CA� ������. CA� Windows� �� ���� �� Windows UNIX

��� � ���� db2ca �� ��� ��� � ���.

3. CA �� ��� �� ���� ��� ������ ��� �����. �

����� �� ��� ����.

4. ��� � ��� ��� ��� ��� �����.

5. ��� ��� �� � ��� �� ��� ������ �� � ���

� �����, �� ��� �� � ��� �� ��� ����� � �

��� ������. ���� ���� �� ��, ��� ��� � ��� �

���. ���� ����, ��� ��� �� �����.

6. ��� ������� ��� ��� ��� ��� � � � ����. ���

���� �����. ��� �����.

7. ������ � �� �� ������ � ����, � �� � �

������ ��� ��� ���� ������.

8. ODBC� �����, � ������� ODBC ��� ��� ������. �

��� ����� ODBC� ��� ���.

9. �� �����. ��� ������� �� ��� � ���. �� �

CA� ������.

�� �� ���� ��� ����� ���� ��

� ������ � �� ���� ��� �� ������ ��� �����

���� �������. � ���� �� ������ ��� ��� �� �

�� ������ ���� ���� �����.

CA� ��� ����� ���� ���� ��� ������.

1. �� DB2 ��� ID� ���� �������.

60 IBM Data Server Client� � ��

Page 69: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

2. CA� ������. CA� Windows� �� ���� ����� db2ca ��

��� ��� � ���.

3. �� ���� ��� ����� �����.

4. �� � � ��� �����.

� ����� ��� � ������ �� ������ � �

��� ���� ���� ���� ��, ����� ���� ��

� ��� � ��� �����.

������ ��

� ������ �� � �� �� ����� ��� � ���

���� ���� ���� ���� ��, ����� ���� �

�� ��� � ��� �����.

�� ��

���� ����� � ������� ����� � ������

�� � ��� ����� ���� ��, ��� ��� ��

�� ��� ��� ������.

a. ����� ���� ��� ������.

b. ������ �� ����� ���� ������ ������

�� ��� ������.

c. �� ��� ������ � ���� ����� �������

�� � >� � � ������ � ��� ������. �

� �� � ������� � ������ � ��� ��

��� >>� �����.

d. � ������ �� ����� �� ���� ��� ���

���. � ��� �� ������ �� ��� � ���

� ���� ��� ��� � ���.

e. ���� � � ���� ������.

f. �� �� ��� ��� ������.

� ���� ����, �� ����� ���� ��� �� ������ �

� � ���.

�� �� ������ ����� ���� ��� ������ �� �

� ������ ���� ��� ��� ����� ���� ��� ����

�� ����. � ���� �� ������ ��� ��� �� ��� ���

��� ���� ���� �����. �� ��� �� ������ �� �

�� � ���.

� 4 ������ � � 61

Page 70: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

1. �� DB2 ��� ID� ���� �������.

2. CA� ������. CA� Windows� �� ���� ����� db2ca ��

��� ��� � ���.

3. �� ���� ��� ��� �����.

4. �� ��� � ��� ��� �����. ����� ���� � ��

� �� �� ��� ������ �� � ���.

� � �� �� ����� ����� � �� �������. �

����� ����� ���� ���.

�� ��

�� ������� �� ����� ��� ����� ������ �

�� �����. ��� �� �� �� ��� ��� ���

���.

a. ������ ����� ���� ��� ��� �����.

b. �� ��� ������ � ���� ���� �������

�� � >� � � ������ � ��� ������. �

� �� � ������� � ������ � ��� ��

��� >>� �����.

c. ��� ����� �� ���� ��� ������.

d. ��� � � ���� ������.

e. �� �� ��� ��� ������.

�� �� ���� ��� ������ �� ���

�� ��� ������ �� ���� ���.

������ �� ������, ��� ������.

1. �� �� ����� ������.

2. ���� ���� ������� ������ ���� �� ���

�����. � ��� �� ����.

3. ���� �� ��� � �� �����(���� : CLI). ��� � ��

� �� ���� � ���. ��� ������� �� �� ��� ID�

��� ���� �� ��� �����. ��� ��� �� ���� �

��� �� ���� �����. � ���� ����, ��� ���� ��

���. � ��� ��� �����, ���� ���� ������� ��

� �� � �� ������ ��� �����.

� ��(�: IBM Data Studio)�� ���� �� ��� ��� � �� DB2

��� SQL30081N �� ���� ��� � ���. ��� ������ ���

62 IBM Data Server Client� � ��

Page 71: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

� ����� �� �� ��� �� �� ��� � � ���. �� �� �

��� ��� ��� ������ � ��� ���� ������.

�� �� ����� �� LDAP ����

LDAP �� � ���� DB2 �� ������� �� ��� ��� LDAP

���� ���. � ������� ���, ������� ���� LDAP

���� �����. ������ � � ������ LDAP ���� ���

� �� ������ ��� ��� ���� � ��� ��� �����

�� ����.

�� ��� ���� ���� LDAP ���� CA� ��� � ���.

v LDAP ����� ���� ������ ���

v LDAP� ���� ������� ODBC ��� ��� ��

v LDAP ���� CLI/ODBC �� �

v LDAP ����� ���� ������ ��

�� ���� ��� �����-�� �� ��

�� ���� ��� �����-�� �� ��

� ���� �� ���(CLP)� ��� IBM Data Server Client�� ��� �

����� ��� �� ��� �� ����.

�����-�� �� ��� �� ��� ������.

v IBM Data Server Client ���� DB2 �� ��� � ���� ��� ���

����. TCP/IP ���� �� �� ���� � �� �� ping �� �

��� ����.

v DB2 ��� ������ ����� ������. � ��� ����� DB2

�� ��� �� ��� �� �����.

��� ��� ��� �� ��� �����. �� ���� �� ��

�� �� ��� ���.

1. ��� ������ ��� �� �� ��� �� �����. �� ����

� �����.

TCP/IP ����

Named Pipe ����

2. TCP/IP� ���� ��, ��� ������ ��� �� ��� ��� ��

���� ��� �� ��� �� ���� �� ���. � ��� Named

Pipe� ���� ����.

� 4 ������ � � 63

Page 72: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

3. ������� �� � �������. �� ���� �� ���

�� �� �����.

������� TCP/IP ���

������� Named Pipe ���

4. ������� �� ������� �������.

5. �����-�� �� �������.

Named Pipe ��

������� Named Pipe� ���� �� Named Pipe ����

�� ����� ���� Named Pipe ��� ��� � ��� ��� �� �

�� � ��� ���.

� 8. Named Pipe ��� � ����

���� �� �� � �� �

��� ��

(computer_name) �� ��� ��� ��

�� ���� � ���� ��

�� ���� � � ��� ��,

���� �����. ��� �

�� �� ���� � � �� �

� �����. ��� ��� �

�� ����.

server1

��� ��

(instance_name)

� �� ��� ��� ��db2

��(node_name)���� � ��� ��

�� �. ��� ��� ��

� ��, ���� �� �

��� � � �� ��

��� ���.

db2node

CLP� ��� ������� Named Pipe �� �����

Named Pipe ���� ��� � ��� �� � � ������

���� �����. � � � ������ ��� DB2 ��� ����� �

���� �� (node_name), ��� �� ������ ��(computer_name)

���(instance_name)� �����.

IBM Data Server Client�� Named Pipe � ������, �� ���

(CLP)� �� �� ������.

64 IBM Data Server Client� � ��

Page 73: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

db2 => catalog npipe node node_namedb2 => remote computer_name instance instance_name

db2 => terminate

db2 ����� server1��� ��� � db2node�� ��� � ���

���, ��� ������.

db2 => db2 catalog npipe node db2node remote server1 instance db2

db2 => terminate

TCP/IP ��

�����-�� �� ���� �� TCP/IP ����

� ��� ����� �� �� ��� � ��� ��� �� �� �����

�.

� 9. TCP/IP ��� � ����

���� �� �� � �� �

IP ��� ���� ��� ����.

v IPv4: 9.21.15.235� �� ��

v I P v 6 :

2001:0db8:4545:2::09ff:fef7:62dc

� �� ��

IPv4

��� ��

v ��� ��(hostname)

v IP ��(ip_address)

��� ���� ��� ��� �����

���� hostname �� ������.

IP ��� ����� ping hostname

�� ������.

myserver

��

9.21.15.235

�� IPv6 ��

� 4 ������ � � 65

Page 74: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

� 9. TCP/IP ��� � ���� (��)

���� �� �� � �� �

��� ��

v � ��� ��(svcename)

v �� ��/���

(port_number/tcp)

services ���� �� �

� ��� ��� ������� �

�� ��(port_number)� � �� ��

� �����.

�� ��� svcename ���� �� �

��� ��� ���� �� �� ��

� �� ���. (svcename ����

�� ���� ������ �� ��

� � ��� ���.) � �� ��

������� ����� ��� ��

� �� ��� ��� ���.

Linux �� UNIX �� �� � �� �

���� 1024 ���� ���.

��� ��� �� ���� �� ��

�� ������ ����� �����

�.

server1

��

3700/tcp

��(node_name)���� � ��� �� �

� �. ��� ��� �� � ��,

���� �� ���� � �

�� �� ��� ���.

db2node

TCP/IP ��� �� ��� � ��� �� �

� ���� ��� ������ ��� �� �� ���� ������� ��

� �� ��� ��� ���� ��� �� �� ����. � ����

TCP/IP� ��� ��� ��� ����, Named Pipe� ���� ��� �

��� ����. �� CLP� ��� �����-�� �� ��� ���� �

����.

��� ��� ��� ��� ������ ��� �� ��� ����� ���

��� IP ��� ��� �� ��� � � DNS(����� ��)� ��� �

�� ��� ��� ���. � ��� IP ��� ��� ��� ������ �

�� ����� ���� ���� ����.

��� ������ ��� �� �, � ��� ��� ����� ��� ��

� ��� ���. � ���� � �� ��� � �� ��� �����. �

��� ��� ������ ��� �� ��� ����� ���� ���� ���

�.

����

66 IBM Data Server Client� � ��

Page 75: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

v ��� ��� ��� ��� IP ��� ��� �� ������� ��� �

�� ����� ��� ������.

1. ��� ���� ��� ��� ��� ��� IP �� � � ������.

�� �, ��� ����.

9.26.13.107 myserver # IPv4 address for myserver2002:91a:519:13:210:83ff:feff:ca71 myserver # IPv6 address for myserver

��,

9.26.13.107

IPv4 ip_address���.

2002:91a:519:13:210:83ff:feff:ca71

IPv6 ip_address���.

myserver

hostname���.

# � � ��� �����.

�: ���� IPv6 ����� ��� �� �� IPv6 � � ���� ���

�. IPv4 IPv6 � ����� ���� ��� IPv4 IPv6 ��� ��

��� ��� ��� �� ���. �� �, ��� ����.

9.26.13.107 myserver # IPv4 address for myserver9.26.13.107 myserveripv4 # IPv4 address for myserver2002:91a:519:13:210:83ff:feff:ca71 myserveripv6 # IPv6 address for myserver

��� IBM Data Server Client� ��� ���� � �� �� ,

myserver.spifnet.ibm.com� �� ��� ��� ��� ��� ���.

��, spifnet.ibm.com� ��� ��� � ��.

v ��� ��� ��� ��� �� ��� ��� �� ������� ��� �

�� ����� ��� ������.

1. ��� ���� ��� ��� ��� � ��� �� �� ��� �

�����. �� �, ��� ����.

server1 50000/tcp # DB2 connection service port

��,

server1

� ��� �����.

50000

� �� �����(50000� �������).

tcp

���� � �� ������.

# � � ��� ��� ��� � ��.

� 4 ������ � � 67

Page 76: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

�� �� �� ���� ��� ��� �� ��� ��� ��� ��

���.

� 10. ��� �� ��� ��� ��

� �� ����

Windows 2000 XP/Windows

Server 2003

%SystemRoot%\system32\drivers\etc ��, %SystemRoot%�

��� ��� �� �����.

Linux �� UNIX /etc

CLP� ��� ������� TCP/IP �� �����

TCP/IP � ����� ��� � ��� Data Server Client �

��� � � �����. � � � ������ ��� ���� ����� �

���� �� (node_name), hostname(�� ip_address), svcename(��

port_number)� �����.

��� ��(SYSADM) �� ��� ��(SYSCTRL) ��� �� catalog_noauth

�� ON�� ��� ���. �� ��� ��� � ��� � ���

�.

TCP/IP � ������ ��� ������.

1. ��� ��(SYSADM) �� ��� ��(SYSCTRL) ��� � ���� ��

�� �������.

2. Linux �� UNIX ����� ���� ��� ��� ������. �� ��

��� ������.

Bash, Bourne �� Korn �� �

. INSTHOME/sqllib/db2profile

C �� �

source INSTHOME/sqllib/db2cshrc

��, INSTHOME� ���� � ������.

3. DB2 �� ���� ������. Windows� �� � ���� db2cmd

�� ������. Linux �� UNIX��� � ���� db2 �� �

�����.

4. �� ����� �� �� ��� � �������.

db2 => catalog tcpip node node_name remote hostname|ip_addressserver service_name|port_number [remote_instance instance_name][system system_name] [ostype os_type]

db2 => terminate

��,

68 IBM Data Server Client� � ��

Page 77: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

v node_name� ������ ������� � ���� �� ��� �

� �� �� � ��.

v remote_instance� ������� � �� ���� ��� � ��.

v system_name� ��� ��� � ���� DB2 ��� ��� � ��.

v ostype_name� ��� �� �� �� � ��.

�:

a. terminate �� ��� ��� �� ���� � �����.

b. remote_instance, system ostype� ��� DB2 ��� ����� �

����� �����.

c. ������� ���� service_name� ��� ��� ��� �� ��� �

���. ��, � �� ��� ��� ���.

d. ��� ���� ���, catalog tcpip node �� IP �� IPv4 �� IPv6

� ���� ���� �� �����.

50000 �� ��� ���� myserver.ibm.com ��� ���� db2node� ��

� ������, db2 ���� ��� ������.

db2 => catalog tcpip node db2node remote myserver server 50000DB20000I The CATALOG TCPIP NODE command completed successfully.DB21056W Directory changes may not be effective until the directory cache isrefreshed.

db2 => terminateDB20000I The TERMINATE command completed successfully.

CLP� ��� ������� ������ �����

� ���� �� ���(CLP)� ��� ������� ������� ��

��� �� ����.

����� ������ ��� ������� ����� ��, ������� �

������ ����� ���. ������� ���, �� ���� ��

� ������ ��� ��� ������ � ��� ���� ����

������.

������ ���� ��� ���� ��� ��(� ���� �� �

� ������� ����� �� ��) IBM Data Server Client� ���� �

�� ������� �� �� �����.

v �� DB2 ��� ID� �����. DB2� ������� ���� �� �

� ��� ���� ����.

v ��� ��(SYSADM) �� ��� ��(SYSCTRL) ��� �� catalog_noauth

�� ON�� ��� ���.

v ��� ������� ���� � ��� ��� ��� ����.

� 4 ������ � � 69

Page 78: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

– ������ ��

– ������

– ��

– �� �( ���)

– ��( ���)

� ���� �� ��� ��� ������ ���� �� ��� �

����� ���� ���� �� ������.

v �� ��� �� �� ������� ���� � �����.

– ������ ��

– ���

– ������

– �� �( ���)

– ��( ���)

�� ������� ��� ���� ��� �� �� ���� �

���.

������� ������� ������ ��� ������.

1. �� DB2 ��� ID� ���� �������.

2. ���. ������ ���� �� ��� � ������ �� � ��

� ������.

3. Linux �� UNIX �� �� DB2 ������� ���� �� ��� ��

� ������. �� ����� ������.

Bash, Bourne �� Korn �� �

. INSTHOME/sqllib/db2profile

C �� �

source INSTHOME/sqllib/db2cshrc

��, INSTHOME� ���� � ���� � ��.

4. DB2 �� ���� ������. Windows �� ��� �� � ���

� db2cmd �� ������. Linux �� UNIX��� � ���� db2

�� ������.

5. �� ����� �� �� ��� ������� �������.

db2 => catalog database database_name as database_alias atnode node_name [ authentication auth_value ]

��,

v database_name� ������ ������ ��� � ��.

70 IBM Data Server Client� � ��

Page 79: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

v database_alias� ������ ������� �� �� � ��.

v node_name� ������ ������� � ���� �� ��� �

� �� � ��.

v auth_value� ������� �� � ��� �� �� �����. � �

��� ��� ��� �� �� ���� ���. �� �� ����

� � � ���. ��� �� ��� SERVER, CLIENT,

SERVER_ENCRYPT, KERBEROS, DATA_ENCRYPT, GSSPLUGIN

SERVER_ENCRYPT_AES� � ���.

DB2NODE � �� SERVER� ��� MYSAMPLE��� �� �����

� � ���� SAMPLE ��� ������� ������, �� ��

������.

db2 => catalog database sample as mysample at node db2nodeauthentication server

db2 => terminate

������ ������ �� ���� � ����

�� ����� ��� ������� ����� � ��� ��� �� �

�����.

� 11. ������ �� ��� � ����

���� �� �� � �� �

������ ��

(database_name)

������� ��� �� ���

� �� � ������ � ���

��� ���� �����. �� �,

sample ������� ��� ��

�, sample� ������ � �

���. ������ ��� ��� �

����� � � ��(���

�).

sample

������

(database_alias)

��� ������� �� ��� �

� �. �� ���� ���, ��

�� ������ ��

(database_name)� ��� ���� �

����. ������� ������

� �� � � ��� ������.

mysample

��(auth_value) ��� ���� ���� �� � Server

��(node_name) ������� ���� ��� � �

� ��� � � ��. �

����� � ��� ��

(node_name)� ��� �� �����

�.

db2node

� 4 ������ � � 71

Page 80: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

CLP� ��� ������ ��� �� ���

������� ���� �, ������� �� �� ����

���. �� ������ ��� ������.

v ������ ������� ���� ���.

v ��� ID� ��� �� �� � � ��� ����� �� ���. ���

��� �� ���� ��� �� ����� ����� ���� �� ��

�. �� ���� ���� ���, ������ ���� SERVER_ENCRYPT

� �����. ��� SERVER_ENCRYPT� ��� ���, ������ �

��� �� �� �� �����. ������ ��� �� �� ���� �

� �� ��� �� ���� ��� ���� ���.

v ������ �� ���� DB2COMM� ��� ��� ���� ��� �

��. ���� �� ��, ������ ��� db2start �� ��� ����

�� �� ���� ��� � ���.

������ ��� �� ������, ��� ������.

1. Linux �� UNIX �� ���� ��� ��� ������. �� ����

� ������.

Bash, Bourne �� Korn �� �

. INSTHOME/sqllib/db2profile

C �� �

source INSTHOME/sqllib/db2cshrc

��, INSTHOME� ���� � ���� � ��.

2. DB2 �� ���� ������. Windows� �� � ���� db2cmd

�� ������. Linux �� UNIX��� � ���� db2 �� �

�����.

3. ������� ������ ��� ������� ����, �� �� ��

����.

db2 => connect to database_alias user userid

�� �, �� �� ������.

connect to mysample user jtris

��� ����� �����.

��� ��� �� ������� ��� � �� ���� �����. ���

��� ���� �����.

72 IBM Data Server Client� � ��

Page 81: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

������ �� �������� �� = DB2 9.1.0SQL �� �� ID = JTRIS�� ������ �� = mysample

�� ������� �� ��� � ���. �� �, ��� �� ����

��� �� ��� �� �� ����� ��� �� SQL�� ������.

select tabname from syscat.tables

������ �� ���� ���� connect reset �� ��� ������

�� ������.

� 4 ������ � � 73

Page 82: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

74 IBM Data Server Client� � ��

Page 83: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

� 4 � Thin Client ������ IBM Data Server Client ��

(Windows)

© Copyright IBM Corp. 1993, 2010 75

Page 84: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

76 IBM Data Server Client� � ��

Page 85: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

� 5 � Thin Client ���� ��(Windows)

� ���� Thin Client ����� �� Windows ��� ��� IBM Data Server

Client �� �� �� �� ����. Thin Client ����� 32�� �����

�����. � �� ��� Windows �� ��� IBM Data Server Client �

� DB2 Connect Personal Edition� ��� � ���. � �� IBM Data Server

Runtime Client �� IBM Data Server Driver Package� ���� ����.

Thin Client ���� �� Thin Client ���� ��� ��� Thin Client �

�� �� ��� Thin Client� ����. IBM Data Server Client � �

����� ������� � ��� �����. Thin Client �����

���� ���� �� �����. Thin Client� ������ �� �

��� IBM Data Server Client � ��� �� ���� ���� ��

��. � �� Thin Client� ���� �� ������� ����.

�� �!� Thin Client ����� � ��. � �� ��, Data Server Client�

Thin Client ������� Data Server Client � ���� ��� ���

��. � �� �� ����� ������� �� ��� DB2 ��� ���

�.

� �� �!��� DB2 Connect Personal Edition� Data Server Client ��� �

����. DB2 Connect Personal Edition� ���� ���� �� � DB2

���� ������ � �� � � � ��� �����.

�! 1. IBM Data Server Client� ���� �� Thin Client ����

© Copyright IBM Corp. 1993, 2010 77

Page 86: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

����� �������� ������� ��� ���� � �� �� ��

��� ������� IBM Data Server Client� ���� �� ��� ���� �

���� ��� Thin Client �� ������. � �� �� ���� ��,

������� ��� ���� ���� ���� ��� ��( ��)���

� ��, �� �� ��� ���.

DB2 ���� LAN �� �� ���� �� ���. ��� ���

� ��� ��� ���� ��� � ��� �� ��� �� �

����.

�:

v �� ��� �� IBM Data Server Client� ��� �� � Thin Client

�������� ����� ���. �� ���� ������� ����

��� ��� �� ��� � ��� ���� ���.

v � �� ����� ���� ��� ���� ��� �� ���

� Thin Client ������� �� ������ � � ��� ���� �

���. �� �����-�� �� ��� �� � � ������ � �

�� ���� ��������.

v ��� ���� LDAP(Lightweight Directory Access Protocol)� ��� Thin

Client ������� �� ������ � � ��� ��� � ���. DB2

���� LDAP ��� ��� ������� ��� �, � LDAP �� �

������ � �� ���� � ��� �����.

v db2rspgn �� Thin Client�� ���� ����.

v DB2 Connect Personal Edition� Thin Client ��� �����, Thin Client

������� � ��� �� ����� � ���.

v DB2 ��� DB2 �� 8�� DB2 �� 9.1 ���� ���� �� ��

� Thin Client� �� ��� ���.

�! 2. DB2 Connect Personal Edition� ���� �� Thin Client ����

78 IBM Data Server Client� � ��

Page 87: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

Thin Client �� ��(Windows)

Thin Client �� ���� ��� Thin Client ������ ��� �� �

�� �����.

Thin Client ��� ����� ��� ������.

1. ��� IBM Data Server Client �� DB2 Connect Personal Edition� �

�����.

2. � Thin �������� �� �� ��� ���� ����

�.

3. Thin Client � ��� �����.

4. Thin Client �������� ��� ���� ���� ����.

5. thnsetup �� ��� Thin Client� ������.

� ��� �� �� ��� ���� � ����.

�� ��� IBM Data Server Client ��(Windows)� ���� ��� ��� �� �� �� � �� IBM Data Server

Client� �����. DB2 Thin Client ������� DB2 Thin Client ��

��� � �� � � DB2 Connect Thin Client ������� DB2 Connect

Thin ����� � �� � ���. Thin Client� 32�� �����

�����.

����

��� Data Server Client� ����� ��� ������.

1. �� DVD� �� �� ��� ������.

2. �� ���� �� �� ��� �����.

3. ��� � � ��� �� ��� �� � Thin Client �� ��� ��

���.

4. ��� �� �� ��� ������.

�� �

�� ����� � Thin �������� �� �� ���� ���

�.

� 5 Thin Client ���� 79

Page 88: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

�� Thin Client �������� � ��� �� ���� �

(Windows) ���� �� � ����, � � Thin Client ������� IBM

Data Server Client �� DB2 Connect Personal Edition �� � ��� ��

�� �� � � ���.

�� Windows XP� ���� � Thin Client ������(�� �)�� ��

�� ���� ���� ��� ������.

1. ���� Windows ���� ������.

2. Thin Client ������� ���� � ��� ��� ���� ���

��. ���� d:\sqllib ���� �� ��� ������.

3. �� ���� � —> � ��� �����.

4. �� �� �����.

5. � � �� ��� ��� �����.

6. �� �� �� 8� ��� �� ��� ������. �� �, NTCODESV�

������.

7. � Thin Client ����� ���� �� �� ���� � ����.

a. �� ��� �����. �� �� �� �� ����.

b. �� �� �� �� ��� Everyone ��� ��������.

�: Everyone ��, Thin Client ���� �� �� ��� ��� �� �

� Thin Client ���� �� ��� ��� � � � ���.

c. ��� �����.

d. � �� �� ��� ��� �����.

�� ��� Thin Client � ��� ��� ����.

Thin Client � �� �(Windows)Thin Client� 32�� ����� �����. � ��� Thin Client ����

��� ���� � �����. � ��� ��� ����� � ��� �� �

���� ���� ��� �����. ��� �� �� �� ��� �

���. DB2 ��� �� ���� �� � ��� ��� Thin Client ��� �

� � ��� �� � ���.

c:\sqllib\thnsetup ����� �� � �� db2thin.rsp� �����.

��, c:\sqllib� Thin Client ��� ��� ��� � ��. � ����

80 IBM Data Server Client� � ��

Page 89: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

�(*)� �� ��� ���. �� �� �� � �� �� �� ����. �

�� ����� �� ������. ��� ���� ��� ��� ���� �

��� ����� �����.

�� �, � ���� ODBC_SUPPORT ��(ODBC� �� ��� ����

� ���)� ��� � � ��� ����.

*COMP =ODBC_SUPPORT

ODBC� ����� � �� ��� ��� �� ������.

COMP =ODBC_SUPPORT

�� ��� ���� �� ��� ���. �� ��� ����� �� �

�����. �� �� ���� ���� ���� �� ��� ��� ���

���.

��� DB2.DIAGLEVEL� �� � ����.

*DB2.DIAGLEVEL = 0 - 4

� ��� 4� ����� ��� �� ������.

DB2.DIAGLEVEL = 4

� �� ��� �����, �� ��� ���� �� �� ��� ��� � �

�� ����. �� �, ��� �� test.rsp� �� � �� �� ���

��� ��� ���� � ��� ����(�: d:\sqllib).

thnsetup �� ��� Thin Client� ���� �� ��� � � ��� ��

���.

� Thin Client�� �� ��� ���� ���� �(Windows) ��� Thin Client� � ���.

��� �� �� ��� ��� ��� � �� ���� �������

���� ���. ��� ��� ��� ���� ���� �� ��, �

����� ��� �� ��� ��� ���.

Thin Client�� ���� ���� ��� ��� ������.

1. Windows Explorer� ������.

2. �� ���� ��� ��� �� �����.

3. ��� ��� ��� ��� ��� ���� �����.

4. � ��� ��� � ��� ��� ������.

\\computer_name\share_name

� 5 Thin Client ���� 81

Page 90: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

��,

computer_name

��� ��� ��� � ��.

share_name

��� �� ���� �� ��� � ��.

5. ��� ����� ���� �� �� ��� ������.

�� ����� Thin Client� �� ���� �����.

thnsetup ��� ��� Thin Client ��(Windows)thnsetup �� Thin Client ������� ���� ��� �� �� ���

����.

� �� ��

thnsetup �� ���� �� Microsoft Visual C++ 2005 �� Visual C++ ��

��� ��� � ���� ���� �� ������. � ����

� Microsoft � ���� ��� � ����� �����. � � ��

�� ���. 32�� ���� �� vcredist_x86.exe, 64�� ���� ��

vcredist_x64.exe� �����.

� ��� �� ��

Thin Client� ����� �������� �� ��� ������.

����

Thin Client� ����� ��� ������.

1. thnsetup �� ������. �� ���� ��� � ���.

��,

/P DB2 � ��� ���� ��� �����. � ���� �

82 IBM Data Server Client� � ��

Page 91: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

����. ��� ��� ���� ���� � �� �� �

�, � ���� �� ���� ���� ���� � ���� ��

� ���� ���.

/U ��� � �� ��� �����. � ���� �����. ����

� ��� c:\sqllib\thnsetup ���� ��� ���. �

�, c:\sqllib\� Thin Client ��� ��� ���� � ��.

/L ��� �� �� ��� �����. ��, �� �� �� � ��

� � ��� �����. � ���� �����. �� �� ��

� ���� �� ��, ��� db2.log �� ��� �����. � ��

� �� ��� ��� ���� db2log ���� ����.

/M ��� ��� �����. � ���� �����.

/S DB2 ��� ��� ��� �� ��� �����. � ����

��� ���� ���� �� �� ���� �����. Windows

XP Windows Server 2003 �� ����� �� ������.

2. thnsetup �� ����, �� ��(y:\db2log ���� db2.log. ��, y

� DB2 � ��� ���)� ���� ������.

�� ���� ������. �� ��� �� ���� ��� ���� �� �

��� ��� �� � ���. �� ���� �� ��� ���� ���.

�� �, ��� �� ���� Thin Client ������� �� � ���.

v ���� �� ��� � �� ���� x ���� ��� � ��

v � ��� test.rsp� �� ��

v � ��� ��� ��� ���� ���� ��

Thin Client ��������, Thin ������� DOS ���� �� ��

������.

x:\thnsetup\thnsetup /P x: /U x:\thnsetup\test.rsp /M machineName

� 5 Thin Client ���� 83

Page 92: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

84 IBM Data Server Client� � ��

Page 93: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

� 5 � �� ��

© Copyright IBM Corp. 1993, 2010 85

Page 94: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

86 IBM Data Server Client� � ��

Page 95: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

� 6 � �� �� ��

�DB2 ��� �� ��(Windows)

DB2 ��� �� �� �DB2 ��� �� ��� �� � �� �� ��

��� ��� � ���.

�DB2 ��� �� ��� ��� �� � ���. DB2 ��� �� ��� �

� ��� ��� �� ��� ������.

�DB2 ��� Windows �� ��� �� ��� ���� Windows �� �

��� ���� ��� IBM Data Server Driver Package �� � ��� �

���.

��� ����, �� ��� ����� ��� �����. � IBM Data

Server Driver Package �� ��� ��� ��� ��� � ���, ��� �

� ���� ��� ���. � ��� � ���� ��� ��� � ����

�. �� IBM Data Server Driver �� DB2 ���� �� ���� ��� � �

� ��� �����. ��� ���� ����� ��� �����

(�: myapp_dsdrivercopy_1). ��� ���� ��� ��� �����.

�� �� �� �� ��� ��� �� ��� � ��� ��� �� ��

http://msdn.microsoft.com� ������.

�� 9.5 ��� 4� ��� ���� �� ��� �� �� ��� ��� �

���.

IBM Data Server Driver Package.msm

� ��� ODBC(Open Database Connectivity)� ��� ���� ���

�� ������ �����. �� � ��� �� ������ IBM

Data Server Provider for .NET(DB2 .NET Data Provider IDS .NET

Data Provider)� ��� � ���. IBM Data Server Provider .NET�

.NET ������ DB2 �� Informix �������� ���� ���

� ���� ���� � �� �� ADO.NET ������ � ����.

��� 4� �� �� � �� �� ��� ��� � ���. IBM Data Server

Driver for ODBC and CLI Merge Module.msm� ODBC(Open Database Connectiv-

ity)� ��� ���� ����� ������ ���� � �� ��� ��

����, IBM Data Server Provider for .NET Merge Module.msm� ����

�� IBM Data Server Provider for .NET� ��� � �� ����.

© Copyright IBM Corp. 1993, 2010 87

Page 96: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

IBM Data Server Provider for .NET� �� ��� ���� ��� .NET ��

��� ��� �� ����. �� � �� ��� Microsoft .Net ���� 1.1

/�� 2.0� ��� ���.

�� �� ���� IBM Data Server Driver Package�� ���� �� ���

� ���� ���. ��� ��� ��, ��� �� ��� ���� �� �

�����.

IBM DSDRIVER Messages - Arabic.msm

IBM DSDRIVER Messages - Bulgarian.msm

IBM DSDRIVER Messages - Chinese(Simplified).msm

IBM DSDRIVER Messages - Chinese(Traditional).msm

IBM DSDRIVER Messages - Croatian.msm

IBM DSDRIVER Messages - Czech.msm

IBM DSDRIVER Messages - Danish.msm

IBM DSDRIVER Messages - Dutch.msm

IBM DSDRIVER Messages - English.msm

IBM DSDRIVER Messages - Finnish.msm

IBM DSDRIVER Messages - French.msm

IBM DSDRIVER Messages - German.msm

IBM DSDRIVER Messages - Greek.msm

IBM DSDRIVER Messages - Hebrew.msm

IBM DSDRIVER Messages - Hungarian.msm

IBM DSDRIVER Messages - Italian.msm

IBM DSDRIVER Messages - Japanese.msm

IBM DSDRIVER Messages - Korean.msm

IBM DSDRIVER Messages - Norwegian.msm

IBM DSDRIVER Messages - Polish.msm

IBM DSDRIVER Messages - Portuguese(Brazilian).msm

IBM DSDRIVER Messages - Portuguese(Standard).msm

IBM DSDRIVER Messages - Romanian.msm

IBM DSDRIVER Messages - Russian.msm

IBM DSDRIVER Messages - Slovak.msm

IBM DSDRIVER Messages - Slovenian.msm

IBM DSDRIVER Messages - Spanish.msm

IBM DSDRIVER Messages - Swedish.msm

88 IBM Data Server Client� � ��

Page 97: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

DB2 ��� �� ��(Windows)

DB2 �� 9.5� � �� �� �� ��(DB2 ��� �� �� �DB2 ��

� �� ��)� �����. �DB2 ��� �� ��� ��� �� � ���.

DB2 ��� �� ���� �� ��� ����� ����� ��� �

� ��� ��� ����.

v ������ DB2 ��� ��� ��� ��

v ������ DB2 ��� �� ���� � �� ��� ��(DB2 ��

� �� ��� �� ���� ���.)

DB2 ��� Windows �� ��� �� ��� ���� IBM Data Server

Runtime Client �� Windows �� ���� ���� ��� � ��� �

���.

��� ����, DB2 �� ��� ����� ��� �����. � DB2

�� ��� ��� ��� ��� � ���, ��� �� ���� ��� �

��. � ��� � ���� ��� ��� � �����. �� DB2 ����

�� ���� ��� � �� ��� �����. ���� ����� ��� �

��� �� � ���(�: myapp_db2copy_1). ��� ���� ��� ��� ��

���.

�� �� �� �� ��� ��� �� ��� � ��� ��� �� ��

http://msdn.microsoft.com� ������.

��� �� �� ��� ��� � ���.

DB2 Base Client Merge Module.msm

� ��� ������ �, SQL DB2 � �� ��� �� ��

���. � ��� ����� �� ���� ���� ���� �� Named

Pipe �� ���� ����� ����, ������ � �� ��� �

�� ������ ���� �� ���� ���� ��� �� ��� �

���, �� ��� ������� ���� � ���� ��� �

����. � ��� ��� �� ��� DB2 ��� ��� � ���

� � � ��� �� �� ���. � � �� DB2 ��� �

�� � ���� � ��� ��� �����. � ��� ���

�, ������ �� ��� � ��� �� DB2 ��� ���

�� �� ��� �����. �� � ���� �� ���(CLP)� ���

�� ���.

� � ��� �� ��� ��� ��� ���� �� ��� Orca� �

� ��� ��� �� ��� ����.

� 6 �� �� � 89

Page 98: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

DB2 JDBC � SQLJ Support.msm

� ���� Java ��� JDBC ���� ��� ��� ��� �

�� �� JDBC SQLJ ��� �����.

DB2 LDAP Exploitation Merge Module.msm

� ��� ��� DB2 ��� LDAP ���� ��� ������ �

�� � ��� � � ���.

DB2 ODBC Support Merge Module.msm

� ��� ODBC(Open Database Connectivity)� ��� ���� ���

�� ������ �����.

DB2 OLE DB Support Merge Module.msm

� ��� ������ �� ��� ��� � ���� ���� ��

�� � �� �� ����� ��� �����.

IBM Data Server Provider for .NET Merge Module.msm

� ��� �� ������ IBM Data Server Provider for .NET� �

�� � ���. IBM Data Server Provider for .NET� .NET ���

��� DB2 �������� ���� ���� ���� ���� � �

� �� ADO.NET ������ � ����.

��� � � �� Microsoft �� ��� IBM Data Server Runtime Client �

� ��� �� �����. Data Server Runtime Client �� �� ���, ��

Microsoft �� ��� ���� ���.

Microsoft NT32:

Microsoft_VC80_CRT_x86.msm

Microsoft_VC80_MFC_x86.msm

policy_8_0_Microsoft_VC80_CRT_x86.msm

policy_8_0_Microsoft_VC80_MFC_x86.msm

Microsoft NT64:

Microsoft_VC80_CRT_x86_x64.msm

Microsoft_VC80_MFC_x86_x64.msm

policy_8_0_Microsoft_VC80_CRT_x86_x64.msm

policy_8_0_Microsoft_VC80_MFC_x86_x64.msm

Microsoft �� ��� IBM Data Server Runtime Client DVD� �� �� ��

� ���� �� � ���.

�� �� ��� DB2 ���� ���� IBM Data Server Client ���� ���

��. ��� ��� ��, ��� �� ��� ���� �� ������.

90 IBM Data Server Client� � ��

Page 99: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

IBM Data Server Client Messages - Arabic.msm

IBM Data Server Client Messages - Bulgarian.msm

IBM Data Server Client Messages - Chinese(Simplified).msm

IBM Data Server Client Messages - Chinese(Traditional).msm

IBM Data Server Client Messages - Croatian.msm

IBM Data Server Client Messages - Czech.msm

IBM Data Server Client Messages - Danish.msm

IBM Data Server Client Messages - Dutch.msm

IBM Data Server Client Messages - English.msm

IBM Data Server Client Messages - Finnish.msm

IBM Data Server Client Messages - French.msm

IBM Data Server Client Messages - German.msm

IBM Data Server Client Messages - Greek.msm

IBM Data Server Client Messages - Hebrew.msm

IBM Data Server Client Messages - Hungarian.msm

IBM Data Server Client Messages - Italian.msm

IBM Data Server Client Messages - Japanese.msm

IBM Data Server Client Messages - Korean.msm

IBM Data Server Client Messages - Norwegian.msm

IBM Data Server Client Messages - Polish.msm

IBM Data Server Client Messages - Portuguese(Brazilian).msm

IBM Data Server Client Messages - Portuguese(Standard).msm

IBM Data Server Client Messages - Romanian.msm

IBM Data Server Client Messages - Russian.msm

IBM Data Server Client Messages - Slovak.msm

IBM Data Server Client Messages - Slovenian.msm

IBM Data Server Client Messages - Spanish.msm

IBM Data Server Client Messages - Swedish.msm

� 6 �� �� � 91

Page 100: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

92 IBM Data Server Client� � ��

Page 101: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

� 6 � �� �� ��

© Copyright IBM Corp. 1993, 2010 93

Page 102: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

94 IBM Data Server Client� � ��

Page 103: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

� 7 � �� �� ��

IBM Data Server Runtime Client �� �� ��

Linux �� UNIX �� ���� db2setup.exe �� ����� Windows �� �

��� setup.exe �� ��� IBM Data Server Runtime Client� ��� �

���. � �� ���� �� ����.

�� �� Windows �� ���� IBM Data Server Runtime Client� ����

�� setup.exe� ��� � �� �� �� ���� �� Windows �� ��

� �� �� �� ����. �� �� Windows �� ��� �� ��

��� ��� http://www.msdn.microsoft.com/� ������.

/w � ��� �� �� ��� ��� ��� setup.exe� ��� �����

� � ���.

/l*v[log file name]

� ��� �� ��� �� � ���. ��� ��� �� �� �

�� ���� ��� � ���. ���� ���� �� ��� � �

����� �� �� �� ���. ��� �� �� �� � ��� �

��� ��� �����.

/v � �� ��� Windows �� ����� �� �� �� �� �

� ��� ��� � ���. � �� ��� � �� ��� ���

���.

/qn � ��� �� ��� ���� �� �� ����� ��� ��� �

� Windows �� ���� ���� �� ���� ��� �����(UI)

� ���� �� �� ��� ��� � ���.

/qb! � �� �� � �� ��� ��� � �� �� ��� �����

� ���� �� ��� ����. �, Windows �� ���� ����

�� �� �� ��� ���� �� �� ���� ��� ����.

/L � ��� �� ID� ��� �� ��� ��� � ���. �� �,

�� ��� ���� ����� ��� ID(setup.exe /L 1036 �)�

������.

� 12. �� ID

�� ID

���(��� ����) 1025

����� 1026

��� 2052

© Copyright IBM Corp. 1993, 2010 95

Page 104: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

� 12. �� ID (��)

�� ID

��� 1028

����� 1050

�� 1029

���� 1030

����(��) 1043

�� 1033

��� 1035

���(��) 1036

��� 1031

���� 1032

���� 1037

���� 1038

����(��) 1040

��� 1041

��� 1042

����(�"�) 1044

��� 1045

�����(���) 1046

�����(��) 2070

����� 1048

��� 1049

���� 1051

������ 1060

����(�� ��) 1034

���� 1053

��� 1055

Data Server Runtime Client ��� ����� ��� � � �� �� ��� �

�� ����.

v � ���� ��� ��� ��� ���.

v RSP_FILE_PATH - � ����� Data Server Runtime Client ��� ��

�� � ��� �� ��� �����. /qn� ���� ���� ����.

� �� ��� ����� �� �� ���� ��� ���.

setup /v"/qn RSP_FILE_PATH=[�� ��� �� ��]"

���� �� ��� ����� ��� ��� ����. �� ��� ��� ��

�� �� �����. � ��� ��� � �� ��� ����� �� �

� ������.

96 IBM Data Server Client� � ��

Page 105: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

setup /v" TRANSFORMS=:InstanceId1.mst MSINEWINSTANCE=1/qn RSP_FILE_PATH=[�� ��� �� ��]"

IBM Data Server Driver Package� ���� �� ��(Windows)IBM Data Server Driver Package� ���� DB2 setup �� ��� ���

� ���.

��� ���� �� IBM Support Fix Central � ���(http://www-933.ibm.com/

support/fixcentral/)�� �� ���� ��� ��� ���� ���� �

���. Data Server Client Driver ���� Information Management �� �

� IBM Data Server Client Packages �� ��� �� � ���. ����

�� �� �� � �� �� ��� �����. �� ���� ��� �� �

� ��� Windows�� �� �� � ����� ��� ��� �� �

����.

�� �� setup �� �� �� �� �� �� ����. �� ��

Windows �� ��� �� �� ��� ��� http://www.msdn.microsoft.com/

� ������.

/n [�� ��]

���� �� ��� �� ��� �����. � �� ���� � ��

� ��� �� ��� �����. ��� � �� �� ��� �� ��

�� ��� �����. ��� �� �� ��� �� ��� ��� � �

�� �����.

/o �� ��� �� ���� � �� ��� ����� �����.

/u [� ��]

� ��� �� �� �� ��� �����.

/m �� �� � �� ��� �����. �� �� ��� ���� �

��� ����. � �� /u �� �� ������.

/l [�� ��]

�� ��� �� �� �� ��� �����.

/p [�� ���]

��� �� ��� �����. � �� ���� � ��� ��� ��

��� �����.

/i ��

��� ���� ��� � �� �� � �����.

/? �� ��� ����.

� 7 �� � �� 97

Page 106: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

IBM Data Server Driver Package �� �, ���� db2dsdriver.cfg � �

�� �� ������ ��� ��� �� � ���.

��� �� ���� ���� �� �� ����.

v �� ��� �� ���� � ��� ����� �� �� ������.

setup /o

v � �� ��� ����� �� �� ������.

setup /n "COPY_NAME"

v � �� ��� ����� �� �� ������.

setup /u "[�� ��� �� ��]"

�� � ��� \samples ������ ���.

98 IBM Data Server Client� � ��

Page 107: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

� 7 � �� ��

© Copyright IBM Corp. 1993, 2010 99

Page 108: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

100 IBM Data Server Client� � ��

Page 109: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

� 8 � IBM Data Server Client �� ��

� ����� IBM Data Server Client� �� ���� �� �� ����.

IBM Data Server Client� �� ����� �� �� � ��� ������.

1. IBM Data Server Client� Linux �� UNIX �� ���� �����

DB2DIR/install ����� db2_deinstall -a �� ������. ��,

DB2DIR� Data Server Client� ��� � ��� �����.

2. IBM Data Server Client� Windows �� ���� ����� Windows ��

��� ��� ��/�� �� ������. Windows �� ���� ���

� �� ��� �� ��� ��� �� �� ���� ������.

�: Windows��� ��� ��/�� ��� IBM Data Server Client� ��

��� � ���. IBM Data Server Client� ���� �� db2unins ��

��� � ���. �� � ��� IBM Data Server Runtime Client ��

IBM Data Server Driver Package� ��� � ����. ��� ��� db2unins

� ��� ������.

© Copyright IBM Corp. 1993, 2010 101

Page 110: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

102 IBM Data Server Client� � ��

Page 111: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

� 8 � ��

© Copyright IBM Corp. 1993, 2010 103

Page 112: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

104 IBM Data Server Client� � ��

Page 113: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

�� A. DB2 �� �� ��

DB2 � ��� �� �� ��� �� ��� � ���.

v DB2 �� ��

– �� � (���, � �� � )

– DB2 ��� �� ���

– �� ���

– ���

v DB2 ��

– PDF ��(���)

– PDF ��(DB2 PDF DVD)

– ��� ��

v �� ���

– � ���

– ��� ���

�: DB2 �� �� ��� ��� PDF �� �� ���� �� �����. �

� ��� ��� �� �� �� ����� ����� ibm.com®�� DB2 ��

��� ������.

ibm.com�� � ��, �� IBM Redbooks ��� �� �� DB2 � ��

� ����� ���� � ���. DB2 �� �� ���� ���� ���

http://www.ibm.com/software/data/sw-library/� �������.

�� �

DB2 ��� �� ��� �����. DB2 ��� ���� � � �� ��

����� �� [email protected]�� �� ��� �����. DB2 �� �

��� ��� � ��� ��� � �� �� ����. ��� ��� � �

��� � �� �� ��� �� �� ��� ����. �� �� �� ��� �

�� �� ��� ��� ��, � URL� ������.

DB2 �� ��� ����� � �� �� ��� ���� ����. ���� ��

� � �� DB2 � ���� � ��, �� ��� IBM ��� ��� ���

������.

© Copyright IBM Corp. 1993, 2010 105

Page 114: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

IBM Information Management ��� �� ���� � � � ��

Consumability Survey(http://www.ibm.com/software/data/info/consumability-

survey/)� �� � �����.

DB2 �� ����(���� �� PDF ��)

�� �� IBM Publications Center(www.ibm.com/e-business/linkweb/publications/

servlet/pbi.wss)�� ��� � � DB2 ����� �� ����. PDF �

� � � � � � D B 2 � � 9 . 5 �� � � w w w . i b m . c o m / s u p p o r t /

d o c v i e w . w s s ? u i d = s w g 2 7 0 0 9 7 2 7 w w w . i b m . c o m / s u p p o r t /

docview.wss?uid=swg27009728�� ���� � ���.

�� ��� � � �� �� � ����, �� �� �� ���� �� ��

��� � �� �� ���.

���� ��� ��� �� ��� �����. �� �� ��� �� � ��

�� �� ���� ������.

�: DB2 �� ��� ��� PDF �� �� ���� �� �����.

� 13. DB2 � ��

�� �� �� �� �� �� �� ��

A d m i n i s t r a t i v e A P I

Reference

SC23-5842-03 � 2010 12�

Administrative Routines

and Views

SC23-5843-03 ��� 2010 12�

Call Level Interface Guide

and Reference, Volume 1

SC23-5844-03 � 2010 12�

Call Level Interface Guide

and Reference, Volume 2

SC23-5845-03 � 2010 12�

Command Reference SC23-5846-03 � 2010 12�

Data Movement Utilities

Guide and Reference

SC23-5847-03 � 2010 12�

Data Recovery and High

Availability Guide and

Reference

SC23-5848-03 � 2010 12�

Data Servers, Databases,

and Database Objects

Guide

SC23-5849-03 � 2010 12�

Database Security Guide SC23-5850-03 � 2010 12�

Developing ADO.NET and

OLE DB Applications

SC23-5851-02 � 2009 4�

Developing Embedded

SQL Applications

SC23-5852-02 � 2009 4�

106 IBM Data Server Client� � ��

Page 115: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

� 13. DB2 � �� (��)

�� �� �� �� �� �� �� ��

Developing Java

Applications

SC23-5853-03 � 2010 12�

Developing Perl and PHP

Applications

SC23-5854-02 ��� 2009 4�

Developing User-defined

R o u t i n e s ( S Q L a n d

External)

SC23-5855-03 � 2010 12�

Gett ing Started with

Database Application

Development

GC23-5856-03 � 2010 12�

Linux Windows��

DB2 �� �� ���

GA30-3480-03 � 2010 12�

Internationalization

Guide

SC23-5858-02 � 2009 4�

Message Reference,

Volume 1

GI11-7855-00 ���

M e s s a g e R e f e r e n c e ,

Volume 2

GI11-7856-00 ���

�� ��� GA30-3479-03 � 2010 12�

Net Search Extender

Administration and User's

Guide

SC23-8509-02 � 2009 4�

P a r t i t i o n i n g a n d

Clustering Guide

SC23-5860-03 � 2010 12�

Query Patroller ��

��� ���

SA30-3539-01 � 2009 4�

IBM Data Server Client�

� ��

GA30-4165-03 ��� 2010 12�

DB2 Server� � �� GA30-3481-03 � 2010 12�

Spatial Extender and

G e o d e t i c D a t a

Management Feature

U s e r ' s G u i d e a n d

Reference

SC23-8508-02 � 2009 4�

SQL Reference, Volume 1 SC23-5861-03 � 2010 12�

SQL Reference, Volume 2 SC23-5862-03 � 2010 12�

System Monitor Guide

and Reference

SC23-5865-03 � 2010 12�

Text Search Guide SC23-5866-02 � 2010 12�

Troubleshooting Guide GI11-7857-03 ��� 2010 12�

T u n i n g D a t a b a s e

Performance

SC23-5867-03 � 2010 12�

Visual Explain ��� SA30-3487-00 ���

�� A. DB2 � �� � 107

Page 116: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

� 13. DB2 � �� (��)

�� �� �� �� �� �� �� ��

��� � SA30-3486-03 � 2010 12�

Workload Manager Guide

and Reference

SC23-5870-03 � 2010 12�

pureXML Guide SC23-5871-03 � 2010 12�

XQuery Reference SC23-5872-02 ��� 2009 4�

� 14. DB2 Connect �� � ��

�� �� �� �� �� �� �� ��

DB2 Connect Personal

Edition� � ��

GA30-3484-03 � 2010 12�

DB2 Connect Server�

� ��

GA30-3485-03 � 2010 12�

DB2 Connect ��� ��

SA30-3483-03 � 2010 12�

� 15. Information Integration � ��

�� �� �� �� �� �� �� ��

Information Integration:

Administration Guide for

Federated Systems

SC19-1020-01 �

Information Integration:

A S N C L P P r o g r a m

Reference for Replication

and Event Publishing

SC19-1018-02 �

Information Integration:

Configuration Guide for

Federated Data Sources

SC19-1034-01 ���

Information Integration:

SQL Replication Guide

and Reference

SC19-1030-01 �

Information Integration:

Introduction to Replication

and Event Publishing

GC19-1028-01 �

��� DB2 �� ��

��� DB2 ��� ��� ��, �� ����� ��� � �� � �� �

� ��� ����� ����. ��� �� ��� IBM ����� ��� DB2

��� ��� � ���. DB2 PDF �� DVD� �� ��� ��� ���

� ��� �� ������. �� �, DB2 Message Reference� � ��� �

�� ���� ��� � ����.

108 IBM Data Server Client� � ��

Page 117: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

DB2 PDF �� DVD�� ��� � � ��� DB2 ��� ��� ��� IBM

�� ��� ��� � ���. ���� ��� �� IBM Publications Center�

� ����� ��� ��� �� ���. �� �� �� ���� ��� ���

����, ��� �� ��� IBM ����� ��� DB2 ��� ��� �

���. DB2 PDF �� DVD� � ��� ��� �� ��� �� ������.

�: � �� ��� DB2 ��� http://publib.boulder.ibm.com/infocenter/

db2luw/v9r5� DB2 �� ���� �������.

��� DB2 ��� ����� ��� ������.

v �� �� �� ���� ��� DB2 ��� ����� ��� � �� ��

����� http://www.ibm.com/shop/publications/order� IBM Publications Center

� ������. �� �� ��� ������ ��/��/��� �� �� �

� ���� �� ����� �����.

v �� ��� IBM ����� ��� DB2 ��� ����� ��� ������.

1. �� � ��� � ���� �� �� ���� �� ��� ��� ����

�.

– www.ibm.com/planetwide� � IBM � �� ��� ���

– http://www.ibm.com/shop/publications/order� IBM Publications � ���.

�� ��� �� �� � ���� ������ �� ��, �� �� ��

� �� ���. � ����� "� ��� ��" ��� ������.

2. ��� ��� ��, ��� DB2 ��� ������.

3. ����� ����� ��� � �� ��� ������. ��� �

�� ��� 106 ���� �DB2 � ����(�� �� PDF �)�

� ������.

�� ����� SQL � ��

DB2� SQL�� ��� � � � ��� �� SQLSTATE �� ����.

SQLSTATE ���� SQL �� SQL �� ��� � ��� ����.

SQL �� ���� ���� �� ���� �� ��� ������.

? sqlstate or ? class code

��, sqlstate� �� 5�� ��� � SQL ���� class code� SQL ���

�� 2�� ��� � ��.

�� �, ? 08003� 08003 SQL ��� �� ���� ����, ? 08� 08 ��

� � �� ���� �����.

�� A. DB2 � �� � 109

Page 118: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

DB2 �� �� � ��� ��

DB2 �� 9.8 ��� �� DB2 �� �� URL� http://publib.boulder.ibm.com/

infocenter/db2luw/v9r8/���.

DB2 �� 9.7 ��� �� DB2 �� �� URL� http://publib.boulder.ibm.com/

infocenter/db2luw/v9r7/���.

DB2 �� 9.5 ��� ��, DB2 �� �� URL� http://publib.boulder.ibm.com/

infocenter/db2luw/v9r5���.

DB2 �� 9.1 ��� �� DB2 �� �� URL� http://publib.boulder.ibm.com/

infocenter/db2luw/v9/���.

DB2 �� 8 ��� �� DB2 �� �� URL� http://publib.boulder.ibm.com/

infocenter/db2luw/v8/���.

DB2 �� ��� ��� ��� �� ��

DB2 �� ��� ��� �� ��� ��� ��� �� � � �����. ��

� ��� ��� ���� �� ��, DB2 �� ��� ��� �� � � ���

��.

v Internet Explorer ����� ��� ��� � � ����� ��� ����

��.

1. Internet Explorer�� �� —> ��� �� —> ��... ��� �����. �

� �� �� �� ����.

2. ��� ��� �� �� � �� � �� ������ ������.

– �� � ��� ����� ��... ��� �����.

�: ��� ����� ���� ��� ��� � � ���� � ���

��� ���� �� ����.

– ��� � #�� �����, ��� �� � ��� �� �� � �

� � � � ��� �� �� ��� �����.

3. ��� ��� �� � ���� �� �� ��� ��� DB2 �� ���

������.

v Firefox �� Mozilla ����� ��� ��� �� � � ����� ���

������.

1. �� —> �� —> �� �� ��� �� ���� ��� �����. �

� �� �� �� ��� �����.

2. ��� ��� �� �� � �� � �� ������ ������.

110 IBM Data Server Client� � ��

Page 119: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

– �� � ��� ����� ��... ��� � �� �� ��� ���

����.

– ��� � #�� �����, ��� �� � ��� �� �� � �

� � � � ��� �� �� ��� �����.

3. ��� ��� �� � ���� �� �� ��� ��� DB2 �� ���

������.

�� ��� �� �� ���� �� ��� �� ��� �� ��� �

�� ��� � �� ���.

� � �� ���� ��� ��� DB2 �� � ��

DB2 �� ��� ��� ��� ��, IBM�� �� ����� �� ��� �

���.

��� ��� DB2 �� ��� ����� ��� ������.

1. ����� DB2 �� ��� ��� � �� ��� �� ������. ��

��� �� ��� ���� ���� ����� �� �� ���� �

� ��� ���� � ���� ����� ��� � ���. ��� ��

� DB2 �� ��� �� �� �� �����.

2. � ����� �� ��� ����� �� �� ������. �����

����� � ��, �� �� ��� ����� ���� ��� � �

��.

�: ���� ��� �� ��� DB2 �� �� ����� ��� �� �

���� ���� �� ��� ��� �� ���� �� �� ����� �

�� DB2 �� ��� �����. ���� �� �� ����� ����

� ���� �� ���� �� ���� ��� ����� �� ����

��� �� ��� ���� ��� ��� � � �� � ���.

���� ���� �� ��� �� �� ��� ���� ������. �

� �� �� �� ���� ��� � ���.

3. �� �� ��� ��� � ����� DB2 �� ��� �������.

�: Windows Vista��� ���� �� ��� �� ��� ���. �� ��

� ���� � �� �� ��� ��� ����� ���� ��� ��� �

�� �� � ��� �� �����.

��� �� ���� ��� ��� DB2 �� ��� ����� ��� �����

�.

1. DB2 �� ��� ������.

�� A. DB2 � �� � 111

Page 120: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

v Windows��� � → ��� → �� �� → ���� �����. � ��

DB2 �� �� ���� ��� ��� ��� �� � �� �����.

v Linux��� �� �� ������.

/etc/init.d/db2icdv95 stop

2. �� ��� �� ��� ������.

v Windows ���:

a. � �� ���.

b. �� ��� ��� ��� ������. DB2 �� ��� ����

Program_files\IBM\DB2 Information Center\ Version 9.5 ���

� �����. ��, Program_files� ���� �� ���� ��

���.

c. �� ����� doc\bin ���� ������.

d. ��� �� help_start.bat ��� ������.

help_start.bat

v Linux ���:

a. �� ��� ��� ��� ������. DB2 �� ��� ����

/opt/ibm/db2ic/V9.5 ���� �����.

b. �� ����� doc/bin ���� ������.

c. ��� �� help_start ����� ������.

help_start

�� �� ��� ���� �� ���� ��� � ���� �����.

3. �� ��( )� �����. �� ��� ��� ���� ���� ��� ��

���. �� ��� ���� �� �����.

4. �� ���� ����� ��� ��� ��� � ���� ��� ����

�.

5. �� ���� ���� �� �����.

6. �� �� ��� ������.

v Windows�� �� ���� doc\bin ���� �� � ��� ��

help_end.bat ��� ������.

help_end.bat

�: help_end ���� ���� help_start ���� ��� ��� ��

�� ���� ���� � ��� �� ���� ���. help_start.bat

� ���� � Ctrl-C �� �� ��� ���� ����.

v Linux�� �� ���� doc/bin ���� �� � ��� �� help_end

����� ������.

112 IBM Data Server Client� � ��

Page 121: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

help_end

�: help_end ������ help_start ����� ��� ���� ���

� ���� � ��� �� ���� ���. help_start ����� �

��� � �� ��� ���� ����.

7. DB2 �� ��� �������.

v Windows��� � → ��� → �� �� → ���� �����. � ��

DB2 �� �� ���� ��� ��� ��� �� � � � �����.

v Linux��� �� �� ������.

/etc/init.d/db2icdv95 start

��� DB2 �� ���� �� ��� ��� �����.

DB2 ��

DB2 ���� DB2 ��� � � �� �� ���� � �����. ���

�� ����� �����.

���� ��

http://publib.boulder.ibm.com/infocenter/db2help/� �� ���� XHTML ��� �

��� � � ���.

�� ����� �� ���� � �����. �� ���� �� ���� �

� ���� ������.

DB2 ���

���� ��� � � �����.

�pureXML®�( pureXML Guide )

XML ���� �� �� XML ��� ���� �� ��� ����

� DB2 ������� ������.

Visual Explain ���� �Visual Explain�

Visual Explain� ��� � ���� � �� SQL�� �, ��

� �����.

DB2 ��� �� ��

DB2 ������ �� �� � ���� ��� ���� ��� � ��� ��

��� ���.

DB2 ��

��� �� ��� DB2 ��� �� ��� �� DB2 �� ��� ���

�� A. DB2 � �� � 113

Page 122: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

��� �� ��� ���. DB2 � �� ��� ��� ���

� ���� ��� �, � ���� ���� �� ��� DB2 �

����� ���� ��� � � ���� ���� �� �� � �

���� �� ��� ���.

DB2 �� �� � ���

���� � �� �� ���� ���� DB2 � �� � ����

������. � �� ����� �� DB2 ��, � ��, APAR(Au-

thorized Program Analysis Report �� �� ��), ��� � ���

�� ��� ���. �� � ��� ��� ��� �� �� ��

�� �� � ���.

http://www.ibm.com/software/data/db2/support/db2_9/�� DB2 � �� �

���� �������.

��

�� ��� �� � �� ��� � ���.

��� ��: � ��� ��� ���� ��� �� ��� � �� ��, �

��� ��� ��� � ���. ��� IBM� �� �� �� � � �� ��

� �� �� ����� 2�� ��� � � ����.

��� ��: � ��� ��� ���� ��� �� ��� � �� �� ��

�� ���� ��, �� ��� � ���. ��� ���� ���� IBM�

�� �� �� � �� 2�� ��� � �� � � �� � ��� ��, ��

�� ��� � ����.

� ���� ���� � � ��� ����, � ��� � �� ��� ��, �

��, ���� �� � �� ���� �� ��� ��� ���� �� ���

�� �� ����� � �� ����.

IBM� � �� ��� IBM� ��� ���� ����� ��� ��� �����

���� ���� ���� �� ��� � � ��� ��� � ���.

��� �� � �� �� ��� � �� �� � �� ��

���� ���� � ��� ���, �� �� ���� � ���.

IBM� � �� ��� �� ��� ��� ���� ����. �� �� ���,

�� �� ��� ��� �� ��� ��� ��� (� �� ��� �

�) ���� ��� ��� ��� �� �� � ���� �����.

114 IBM Data Server Client� � ��

Page 123: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

�� B. ����

� ��� ���� ���� �� ������ �� ����.

IBM� �� ���� � �� �� ��, ��� �� �� ���� �� ��

���. �� ��� � � �� ���� �� ��� �� IBM �����

������. � ��� IBM ��, ��� �� ���� ����� �� �� IBM

��, ��� �� ����� ��� � �� �� ����� ����. IBM�

�� ���� ���� �� �, ���� ��� ��, ��� �� ���� �

� ��� �� ���. �� �IBM ��, ��� �� ���� ��� ��

�� ��� ���� �����.

IBM� � ��� ��� � �� ��� �� ��� ���� �� �� ��

� �� � ���. � �� ����� �� ��� �� ������ � ��

�� ����. ����� �� ����� ���� ������.

135-700

���� ��� � � 467-12, ��������

�� ��.�.� ����

������

����: 080-023-8080

2���(DBCS) ��� �� ���� ��� �� IBM ������� �����

�� ��� �� ����� ����.

IBM World Trade Asia Corporation

Licensing

1623-14, Shimotsuruma, Yamato-shi

Kanagawa 242-8502 Japan

�� ��� ���� ���� ��� �� ����� ���� ��. IBM�

�� �� ���, �� �� ��� ��� �� ��� ��� ���

(�, �� ��� ��) ���� ��� ��� ��� ���� � �� ���

���� �����. �� ����� �� ���� �� �� ��� ��� ��

��� ���� ����, � ��� ���� �� �� ���.

� ���� ���� ���� ���� ���� ��� � � ���. � �

�� ����� ����, ��� ��� ���� �����. IBM� � ��� �

� �� /�� ���� �� �� �� ��� /�� ��� � �

��.

© Copyright IBM Corp. 1993, 2010 115

Page 124: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

� ��� �IBM � ��� ��� �� �� �� ��� �����. IBM� �

���� ��, ��� �� ��� � � � �IBM � ��� �� � �

��� �� , �� �� ���� ����. �IBM � ����� ��� IBM

� �� � ��� �� ���� ��� �� ��� ����� �� ���� �

���. �� IBM ����� � �� �� �����(�� �� � � �

�� �����) IBM� � �� ��� ��� ���� ��� �� ����

����. ��� IBM� �� �� ��� �� ��� ��� �� ���� ��

�, �� ��� �� ���� ��� � � ���, ���, �� �� � ��

� �� �� � � ��� �� ��� ���� �����. � �� ���

����� �� ����� ��� ���� ��� ����.

IBM� ��� ��� ���� �� �� ��� ����� ��� ���� ��

� ��� ��� ����� ��� � ���.

(i) ����� �� ���� �� ���(� ��� ��) � �� ��

(ii) ��� ��� �� ��� ��� � ���� �� ��� �� �� �

��� ���� �� ��� ������.

130-700

���� ��� � � 467-12, ��������

�� ��.�.� ����

������

�� ��� �� ��(�� �, ��� �� �)��� ��� � ���.

� ��� �� ����� � � ��� ���� �� �� �� �

����� � � ��� IBM� IBM �� ��, IBM ��� ���� ��(IPLA)

�� �� ��� ��� �� ��� ����.

� ��� ��� � ���� ��� ���� �� ����. ��� ��

�� ���� � ��� ��� �� � ���. �� ��� � �� ��

��� ���� � ��, ��� �� ��� ����� ���� � ��

���� ���� � � ����� ��� � ����. �� �� � ���

�� � ��� �� ��� �� ��� �� � ���. � �� ���� ��

���� ��� �� ���� ��� ���.

�IBM ��� �� ��� �� ��� ����, � �� �� �� � �� �

���� � ����. IBM��� �� �� � ����� �����, �IBM

��� ��� � ��, �� �� � ��� ���� ��� � ����.

�IBM ��� � �� ����� �� ��� ����� ������.

IBM� ���� �� �� ��� �� � ��� �� �� �� ��� �

���.

116 IBM Data Server Client� � ��

Page 125: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

� ���� ��� ��� ���� ���� �� ���� �� ��� �

���. � ���� �� �� ���� ��� �� �, ��, ��

��� ��� ��� � ���. � ��� �� ��� ��� �� ��� ��

��� ������ �� ���� ����.

�� ����:

� ���� �� �� ��� ���� �� � �� �� ��� � �

� ������ � ���. ��� �� �� ���� � ��� � �

� �� � ����� ���� �����(API)� ���� ������

�, ��, �� �� ��� ��� �� ���� � �� ���� ���

�� ��, �� ��� � ���. �� �� ���� � ����� �

�� ���� �� ����. ��� IBM� �� ���� � , ��� �

�� �� ����� �� ����.

�� �� ��� �� �� ��� ���� ���� �� ��� ��

�� ��� ���� ���.

© (��� ��) (�). � � ��� IBM Corp.� �� ����� ���

��. © Copyright IBM Corp. _enter �_. All rights reserved.

��

IBM, IBM �� ibm.com� ��� ��� International Business Machines

Corp.� �� �� �������. � �� ��� ��� IBM �� �� ��

� �����. �� IBM �� �� � �� ��(www.ibm.com/legal/

copytrade.shtml)� ���.

�� ��� � ��� �� �� �� �����.

v Linux� �� �� � ���� ���� Linus Torvalds� �������.

v Java � Java �� ��� �� �� � ���� ���� Sun

Microsystems, Inc.� �����.

v UNIX� �� �� � ���� ���� The Open Group� �������.

v Intel, Intel ��, Intel Inside, Intel Inside ��, Intel Centrino, Intel Centrino

��, Celeron, Intel Xeon, Intel SpeedStep, Itanium Pentium� �� �� �

���� ���� Intel Corporation �� � ���� �� �� ������

�.

v Microsoft, Windows, Windows NT Windows ��� �� �� � ���

� ���� Microsoft Corporation� �����.

� ��, �� ��� ��� �� ��� �� �� �������.

�� B. ���� 117

Page 126: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

118 IBM Data Server Client� � ��

Page 127: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

��

�������

DB2 �� �� 111

�����-�� �

� �� ��� 57

�� ���(CLP) 63

TCP/IP ���� 65

TCP/IP

����� 66

� �� ���

������ � 58

����� ��� 62

�����-�� � 57

�����-�� �� 53

������ ��� 53

�� � 59

����� ��� � 60

���

������ � 62

LDAP ���� 63

������� ���

81

���� ���

Thin Client 81

���� �� ���(NFS) ��

AIX� 18

HP-UX� 20

Linux� 22

Solaris �� ��� 29

���������

� 58, 59

��� 62

���

�� ���(CLP) 69

���

�� � 110

SQL� 109

��� ��

��� ��� ��� �� �� 41

��� ���� ���� 17

����� �� �

��� �� 46

�� ��

��� �� 41

��� 41

������

� ����

������ ��� 71

�����-�� � � 65

Named Pipe 64

��� ���� 17

������ ��� 69

db2osconf 21

db2rfe - �� � �� 41, 46

db2setup 38

db2start 72

NPIPE ��� 64

TCPIP �� 68

thnsetup 82

�� �

IBM Data Server Driver Package �� 97

IBM Data Server Runtime Client �� 95

�� ���(CLP)

��� 68

������ ��� 69

�����-�� � � 63

TCP/IP �

����� 66

��

� 105

���� 114

© Copyright IBM Corp. 1993, 2010 119

Page 128: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

�� (��)

��� 106

PDF 106

��� �

�� � �� 113

��� 113

��� ��

��� �� 113

��� 113

����� �

������ � � 59

�� ��

�DB2 ��� 87

DB2 ��� 89

��� ��

� 40

��� �� 41

�� �� � �� 46

�� 44

�� �� 49

��� 48

��� 41

�� 41

��� ���

�� 49

�� 49

������ ���

IBM Data Server Client 35

��

��� ��� 49

��

����� � 57, 63

��

���

�� 108

��

��� ���� DB2 �� �� 44

����

AIX 18

HP-UX 20

Linux 22

Solaris �� �� 29

�� (��)

���� (��)

Windows 32

�� ��

��� 49

IBM Data Server Client 101

���� ����

AIX 18

HP-UX 20

Linux 22

Solaris �� �� 29

Windows 32

���� ������ ��

� �� ��� 58

��

�� ���(HP-UX) 21

���

��� �� 48

����

��� ������� � 72

����

��� 17

��� 17

�� �� ����

AIX 18

HP-UX 20

Linux 22

Solaris �� �� 29

Windows 32

� ��

Thin Client 80

����

�� �� 114

���

��� �� 49

��� �

����� ��� � 62

�����

��� � 113

��� �� 113

Visual Explain 113

120 IBM Data Server Client� � ��

Page 129: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

��

��� ��� 49

���� 115

���� ����� � 56

�����

���� ������ 58

������

������ 69

������ ��� � ���� 71

��� ������

DB2 Connect 69

Named Pipe 64

TCP/IP 68

�� � ���

� (HP-UX) 21

db2osconf �(HP-UX) 21

HP-UX�� �� 21

Linux�� �� ��� �� 27

Solaris �� ���� �� 31

�� ��� ��

HP-UX 21

Linux 27

Solaris �� �� 31

���

Thin Client 80

��

��

DB2 Connect Personal Edition 79

IBM Data Server Client 79

Thin Client

���� ��� 81

�����

�� � 57, 63

����� �

���� �� 56

��� 56

����� ���

���� �� ��� � 60

��� �� ��� � 62

�����-�� ��

� � 53

CLP� ��� � ��� 72

�����-�� �� (��)

TCP/IP ��� � ���� 65

������

������ � 62

�����-�� � 72

�� ���

Named Pipe 56

SSL 56

TCP/IP 56

������

����

AIX 18

HP-UX 20

Linux 22

Solaris �� �� 29

Windows 32

��

��� �� 41

��� ������

����� � 34

AAIX

�� ���� 18

CC/C++ ��

�����

��� ��� �� 29

DDB2 Connect

��

���� 34

Personal Edition

��(Windows) 79

Thin Client

�� 77, 79

� �� 80

�� 121

Page 130: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

DB2 Connect (��)

Thin Client (��)

��� 80

��� ���� ��� 81

���� � 77

DB2 �� �� 108

DB2 �� ��

�� 111

�� ��� �� 110

�� 110

�� 110

db2osconf �

�� � ��� � � 21

db2rfe �

�� � �� 41, 46

HHP-UX

��

DB2 �� 20

IBM Data Server Client 20

�� � ���

� � 21

�� 21

IIBM Data Server Client

� 3

��� ��� 35

��

� 8, 9

�� 79

UNIX 38

Windows 35

��� ������ 34

� 4

���

Named Pipe 64

TCP/IP 68

IBM Data Server Client 3, 4

IBM Data Server Driver Package 3

IBM Data Server Runtime Client 3, 4

IBM Data Server Driver

� 4

IBM Data Server Driver Package

��

�� � 97

IBM Data Server Runtime Client

��

�� � 95

LLDAP(Lightweight Directory Access Protocol)

��� �� ���� 63

Linux

�� ���� 22

��

DB2 ��� ��� 49

�� ��� �� 27

Linux ����

libaio.so.1 22

libstdc++.so.5 22

NNamed Pipe

��� � ���� 64

���� ��� 56

SSolaris �� ��

�� ��� �� 31

Solaris �� ��

�� ���� 29

SQL�

��� �� 109

SSL

���� ��� 56

TTCP/IP

����� 66

���� �� 56

TCP/IPv6 �� 56

Thin Client

���� 77

�� 82

�� 79

122 IBM Data Server Client� � ��

Page 131: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

Thin Client (��)

� �� 80

�� �� 77

��� 80

��

���� ��� 81

thnsetup � 82

UUNIX

��

IBM Data Server Client 38

��

DB2 ��� ��� 49

VVisual Explain

��� 113

WWindows �� ��

��

DB2 ��(����) 32

IBM Data Server Client(����) 32

IBM Data Server Client(��) 35

�� 123

Page 132: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

124 IBM Data Server Client� � ��

Page 133: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03
Page 134: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

����

GA30-4165-03

Page 135: IBM Data Server Clientpublic.dhe.ibm.com/ps/products/db2/info/vr95/pdf/ko_KR/... · 2011. 2. 10. · Linux, UNIX Windows DB2 9.5 IBM Data Server Client 2010 12 9 5 GA30-4165-03

Spineinformation:

Lin

ux,

UN

IX�

Win

do

ws�

DB

2�

�9.

5�

�9

��

�5

IBM

Dat

aS

erve

rC

lien

t��

��

���


Recommended