tivoli kernel services ¹®Á¦Á¡ ÇØ°á - ibmpublib.boulder.ibm.com/tividd/td/tks/tks_12... ·...

112
Tivoli Kernel Services 1.2

Upload: others

Post on 05-Feb-2020

50 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

Tivoli Kernel Services ��� ���� 1.2

Page 2: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML
Page 3: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

Tivoli Kernel Services ��� ���� 1.2

Page 4: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

Tivoli Kernel Services ��� ��

��� ��

© Copyright IBM Corporation 2000, 2001. All rights reserved. Tivoli Systems Software ��� ���� IBM Software ��� ��, IBM ���� ��� ��� �� Tivoli �� �� ��� ��� ���� ���. IBM Corporation� �� �� �� �� � ���� �� ��� ��, ��, ��, ��, ��, ��� � � �� �� ���� ���� ��, ��, ����� �� ���� � � ��� �� ��� �� � ����. IBM Corporation IBM Corporation ��� ��� ���� ��� ��� ����� �� �� ���� ����� ����� ��� � ��� �� ��� ��� �� � �� ��� �����. IBM Corporation� �� �� � ��� ������ ��� ��� ���� ����.� ��� ��� ���� �� ���� ��� �� �� “�����” ����. �� �� �� ��� �� ��� � ���� ���� ���� �� �� ��� ��� ���� ����.

��

��� �� ��� Tivoli Systems, Inc. �� IBM Corporation� �� �� �������.IBM, IBM ��, Tivoli, Tivoli ��, AIX, Netview, RS/6000 TME.

Microsoft, Windows, Windows NT Windows ��� � �� ���� ���� Microsoft Corporation� �����.

UNIX� � �� ���� ���� Open Group� �������.

�� �� �� �� ����� � �� ���� ���� Sun Microsystems, Inc.� �����.

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

����

� ����� Tivoli Systems� IBM ��, ���� �� ���� ����� �� Tivoli Systems� IBM� ��� �� �� ���� ��� �� � ��� � ���� ����. ��� ��, ���� �� ���� ��� Tivoli Systems� IBM ��, ���� �� ���� ��� ��� ���� ����. Tivoli Systems� IBM� ��� �� ��� �� �� ���� ���� � �� ��� �, ��� �� �� ��, ���� �� ���� ��� ��, ���� �� ��� ��� �� � ����. Tivoli Systems� IBM� ���� ��� ��� ����� ��� ��� ��� �� �� ���� �����. Tivoli Systems� IBM � ��� �� ��� ��� ������� � � ������� � �� � ����. � �� ���� �� � � �� ���� ��� ����.135-270, ����� �� �� 467-12, ���� �� �� ��.�.� ���� ������ ���� ���� �� ��� � ����.�� xi ���� ��� ������ ���� .

Page 5: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

��

�� . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii

� �� ��� . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii

�� �� �� �� . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii

IBM Universal DB2 Enterprise Edition �� . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii

� �� �� . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii

� �� ��� � . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . viii

��� �� �� . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . viii

�� �� . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix

��� �� �� � . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix

�� � �� . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix

�� ���� . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi

OpenSSL ��� . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi

SSLeay ��� � . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi

Apache Apache Tomcat . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xii

�1� Tivoli Kernel Services ��� �� �� . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1

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

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

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

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

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

�2� �� �� � ��. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

�� �� �� . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

�� �� ��. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10

� ��. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11

�� �� �� �. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11

��� �� . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13

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

�� �� �� � . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18

��� �� ���. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18

�� �� ��� . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19

�� �� ��� �� �� . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20

�� �� �� ��� �� �� . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20

�� �� �� ��� �� �� . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21

iiiTivoli Kernel Services ��� ��

Page 6: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

�� �� �� ��� �� �� . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21

�� �� �� ��� ��� �� logServerHandler �� �� . . . . . . . . . . . . . . . . . . . . . . . . 22

�� �� ��� �� �� . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22

�� �� �� �� ���� �� �� . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23

Secaudit �� �� �� �� ���� �� . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24

�� �� �� �� . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26

����� �� . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26

�� �� �� ��� �� . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26

� ��� . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26

���� �� ��� ASCII ��� � . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27

�� � . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27

�� �. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28

�3� �� ��� ��. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29

� ��. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29

DB2 � �� �� . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30

Tivoli DAS �� � �� �� - DB2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31

MQSeries �� � �� �� . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31

Oracle � �� �� . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34

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

��� � � �� ��. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35

�4� �� �� ��� �� . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37

Tivoli Kernel Services ���� �� . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37

Tivoli Kernel Services DB2 ���� ��. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38

Tivoli Kernel Services DB2 ����. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38

���� �� . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39

Tivoli Kernel Services DB2 ����: �� � . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40

Oracle �� �� . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43

� �� ��� � �� � . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43

Tivoli DAS �� - DB2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44

Tivoli DAS �� ��� ��� � � �� . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46

Tivoli DAS �� �. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56

MQSeries �� . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56

ID ��� � ORB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57

Tivoli � . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59

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

SJI(Simple Jar Installer) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61

iv �� 1.2

Page 7: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

�5� ���� ��� ��. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63

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

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

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

Tivoli Kernel Services ���� �� ���. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65

Activation Framework. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66

�� �. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66

���� �� ��� . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66

��� �� ��� �� �� ���. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68

�� �� �� . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68

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

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

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

���� �� ��� . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70

Component Manager. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70

��� �� ��� �� �� ���. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70

��. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71

��� �� ��� �� �� ���. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71

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

���� �� . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73

DCM(Data Connection Manager) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74

DCI(Depot Component Installer) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74

���� �� ��� . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74

��� �� ��� �� �� ���. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75

���. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75

��� �� ��� �� �� ���. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75

���� �� . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76

� �� . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76

��� � . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77

��� �� ��� �� �� ���. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77

�� �� �� . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77

����� . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77

��� �� ��� �� �� ���. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78

���� �� . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78

InfoService . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78

��� �� ��� �� �� ���. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78

�� Policy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79

LCI(Local Component Installer) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79

vTivoli Kernel Services ��� ��

Page 8: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

��� �� ��� �� �� ���. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79

LOCK(Local ORB Creator and Killer) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79

ORB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80

��� �� ��� �� �� ���. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80

�� �� �� . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80

���� � . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80

��� �� ��� �� �� ���. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81

�� �� �� . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82

� . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85

���� �� ��� . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85

��� �� ��� �� �� ���. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85

���� �� . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86

� ����� . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86

���� �� ��� . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86

�� �� �� . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86

���� ��� . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87

Service Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87

��� �� ��� �� �� ���. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87

���� �� . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87

SNMP ��� . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88

��� �� ��� �� �� ���. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88

TimeSync . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89

��� �� ��� �� �� ���. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89

�6� Tivoli ��� ��. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91

��� ID �� . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91

��� ��� . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92

� . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93

vi �� 1.2

Page 9: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

��

� ���� Tivoli Kernel Services ����, ��� ����� �� �� �� ��� ����.

� �� ���� � Tivoli Kernel Services ���� ��� �� �� ��� ���� �� ���. ��� �� ��� �� ����� �� ��� �� ��� ���.

�� �� � �� ��Tivoli Kernel Services� �� �� ��� ����.

¶ Tivoli Kernel Services ��

��� �� ���� Tivoli Kernel Services� ���� �� �� ��� ���.

¶ Tivoli Kernel Services �

Tivoli Kernel Services� �, �� ��� �� ��� ����.

¶ Tivoli Kernel Services �� ��

Tivoli �� ���� Tivoli Kernel Services� ���� �� ��� ����.

¶ Tivoli Kernel Services ��

Tivoli Kernel Services� �� � ����� ��� ����.

¶ Tivoli Kernel Services �� � ��

Tivoli Kernel Services� � ������ ��� �� �����.

¶ Tivoli Kernel Services README

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

¶ Tivoli � ��

Tivoli Kernel Services� ���� ���� � � ��� ������ Tivoli ������ HTML �� �����.

Tivoli Kernel Services ��� Tivoli Kernel Services � CD-ROM� ��� � CD-ROMtivolidocs ������ ���, HTML PDF ���� ����(�, �� ��� ���� �� README� ��). �� README� � CD-ROM� ���� ����.

IBM Universal DB2 Enterprise Edition ��IBM DB2� ��� ��� ��� Tivoli Kernel Services ��� ��� �� ��� IBM DB2 Universal Database Enterprise Edition CD-ROM�� HTML ���� ��� ��� IBM � ���, http://www.ibm.com/software/data/db2/udb/��� �� � ����.

� �� ��Tivoli Kernel Services �� ���� ��� � ��� ���� ����.

¶ 1 ���� �Tivoli Kernel Services �� �� ���

Tivoli Kernel Services �� ���� � �� �� ��(�: � �� ��� �� ��)� �� �����.

¶ 7 ���� ��� �� ���

viiTivoli Kernel Services ��� ��

Page 10: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

��� �� �� ��� �� ��� �� ��� ��� Tivoli Kernel Services��� �� ����� ��� ����.

¶ 29 ���� �� �� ���

� ���� �� ��� ��� �� ��� ���, ���� ����, ������ Tivoli Kernel Services ��� �����.

¶ 37 ���� ����� � �� ���

���� �� ���� Tivoli Kernel Services� ��� ���� ������� ��� ���.

¶ 63 ���� ����� �� ���

�� Tivoli Kernel Services ����� ��� � �� �� �� ��� �� ������, ���� ��� �� �� ��� ��� ����.

¶ 91 ���� �Tivoli ��� ���

Tivoli ��� ��� �� �� Tivoli Kernel Services ��� ��� ����.

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

��� , ��, � � GUI ��(� �� �� �� ��)� �� �����.

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

pk:dL: �� ��, ��, ��� ���, XML �� �� � �, ��� ����� �� ������ ��� �����.

� ����� �� � ��� ��� ��� UNIX Windows NT �� �����. Windows NT �� �� �, �� �� �� $variable� %variable%� ����, ��� ��� �� � � �(/)� �� � �(\)� ����� .

�: Windows NT ����� bash � �� ��, UNIX �� �� � ����.

��� �� ���Tivoli �� � � ���(http://www.tivoli.com/support/)��� ���� ��� �� ��(Customer Support Handbook)� ���, �� ���� �(FAQ), ��� ��, ��� ��, �� , �� ��� �� ��� �� ����. Tivoli ��� ��http://www.tivoli.com/support/documents/�� �� � ����. �� ��� ��� PDF HTML ���� ����. �� ��� �� ��� ��� ����.

���� ��� ����� ID ��� �����. � � ����� �� ID� ����, http://www.tivoli.com/support/getting/�� ���� .

������ Tivoli �� �� �� �� ��� ��� http://www.tivoli.com/support/smb/index.html�� ���� .

���� ���� Tivoli �� �� �� �� ��� ��� ix ���� ��� ����� ���� .

viii �� 1.2

Page 11: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

�� ��Tivoli ��� �� http://www.tivoli.com/support/Prodman/html/pub_order.html �� ��� �� ����� .

¶ �� � ���: [email protected]

¶ �� ��.�.� ������ ��: 02-3781-5243

��� �� ��� ��Tivoli �� ��� �� ��� ��� � � �� �� �����. �� �� ��� �� ���� ���� ����, � �� ���� ����� ����.

¶ �� � ���: [email protected]

¶ �� �� �� ��: http://www.tivoli.com/support/survey/

�� �� ��http://www.tivoli.com/support/handbook/� Tivoli Customer Support Handbook ��� ���� Tivoli �� �� �� ��� �� ��� ����.

¶ �� ���

¶ ��� ��� � � �� ��

¶ � ��� �� �� �� � ��

¶ � ��� ���� �� ���� �� ��

ixTivoli Kernel Services ��� ��

Page 12: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

x �� 1.2

Page 13: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

�� ����

OpenSSL ���Copyright (c) 1998-2000 The OpenSSL Project. All rights reserved.

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

1. �� ��� ��� � �� ��� ��, � �� ��� �� ��� ��� �������.

2. ���� ��� ��� � �� ��� ��, � �� ��� �� ��� ��� ���� ���.

3. � ������ ���� ��� ���� �� ���� ″� ���� OpenSSL Project�� OpenSSL Toolkit (http://www.openssl.org/)��� ��� ������ ���� ����″�� ��� ��� ��� ���.

4. ″OpenSSL Toolkit″ ″OpenSSL Project″� ��� �� �� ��� � ������� ��� ��� ����� ��� �� ��� ����� ���. �� �� ���� [email protected]� ����� .

5. OpenSSL Project� �� �� � ��� �������� ��� ��� ���″OpenSSL″��� �� ��� ��, ��� �� ��� ″OpenSSL″��� ����� ���.

6 . � � � � � � � �� � � ″� � � � � OpenSSL Pro j ec t � � OpenSSLToolkit(http://www.openssl.org/)��� ��� ������ ���� ����″�� ������ ��� ���.

OpenSSL Project� � ������ ��� �� �� ″�����″ ���, ��� ������ ���� �� ��� ��� ����(�, �� ���� ��) ���� �������� ��� �� ����. ��� ���� OpenSSL PROJECT �� � � ��� � �� ��, ��� �� �� �� �� ��� �� �� ��� ���� � ���������� �� ��� �� ���, ���, ���, ��, ��� �� ��� ��(��� ���� ��� ��, ���� ��� ��, ���� �� �� ��)� �� �� � �� ���� ��� � ��� �� ��� �� ����.

� ���� Eric Young([email protected])� ��� ���� ������ �� ����.Tim Hudson([email protected])� ��� ������ �� ����.

SSLeay ��� ��Copyright (C) 1995-1998 Eric Young([email protected]) All rights reserved.

� ��� Eric Young([email protected])� ��� SSL �� �����. � ���Netscape SSL� ��� �������.

�� �� ���� �, � ������ ����� �� ���� ��� ��� �� �����. ��� � �� ��� ���� ���� �� ��, � SSL �� � ��� RC4, RSA, lhash, DES �� ��� �����. ��� ��� SSL ��� ��� ���� Tim Hudson([email protected])��� � ����� �� ���� ��� ����.

xiTivoli Kernel Services ��� ��

Page 14: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

��� Eric Young� ����, ��� ��� ��� ����� ���. � ��� ��� ���� ��, Eric Young�� ��� ������ ������ ��� �����. ���� �� � ��� ��� ��� ���� ��� �� �� �� ��(��� �����)� ��� ��� ����.

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

1. �� ��� ��� � ��� ��, � �� ��� �� ��� ��� ���� ���.

2. ���� ��� ��� � �� ��� ��, � �� ��� �� ��� ��� ���� ���.

3 . � � � � � �� � ��� � �� � � � � �� � � � � ″ � � � � � Er icYoung([email protected])� ��� ���� ������ ���� ����.″�� ������ ��� ���. ���� ������ ��� ��� ��� �� ��, ‘����’�� ��� �� � ����.

4. apps ���� Windows �� ��(�� �� �� ���), � ������ ��� ��� ��, ″� ���� Tim Hudson([email protected])� ��� ������ ��������.″�� ��� ��� ��� ���.

Eric Young � ������ ″�����″���, ��� �� ���� ���� ����� ��� ����(�, �� ���� ��) ���� ����� ��� ��� �� ����. ��� ���� � ������ ��� �� � ���� � ����, ����� �� �� �� ��� �� �� ��� ���� � ������ ���� �� ����� ���, ���, ���, ��, ��� �� ��� ��(��� �� �� ��� ��, ���� ��� ��, ���� �� ���� �� �� ��)� �� �� � �� ���� ��� � ��� �� ��� �� ����.

� ���� ���� �� ��� �� �� ���� �� ��� �� ��� � �����. �, � ��� ���� �� �� ���[GNU � ��� ��]� ��� � ����.

Apache � Apache Tomcat� ���� Apache Group�� Apache HTTP Server ����(http://www.apache.org/)��� ��� ������ ���� ����.

� ���� Greg Stein <[email protected]>� Apache� mod_dav ����� ��� ������ ���� ����.

� ���� Henry Spencer� ��� ������� ��� ������ ���� ����.

� ���� RSA Data Security, Inc. MD5 Message-Digest Algorithm�� ��� ������ ���� ����.

����� �� ���� ��� �� ��� MERANT�� ����. 1991-1999.

xii �� 1.2

Page 15: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

Tivoli Kernel Services ��� �� ��

Tivoli Kernel Services� ��� ��� ���, ���� ���� ���� ��� ��� ���� ��� ������� ����. ���� ��, ��� ��, �� � �� �� ���� ���� ��� �� � � �� ��� ������ ��� TivoliKernel Services�� � �� ��� ��� �� ��� �� ��� �����. � ������ �� � ��� ��� �� ��� �����.

Tivoli Kernel Services� ���� ����� ��� �� �����. � ����� �� � ��� �� � �� ���� �� �������. � �� ���� ��� �� �� � �� ��, �� ��� �� ��� �� ��� ���� ��� ���� ��� ��� �� �����. � �� ���� �� ��� ���� � ���� � ��� ��� �� �� ��� ���� ���.

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

���� ������ �� Tivoli Kernel Services ��� �� �� ��� �� ��� ��� ���. Tivoli Kernel Services� ���� ������ �� Tivoli Kernel Services� ������ ���� �� ��� ���� �� ��� �����. �� ���� ��� �� �� ��� � ���� � �� � ����.

����� ���� � ���, �� ���� �� ��� �� ���� ��� ���� �� ���� �� ��� � �� ����. ����� �, �� �� ����� � ����� ����� �� ���� �� ���� �� ���� �� � ����. �����Tivoli Kernel Services� ����� ���� �� ��� ���� �� �� �� ���� ���� �����.

Tivoli Kernel Services� ��� � ��� ���� ���� ���� ����.

�� ���Tivoli Kernel Services� � ���� �� ��� �� ��� �� ��� ���� ��� ��� � �� �� ����� ���� ���� �� ���� ����. � ���� ���� Tivoli Kernel Services� �� ��� �� ����� ��� �� ���(ORB) ��� ID �� ��� ����� ��� � ��� �� ��� ��� � ���� ���� ���� �����.

���� �� ����Tivoli Kernel Services� ���� �� ����� Tivoli Kernel Services ��� ��� � ������ ���� �� � �� ��� ����. � ���� ���� Tivoli Kernel Services� � ����� � � ��� ���� ��, ����� � ������ ��� ��� ���� ���� �����.

1

1Tivoli Kernel Services ��� ��

1.T

ivoli

Kern

elS

ervices�

��

��

��

Page 16: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

�� �� ����Tivoli Kernel Services� � �� ����� �� ���� �� �� ��� ��� �� �������. � �� ���� ���� �����, �� ���� ������ ���� �� ��� ���, �� ���� ���� ��� �� �� �� �� �����.

������ �� ����Tivoli Kernel Services� ��� �� �� �� �� �� �������� ����� ��� Tivoli Kernel Services� ��� �� ������ ���� ��� � �� ��� ����� ����. � ���� ���� Tivoli Kernel Services ���� �� Tivoli �� CLI(Command Line Interface)� �����.

�� ����� ��� � � �� � ����� � �� ������. � ���� ���� ��� �� �(���� ��� �� ��) ����, ���, ORB JVM� � ��� �������. ��� ���� ���� ��� ����� �� ���� �� ����� �����. ����� ���� ��� ���� � ��� �����. ���� �� ��� � ��� �� ����. ���� � �� �� ��� �� �����.

� �� ���� ������ ���� �� �� � ����� ��� �������. ���� � �� ����� ���� � �� ����� ����� ������ ����� �� ��� � ��� �� ���. ���� �� �� ���� ����� �� �� ����� �� �� ���� ���� �� � ��� ��� �� �����. �� �� � � ������ ���� �����. � �� ���� ����� ��� ��� Tivoli Kernel Services ��� ���� .

� �� ����� � �� �� ���� ����. � �� ���� ��� �� ���� FailoverMessageLogger���. � �� ���� � �� ���� ��� �� ���� �����. � �� ���� �� �� ���� FailoverTraceLogger���. � ������ � �� ���� ��� �� �� ��� � ����, ���� ��� �� � ��� ��� ��� ��� ���. � �� ���� ���� ���� �� ���� ��, �� �� ������ � �����. � �� ��� ��� �� ���� ��, � �� ���� �� �� ��� �� ���� �� ����� �� �������/�����. �� �� ��� ���� ��� ���.

�� �� ���� �� Tivoli Kernel Services ���� ������� ��� ��� ��� �� ��� ����. � ��� ��� ��� �� � ��� �� ���(�: ��, ����, � �� �)� �����. � ��� �� ��� ��� �� �� ��� ��� ���� 29 ���� �� �� ���� �� ����. �� �� ���� ���� �� ��� ��� �� �� �� ��� ���� 7 ���� ��� �� ���� �� ����.

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

��� �� ��� ����� ������� ��� �� ��� � � �� �� ��� �� �� ��� ���� �����. Tivoli �� � ��� ��� �� ��� ���� � �� ��� �� �� ��� �� ���� ��� �����. �����

2 �� 1.2

Page 17: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

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

�� ��� �� ��� ��4 ���� ��1 ��� �� ��� ���� ����. ��� �� ��� ��$ORBDIR/log/messagen.log�� �� ��� ��� ��� ��� , ��� $ORBDIR� �� �� ��� � ORB � ���(�: C:\Tivoli\orb.1)� ��� �����. ��� �� ��� �� �� �� ����� message1.log���. � ��� �� ������� �� ��� message2.log� ��� � message1.log ��� �����. ��message1.log ���� �� ��� ��� �� �� ���.

� ���� ��� �� �� 512KB�� ��� � ����. �� � �� �� ��� ��� ��� �� �� ����� ASCII ��� �����. UNIX��� tail � ���� � ��� ��� � � ���, Windows��� ���� �� ��� ��� �� �� ����. tail ��� �� ��� ��� Tivoli Kernel Services �� ���� . ��� �� ��� �� ��� �� �� �� �� �����. ��� �� �� ��� �� ��� ��� Tivoli Kernel Services ��� ���� .

��� �� ���� ����� ��� ��� ���� �� ���� �����. �� ��� ���� �� ��� �� � �� msgFilter� �����.

�: �� � ��� $ � ����� �����. � � �� wcmd ����� ���� ��� �� ��� ��� ��� Tivoli Kernel Services� ����� ���� ��� �����. ��� � ��, � wcmd � -u ��� ���� �� ��� ��� Tivoli Kernel Services ��� ID� ���� ���. ��� ��� TivoliKernel Services ��� wcmd � �� � �� �� ���� . ��, ��� �� �� ���� ���. ����� ���� �� ��� �� ��� � ���� ���� ���� ��� ��� � ���� ���.

3Tivoli Kernel Services ��� ��

1.T

ivoli

Kern

elS

ervices�

��

��

��

Page 18: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

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

4 �� 1.2

Page 19: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

�� �� �� �� ��

��2� � �� � � �� � � � �� � � � � �� � � . �� � � �� � � �$ORBDIR/log/tracen.log�� ���� �� ��� ��� ����. � ���� ��� �� �� 512KB��, ����� � �� �� ��� �� � ����. ��� �� ���� �� ����� trace1.log���. � ��� �� ��� ���� �� ��� trace2.log� ��� � trace1.log ��� �����. �� trace1.log ���� �� ��� ��� �� �� ���. �� �� �� �� �� �� �� �� �� �� ���. �� �� �� ��� �� ��� ��� Tivoli Kernel Services ��� ���� .

�� �� ���� trcFilter� TYPE_DEFAULT_TRACE ��� �� �����. �� �� ���� �� ��� � ��� ���� �� ���� �����.2000.10.26 13:56:59.321com.tivoli.core.logging.DistributedLogManagergetOrbAndElementName mainMyCorp/rshah1.dev.tivoli.com_9990systemaccount system/services/principals/orbEntry, parm 1 = msgFile

�� ��� ����.

logDate 2000.10.26

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

5Tivoli Kernel Services ��� ��

1.T

ivoli

Kern

elS

ervices�

��

��

��

Page 20: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

logTimestamp 13:56:59.321

logClass com.tivoli.core.logging.DistributedLogManager

logMethod getOrbAndElementName

logThread main

logServer MyCorp/rshah1.dev.tivoli.com_9990(This is the namespaceName/orbName.)

logClient ″ ″

logPrincipal system/services/principals/orb

�� getOrbAndElementName ���� ��� �� �� ���� ����, � ���� ��� msgFile���.

6 �� 1.2

Page 21: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

�� �� � ��

�� �� ��� �� �� � ��� ��� ���� ���� �������. TivoliKernel Services� �� �� ����� IBM Logging Toolkit for Java� ���� ���. � ����� �� ���� ���� ����� ���� �� � ���� ����.��� ���� �� ��� ����� �� � �� �� �� ���� ���� ����.

� ��� �� ��, �� �� ��, �� �� � ��, �� �� ���� �� ��, �� �� ����, �� �� �� �� �� �� ��, ���� �� �� ��� ASCII ��� ��� ��� ���.

�� �� ��Tivoli Kernel Services� �� �� ����� �� �� ���� ���� ��� ���� �����. � ����� �� ���, ���, ��(������ �), ��� �� ����. �� ���� ����� ��� ���� ���� ���� ����� ������. �� �� ����� � �� ��� �� ���� ����. � �� ����� �� ��� �� �� ������.

��� �� ���� Tivoli Kernel Services ����� ��� ���� ���� �����. � ���� � ���� ����� ����. ��� �� ��� ��� ��� ��� ����� �� �� � ����.

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

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

�� ��� ����� �� ���(�: ����� ���� ��� ���� ��)� ����.

��� ��� ���� �� �(�: ORB� �� ���� �� � �� � �� ��� ���� ��� ����� ��� �)� �����.

�� �� ���� ���� ��� ��� �� ��� � � �� �� ��� ���� �����. � ��� ��� �����. Tivoli �� � ��� �� �� ������� ��� ���� �� ��� ����� �� ��� ��� �����. ����� � ��� ����� ����� �� ����. �� ���� � ��� ���� ��� ����� �� ��� �� � � �� ��� �����.

2

7Tivoli Kernel Services ��� ��

2.�

��

��

��

Page 22: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

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

���� �� ���� ��� ���� ���� ���� ����� ������. ���� ��, ����, � �� �� �� ���� ��� � ����. ���� �� ��� ���� �� ���� ��� ��� �� ���� �� � ����. Tivoli KernelServices� �� ��� ��� �� �� ��� ����.

�� �� �� ���� �� �����(system.out).

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

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

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

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

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

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

�� ���� �� �� ��� ����. JLog� �� ���� ���, Tivoli Kernel Services�� �����.

AllMaskFilter�� ���� �� ��� �� ��� ��� ���� ��� ��� � ��� �� � ����.

AnyMaskFilter�� ���� ��� �� ��� ��� ���� ��� ��, � ��� �� � ����. � ��� Tivoli Kernel Services� ���� �� �����.

ExcludeMaskFilter�� ���� ��� �� ��� ��� ���� ��� ��, � ��� �� � ����. � ��� �� ��� �� ���� ���� �� ������ �� �� �� ���� ���� ���� � ����.

msgFilter �� ���� ��� ����� ����.

� ��� ��� TYPE_DEFAULT_MESSAGE� AnyMaskFilter��, ��� ���� TYPE_INFO, TYPE_WARN, TYPE_ERR, TYPE_FATAL �� ����.

trcFilter �� �� ��� ����� ����.

� ��� ��� TYPE_DEFAULT_TRACE� AnyMaskFilter���. ��� �� ��� ����� 9 ���� �1� ���� .

8 �� 1.2

Page 23: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

� 1. �� ���

�� ��

TYPE_ALL ��� �� ��� ���� ���� �����.

TYPE_API ���� � ��, ���� �� ��� ���� ��� ���

��.

TYPE_CALLBACK ��� �� ��� �����. ����� �� ���

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

�� �����.

TYPE_DEFAULT_TRACE �� �� ��� �����. �� �� �� ��� ����.

¶ TYPE_API | TYPE_CALLBACK | TYPE_ENTRY |

¶ TYPE_EXIT | TYPE_ERROR_EXC | TYPE_MISC_DATA |

¶ TYPE_OBJ_CREATE | TYPE_OBJ_DELETE |

¶ TYPE_PRIVATE | TYPE_PUBLIC | TYPE_STATIC |

¶ TYPE_SVC

TYPE_ENTRY ��� �� �� ��� �����. ���� �� �������

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

�� ���.

TYPE_ERROR_EXC � �� �� � �� ��� �����.

TYPE_EXIT ��� �� �� ��� �����. ���� �� �������

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

�� ���.

TYPE_LEVEL1 �� � ��� ����� ��� �� �� �� ��� ��

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

�, �� 1 �� �����, �� 2� �� ��� �����, �

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

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

� �� �� TYPE_DEFAULT_TRACE�� ���� ����.

TYPE_LEVEL2 TYPE_LEVEL1�� ��� ��� ��� �� ��� ����

�� ��� �����.

� �� �� TYPE_DEFAULT_TRACE�� ���� ����.

TYPE_LEVEL3 TYPE_LEVEL1 �� TYPE_LEVEL2� �� � ��� ���

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

� �� �� TYPE_DEFAULT_TRACE�� ���� ����.

TYPE_MISC_DATA �� �� �� ��� �����. ���� �� �������

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

�� �����.

TYPE_NONE ��� ���� �� (null) ��� ��� �����. �, � �

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

TYPE_OBJ_CREATE ��� �� �� ���, �� ��� �����.

TYPE_OBJ_DELETE ��� �� �� ���, �� ��� �����. � �� ��

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

9Tivoli Kernel Services ��� ��

2.�

��

��

��

Page 24: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

� 1. �� ��� (��)

�� ��

TYPE_PERF �� ���� �� ��� �����. � �� �� �����

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

� �� �� TYPE_DEFAULT_TRACE�� ���� ����.

TYPE_PRIVATE ��� ��� �� ��� �����. ��� �� ��� ��� �

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

��.

TYPE_PUBLIC � ��� �� ��� �����. �� � �� � ���� �

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

� �����.

TYPE_STATIC �� ��� �� ��� �����.

TYPE_SVC ��� �� �� ��� �����. ����� ��� ��� ��

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

�.

���� �� ���� ��� �� ��� ����� ���� ����� ������.����� ���� ���� �� ���� �� � �� �� �� � � ����.�� ���� �� ���� �� � ����. Tivoli Kernel Services� ��� ����� ��� ��� ����.

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

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

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

�� ���� �� �� ���� ����. �� � �� �� �� ���� ���� �����. ORB, �� ���, ��� ��� �� ���� ������ ��� � �� �� ���� ��� ���� ����.

�� �� ��� �� ��� ����� �� ��� ����� ���� ��� �� ��� ���� �� ���, ���, �� ���� ��� � ��� ��� ����. �� �� ���� ��� �� ��� �� �� ���(�: ��� ���)� ��� ��� � � �����.

� ORB�� � ��� �� ���� ����. ���� �� ������� ��� ���� �� � ����.

10 �� 1.2

Page 25: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

��3�� �� �� �� �� �� ��� �� �� ���� ����. �� �� ������ �� ���� �� �� ��� �� ORB� ��� ����. Tivoli� �� ���� ��� �� � ��� , ��� �� ��� ����� ���� �� ��� ���� ���� �� �����.

�� ���� �� �� ��, �� �� ��� ���� ��� �� �� CLI(Command Line Interface)�� Tivoli �� ���� ��� �� � ����. Tivoli � �� �� ��� ��� ��� ��� ���� ����. �� ��� �� Tivoli � ��� �� ��� TivoliKernel Services �� �� Tivoli �� ��� ���� ���� .

�� ���� �� �� �� �� �� ��� ��� ��� ��� �� �� CLI� ���� � �� ��� ����.

�: � �� wcmd ����� ���� ��� �� ��� ��� ��� Tivoli KernelServices� ����� ���� ��� �����. ��� � ��, � wcmd � -u��� ���� �� ��� ��� Tivoli Kernel Services ��� ID� ���� ���. ��� ��� Tivoli Kernel Services ��� wcmd � �� � ���� ���� . ��, ��� �� �� ���� ���. ����� ������ ��� �� �� �� � ���� ���� ���� ��� ��� � ���� ���.

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

�� ��, 12 ���� ��4�� �� ��/���� ��� isLogging=false� ���� ����. �� ��� �� ��� �� � ��� �����. ��� �� ���� � �� � true� ��� �����. �� ��� ��� managerTrace� isLogging=true� ����.

�� 3. �� �� �� �

11Tivoli Kernel Services ��� ��

2.�

��

��

��

Page 26: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

��� �� � ��� ���� ����. � ��� ���� ��� �� �� ���� �� ��� �� ��� ���� �����. ��, �� ��� �� �� ����dirservice slashtrace� �� isLogging=true���.

��4��, �� �� ��� ��� ��� �����. �� ��, �� �� ���managerTrace�� �� ��(log.managerTrace)� �����. �� CLI � �� �, �� �� ��� (.)� �� �� �� ��� ��� �� �� ���. wcmd cfg CLI � ���� ��� (.)� �� ��� ���.

�� �� �� �� ��� �� ��� ORB ��� ������.

1. .orbdefaults: ���� � � �� ORB ��. Tivoli Kernel Services� ��� ��� ����, � �����.

2. .allorbs: �� ���� ���� �� �� � �� ORB �����.

3. ORB ��: ���� ��� ORB �� ����.

4. ORB: wcmds� �� �� �� ORB���.

�� .allorbs� �� log.managerTrace ��� ���� ��� �����.wcmd log -r .allorbs trace log.managerTrace -set isLogging=true

� -r �� � ��� � ����.

¶ ORB ��� � ����(�: orb/mymachine/mycorp/com_9990).

¶ ORB ��� � ����(�: orbset/testset �� .allorbs).

¶ ORB OID� � ����(�: 3.af17bdf834eae996.1.d6caaf2223f8f495).

�� 4. �� �� ��

12 �� 1.2

Page 27: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

��: �� Tivoli Kernel Services� �� �� �� ���� �� ��� ������ � ���� ��� � � ���� ��� ���.wcmd log trace -set isLogging=true

��, �� � ��� ����� (�� ���� �� � ���� �� �� �� ���� � �� � ����� ).wcmd log trace -g log -set isLogging=truewcmd log trace log log.managerTrace -set isLogging=true

�� �� ��� ����� ���� �� CLI� ���� ��� �� �� ��� � � ����. �� ���� �� �� CLI� ���� �� �� ���� �� ��� ��� � ���. ���� ���� ���� ���� � �� ��� ��� ���� � � ����. ������ �� ���� ��� �� �� ���.

�� �� CLI ���� �� CLI�� �� CLI�� �� ��� ����, �� �� ��� ��� ��� ������. �� ���� Tivoli Kernel Services ��� wcmd log trace� ���� .

�� ��� ����� ���� CLI� ���� ��� �� �� ��� � � ����. Tivoli Kernel Services ��� wcmd cfg � ���� . wcmd cfg CLI� ���� �� �� ���� ��� �� � ����. ��, wcmd log � ����� . � ���, ���, ��� ���� ��� �� � wcmd cfg � ���� ���. wcmd cfg CLI� ���� /com/tivoli/util/logging ��� ��� �� �� ����.

��� ��Tivoli Kernel Services� �� ���� �� �� ��� ����.

console �� �� ����(system.out).

msgFile ASCII ��� �� ��: $ORBDIR/log/messagen.log

trcFile ASCII �� �� ��: $ORBDIR/log/tracen.log

serialMsgFile �� ��� ��: $ORBDIR/log/serialMsgn.log

serialTrcFile �� �� ��: $ORBDIR/log/serialTrcn.log

logFile ASCII ��� ��: $ORBDIR/log/loggingServicen.log

logServerHandler �� �� ���� �� ���. ��� ��� 19 ������� �� ����� ���� .

log.dbHandler ����� ��� ��� �� ���. ��� ��� 23 ���� ��� �� �� �� ���� �� �������� .

log.dbReader ������ ��� ��� � �� ������.

log.dbDelete ������ �, �� �� ������.

��� �� ���� ��� �� ��� ����, �� � ����� .wcmd log children -p /com/tivoli/util/logging/handler -f

13Tivoli Kernel Services ��� ��

2.�

��

��

��

Page 28: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

-f ��� ���� ��� ��� �� ��� �����. -f ��� ��� ��� ����� �����. �� ���� �� ��� ������� �� � ��� ��� ����. �� � ��� ����./com/tivoli/util/logging/handler:/com/tivoli/util/logging/handler/logServerHandler/com/tivoli/util/logging/handler/SerialGlobalMsgHandler/com/tivoli/util/logging/handler/ConsoleMsgHandler/com/tivoli/util/logging/handler/SerialGlobalTraceHandler/com/tivoli/util/logging/handler/console/com/tivoli/util/logging/handler/RasPfSerialTraceHandle/com/tivoli/util/logging/handler/FWPConsoleErrMsgHandler/com/tivoli/util/logging/handler/RasPfMFileTraceHandler/com/tivoli/util/logging/handler/log/com/tivoli/util/logging/handler/logFile/com/tivoli/util/logging/handler/msgFile/com/tivoli/util/logging/handler/serialMsgFile/com/tivoli/util/logging/handler/sec/com/tivoli/util/logging/handler/MFileGlobalMsgHandler/com/tivoli/util/logging/handler/trcFile/com/tivoli/util/logging/handler/serialTrcFile/com/tivoli/util/logging/handler/ConsoleTraceHandler/com/tivoli/util/logging/handler/MFileGlobalTraceHandler

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

�� ��� ��Tivoli Kernel Services �� �� ����� ���� ��� ���� �� ��� ����� � ��� �� ���� ����. 15 ���� ��5�� ��� � �� �������, � ��� ��� �� �� �� ���� ����. �� ���� ����, �, �� �� �� �� �� �� ���� �� � ��� ���� ����.

14 �� 1.2

Page 29: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

��� �� �� �� trace1.log� ��� ��� ��� ��� �� �� �� ���� ��� ���.

1. ���� ��� ���� wcmd cfg put � ���� �� �� ���� ��� ��� ����� . �� MultiFileHandler �� ��� �� �����.wcmd cfg put /com/tivoli/util/logging/handler/<name you want>className=com.ibm.logging.MultiFileHandlerfileName=<name of your file>formatterNames= maximal

�� ��, ��� ����.wcmd cfg put /com/tivoli/util/logging/handler/directoryHandler

className=com.ibm.logging.MultiFileHandlerfileName=directory.logformatterNames=maximal

2. �� � ���� �� ��� ��� ���� ����� .wcmd log handler directoryHandler -contents

����� com.ibm.logging.MultiFileHandler� �� ���� ���� �� ���� ��� ��� ���� �� � �� �� �� ��� �����. ��� �� �� �� ��� 512KB���. ���� �� ��� �� � ����. ��� $ORBDIR/log ���� �����. ��, ���� �� ���� ���� ����. Tivoli Kernel Services� �� ��� ��� ���� � ����� .

�� 5. ��� � � ��

15Tivoli Kernel Services ��� ��

2.�

��

��

��

Page 30: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

�� ���� ��� ���� ���� ���� ����� �� � ����� .wcmd log trace <-g group or just a single component>-set handlerNames=<container you used above>

�� ��, ��� ����.wcmd log trace -g directory -set handlerNames=directoryHandler

�� �����6�� � ���� �� �� �� �� ��� ��� � �� ����. �� �� �� ����� ��� ORB�� ����� ���� � ����� ���� ������ �� ��� �� ORB� �� � ����. �� �� ��� ���� �� TivoliKernel Services � �� ����� ���� � �����. �� ��, �� �������� ���� �� ORB�� �� ���� ���� ��� ���� ���� ���� �� ORB� �� � ����.

�� �� Austin ��� ����� ��� �� ��� �� �� ���� ������� �� ��� �� ��� ���� �� ���� ���� ��� ���. � ���� �� �, �� �� �� �� � �� �� ��� ��� ���� �� � ����. �� �� �� ���� ��� ���� � ���.

��� ���� CLI �� Tivoli Kernel Services �� � GUI �� �� �� ������� ��, ��� ���� ��� � � ����. �� ��, ��6�� ���� �� � ��� �� �� ���� �� �� ���� �� � ���, � ORB� ���

�� 6. � ���

16 �� 1.2

Page 31: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

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

�� ��� �� ���� � ���� � ���� �� � ����.wcmd log trace <yourTraceLogger>

-set handlerNames=<orbName/yourHandler>

�� ��, ��� ����.wcmd log trace log.managerTrace

-set handlerNames=rshah1.dev.tivoli.com_9990/trcFile

�� � ���� �� �� �� ORB ��� �� � ����.wcmd info getOrbs

��� � �� ���� ���� �� �� ��� ���� ����. JLog� �� ���� ���, TivoliKernel Services�� �����.

AllMaskFilter�� ���� �� ��� �� ��� ��� ���� ��� ��� � ��� �� � ����.

AnyMaskFilter�� ���� ��� �� ��� ��� ���� ��� ��� � ��� �� � ����. � ��� Tivoli Kernel Services� ���� �� �����.

ExcludeMaskFilter�� ���� ��� �� ��� ��� ���� ��� ���� � ����� � ����. � ��� �� ��� �� ���� ���� �� ��� ��� �� �� �� ���� ���� ���� � ����.

msgFilter �� ���� ��� ����� ����.

� ��� ��� TYPE_DEFAULT_MESSAGE� AnyMaskFilter��, ���� ���� TYPE_INFO, TYPE_WARN, TYPE_ERR, TYPE_FATAL�� ����.

trcFilter �� �� �� ��� ����.

� ��� ��� TYPE_DEFAULT_TRACE� AnyMaskFilter���. ��� �� ��� ����� 9 ���� �1� ���� .

�� �� ��trcFilter�� �� �� ��� ���� �� �� ��� �� ��� ��� ���.

1. ��� ��� ���� wcmd cfg put � ���� ��� ��� ��� ����� . �� JLog AnyMaskFilter �� ��� �� �����.wcmd cfg put /com/tivoli/util/logging/filter/<name you want>

className=com.ibm.logging.AnyMaskFilter

mask=

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

17Tivoli Kernel Services ��� ��

2.�

��

��

��

Page 32: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

wcmd cfg put /com/tivoli/util/logging/filter/directoryFilterclassName=com.ibm.logging.AnyMaskFiltermask=DEFAULT_TRACE_MASK TYPE_PERF

2. directoryFilter� ���� �� �� ��� �� �� ����. �� � ���� ��� ��� ���� �� � ����.wcmd filter directoryFilter -contents

�� ���� �� ���� ���� ��� ����� �� ��� ����� .wcmd log trace <-g group or just a single component>

-set filterNames=<container you used above>

�� ��, ��� ����.wcmd log trace -g directory -set filterNames=directoryFilter

�� ��� ��Tivoli Kernel Services� ��� �� �� �� ��� ��� �� �� �� �� ���� ��� �� ���� ��� ���.

1. ���� ��� ���� wcmd cfg put � ���� ���� ��� ��� ����� . �� ��� �� ��� �� �����.wcmd cfg put /com/tivoli/util/logging/formatter/<name you want>className=com.tivoli.util.logging.MessageFormatterwcmd cfg put /com/tivoli/util/logging/formatter/directoryformatterclassName=com.tivoli.util.logging.MessageFormatterseparator=$

logServer=true

2. �� � ���� �� ��� ��� ���� ����� .wcmd log formatter directoryformatter -contents

��� � �� Tivoli Kernel Services ��� wcmd log formatter ����� .

�� �� �� ���� �� ��� ��� $ORBDIR/log�� ���� �� �� ��� � � ����.

1. $ORBDIR/bin/interp�� LOCKCfg.properties� ��� ���.

2. ��� � ��� ���� LOGDIR� ���� .

3. ���� ����� ORB� ��� � �� ����� .

��� �� ���DistributedLogManager� ��� �� ���� ����. �� �� ����� �� ��� ����� ���� �����. ����� �� ��� �� ��� ��� � �� ����. ���� ��� � ��� ���� ������. ��� ���� ���� ��� �����. �� ���� ��� ����� �����.

18 �� 1.2

Page 33: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

��7�� ���� ��� ���� �� �� ����� ���� ���� ��� ��������.

1. �� region� ����� �� region� �� �� �� ��� �� ���� �����.

2. �� region� �� ���� ��� �� �� ORB� ���� ��� ��� ��������.

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

�� �� ��(���(fr))� ���(� ���� ����� ��� ��� ��� �),�� ORB � � �� � ��(� ����� �� ORB ��� ��)� ��� ���� �� ��� �� ��� �� ��� �� ��� ���, � � ���� ��� ���� �� � �����. �� �� ����� �� �� ��� �����.

�� �� ����� �� �� �� ���� ���� ��� �� ���� �� �� � � �� ����� � �� �� ��� �� � ����. �� ���� ���� ���� ORB������ �� �� ��� � ��� ����. �� �� ����� ��� �� �� ��� �� ���� �� ���� �� �� ��� ���� ���� ��� ����.

Tivoli Kernel Services�� �� �� ���� ���� ��� ����. ��� ��� ���� ��� ����� � ����. �� �� � �� ����� ��� � ��� ��� �� ��, �� ���� �� �� ��� ������� �� � ������. � �� ��� � �� �� �� ���� ���� �����. �� �� ��� logServerHandler� �� ���� ��� � ����.

�� 7. ��� ���

19Tivoli Kernel Services ��� ��

2.�

��

��

��

Page 34: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

�� �� ��� logServerHandler� ���� �� �� ORB� ���� ���(�) ��� �� � ����. Tivoli� ���� ���(�) ��� �� � ����. ��� ��� ����� �� ��� � ��� ���� ���. �� ��� ����� �� ��� ���� ���. ����� ��� Tivoli Kernel Services ��� �� message1.log�� �� ��� �����. �� ORB� �� logServerHandler� ���� �� �� ���� ���� ��� ���. ����� logServerHandler� �� �� 10�� �� ������ � � � �� �� ���� ����. � ���� � ��� �� �� �����. ��� � ��� � ��� �� � ����.

¶ ����� � ��� ��

¶ ORB� � ��� ��

¶ �� �� ���� � ��� ��

� ��� ���� logServerHandler� �� �� ���� �� �� � �� ��� ���� �� ��� �����.

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

¶ �� �� ����� �� �� ���� ����� �� � ���� ��. �� ��, ��� ��� � �� ORB� �� ���� � �� ����� �� �� ������ ���� ���.

¶ � �� ���� ��� �� � �� �� ��� �� ����� ���� ���.

�� �� �� ��� �� ������� �� �� ���� � ���� �����. ��� ��� ���� � ���� � ����.14:32:13.681 FNGCP0031I Started component logging

version 5.1.1-200010142257

�� �� �� � ���� ��� �� �� ���� ���� �� ORB� �� �����. �� ��, �� logServerHandler� ���� ����� �� ��� �� ��������� . � logServerHandler� �� �� ���� �����. �� �� ORB�� �� ��� �� ���� ��� �, message1.log�� �� ��� �� �� ���� ����� �����. � �� ORB� ��� �� ��� �� �� ���.-r .allorbs� �� �� ���� ���. � � ���� logConfigure �� ����� ��� ���� .wcmd log message -r .allorbs

-set handlerNames=console,msgFile,logServerHandler

�� �� ����� �����, �� � ���� �� �� ���� ����� �� ��� �� � ����. �� �� ���� ���� �� ORB� �� � ���� ���. 7� ���� ��� ����� �� ��� log.dbDelete ���� ���� ��� � ����� .wcmd log message log.serverLogger -set handlerNames=log.dbDelete

Tivoli � �� ���� ����� ����� ���� �� � ���� ��� ����� ��� �� � ����.Select message_text from fng_logdata

20 �� 1.2

Page 35: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

�� �� �� ��� �� ����� 100� ��� �� �� ���� �� �� �� ������ �����. ��� �� ���� ���� ���� ����. � ��, �� �� ��� �� ����� �� � ����. �� �� �� ���� ��8� �� ��� �� �� �� ������� � ����.

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

1. � �� ORB�� �� �� ���� �� � ����. �� ��� � ORB����� �� � �� ORB ��� ��� ���. �� ORB ��� ���� ��� � ORB�� �� � ����� .wcmd info getOrbs

2. ���� �� �� �� ��� ��� ����� � �� ORB� �� � ����� .wcmd -i <idOrbName> svc ls LSM

�� 8. �� �� �� ��� ��

21Tivoli Kernel Services ��� ��

2.�

��

��

��

Page 36: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

3. � �� ORB�� ��� � ORB� �� �� ���� �� � ����. 2 ���� ��� ��� ����� . �� ��� v.r.m�� ���� ����.wcmd -i <idOrbName> cds deploy [email protected] <bootprintORBname>

4. �� � ���� ��� � ORB�� �� �� ���� ����� . � v.r.m� � ���� ����� .wcmd accmgr startService -s logging -v v.r.m

5. ���� ��� � ORB�� ������ ���� .wcmd svc ls LSM

6. 23 ���� ��� �� �� �� ���� �� ���� ����� � �� �� ����� ��� ���.

7. ���� ���� �� �� ��� ��� ��� �� ���� ����� .wcmd log message log.serverLogger -set handlerNames=log.dbDelete

�� �� �� ��� �� �� logServerHandler �� ������� logServerHandler� Service Manager�� �� �� ���� ����. ��� �� �� ��� �� ����� �� ��, �� ORB ��� �� �� �� ���� ��� ���� �� � ����. �� ��� � ORB ��� ��� � �� �� ������ ���� ���.

1. �� �� �� ���� �� ��� �� ORB� ����� . � ORB� �� ��ORB ��� ����� . ��� � ORB�� � � �� � ����.wcmd info crtorbset loggingset

2. �� � ���� �� ORB� �� OID� �� � ����.wcmd info getOrbs -oid

3. loggingServerOrb� orbName� ���� ���.wcmd log handler -r loggingset logServerHandler-set loggingServerOrb=<orbName>

4. ORB� � ORB ��� ����� . �� ��, �� � ����� .wcmd info joinOrbset <orbset> <orb>

���, <orb>� ORB �����.

�� �� ��� �� ���� �� ���� ����� logServerHandler� �� 1 �� �� ��� log.serverLogger� ���� ���(23 ���� ��9 �).

1. logServerHandler� �� 1 �� �� ���� ��� �� ���� ����� .

wcmd log message log.serverLogger -set handlerNames=logServerHandler

2. �� ��(�� 2) �� �� ���� orbName� ����� .

wcmd log handler -r loggingset logServerHandler -setloggingServerOrb=<orbName>

22 �� 1.2

Page 37: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

��� �� �� �� ������ �� ��� �� ���� � �� �� ����� ��� �� ��, �� �� ����� ���� ����� ���. tdacl.bat ���� �� tdacl.sh ����� �������� �� ��, logging��� �� �� ���� secaudit�� � �� ����� �������. Tivoli Kernel Services� �� �� �� ���� ��� ����. tdacl ����� ���� � �� �� � ��� �� �� ����� �� �����.

�� �� ����� ��� ����� �� ��� � tdacl ����� ����� .

�� 9. �� �� ��� ��

23Tivoli Kernel Services ��� ��

2.�

��

��

��

Page 38: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

1. DB2 ��� ID ��� ���� DB2 ���� �� ��� ������ .

2. DB2 �� ��� .

3. � CD-ROM� util ���� ���� .

4. ��� �� tdacl ����� ����� .

DB2:

LOG_DATABASE ��� � ���� ���� ���� .

Oracle:

LOG_USER ��� � ���� ���� ���� .

5. tdacl ����� ���� �� �� ����� ����� .

�: tdacl ����� ��� �� �� ″�� ″� � ��� . tdacl� �� ������ Tivoli Kernel Services �� ��� ���� .

��� �� �� � �� ��� ��� � ���� ���� � ��� �� DB2��� ID ��� ���� ���� � tdacl ����� ������ .

Secaudit �� �� �� �� ������ ��� ���� Tivoli DAS(Data Access Services) ��� �� ��� � ��� �� ���� ���� ��� ���. � ��� �� �� tdacl ����� ���� �� �� ����(secaudit �� �� �� �� ����)� ��� ���� ���.

Tivoli � ���� ���� ���� ���� ���� �� �� ����� ����� . ��� ���, � ���� ���� �� Tivoli � ���� ��� ��� ����. �� �� ��� �� ORB �� ORB� ���� ��� � ����� .�� ��, � �� ���� ���� �� Tivoli ���� ��� �� �� orb.2��� ��� ���� ���.

Tivoli DAS(Data Access Services)� ���� �� ����� ��� ����� .

1. ORB� ����� .wcmd orb shutdown

2. Tivoli DAS(Data Access Services) ��� ����� . Tivoli DAS �� �� ��� �� ��� Tivoli Kernel Services �� ���� .

3. Tivoli DAS �� ������ �� Tivoli DAS �� ��� ��� ���� .

4. ��� �� tivsql.cfg ��� ���� database name� �� �� ���� ���� ���� .

¶ DB2

[database name]

DEFAULT=FALSE

DB=database name

DRV=DB2CLI

SRVR=database name

QUAL=db2admin

DBMS=DB2/2

¶ Oracle

24 �� 1.2

Page 39: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

[database name]

DEFAULT=FALSE

DB=database instance name

DRV=XOOR

SRVR=database instance name

QUAL=database name

DBMS=ORACLE

5. ��� �� dasOrbCfg.tks ��� ����� .

¶ Tivoli DAS �� �� ��� �� �� �� ��� ����� .DAServer.datasources=slash,tmd,ps,database name

¶ �� � � � �� ��� ���� database name� Tivoli DAS �� �� ���� ���� .DAServer.datasource.database name.use_xa=noDAServer.datasource.database name.threadpool=20DAServer.datasource.database name.queue_size=102

6. Tivoli DAS ��� �� ����� . Tivoli DAS ��� �� ���� ��� �� ��� Tivoli Kernel Services �� ���� .

7. � ���� wcmd dir setdbinfo � ���� � �� �� ����� ����� ����� . � � �� �� ���� �� ����� ����� ���� ��� ��� Tivoli DAS �� ��� ��� �� ��� �����(���� ��) ����� .

� � ���� �� �� ���, � �� ���� �� �� �� �� ����� ����� �� � ����. ���� ���� �� � �� ��ORB�� � � ���� ���. �� ��, ORB 1�� � � ����� ����� ����� .wcmd dir setdbinfo -o 9990

ORB 2�� � � ����� ��� �� ����� .wcmd dir setdbinfo -o 9991

wcmd dir setdbinfo ��� �� ORB�� ���� ���. �� ��, � ���� ���� �� Tivoli ��� ��� ���� �� �� ORB 2�� � ����� ���.

secAuditVault� �� �� ��� ���� � �� ����� ����� �� � ������� ���� . ��� � ��, ��� ��� ����� ���� �� ��� �� ��� ����� .

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

¶ ���� ��� ����� ���� Tivoli DAS ��� ��� ��� ����� .

¶ �� ��� 8001� ���� �� �� �� �� ��� ����, ��� � ���� Enter� ���� .

¶ ���� �� Tivoli DAS �� �� ���� ���� .

�: ���� � ����� ����� dasDsnCfg.tks ��� ��� � ��� ���� ���.

25Tivoli Kernel Services ��� ��

2.�

��

��

��

Page 40: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

¶ DB2 �� Oracle ��� ID ��� ����� .

¶ �� ���� ����� com.tivoli.das.jdbc.daDriver� ���� ��� ��� �Enter� ���� .

8. �� �� �� ����� ����� �� ��� �� �� ���� ���� ���(� �� � �� ����� �� ��� �����). �� � �� � �� ���� �� ��� �� ��� ���� �� ��� �� ���� ����� .wcmd log handler <databaseHandlerName> -set vault=<vaultFileName>

9. �� � ���� ��� ��� ���� �� ���� ��� ����� .

wcmd log dbtest -l <dbhandler_name> [-p]

��� dbhandler_name ��� ���� ����, [-p]� ���� �� �� ��������.

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

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

����� �ORB� ��� �� $ORBDIR/log�� message1.log� � � �� �� ��� ������? ����� ��� ���� �� ����� �� ��� � � ����.

1. $ORBDIR/bin/interp�� LOCKCfg.properties� ���� .

2. JVMARGS� �� ��� ����� .

-Dcom.tivoli.util.logging.bootTrace=true

3. ��� �� $ORBDIR/log ���� bootstrap.log ��� ����.

4. ���� ����� ORB� ��� � �� ����� . ORB� ���� �� ���� � �� ��� Tivoli Kernel Services ��� ��� ���� .

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

¶ log.managerTrace� �� �� �� ���� �����. �� �� ��� �� ��� TYPE_PERF, TYPE_MISC_DATA, TYPE_ENTRY TYPE_EXIT� ����� .

¶ log.serverHandlerTrace� �� �� ��� ��� �����. �� �� ��� ����� TYPE_MISC_DATA,TYPE_ENTRY TYPE_EXIT� �� ��� ����� .

¶ log.dbHandlerTrace� ���� ���, ���� ���, ���� �� � ��� �� �� ��� �����. �� �� ��� ����� TYPE_MISC_DATA,TYPE_ENTRY TYPE_EXIT� �� ��� ����� .

�� ����� �� ��� ���� FNGLG ��� �����. � � ����� ��� ��� ���� �� �� , Tivoli �� �� �� �� � ����. Tivoli � ��� �������� � �� ��� ��� 91 ���� �Tivoli ��� ���� ���� . �

26 �� 1.2

Page 41: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

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

¶ FNGLG00 - �� �� ���

¶ FNGLG01- �� �� ���. �� �� ���� � ����� ���� �� �� �� �� � ��� ����� �� �� � �� ��� ����� �� �� ��� ���.

¶ FNGLG02- ���� ���. ���� ���� � ����� ���� �� ��� �����.

¶ FNGLG03 - �� ���. �� ���� � ����� ���� �� �� �� ���� ���� ���� ���.

���� �� ��� ASCII ��� ��Tivoli Kernel Services� �� �� ��� ���� ��� ����. � ���� ������ ��� �� ��� �� �� �� ��� �� ����. ���� ���� ��� ��ASCII �� ��� ��� ��� ���� �� � �� ��� ����� �� ���� �� ����. � ���� ��� Tivoli �� �� � � ����. � ��� ����� Tivoli Kernel Services� �� ��� ����� ����.

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

1. �� �� ��� JAR ��� �� �� ��� ��� ����� . � � JARDIR��� ��� �� ��� ���.

Windows C:\Tivoli\orb.1\cd, ��� C:\Tivoli� Tivoli Kernel Services� �� ���� �����.

UNIX /Tivoli/orb.1/cd, ��� /Tivoli� Tivoli Kernel Services� �� ���� �����. ��� �� [email protected]� ���� ��� � �����.

2. � ��� �� �� ORB� �� UNIX ����� setupEnv.sh� ����� Windows����� setupenv.bat� ����� .

3. ���� ��� ��� � �� ��, � ��� ��� �� � �� CLASSPATH� ��� ���.

�: Tivoli Kernel Services� ��� � �� � CLASSPATH� ����. Tivoli������� ��� ��� ����� CLASSPATH� ��� � ��� ���� ���.

4. �� �� �� ����� � �� ��� �� ���� ���� .

convertSerialLog ����� �� ���� ����.

Windows <Tivolidirectory>\orb.1\bin\w32-ix86

UNIX <Tivolidirectory>/orb.1/bin/generic

��� <Tivolidirectory>� Tivoli Kernel Services� �� ������.

���� �� �� ����� orb.n/log ���� ����.

27Tivoli Kernel Services ��� ��

2.�

��

��

��

Page 42: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

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

convertSerialLog <base name of serialized log files> <output ASCII file>

�� ��, �� ���� �� ��� ��� � ��� ASCII �� output.txt� ������� � ����� .

GlobalSerialMsg1.log GlobalSerialMsg2.log . . GlobalSerialMsgN.log

convertSerialLog GlobalSerialMsg.log output.txt

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

28 �� 1.2

Page 43: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

�� ��� ��

Tivoli Kernel Services � ��� ����, �� ���� �� Tivoli Kernel Services��� ���. �� � ������ ���� �, � �� �, ��� �� �� � ��� �����. ��� ����� ��� ��� �� Microsoft® Windows���� install.bat� �� �� UNIX �� ���� ./install.sh� ���� �����. ����, � �� �� ��� � �� �� ��� �� � �� �� ������. � ��� �� � ��� � ���� ��� DB2, Tivoli DAS ��, MQSeries��, � �� ��� � � ��� ���� ��� ���.

�� ����� ��� ���� �� ��� � ��� ���� ���. Tivoli KernelServices� �� � �� ��� �����.

¶ tksOut.log: ��� ��� ���� �� ���� �� ���, � ���� ��� ���� ��� �����.

¶ tksErr.log: ��� � ���, ��� �� ���� �� ���, � �� � ��� ��� �� �� �� � ���� ��� �� �� �����.

� � �� �� ��� �� temp ���� �����.

¶ AIX: /tmp.

¶ Sun Solaris: /var/tmp.

¶ Windows NT: C:\temp.

¶ Windows 2000: C:\Documents and Settings\<user ID>\Local Settings\Temp.

��� ���� temp ��� ��� � � ����.

�� ��� ��� tksOut.log tksErr.log� �� �����. �� ��� ���� �� � ��� �� �� � ��� �����. � �� �� � �� ���� �� �� ��� �����. �� �� ���� �� �� �� ��� ���� ����. � �� ��� ����� ���� ����. Tivoli DAS, tdacl ����, MQSeries IBM HTTP���� �� Tivoli Kernel Services � ��� �� �� ��� ��� �� � ��� ����. �� ��� �� ��� ��� 7 ���� ��� �� ���� ���� .�� ��� �� Tivoli Kernel Services � ��� ���� ����.

3

29Tivoli Kernel Services ��� ��

3.�

��

��

��

Page 44: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

� 2. Tivoli Kernel Services � ��

� Microsoft Windows UNIX

� ���� ��

��

NT:%TEMP%\tksOut.log

2000:\Documents

S e t t i n g s \ u s e r i d \ L o c a l

Settings\Temp\tksOut.log

/var/tmp/tksOut.log

� ���� �

��

NT:%TEMP%\tksErr.log

2000:\Documents

S e t t i n g s \ u s e r i d \ L o c a l

Settings\Temp\tksErr.log

/var/tmp/tksOut.log

MQSeries �� �

��

M Q _ B A S E D I R \ e x t \ m q m \ t k s S i \

tksInstall.log

AIX:/usr/mqm/tksSi/tksInstall.log

Solaris:/opt/mqm/tksSi/tksInstall.log

tdacl log %TEMP%/tdacl.log %TEMP%\tdacl.log

Tivoli DAS �� �

��

DAS_BASEDIR\ext\das\server\tksSi\

tksInstall.log

DAS_BASEDIR/ext/das/server/tksSi/

tksInstall.log

IBM HTTP �� �

��

TKS_BASEDIR\ext\ibmhttpd\tksSi\

tksInstall.log

TKS_BASEDIR/ext/ibmhttpd/tksSi/

tksInstall.log

DB2 �� ��� ��Tivoli Kernel Services� �� � �� �� ���� � �� �� ����� DB26.1 FixPack6� DB2 7.1 FixPack2� �����. ����� tdacl ����� ���� �����. ����� UNIX ���� �� tdacl.sh, Windows ���� �� tdacl.bat�� � ��� util ��� �� ����. ��� ����� DB2 ���� ���� ��, ����� ����� DB2 ���� ����� ���. UNIX�� DB2 ��� ���� db2profile� ���� ���. db2profile /<db2user home directory>/sqllib� ����. Windows 2000 �� NT��� �� � �� DB2 �� ���� DB2 ��� ���� . DB2 ��� ��� �� ��� tdacl ����� ��� ��� ����. tdacl ��� �� ��� �2� ���� . ��� DB2 tdacl � ��� TivoliKernel Services �� ����.

DB2� � � ��� �� ���� ����� . ������ ��� � �80-150MB��, UNIX��� DB2 ���� ����, NT��� DB2 � ������ ����� 150MB� ��� �����. AIX� DB2� � � AIX IPC ���DB2� � ��� ��� ��� ���. AIX 4.3.3.0� ��, ������ 12�� � ��� ����� �����. ��� ���� AIX 4.3.3.16�� �������. ��� ���� �� �� �� ����� ����� ������� DB2� � ���� ���� �� TCP� ���� ���� ����� �� ���. TCP/IP� ���� ��DB2 ��� �� ��� ��� 44 ���� �Tivoli DAS �� - DB2�� ���� . SunSolaris ��� DB2� � �� Tivoli Kernel Services� ���� �� ��� ��� � �����. �� � ���� ���� DB2 � ��� ���� . DB2 ��� ��� ���� semsys:seminfo_semume 50� ��� ������.

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

30 �� 1.2

Page 45: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

� ��� tskOut.log tksErr.log� �� ��� �����. ��� �� ��� ����� � ���� ��� ��, � �� ���� � ��� ����.

¶ DB2 ��� ID ��� ���� ����.

¶ DB2 ����� ���� � �� ��� ��� �������.

¶ DB2 ����� ���� �� ��� ��� ��� � ���.

¶ DB2 ����� UNIX�� ���� � ���.

¶ tdacl ����� ���� � ���.

Tivoli DAS �� �� ��� �� - DB2Tivoli DAS(Data Access Services) ��� ��� �� �� Tivoli Kernel Services� �� �� ���� ���� � � ���� ���� ������ �� ID ORB��� ��� ��� ���. Tivoli DAS ��� DB2 �� �� ��� ��� ���. Tivoli DAS ��� Tivoli Kernel Services� ��� ���, Tivoli Kernel Services�� �� �� ����. � ���� ���� Tivoli DAS ��� �� ����� ��� �� 20MB� ��� �� ��� �����. �� ���� � ��� ���� ��� �� �����. Sun Solaris ���� Tivoli DAS ��� ���� ��,��� Sun Ultra � � ���� ���. ��� ���, Tivoli DAS ��� � ��� ��� �� �� � ����.

� �� ��� ��� Tivoli DAS �� �� �� � ����. ���� � � � ��� ���� ��� db2java.zip ��� � � �� �����. � ���� Tivoli DAS�� �� ��� � �� ��� �� ����. AIX �� Solaris ��� Tivoli DAS��� ��� ��, db2profile� ��� ���. Windows NT �� 2000 ��� Tivoli DAS��� ���� ��, Tivoli DAS ��� ��� �� �� ��� �� ���� �� ��� <DB2DIR>/SQLLIB/BIN� ���� ��� ����� .

Tivoli DAS �� �� ���� ��� ���� � Tivoli DAS �� � ���� tdacl ����� �����. ��� tdacl ����� ���� �� � ��� �������. Tivoli DAS ��� ��� �� tdacl ��� ������ ����� .

�� �� tdacl ����� �� � �� Tivoli DAS �� ���� ��� ���� ���� � � ����. ��� � �� ����� �� � ����.

¶ UNIX� DB2 ����� ���� � ��

¶ DB2 ��� ����� ���� �� ��

¶ ���� � DB2 ��� ID ��� ���� ��

¶ DB2� ���� � ��

¶ DB2 �� ���� ��� ����� �� � ��� ����� .

MQSeries �� �� ��� ��������� JMS(Java Message Service)� ���� ����� ���� �� �� �� � ��� MQSeries ��� ����. Tivoli Kernel Services� QM-<fully-qualified-hostname>��� �� �� ��� � ���� ���� MQSeries� � �� � ����� ����. ��� MQSeries ��� ��� ��� ��� ����� �� ����� . �� �� �� ������ ��� ��� ���� ��� Tivoli Kernel Services�MQSeries ��� ��� � ����.

31Tivoli Kernel Services ��� ��

3.�

��

��

��

Page 46: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

��� ��� ��� ��� �� �� ��� ����� �� ��, MQSeries �� ��� ���� ����� Tivoli Kernel Services ������ ��� �����. TivoliKernel Services ����� ORB� �� ��� ��� ��� �� � �����. ��� ��� �� kendall.myorg.mycompany.com �� kendall� � �� ��� ��� ����� ��� ��� ����.

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

Solaris

/etc/resolv.conf ��� �� �� ��� ��� � ��� ��� ���� ��� ����� .

domain myorg.mycompany.com

nameserver 123.123.123.123

/etc/nsswitch.conf ��� ��� �� ���� ��� ��� �� ��� ��� �����.

hosts: files

/etc/hosts ��� ��� �� ��� �����. �� ����� ��� ����� .

1. /etc/nsswitch.conf ��� ��� ��� �� ���� .

hosts: dns nis files

2. inet ���� ����� .

/etc/init.d/inetsvc stop

3. inet ���� �� ����� .

/etc/init.d/inetsvc start

4. ORB� ����� ���� ����� .

Windows NT

���� ��� � DNS ��� ����� (�� -> �� -> ��� -> ���� -> ���� -> �� ��... -> DNS). ������ ��� �� ���� .

Windows 2000

���� �� ��� �� ���� � DNS ��� � � ����. � DNS ��� ��� ����� ����� ��� ����� .

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

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

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

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

4. �� ��� ��� ���...� ���� .

32 �� 1.2

Page 47: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

5. � ���� � DNS �� ��� ��� ��� ����� .

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

AIX

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

¶ BIND/DNS(�� ���)

¶ ���� �� ���(NIS)

¶ �� /etc/hosts ��

AIX� �� ��� ��� ��� ���� ��� ��� ����� .

1. /etc/resolv.conf ��� �� �� ��� ��� � ��� ��� ���� ��������� .

domain myorg.mycompany.com

nameserver 123.123.123.123

(/etc/resolv.conf ��� ���, �� /etc/hosts ��� �����).

2. nis+� ��� �� ��, /etc/irs.conf ��� �� �� �����.

hosts = bind,local

3. /etc/netsvc.conf ��(�� ��) ��� �� � � ��� /etc/irs.conf ��� �����.

settings in the /etc/irs.conf file

hosts = bind,local

4. NSORDER �� �� �� ��, �� �� ��� �����.

export NSORDER=bind,local

5. /etc/hosts �� ���� ��, ��� ��� ��� IP �� ��� ��� �� ����� ���.

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

MQSeries �� ���� �� �� ��� Windows NT� �� � ����. InternetExplorer 4.01 ��, ��� � 1 ��� ���� ���. Windows 2000 ����� ��� ����(640x480)� �� ��, MQSeries �� ��� �� � ����. �� �� ����� �� ���� ��� 5MB� ��� ��� �� ��� ���. MQSeriesWindows � ����� �� � ��, �� �� �� ��� �����. �� ���C:\setup.log� ��, �� ��� MQSeries� �� ��� �(<MQDirectory>\data\amqilogn.txt)� ����. �� Tivoli Kernel Services � ��� �� �� 30 ���� �2� ���� .

33Tivoli Kernel Services ��� ��

3.�

��

��

��

Page 48: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

MQSeries Tivoli DAS ��� �� Sun Solaris ���� ���� ��, MQSeries ��� ��� ��� ���. MQSeries ��� �� �, /etc/system ���/etc/system.updated.1 ��� ��� ���� �� ���� .

Oracle �� ��� ��Oracle ����� � � Tivoli Kernel Services �� ����� �� ��� .��� � ���� Oracle ��� �� �� �� �� ��� ����.

http://technet.oracle.com/doc/platforms.htm

�� ���� Oracle �� �� ��� ����.

¶ Windows NT �� 2000 ��� Oracle ����� � �, Oracle �� ������ � ORACLE_HOME� ��� ��� ��� ����. ��� Tivoli KernelServices� ��� ���� � �� ������ �� �� ��� ��� ���.� � Oracle� �� ���� ��� ���� ���. � �� ��� ���,�� ���� ����.

¶ Tivoli DAS �� ����� Oracle� �� ��, tdacl ����� ��� � sys��� sys ��� ����� .

�� � ��� ��Tivoli Kernel Services �� � �� � ��� � �� � ���� �� ����. ��� ���� � �� �� �� �� ��� Tivoli Kernel Services �� ���� .

¶ MQSeries ��, ���� �� ��, ���� ��, ���� ���, ���ID �� ��� ��� ���� ��

¶ � �� ORB� �� ��� �� � ��

� �� �� DB2, Tivoli DAS ��, MQSeries �� ���� ���, ��, ���� ��� �����. ���� � ��� ��� �� Tivoli DAS �� MQSeries��� ��� ���� ���. � ��� �� Tivoli Kernel Services ����� �����.

� �� �� ����, �� � �� ��� �� ���� ��� ���. �� ���� ��� �� � � ����. � ��� ��� �� ���� �� �� �� �����. tskOut.log ��� �� �� �� ��� ��� �� � ����. �� � ��� �� ��� ��� 29 ���� �� ���� ���� .

UNIX ����� � �� �� ���� ��� ��� � ����� �� ���� ���� �� ��� ���� �����. Tivoli Kernel Services �� �� ����� � ��� ������ Swing� �����. X-� �� ��� 8���� � ��� ���, �� ���� �� ��� �����. �� ��� 8��� ��� �� ��� ���� ����. PATH �� � ��� �� ��� ��� �� ��� �� �� ��� ��� �����. ��� ��� ����, PATH �� � ��� ��� � ����� �� ����� .

Microsoft Windows ��� Tivoli Kernel Services� � �� NTFS ����� ��� ����. Tivoli� FAT �� ����� ���� ���� Tivoli Kernel Services���� � � ���, � �� �� �� ���� �� ��� ���� �����.

34 �� 1.2

Page 49: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

����� �� ��� ����� � �� ����� � �� Tivoli Kernel Services ORB� ���� ������� �������. ��� �� �� �, ����� �� �� ��� � ���� ���� �� � ����. ��� ��� � �� � �� �� �� �������. ��� � �� ����, �� � �� ��� �� ���� ��� ���.�� ���� ��� �� � � ����. ��� �� ��� �� ������ �� �� �����. tskOut.log ��� �� �� �� ��� ��� �� �����. �� � ��� �� ��� ��� 29 ���� �� ���� ���� .

��� � �� �� ��, � �� ��� � Winsock ������� ���� ��Microsoft Windows ��� ��� �� ���� �����. Winsock TCP/IP� �� ��� � �� ����� Windows �������. ��� ������� ��� �� ���� ����, ��� ����, �� VPN �� �� � � ����. ��� ����������� ���� �� ��� ��� �� � �� ����. �� ��� ����� �� ��� ��� �� ��� �� � ����.

��� � �� ���� ��� ���� �� ��� � � ����. ��� �� ��� ��� � ORB� ID ORB� ���� ��� ��� ���. ��� � ��,�� �� ��� �� � ����.

¶ ID ORB� � ��� ��

¶ ID ORB� �� ��� 9990� �� �� ���� ���� �� ��

¶ ID ORB ��� ��� ���� � ��

¶ ID ORB ��� � ORB�� �� ��� ���� ���� ��� �� ��

¶ ID ORB ��� DHCP� ���� ��, ��� ��� ���� � ��

ID ORB� � �� ����� �� ���� ���� �� ��, tksErr.log�� �� �� ��� �� ��� �����. ��� � ID ORB�� ���� �� ��, ORB��� � ��� ���� �� ��� �� ��� ����� . ID ORB ��� DHCP������ ���� �� Microsoft Windows NT �� 2000�� ���� �� ��, ������ ��� �� DSN� �� ��� �� � ����.

Microsoft Windows NT� ���� �� ��, �� ��� ���� ��� ��� IP ��� ����� ����� .

1. �� ���� ���� ID ��� Ping��� . IP ��� ����.

C:\> ping demo.dev.tivoli.com

2. �� ���� � IP ��� -a ��� ���� Ping��� .

C:\> ping -a 146.84.1.1

-a �� DNS� IP �� ��� ��� ��� �����. � ���� ��� ������ �� ��� ��� ��� ��� �� ��, TCP/IP ��� ��� ��� ����� .

Microsoft Windows 2000� ���� ��� ��� nslookup� �� ��, �� ��� ���� ��� ��� IP ��� ����� ����� .

1. ��� ��� ���� nslookup� ����� .

35Tivoli Kernel Services ��� ��

3.�

��

��

��

Page 50: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

nslookup demo.dev.tivoli.com

2. �� ���� ��� IP ��� ���� nslookup� ����� .

nslookup 146.84.1.1

��� �� ��� ��� ��� ���� ���. ���� ���, TCP/IP ��� ������ ����� .

36 �� 1.2

Page 51: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

���� �� ��� ��

Tivoli Kernel Services� ��� ���� ������ ����� ��� ��� ���� ����. ��� ����, �� � � � �� �� �� ��� ���� ���. ��� ���� ���, 63 ���� ����� �� ���� ��� ������ ��� ����� .

� � � 1���� DB2 ���� �� ��� ��, � 2���� Tivoli KernelServices DB2 ���� �� ��� ���, � 3���� ID �� ��� � �� �� ��� ��, � 4�� � 5���� Tivoli DAS �� MQSeries �� �� ������, � 6���� ID ��� � ORB �� ���, �� ���� Tivoli � �� ��� �� ���.

Tivoli Kernel Services ������ ��Tivoli Kernel Services ���� ��� ��� � ��� ���� �� ��� ����� ��� ���. ��� ����� ��� �� Tivoli Kernel Services ����� ��� ���� �� �����. DB2 ����� ��� ��� ��� �� ��� ��� Tivoli Kernel Services �� ���� . ��� ���� ��� �� ���� ���� ��� � � � �� ��� ���� ���.

��� ��� ���� ��, � � ���� �� �� ORB� ��� � Tivoli DAS��� ����� . �� �� ����� ��� � ��� �� ��� �� ������� ��� ��� ����� � ��� � � Tivoli DAS �� ORB� ������� .

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

db2 backup database <database name> online

�: ���� � �� ��� ��� �� ��� ��� ��� ��� ��� ����� .

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

1. DB2 ��� ��� ����� .db2 restore database <db name>

�: ����� � �� ��� �� SYSADMIN �� SYSCTRL ��� �����.

2. DB2 ��� ��� ���� � ��� ��� ��� �� �� ��� ����� .db2 get database configuration for <db name>

4

37Tivoli Kernel Services ��� ��

4.�

��

��

��

��

��

Page 52: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

3. �� ��� ����� ���� ����. ���� � �� �� �� �� �� ������� ��� ��� ���� � ��� ��, ����� � ��� �� ��� �����.

4. �� � �� ���� �� ��� �� ���� �� �� ��� ����� .

5. DB2 ��� ��� ����� .db2 rollforward database <dbname> to end of logs and stop

6. DB2 ��� ��� ���� �� ���� ��� ���� � ��� ��� ��� ����.db2 rollforward database <dbname> to yyyy-mm-dd-hh.mm.ss.xxxx and stop

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

� � ���� �� �� ��� ��� DB2 Universal Database Command Reference� ���� .

Tivoli Kernel Services DB2 ������ ��Tivoli Kernel Services� � ��� ���� �� ��� ����� ��� ���. ��� ����� ��� �� Tivoli Kernel Services ����� ��� ���� �� �����. DB2 ����� ��� ��� ��� �� ��� ��� TivoliKernel Services �� ���� . ��� ���� ��� �� ���� ������� � � � �� ��� ���� ���.

Tivoli Kernel Services DB2 ���������� � �� � �� � �� DB2 �� ����. ��� �� � �� � �� ��� ��� ���� ����� �� ��� ��� �� �� � ���� �� ���� �� �� ��� ���� ���.

DB2 �� �� � �� � ��� � �� ��� ����. ��� � �������� ����, � �� �� ��� ��� �� �� ��� ��� ���(�:SQL1005N �� DB21056W). �� ��� ��� �� ����� ��� ��� �� �� ��� ����. �� �� ��� �� ��� ��� � � ���� DB2 � ���� ��� �� � ����� .

db2 ? <error key>

��� <error key>� ��� �� ��� � ���.

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

db2 ? SQL1005N.

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

��� ���� ���, �� ��� db2diag.log� ����. � �� <instancedirectory>/sqllib/db2dump ���� ���, DB2 �� ���� ��� �� DB2 ��� �� �� ����. � ��� �� �, ���� �� ��� ��� ��� �� �

38 �� 1.2

Page 53: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

��� ��� ���. db2diag.log� ����� ��� ��� �� ��� ��� ���, ��� �� � ��� ��� ����. db2diag.log� �� �, DB2 �� ��� db2 ? <error key> � ���� ��� ���� �� � ����.

� DB2 ���� �� ����� ����� ������� �� ��� DB2 ���� ��� �� � ����. DB2� DB2 �� �� ������ � ��������� ���� ���� �����. ���� �� ���� ��� ��� � ����. ���� ��� �� ���� ���� � ���� ����� ������������� ���� SQL1005N �� �����.

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

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

db2 drop database <db name>

�� db2 uncatalog database <db name>

��� <db name> ���� �� ���� �����.

� � ����� �� ���� ��� drop uncatalog ��� ��� � ��� ���. drop DB2 ���� �� ���� �� ��� �� ���� ����� �� � ����. uncatalog ���� � ���� ����� �� � ����. ���� ��� ����� ����� �� ����� �� �� �� catalog ���� � ���� ���. uncatalog ������ � ����� ���� �� ����� ����� ���� �����.

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

db2 catalog database <db name>

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

db2 drop database <db name>

��� <db name> �������� �� ����� �����.

���� ��Tivoli Kernel Services� ���� �� ��(�: � ����� ��, �� � �� ��, , � �)� tdacl ����� ��� DB2 ����� ����. ����� ��� ���� �� ����� .

�� �� �� ��� ���� Tivoli Kernel Services� �� ��, ���� ��� ��� ��� �� � ��� ��� �� ���, ��, ��� ���� DB2 ����� ����� ����� . Tivoli Kernel Services �� ��� ��� ����.

39Tivoli Kernel Services ��� ��

4.�

��

��

��

��

��

Page 54: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

Tivoli Kernel Services DB2 ������: �� ���� ���� �� DB2 � �� �� , �� ���� �� � � �� ���� ����.

¶ SQL1116N ��� �� ����. �� �� ��� ���?

v �: � �� ����� � �� ��� �� ��� ��� ������� � ��� �����. ������� ����� ��� � ����. ����� �� ��� �� �� ��� � ��� �� �� ��� � �� �������� ����� ���� ���� �����.

v �: �� � ���� �� �� ���� ���.

db2 backup database <db name> to <directory>

��� <db name> �� ����� ����, <directory>� �� �� ������.

¶ SQL1117N ��� �� ����. �� �� ��� ���?

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

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

– � ���� �� ���, ��� ���� ����� ���� .

db2 restore database <db name> without rolling forward

�: � �� � ��, without rolling forward ���� ����� � ��� �� ��� ����� ���. � � �� ��� ���DB2 �� ��� ���� .

– ����� � ����� ��, ��� ����� .

db2 rollforward database <db name> to end of logs

�: ����� �� �� ��� � ����� �� � ��� ���. ���� � �� ��� ��� DB2 �� ��� ���� .

¶ SQL1224N ��� �� ����. �� �� ��� ���?

v �: � �� ��� ��� �� � �� �� � ��� �����. � �� ���� 1� � AIX�� DB2� �� � AIX IPC ��� DB2� � ������ ��� �� �����. AIX 4.3.3.0� ��, � ����� 12�� � ��� ����� �����. � ���� AIX 4.3.3.16�� �������. � ��� �� ��� �� ����� ��� ������� DB2� � ���� ���� �� TCP� ���� ���� ����� �� ���. TCP ��� �� DB2 ��� �� ��� ��� 44 ���� �Tivoli DAS �� - DB2�� ���� .

AIX�� DB2� ���� �� � ��, DB2 � ���� ��� db2 ? sq12224n� ���� �� �� �� � � �� ��� �� ��� ��� ���� .�� �� ���� ��� ��� ���� �� ���� �� ����� �����.

40 �� 1.2

Page 55: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

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

– maxagents(DB2 ���� �)

– numdb(DB2 ���� �)

– maxappls(�� ���� �)

v �: � ����� ��� maxappls� maxagents � ���� ���� ���. numdb � TKS ����� ��� ���� �� 11�� ��� ���.

– DB2 ���� � �� ����� DB2 � ���� ��� �� � ���� variable=value �� ����� .

db2 get dbm cfg

– �� ���� � �� ����� DB2 � ���� ��� �� ����� variable=value �� ����� .

db2 get db cfg for <db name>

��� <db name> ��� �� ����� �����.

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

db2 update dbm cfg using <variable name>=<value>

��� <variable name> � ����, <value>� �� �� ����.

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

db2 update db cfg for <db name> using <variable name>=<value>

��� <db name> �� ����� ����, <variable name> � ����, <value>� �� �� ����.

¶ SQL1032N ��� �� ����. �� �� ��� ���?

v �:

�� Solaris ���� � �� � � �� , DB2 ��� �� ����� �����. /etc/system � �� ��� ��� �� ��� ��� �� ��� �� �� ���� ���.

v �:

DB2 ��� ��� ��� ���� semsys:semino_semume 50� ���� . � � �� ��� �� ��� ��� 30 ���� �DB2 � �� ���� ����

¶ SQL0805N ��� �� ����. �� �� ��� ���?

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

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

db2 bind @<path>/db2ubind.lst blocking all grant public

db2 bind @<path>/db2cli.lst blocking all grant public

��� <path>� DB2 ��� sqllib\lib ��� �����.

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

41Tivoli Kernel Services ��� ��

4.�

��

��

��

��

��

Page 56: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

�� �� DB2 ����� �� ��� �� �� �� ��� �� �� ������ ����. ��, �� ���� ������ TKS ��� ���� ������� �� db2java.zip ��� �� �� ��� �� �� DB2 ����� ��� ����.

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

db2level

��, <orb directory>\boot\external\db2java\1.0.0\ ���� db2java.zip� <db2 instancedirectory>\sqllib\java ���� ���� ����� ����� . DB2 �� �� ����� ���� ��� ���.

¶ ������ ��� JDBC �� ��� �� ����. �� �� ��� ���?

� �� �� �� ����� ��� DB2 �� ��� ���� ��� �����.��, �� ���� ������ TKS ��� ���� ��� ���� ��db2java.zip ��� �� �� ��� �� �� DB2 ����� ��� ����.

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

db2level

��, <orb directory>\boot\external\db2java\1.0.0\ ���� db2java.zip� <db2 instancedirectory>\sqllib\java ���� ���� ����� ����� . DB2 �� �� ����� ���� ��� ���.

¶ ��� ���� ��� ��� �� ����. �� �� ��� ���?

v �: � �� LOCKCfg.properties ��� ��� ��� � �� ��� � � ��� ���� db2java.zip� � � ��� �����.

v �: �� db2java.zip ��� <orb directory>\boot\external\db2java\1.0.0 ������� ����� .

� ���� <orb directory>\bin\<interp directory>� �� LOCKCfg.properties ��� �� ��� ���� ��� ����� .

variable=value pairs

��� <interp directory>� �� �� �� ��� ������.

– DB2INSTANCE=<db2 instance name>:

– LD_LIBRARY_PATH=<db2 instance path>\sqllib\lib:......

– LIBPATH=<db2 instance path>\sqllib\lib:......

��� <db2 instance name> DB2 ���� ����, <db2 instance path>� DB2 ���� ��� ����, ...... ��� � ���� �� �����.

¶ tdacl �� runstats ����� � � ″SQL2310N ���� �� �� � ����. �� -964� �����″ �� ″SQL0964C ������ ���� ��� � ����.″�� ��� �����. �� �� ��� ���?

v �: � �� DB2� ����� ����� ��� �� �� �� �� �����. LOGPRIMARY ��� ��� ���.

v �: �� ��� � LOGPRIMARY ��� ���� .

1. DB2 ��� ��� ����� .

db2 get db cfg for TMD | grep LOGP

42 �� 1.2

Page 57: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

2. 1 ���� ��� �� 3� ���� . �� ��, 1 ���� ��� �� 10���� ����� <newvalue>� 30� ����� .

3. DB2 ��� ��� ����� .

db2 update db cfg for TMD using LOGPRIMARY <newvalue>

4. DB2� ��� � �� ����� .

Oracle ��� ��Oracle ����� � ��� �� ����� ��� � ��� �� � ����. �� � ���� Oracle ��� �� �� �� ��� ����.

www.oracle.com

�� ���� Oracle �� �� ��� ����.

¶ Oracle ��� ��� ��� ��� ����� . ORACLE_HOME, TWO_TASK ORACLE_SID �� �� ��� ��� ��� ����� .

¶ ��� sqlplus ����� ��� ����� .

¶ ��� ��� ID ��� ����� .

��� ID - sys, �� - sys.

��� ID - system, �� - manager.

¶ ��� Oracle ��� ���� ��� ����� .

Windows NT �� 2000 - Oracle 8.1.6.3

Sun Solaris AIX - Oracle 8.1.6.2

�� � � ����� �� ��Tivoli Kernel Services � �� ��� � ��� � ��� ���� �� �������� ��� ���. ��� ���� ��� �� � �� ��� � ��� ��� ���� �� �����. ����� ��� ��� �� ��� ���Tivoli Kernel Services �� ��� ���� .

�� ���� ���� �� �� � �� ����� ���� ��� � � ����.� �� � ����� ��� � �� � ���� �!��.

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

�: �� �� �� � �� �� ��� �� � ��� � ��, �� �� ����� � ��� �� ��� � �� � ����. �� �� ������� �� ��� � ��� �� ���� .

1. ��� � ��� ��� �� �� Tivoli Kernel Services ��� ���� � ��� �� ���� .

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

¶ � �� � � ��� ��� ��

¶ � �� � � ��� ��� ��

2. ���� %TKS_BASEDIR% ��� ����� .

3. � ���� %TKS_BASEDIR%� ���� .

43Tivoli Kernel Services ��� ��

4.�

��

��

��

��

��

Page 58: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

4. � �� ORB� �� ����� .

� �� ORB� �� ����� Tivoli Kernel Services �� �Tivoli Kernel Services���� ����� ��� . ORB 1� �� ����� . ORB 1� ��� �� ORB2� �� ����� .

�: � ��� �� � ��� ��� �� ����� ��� � ��� �� ��� ���. ��� � ��� �� ��� ���, � �� ORB� ��� ���� ����.

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

1. ��� ��� � ��� ��� �� �� Tivoli Kernel Services ��� ���� ��� � ��� �� ���� .

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

2. ���� %TKS_BASEDIR% ��� ����� .

3. � ���� %TKS_BASEDIR%� ���� .

4. ��� � ORB� �� ����� .

��� � ORB� �� ����� Tivoli Kernel Services �� �Tivoli Kernel Services���� ����� ��� . ORB 1� �� ����� .

�: ��� �� � � ��� ���. �� ���� ��� �� ��� ���� ��� ��� �� �� �� ��� ����. %TKS_BASEDIR%� ���� ��� � ORB� ����� �� �� ��� ����� �� ���.

Tivoli DAS �� - DB2Tivoli DAS ���� �� �� ��� ���� �� � �� �� �� ���� ����. Tivoli DAS �� ��� �� � ��� �� ��� �� ��� �� ��� ���� �� ���.

1. <DASinstalldir>ext/das/server/tksSi ���� �� dasOrbCfg.tks ��� ���DAServer.trace DAServertracelevel� ���� . ��� �� �� Entryexit,Level1, Level2, Level3 All���.

¶ Entryexit: �� ��� � Tivoli DAS �� ���� �����.

¶ Level1: ���� �� � �� ��� �����.

¶ Level2: JDBC ������� �� � ��� �� � ���� ���� �� ��� �� �����. JDBC� �� ��� ��� �� 3-10�� �� ��� ���� ����.

¶ Level3: �� ��� �� �� ��� ���� ��� ��� ��� �� ����� �����.

¶ All: 4�� �� ��� �� ���� �����.

�: ��� �� �� Entryexit, Level1 Level2���. Level3� All ��� ���� �� �� ��� �� ���� ����� ��� ���. ��� ��� �� ��� ���� �� �� ��� 1GB� �� ��� ����.

2. �� �� ���� ����� Tivoli DAS ��� ������ .

44 �� 1.2

Page 59: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

Tivoli DAS ��� �� ��� �� �� � �� � �� �� ����. �� � �� CORBA �����. �� CORBA �� �����.

CORBA ��: IDL:omg.org/CORBA/COMM_FAILURE:1.0 :125

�� �� � ��� �� , � ���� � ��� 125���. 125� Corba ��� ����� � �����. 125 � ��� ��� �� ��� ����. �� �� ���� � ���� � � �� ��� � Tivoli DAS ��� ���� �� �����. ��� ��� ���� � ���� �� Tivoli DAS �� ����� ��� ����� .

netstat -a

� Tivoli DAS ��(�� ��� 8001)� �� �� ��� �����.

� ��� errno.h� ���� , Sun Solaris ��� ���� /usr/include/sys/errno.h�, AIX����� /usr/include/errno.h� ����. � ��� ���� � �� ��� ���� � ��� ���� ���.

��� � �� Tivoli DAS �� SQLState ����. �� Tivoli DAS �� SQLState � �����.

�� ���:

com.tivoli.das.jdbc.daDriverjdbc:dastdo://cherry.austin.lab.tivoli.com:8001/ps SQLState: HZW02

HZWO2� SQLState � �����. Tivoli DAS �� SQLState ��� ANSI/ISO-92 ��� �����. �� ��� SQLState � �� ���� � ���� ���� ����.

� 3. Tivoli DAS �� SQLState � �� ���

SQLState �� �� �� ���

HYW01 DAS ��� ��� ��

HYW02 executeUpdate�� JDBC 2.0 �� ��

HYW03 executeQuery�� JDBC 2.0 �� ��

HYW04 ��/��� �� JDBC ��� ��

HYW05 �� �� �

HZW01 DAS ��� �� � ��(JDBC ������ ���)

HZW02 ���� ��� �� � �� ��� ���� ��(ODBC �

�� ���)

HZW03 ���� ���� ��� �� � �� ��� ���� ��

WOW01 ���� � ��� �

AIX ���� DB2 ���� �� Tivoli DAS ��� �� � ���� �� ��� �� � ����. AIX�� Tivoli DAS �� �� � DB2� � ���� ���� ��� �� ��� ����, AIX IPC �����.

45Tivoli Kernel Services ��� ��

4.�

��

��

��

��

��

Page 60: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

� ���� �� ��� ����, � ������ ���� ��� ���� DB2� ���� �� TCP/IP ��� ���� ����� � ����. Tivoli DAS ��� ��� TCP/IP ��� ����� DB2 ���� ��� ����� �� ��� ����� .

1. � � �� �� �� ORB� ����� .

2. Tivoli DAS ��� ����� .

3. /etc/services ��� ��� DB2 ����� �� �� �� ���� ��� ����� . DB2 ����� db2inst1��, ��� ����� .

db2cdb2inst1 50001 # connection port for db2inst1 instance

db2idb2inst1 50002 # interrupt port for db2inst1 instance

4. �� � �� � �� ���� /etc/services�� �� ��� ��� � �� ��� ���� ���� ���� ���� ������ ����� .

db2 update database manager configuration using svcename db2cdb2inst1

5. �� �� dbmachine� ���� �� ���� ���� ��� �� ��� ���� �� ���� ��� ��� �� ��� � �� ��� �������� .

db2 catalog tcpip node dbmachine remote dbmachine server 50001

6. Tivoli Kernel Services ����� � ��� �������� .

db2 catalog database SLASH as SLASHA at node dbmachine

db2 catalog database PS as PSA at node dbmachine

db2 catalog database TMD as TMDA at node dbmachine

(�� �� �� ����(�: SECAUDIT �� LOGGING)� �� ����� .)

7. �� ���� �� �� � �� ����� �� ��� ���� Tivoli DAS ��� �� ����� . � �� ��� ����.

/usr/local/das/ext/das/server/tksSi/dasDsnCfg.tks

� ���� ��� �� �� � ��� DB ���� ���� . �� ��, Slash ����� �� DB ��� �� slash�� slasha� ���� .

[slash]

UID=db2admin

DBMS=DB2/2

PWD=XV&UXa]b

DB=slasha

DEFAULT=FALSE

QUAL=db2admin

DRV=DB2CLI

8. DB2� ��� �� ����� .

db2stop

db2start

9. Tivoli DAS ��� �� ��� � � �� �� ORB� �� ����� .

Tivoli DAS �� ��� ��� � �� ��ORB Tivoli DAS ��� ��� ����, Tivoli Kernel Services CLI(Command LineInterface) �� �����. ��, ��� � ORB�� Tivoli �� ���� �� ��Tivoli �� �� �����.

46 �� 1.2

Page 61: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

Tivoli DAS ��� ���� ��� �� �� Tivoli � ORB � �� ORB���� �� PsMcrImpl, PsNsImpl PsJcImpl ����� ������ ���. � ����Tivoli DAS �� ��� �� ��� ��� �� ��� �� ��� ���, ��� ���� � ��� ����� ���� ��� ��� �����.

Tivoli DAS ���� ��� ��� ��Tivoli DAS ��� ��� ���� � ���� ��� �� 4�� ��� ���.

¶ �� 1:

���� ��� ��, Tivoli DAS �� ��� � �� Tivoli DAS ��� ������ ��� �� �� � � �� ORB Tivoli DAS ��� ��� �����.� ��, Tivoli �� �� �� �� ORB � ���� ���� �� MCR ���� NS ����(Tivoli DAS ��� �� �� ��� ��)� ������ ���. � ��, ��� 1, ��� 2, ��� 3 ��� 4� ��� ��� ����� .

¶ �� 2:

Tivoli � ��� � ORB Tivoli DAS ��� ��� ����� � ���� ���� �� MCR ���� NS ����� ��� ���� ����. � ��, ��� 1, ��� 2 ��� 4� ��� ��� ����� .

¶ �� 3:

� ���� ���� �� MCR ���� NS ����� Tivoli DAS ��� ��� �� � ��, �� ORB�� ���� �� Tivoli � Tivoli DAS ����� �����. � ��, ��� 1, ��� 2 ��� 3� ��� ��� ����� .

¶ �� 4:

� ��, MCR ���� NS ����� �� ID ORB�� ����, Tivoli � ORB� ���� ����. Tivoli DAS �� �� ����� �� � �� ���� ���� � �� ���. MCR NS� ���� �� ����� ���� �� ����.

wcmd comp status PsMcrImpl -> Running

wcmd comp status PsNsImpl -> Running

Tivoli � ORB(� ��� � ���� ��� ���� ��)� ����� . Tivoli � ��� �� ����� ���� ��� ���� ����. � ��, ��� 5-9� ���� ��� ����� .

��� �� ���� ��� � Tivoli DAS �� ���� ��� ��� ���� ��� �� �� ������.

¶ ���� 1:

Tivoli �� ���� �� �� ���� ��� � � ���� �����.

FWP00009E: �� ��� ������. �� �� � ��� ���� � ����.

¶ ���� 2:

� ��� orb.2/logs/GlobalMsg1.log �� Tivoli � ��� �� orb.1/logs� �� �� �����.

2 0 0 1 . 0 3 . 0 5 1 4 : 2 7 : 1 3 . 1 7 0 c o m . t i v o l i . p f . f m k . a c t i o n . F m kActivationManager$FmkActionRequest invoke Tivoli Systems Inc. PresentationServices

47Tivoli Kernel Services ��� ��

4.�

��

��

��

��

��

Page 62: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

com.tivoli.pf.mcr.external.McrAccessException: ������� ���� � ����

2001.03.05 14:27:16.725 com.tivoli.pf.jc.portfolio. JcPortfolioViewerhandleThrowable()Tivoli Systems Inc. Presentation Services FWP0009E �� ��� ������. �� �� � ��� ���� � ����.

2001.03.05 14:27:16.725 com.tivoli.pf.jc.portfolio. JcPortfolioViewerhandleThrowable() Tivoli Systems Inc. Presentation Servicescom.tivoli.pf.mcr.external.McrAccess Exception: ������� ���� �����

¶ ���� 3:

� ��� orb.1/logs/GlobalMsg1.log� �� �� �����.

2001.03.05 14:27:12.839 McrDbElement dbRetrieve ProbePoint: 1 Tivoli SystemsI n c . P r e s e n t a t i o n S e r v i c e s M c r c o m . t i v o l i . d a s . o r d b .RdbErrorException$ERdbSQLException

at com.tivoli.das.ordb.RdbBaseException.<init> (RdbBaseException.java:58)

at com.tivoli.das.ordb.RdbErrorException.<init> (RdbErrorException.java:153)

at com.tivoli.das.ordb.RdbErrorException $ERdbSQLException.<init>(RdbErrorException.java:242)

a t c o m . t i v o l i . d a s . o r d b . R d b W r a p P r e p a r e d S t a t e m e n t . < i n i t >(RdbWrapPreparedStatement.java)Compiled Code))

at com.tivoli.das.ordb.RdbConnection. getPreparedStatement(RdbConnection.java(Compiled Code))

at com.tivoli.das.ordb.RdbConnection. query(RdbConnection.java(Compiled Code))

at com.tivoli.das.ordb.RdbQuery.execute(RdbQuery.java (Compiled Code))

at com.tivoli.das.ordb.RdbQuery.execute(RdbQuery. java(Compiled Code))

at com.tivoli.pf.mcr.db.McrDbElement.dbRetrieve (McrDbElement.java:411)

at com.tivoli.pf.mcr.db.McrDbDisplayInfo.dbRetrieve (McrDbDisplayInfo.java:532)

at com.tivoli.pf.mcr.db.McrDbAction.postRetrieve (McrDbAction.java:943)

at com.tivoli.pf.mcr.db.McrDbAction.dbRetrieve (McrDbAction.java:567)

at com.tivoli.pf.mcr.query.McrQueryAction.fetch (McrQueryAction.java:277)

at com.tivoli.pf.mcr.query.McrQueryAction.query (McrQueryAction.java:124)

at com.tivoli.pf.mcr.McrClientServer.getAction (McrClientServer.java:233)

at com.tivoli.pf.mcr.McrImplComponent.getAction (McrImplComponent.java:98)

at java.lang.reflect.Method.invoke(Native Method)

at com.objectspace.voyager.reference.Function.invoke (Function.java(CompiledCode))

at com.objectspace.voyager.orb.LocalReference.realInvoke(LocalReference.java(Compiled Code))

a t c o m . o b j e c t s p a c e . v o y a g e r . o r b . L o c a l R e f e r e n c e . i n v o k e(LocalReference.java(Compiled Code))

at com.objectspace.voyager.orb.ReferenceHolder. invokeOnReference(ReferenceHolder.java(Compiled Code))

a t c o m . o b j e c t s p a c e . v o y a g e r . o r b . R e f e r e n c e H o l d e r . i n v o k e(ReferenceHolder.java(Compiled Code))

48 �� 1.2

Page 63: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

at com.objectspace.voyager.vrmp.VrmpRequestHandler $Processor.invoke(VrmpRequestHandler.java(Compiled Code))

at com.objectspace.voyager.vrmp.VrmpRequestHandler. process(VrmpRequestHandler.java(Compiled Code))

at com.objectspace.voyager.tcp.RequestManager. process(RequestManager.java(Compiled Code))

a t c o m . o b j e c t s p a c e . v o y a g e r . t c p . R e q u e s t M a n a g e r . p r o c e s s(RequestManager.java(Compiled Code))

a t c o m . o b j e c t s p a c e . v o y a g e r . t c p . R e q u e s t M a n a g e r $ 1 . r u n(RequestManager.java(Compiled Code))

at com.objectspace.lib.thread.ReusableThread.run (ReusableThread.java)

2001.03.05 14:27:13.030 McrQueryAction query(McrID, String, Locale) TivoliSystems Inc. Presentation Services Mcr com.tivoli.das.ordb.RdbErrorException$ERdbSQLException

at com.tivoli.das.ordb.RdbBaseException.<init> (RdbBaseException.java:58)

at com.tivoli.das.ordb.RdbErrorException.<init> (RdbErrorException.java:153)

at com.tivoli.das.ordb.RdbErrorException$ERdbSQLException.<init>(RdbErrorException.java:225)

at com.tivoli.das.ordb.RdbConnection.commit (RdbConnection.java(CompiledCode))

at com.tivoli.das.ordb.RdbTransaction.commit (RdbTransaction.java(CompiledCode))

at com.tivoli.pf.mcr.query.McrQueryAction.query (McrQueryAction.java:126)

at com.tivoli.pf.mcr.McrClientServer.getAction (McrClientServer.java:233)

at com.tivoli.pf.mcr.McrImplComponent.getAction (McrImplComponent.java:98)

at java.lang.reflect.Method.invoke(Native Method)

at com.objectspace.voyager.reference.Function.invoke (Function.java(CompiledCode))

at com.objectspace.voyager.orb.LocalReference.realInvoke(LocalReference.java(Compiled Code))

a t c o m . o b j e c t s p a c e . v o y a g e r . o r b . L o c a l R e f e r e n c e . i n v o k e(LocalReference.java(Compiled Code))

at com.objectspace.voyager.orb.ReferenceHolder. invokeOnReference(ReferenceHolder.java(Compiled Code))

a t c o m . o b j e c t s p a c e . v o y a g e r . o r b . R e f e r e n c e H o l d e r . i n v o k e(ReferenceHolder.java(Compiled Code))

at com.objectspace.voyager.vrmp.VrmpRequestHandler$ Processor.invoke(VrmpRequestHandler.java(Compiled Code))

at com.objectspace.voyager.vrmp.VrmpRequestHandler.process(VrmpRequestHandler.java(Compiled Code))

a t c o m . o b j e c t s p a c e . v o y a g e r . t c p . R e q u e s t M a n a g e r . p r o c e s s(RequestManager.java(Compiled Code))

a t c o m . o b j e c t s p a c e . v o y a g e r . t c p . R e q u e s t M a n a g e r . p r o c e s s(RequestManager.java(Compiled Code))

a t c o m . o b j e c t s p a c e . v o y a g e r . t c p . R e q u e s t M a n a g e r $ 1 . r u n(RequestManager.java(Compiled Code))

49Tivoli Kernel Services ��� ��

4.�

��

��

��

��

��

Page 64: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

at com.objectspace.lib.thread.ReusableThread.run (ReusableThread.java)

2001.03.05 14:27:13.080 McrQueryAction query(McrID, String, Locale) TivoliSystems Inc. Presentation Services Mcr FWP1709I MCR(Management ComponentRepository) ���� ��� �� ��� ������.

¶ ���� 4:

Tivoli �� ���� ���� �� � ���� �����.

FWP1513W: ������� �� �� ��� �� ��� ���� � ��� ������. � �� � �� ��� ��� � ����.

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

v Tivoli �� ���� � ��� ORB ��� �����.

v GUI ��� ��� ��� ���, ’X’ ��� ��� ����.

v ��� ��� � ’��’� ��� ����. ��� GUI ���� �� �� ����� ���� ��� ��� ������.

¶ ���� 5:

��� 4� ��� Tivoli �� �� ��� ��, ��� � � ���� �����.

FWP0014E: ����� ���� ������. �� �� ���� ��� ���� � ����.

��� ���� .

¶ ���� 6:

� ��� orb.2/logs/GlobalMsg1.log �� ��� � ORB� orb.1/logs� �� �� �����.

2001.03.08 11:45:55.305 com.tivoli.pf.fmk.action.FmkActivationManager$FmkActionRequest invoke Tivoli Systems Inc. PresentationServices com.tivoli.pf.mcr. external.McrAccessException: ������� ���� � ����

2001.03.08 11:45:55.305 com.tivoli.pf.fmk.action. FmkActivationManagerperformAction() Tivoli Systems Inc. Presentation Services com.tivoli.pf.mcr.external.McrAccessException: ������� ���� � ����

2001.03.08 11:46:05.420 com.tivoli.pf.jc.portfolio. JcPortfoliointerpretResults(IFmkActionResults results) Tivoli Systems Inc. PresentationServices FWP0014E ����� ���� ������. �� �� ���� ��� ���� � ����.

2001.03.08 11:46:05.420 com.tivoli.pf.jc.portfolio. JcPortfoliointerpretResults(IFmkActionResults results) Tivoli Systems Inc. PresentationServices com.tivoli.pf.mcr. external.McrAccessException: ������� ���� � ����

¶ ���� 7:

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

FWP0002E: ����� ���� � ��� ������.

��� ���� . Tivoli � �� � ��� �� �����. �� �� ���, ��� 5-9� ��� ���� ���.

¶ ���� 8:

50 �� 1.2

Page 65: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

� ��� orb.2/logs/GlobalMsg1.log �� ��� � ORB� orb.1/logs� �� �� �����.

2001.03.08 11:46:06.651 com.tivoli.pf.jc.wam. JcWorkAreaManager ctor TivoliSystems Inc. Presentation Services FWP0002E ���� �� � ��� ������.

2001.03.08 11:46:06.651 com.tivoli.pf.jc.wam. JcWorkAreaManager ctor TivoliSystems Inc. Presentation Services com.tivoli.pf.jc.util.JcException: ������� ���� � ����

at com.tivoli.pf.jc.util.JcException.<init> (JcException.java:38)

at com.tivoli.pf.jc.portfolio.JcPortfolio.interpretResults(JcPortfolio.java:363)

at com.tivoli.pf.jc.portfolio.JcPortfolio. loadPortfolioViewer(JcPortfolio.java:165)

at com.tivoli.pf.jc.portfolio.JcPortfolio.<init> (JcPortfolio.java:79)

at com.tivoli.pf.jc.wam.JcWorkAreaManager.<init> (JcWorkAreaManager.java:96)

at com.tivoli.pf.jc.session.JcUserSession$ EJcSignOnResponder.handleRespond(JcUserSession.java:534)

at com.tivoli.pf.common.external.APfResponder.respond (APfResponder.java:82)

at com.tivoli.pf.sc.connection.ScConnectionManager$ EScSignOnRequest.handleRespond(ScConnectionManager.java:480)

at com.tivoli.pf.common.external.APfResponder.respond (APfResponder.java:82)

at com.tivoli.pf.common.tm.PfResponseRunnable.run (PfResponseRunnable.java:97)

at com.tivoli.pf.common.tm.PfInvoker$EPfQueueServicingLoop.run(PfInvoker.java(Compiled Code))

at java.lang.Thread.run(Thread.java:481)

at com.tivoli.pf.common.tm.PfCrashsafeThread.run (PfCrashsafeThread.java:106)

2001.03.08 12:58:29.476 com.tivoli.pf.fmk.action.FmkActivationManager$FmkActionRequest invoke Tivoli Systems Inc. PresentationServices com.tivoli.pf.mcr.external. McrAccessException: ������� ���� � ����

2001.03.08 12:58:29.476 com.tivoli.pf.fmk.action. FmkActivationManagerperformAction() Tivoli Systems Inc. Presentation Servicescom.tivoli.pf.mcr.external. McrAccessException: ������� ���� �����

2001.03.08 12:59:59.025 com.tivoli.pf.jc.portfolio. JcPortfoliointerpretResults(IFmkActionResults results) Tivoli Systems Inc. PresentationServices FWP0014E ����� ���� ������. �� �� ���� ��� ���� � ����.

2001.03.08 12:59:59.025 com.tivoli.pf.jc.portfolio. JcPortfoliointerpretResults(IFmkActionResults results) Tivoli Systems Inc. PresentationServices com.tivoli.pf.mcr. external.McrAccessException: ������� ���� � ����

¶ ���� 9:

� ��� orb.1/logs/GlobalMsg1.log� �� �� �����.

51Tivoli Kernel Services ��� ��

4.�

��

��

��

��

��

Page 66: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

2001.03.08 12:58:29.146 McrDbElement dbRetrieve ProbePoint: 1 Tivoli SystemsI n c . P r e s e n t a t i o n S e r v i c e s M c r c o m . t i v o l i . d a s . o r d b .RdbErrorException$ERdbSQLException

at com.tivoli.das.ordb.RdbBaseException.<init> (RdbBaseException.java:58)

at com.tivoli.das.ordb.RdbErrorException.<init> (RdbErrorException.java:153)

at com.tivoli.das.ordb.RdbErrorException$ERdbSQLException.<init>(RdbErrorException.java:242)

a t c o m . t i v o l i . d a s . o r d b . R d b W r a p P r e p a r e d S t a t e m e n t . < i n i t >(RdbWrapPreparedStatement.java (Compiled Code))

at com.tivoli.das.ordb.RdbConnection.getPreparedStatement(RdbConnection.java(Compiled Code))

at com.tivoli.das.ordb.RdbConnection.query (RdbConnection.java(CompiledCode))

at com.tivoli.das.ordb.RdbQuery.execute(RdbQuery.java (Compiled Code))

at com.tivoli.das.ordb.RdbQuery.execute(RdbQuery.java (Compiled Code))

at com.tivoli.pf.mcr.db.McrDbElement.dbRetrieve (McrDbElement.java:411)

at com.tivoli.pf.mcr.db.McrDbDisplayInfo.dbRetrieve (McrDbDisplayInfo.java:532)

at com.tivoli.pf.mcr.db.McrDbAction.postRetrieve (McrDbAction.java:943)

at com.tivoli.pf.mcr.db.McrDbAction.dbRetrieve (McrDbAction.java:567)

at com.tivoli.pf.mcr.query.McrQueryAction.fetch (McrQueryAction.java:277)

at com.tivoli.pf.mcr.query.McrQueryAction.query (McrQueryAction.java:124)

at com.tivoli.pf.mcr.McrClientServer.getAction (McrClientServer.java:233)

at com.tivoli.pf.mcr.McrImplComponent.getAction (McrImplComponent.java:98)

at java.lang.reflect.Method.invoke(Native Method)

at com.objectspace.voyager.reference.Function.invoke (Function.java(CompiledCode))

at com.objectspace.voyager.orb.LocalReference.realInvoke(LocalReference.java(Compiled Code))

a t c o m . o b j e c t s p a c e . v o y a g e r . o r b . L o c a l R e f e r e n c e . i n v o k e(LocalReference.java(Compiled Code))

at com.objectspace.voyager.orb.ReferenceHolder. invokeOnReference(ReferenceHolder.java(Compiled Code))

at com.objectspace.voyager.orb.ReferenceHolder. invoke(ReferenceHolder.java(Compiled Code))

at com.objectspace.voyager.vrmp.VrmpRequestHandler$ Processor.invoke(VrmpRequestHandler.java(Compiled Code))

at com.objectspace.voyager.vrmp.VrmpRequestHandler.process(VrmpRequestHandler.java(Compiled Code))

a t c o m . o b j e c t s p a c e . v o y a g e r . t c p . R e q u e s t M a n a g e r . p r o c e s s(RequestManager.java(Compiled Code))

a t c o m . o b j e c t s p a c e . v o y a g e r . t c p . R e q u e s t M a n a g e r . p r o c e s s(RequestManager.java(Compiled Code))

a t c o m . o b j e c t s p a c e . v o y a g e r . t c p . R e q u e s t M a n a g e r $ 1 . r u n(RequestManager.java(Compiled Code))

52 �� 1.2

Page 67: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

at com.objectspace.lib.thread.ReusableThread.run (ReusableThread.java)

2001.03.08 12:58:29.326 McrQueryAction query(McrID, String, Locale) TivoliSystems Inc. Presentation Services Mcr com.tivoli.das.ordb.RdbErrorException$ERdbSQLException

at com.tivoli.das.ordb.RdbBaseException.<init> (RdbBaseException.java:58)

at com.tivoli.das.ordb.RdbErrorException.<init> (RdbErrorException.java:153)

at com.tivoli.das.ordb.RdbErrorException$ERdbSQLException.<init>(RdbErrorException.java:225)

at com.tivoli.das.ordb.RdbConnection.commit (RdbConnection.java(CompiledCode))

at com.tivoli.das.ordb.RdbTransaction.commit (RdbTransaction.java(CompiledCode))

at com.tivoli.pf.mcr.query.McrQueryAction.query (McrQueryAction.java:126)

at com.tivoli.pf.mcr.McrClientServer.getAction (McrClientServer.java:233)

at com.tivoli.pf.mcr.McrImplComponent.getAction (McrImplComponent.java:98)

at java.lang.reflect.Method.invoke(Native Method)

at com.objectspace.voyager.reference.Function.invoke (Function.java(CompiledCode))

at com.objectspace.voyager.orb.LocalReference.realInvoke(LocalReference.java(Compiled Code))

a t c o m . o b j e c t s p a c e . v o y a g e r . o r b . L o c a l R e f e r e n c e . i n v o k e(LocalReference.java(Compiled Code))

at com.objectspace.voyager.orb.ReferenceHolder. invokeOnReference(ReferenceHolder.java(Compiled Code))

a t c o m . o b j e c t s p a c e . v o y a g e r . o r b . R e f e r e n c e H o l d e r . i n v o k e(ReferenceHolder.java(Compiled Code))

at com.objectspace.voyager.vrmp.VrmpRequestHandler$ Processor.invoke(VrmpRequestHandler.java(Compiled Code))

at com.objectspace.voyager.vrmp.VrmpRequestHandler.process(VrmpRequestHandler.java(Compiled Code))

a t c o m . o b j e c t s p a c e . v o y a g e r . t c p . R e q u e s t M a n a g e r . p r o c e s s(RequestManager.java(Compiled Code))

a t c o m . o b j e c t s p a c e . v o y a g e r . t c p . R e q u e s t M a n a g e r . p r o c e s s(RequestManager.java(Compiled Code))

a t c o m . o b j e c t s p a c e . v o y a g e r . t c p . R e q u e s t M a n a g e r $ 1 . r u n(RequestManager.java(Compiled Code))

at com.objectspace.lib.thread.ReusableThread.run (ReusableThread.java)

2001.03.08 12:58:29.376 McrQueryAction query(McrID, String, Locale) TivoliSystems Inc. Presentation Services Mcr FWP1709I MCR(Management ComponentRepository) ���� ��� �� ��� ������.

�� ��� ��� orb.1 ��� �� ��� ����� .

1. �� � ���� �� PsJcImpl ���� ��� ����� .

wcmd cds listComponentVersions PsJcImpl

53Tivoli Kernel Services ��� ��

4.�

��

��

��

��

��

Page 68: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

2. �� � ���� 1.1.x� � �� ��� ���� PsJcImpl ���� ��� ����� ORB� � �� Tivoli � ORB� ��� .

wcmd cds listDeploymentTargetOrbNames [email protected]

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

consolesInDefaultRegion

� ���� ��� ORB �� consolesInDefaultRegion���.

3. wcmd info getOrbsetMembership � ���� ��� ORB �� ��� ���� .�� ��, ��� ����� .

wcmd info getOrbsetMembership Orbset/consolesInDefaultRegion

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

AU/Orb/dmills2.raleigh.tivoli.com_9991

ORB ��� ��� ���� � ���� ����, ��� ���� � �� ����� . �� Tivoli �� �� �� ORB ��� �� ���. �� 1(��)�� ������ ORB ��� ����, ��� ���� ��� ORB ��� ��� .

wcmd info getOrbs -oid

<namespace>/Orb/<orbname>� � ��� ORB ��� �� �� ORB� �����.ORB ��� ���� <namespace> ��� ��� .

4. PsNsImpl PsMcrImpl ����� ���� �� Tivoli DAS ��� �� ���� ���. ��.PsNsImpl PsMcrImpl ����� Tivoli DAS ��� �� � �� ��� �����. ���� ��� � ��� ������ ���. Tivoli Kernel Services�� � ��� � Tivoli DAS ��� ����� .

5. � ��� ��� PsNsImpl PsMcrImpl ����� ������ .

wcmd accmgr stopComponent -c PsNsImpl

wcmd accmgr stopComponent -c PsMcrImpl

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

wcmd accmgr startComponent -c PsMcrImpl

wcmd accmgr startComponent -c PsNsImpl

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

wcmd comp status PsNsImpl

wcmd comp status PsMcrImpl

wcmd cli list

� �� �� ����� ���� ��� ���� ���. �� � ��� CLI���� psmcr psns� ��� .

6. �� � ���� Tivoli � ORB� �� ������ .

wcmd -i <orbname> orb recycle

� ORB�� ‘���’ Tivoli �� �����.

�: ORB� ���� ��� ��, wcmd orb ��� � ����. LOCK� ���� ORB� ��� ��� ��, � ��� �� ORB� �� ���� ����. LOCK� ���� ��� � Tivoli �� ����� .

7. �� � ���� Tivoli � ORB� ������ ����� .

wcmd -i <orbname> cli list

���� jclauncher� ��� .

54 �� 1.2

Page 69: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

8. Tivoli �� ����� .

�� Tivoli DAS �� ��� �� ������� MCR(Management Component Repository) � �� �� Tivoli DAS �� ��� ��� �� ���� �� � ��� ��� �� ����.

FWP1709I: MCR(Management Component Repository) ���� ��� � ��� ������.��: Tivoli Presentation Services Management Component Repository ���� ��� � �� ������.

��� ��: ��� �� ��� ��� �� �� ��� ���� Tivoli ��� ���� ����� .

�� ��� ��: � ��� ���� MCR(Management Component Repository) ���� ��� ���� ��� ��� ��� ��� �� ����. � ��� � �� ����� �� �� ��� ���� �� ���� � ������. �� ��� ������� �����.

¶ MCR� ����� ���� ���� ��� ����� Tivoli PresentationServices ����� ������ ���� ��

¶ ����� ��� MCR� ��� � ���� �� ����� Tivoli ������ ��� ������ �� �� ��� ���� ��

¶ MCR� ��� �� ��� � �

¶ MCR� Tivoli Presentation Services ����� � �

�� �� �� � �� � �� �� �� ���� ��� �� , ID ORB�FWPRdbTraceLogger���. ��� �� ��� ��� �� �� ��� ����� .

FWP1713E: MCR(Management Component Repository) ���� <MC Package FilePathname> ��� �� ���� ������� ��� � ����.��: Tivoli ������ ���� ��� ���� ��� �� ����� ����� � � ����.

��� ��: Tivoli ������ ��� ����� ��� �� ��� ��� �������� ����� ���� �� DAS(Data Access Server)� ���� ��� ����� .

�� ��� ��: MCR(Management Component Repository) ���� Tivoli PresentationServices ����� ��� ��� ���� �� �� �� ����. ������� �� � ��� ���� . MCR� ���� ��� ���� ��� ����� �� �� �� � ����. Rdb �� ��� �� �� ����� ����� � ��� �� ��� ����� ��� ���. �� �� �� � �� ��� �� �� ���� ��� �� , ID ORB� FWPRdbTraceLogger���. ��� �� ��� ��� �� �� ��� ����, Tivoli DAS ��� ���� ��� ����� .

FWP1719E: ���� <transaction name>� ������ ���� ��� ��� �����.��: Tivoli Presentation Services ����� ����� ���� ����� ���� ��� ����� �� ��� ��� ��� ������.

55Tivoli Kernel Services ��� ��

4.�

��

��

��

��

��

Page 70: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

��� ��: Tivoli Presentation Services� Tivoli Presentation Services ����� � � ����. Tivoli Presentation Services ����� �� ��� ��� �������� ����� ���� �� DAS� ���� ��� ����� .

FWP1720E: ������ ���� <transaction name>� �������.��: Tivoli Presentation Services ����� ���� ����� ���� ��� ����� �� ���� �� �������.

��� ��: Tivoli Presentation Services� Tivoli Presentation Services ����� �� � ����. Tivoli Presentation Services ����� �� ��� ��� ��� ����� ����� ���� �� DAS(Data Access Server)� ���� ��� ����� .

�� ��� ��: MCR� ��� ���� ����� �� ���� �� �������.�� ���� �� ������ �� ��� �����. ID ORB� ��� �� ��� ��� ����� ���� ��� ��� ���� ���� ��� ��� ����� . ID ORB� ��� ����� ��� ���� ���� ����� . �� �� ��� �� ���� ����� ����� . �� �� �� � �� � ���� �� ���� ��� �� , ID ORB� FWPRdbTraceLogger���.

Tivoli DAS �� ��Tivoli DAS ��� ���� �� ��� ��� .

1. � ��� ���� Tivoli DAS ��� ���� � %DASDIR%� �� ���� .

2. DAS ��� ����� .

3. � ���� %TKS_DASDIR%� ��� ��� DAS ��� ���� .

4. DAS ��� �� ����� .

Tivoli DAS ��� ���� ���� � �� ��� ��� Tivoli Kernel Services �� ���� .

MQSeries ��MQSeries ��� �� ��� �� �� � �� � �� �� ����. ��� �� Microsoft Windows ����� ���� MQSeries ��� ��� ���� ���� ������ ��� ��� ���� ��� ���. � ��� ����� ������ ��� �� ��� ���� ��� ���� ����� .

MQSeries �� ��� ���� �� ��� ���� �� ��� �����. �� ������ ���� ��� ���� ��� �� �� ��� ���. �� � ��� �������.

1. � ���� ��� netstat� ���� ��� ���� ��� ����� . ������ ���� ORB �� ��� MQSeries ��� �� ��� ����� .

netstat -an | grep 1414

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

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

dspmqbrk

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

strmqbrk

56 �� 1.2

Page 71: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

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

4. textdemo� ���� ��� ���� ��� ����� .

�� ��� ��� ������ MQSeries ��� �� ��� ����, ���� ���� �� ���� ���. ���� ��� � �� ����� ��� ����� .

1. MQSeries ��� �� �� ORB� ���� ���.

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

endmqbrk

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

dltmqbrk -m QM_host name

4. ��� ��� ���� ���� �� ��� �� ����� .

strmqbrk

���� ���� �� ��� ��� ��� �� ����, MQSeries ��� ���� ��� ��� ���.

ID � ����� ORB� ��� ORB 1� 2� �� ��� �� �� � �� ��� � �� ����.�� �� ��� �� �� �� ���� �� � � �� �� ����.

¶ Microsoft IIS� �� � �� �� ��� ORB� ���� ��

Microsoft IIS(Internet Information Service) �� �� � ��� �� �� ��, � �� ORB� Microsoft Windows ����� ��� ��� �� � ����. �� ��� ���� ��� ���� � �� ORB� ���� $ORBDIR/log/stdout� ��ORB ��� ��� ″http://your-host-name″� �� ��� ���� � ���� �����. ��� �� ORB� ��� �� � ���� http://your-host-name/Repository� �� � ��� ���.

��� ����� � �� ORB� ���� �� �� � ��� ����� .

v Microsoft ��� �� ��� �� �� � ��� ����� ������ .

v 80 ��� �� ��� ����� �� � ��� ����� .

¶ ORB �� ��

� �� �� ��� � ORB� �� ��� ��� �� �� �� ��� ���� � �!��.

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

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

v �� ��� Tivoli DAS(Data Access Services) �� MQSeries ��� ��

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

v runstats ����� ���� DB2 ���� ��� ����� ��

ORB �� �� Tivoli Kernel Services� �� �� Tivoli �� ������ �������. �� � ���� �� ��� ����� �� � �� 5� ��� ��� ORB� �����. � ���� � �� ORB� ����� ��� � ORB����� � � 2.5�� �����. ORB ��� ��� ������ ORB ��� � � ����.

57Tivoli Kernel Services ��� ��

4.�

��

��

��

��

��

Page 72: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

��� �� �� �� � ����� ���� Tivoli �� ������ ��� � ���� � ����� ��� ��� ��� ��� ��� �����. Tivoli ������� ��� ���� � �� ��� �����. Tivoli �� ����� ����� ��� �� ��� ��� ����.

¶ Windows NT�� ���� ORB �� � MFC42U.DLL� ��

��� � � ����� ��� �� Microsoft Windows NT 4.0 ����� ��� � ORB� �� � �� �� �� � ����.

� �� ����� MFC42U.DLL�� 6871� �� � ����.

�� ���� �� MFC42U.DLL �� ��� � ��� �� �� �����.Windows ����� MFC42U.DLL� � Tivoli Kernel Services� ��� �� ���� ���� . �� ��� DLL \TivoliBP\orb.1\lib\w32-ix86\mfc42u.dl���. DLL� �� �� ��� �� ��� ���. ��� � ORB� ���� �����.

¶ ORB� java.net.UnknownHostException �� ��

v Tivoli Kernel Services� � �� �� ���� ORB� ��� �java.net.UnknownHostException ��� �� � ����. ����� �� ��� ��� ��� ��� �� �� �� ��� ����� ���� �� ��� ���������.

�� �� ��� ���� �� �����, LOCK(Local ORB Creator and Killer)�� ���� ��� ��� . LOCK �� ��� �� ��� ��� 79 �����LOCK(Local ORB Creator and Killer)�� ���� .

v � ��� �����, ping � ���� ���� ���� ����� . ������ ��� ���� ��� ��, �� ��� ���� �� ��� �����. �� ��� ����� �� ��� ���� Tivoli Kernel Services � � �� ��� �� ���� �� � ��� �� ���.

1. � � �� �� �� ORB� ����� .

2. � ��� /etc/hosts ��� ���� � ��� �� ��� ��� ��� �������� . �� ��� ��� ����� ���.

3. ���� �� ORB� �� ����� .

4. ��� ��� ���� ORB� �� ����� ��� �� ���� ���� � ����� �� ����� .

¶ ORB� ��� wcmd� ��� FNGOB3013E� ���� ��

ORB� ��� �� ���, -i ��� ���� ORB� wcmd� ���� ��� � � ���� �����.

FNGOB3013E nnnnnnnn ORB ID� ���� CLI ��� �� � ����.

$ORBDIR/log/stderr� �� stderr.txt ��� ��� java.net.UnknownHostException������ ����� . ��� ��� ��, �� �� ��� � ��� ���� .

¶ ORB� ������ ��� � MQSeries �� �� ���

ORB� ������ ��� �� ��� �� ���� ��� ��� � ���� ORB���� �� � ����.

FNGMS0007E ��� .java.lang.Object/com.tivoli.tes.TESTopicImpl/� ��� ��� �� �� �����.

FNGMS0007E ��� ��� �� � java.lang.Object/com.tivoli.tes.TESTopicImpl� �����.

58 �� 1.2

Page 73: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

FNGMS0008E �� ���� java.lang.Object/com.tivoli.tes.TESTopicImpl� ������.

FNGMS0009I MQSeries ��� java.lang.Object/com.tivoli.tes.TESTopicImpl���������.

FNGMS0011E �� ���� ��� � �� MQSeries� ���� java.lang.object� � � ����.

10��� ���� �� ���� ��� �� ���� � ��� �� ����� ���� ��� �����. � ���� ��� ��� � ��� ���� ���� ���.

¶ Tivoli Kernel Services� �� ���� �� �� MQSeries� �� ��

Tivoli Kernel Services� �� ��� ��, �� MQSeries� �� ��� ���.MQSeries�� �� �� ��� ��� ����. �� �� �� MQSeries ����� ���� �� ��� �� � ����.

Tivoli ��Tivoli �� �� ��� �� �� � �� ��� � �� ����. �� ����� �� �� , � ��� �� � � �� �� ����.

¶ �� �� ���� �� �� �� � � ���� ��� ����. ��� �� �� �� ���� ���� �� � ���� ��� ��, ���� ��� �������� ��� ����. ���� �� ��� �� ��� Tivoli � �� �� ������ ���.

¶ ���� � ����� �� PgUp PgDn � ��� ��� ����. ���� �� ������ �� �� � �� ����� .

¶ Tivoli ���� ����� ��� ��� ��� ����. � �� ���� ��� ��� �� �� � ����� .

¶ Tivoli � ��� � �, �� ���� �� ��� ���� ���� �� ������ �� � ����. �� ��� ����� �� Tivoli � ��� ��� ���� ���� ���� �� �����.

¶ Tivoli � 256 ��� �� ���� ��� ����.

¶ ��� ��� �� �� �� ���, �� ��� �� �� Tivoli �� �� ��������.

¶ Tivoli �� ��� ��� ���� �� Tivoli �� �� �� ���, � �� �� ���� ���� ��� � ���� ���� � ���� �� � ����. � ��� �����, Tivoli �� ��� � �� ����� . � ���� ���� ������.

¶ Tivoli �� ���� ��� �� �� Tivoli � � �� � ��� �� ��� ����. Tivoli �� �� ���� � �� ���� .

¶ AIX �� ����� Tivoli �� �� ��(��� �� � �� ��)� �� ���� ���.

¶ Tivoli ��� �� ��� �� ��� ���� � ��� ��� ��� ����.

¶ Esc � ���� �� ��� �� ����� ��� ����. ��� �� ����,�� ��� ���� � � � ��� X� ���� .

59Tivoli Kernel Services ��� ��

4.�

��

��

��

��

��

Page 74: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

¶ Sun Solaris ���� �� � ��� �� ��� ���� ����. � ��� �����, � � �� ��� ��� Enter� ���� ��� ���� ���� ����� ���� .

¶ � ��� ��� �� ��� ��� ���� � � ���� ��� �� �� �����. ���� ��� ����, ���� ��� ��� ��� ��� ��� ���.

¶ �� ����� �� �� ��� �� � ���� , �� ��� �� ������� ��� � ����. �� � �� �� ��� Tivoli � �� �� ��� ��� ���.

¶ ���� �� ���� �� ���� �� ���� ��� �� ��(� ��) �� �� ��(��� �� � ��)� ����. � ��� �����, ���� �� ���� �� � �� ���� �� ���� .

¶ Tivoli Assistant� ��� ���� ��� ���� ��� Tivoli Assistant� ��� ��� ��� ���� ���� �� � ����.

¶ � ��� ��� �, �� ��� � � ���� . �� ��� �� � ��� �� �� � ����. �� �� � ���, Alt + F4� �� �� ���� .

¶ CD-ROM�� Tivoli Kernel Services� �� � ���� Tivoli �� ��� � ����� ��� �� �� � �� ���� ��� � ����. � ���� � ��� ��� ���� ��� ���� � �� �����. ��� ���� �� �����, ��� ����� .

1. � �� ORB� ����� .

2. � �� ORB� ����� .

3. � �� ORB� ���� �� �� � ����� .

wcmd psmcr rebuildHelp

�� ��� ���� ���� � � ����. � �� http://installation.depot.machine/help pf.hs �� pf_<language>.hs ��� ��� ��� ���� �� � �� ��� � � ����.

¶ �� Shift + F10� ��� ����� �� ��� ���� ��� ��� ����.

¶ Sun Solaris ����� ORB� LANG �� ���� �� ���� �����.TivoliPresentation Services� �� LANG �� ��� ����.

¶ UTF-8 �� ��� ���� ��� ���� ��� ��� ����. �� ������� UTF-8 �� ��� �� � ����. ��� ��� � ����.

¶ ��� ����� Tivoli �� �� ��� ���� ��� ��� �� ��, ����� �� ��� ZIP ��� ����� ��� ���� ���.

Windows - %TKS_BASEDIR%\ext\ibmhttpd\tksDocs\help

UNIX - %TKS_BASEDIR%/ext/ibmhttpd/tksDocs/help

��� %TKS_BASEDIR% Tivoli Kernel Services � ��� �� ������.

�� �� ��� ��Tivoli Kernel Services ���� Tivoli Kernel Services ��� ����. � � ��� � �� ��� �� � �� �����. �� ���� �� ������� ��� �� � �� �� �� � ����.

60 �� 1.2

Page 75: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

¶ wcmd comp findClass <name><version><class name>- ��� ���� ClassLoader�� ��� � �� ��� �����.

��: wcmd comp findClass cm5.1.4 com.tivoli.core.component.Component

¶ wcmd comp findNLSResource <resource> - ResourceBundleClassLoader� ����NLS �� ��� �����. �� �� URL� ���� �� �� JAR ��� �����.

��: wcmd comp findNLSResource welcome/banner.gif

¶ wcmd comp findResource <name> <version> <resource> - ��� ���� ClassLoader�� �� ��� �����. �� �� � URL� ���� �� �� JAR��� �����.

��: wcmd comp findResource cm 5.1.4 com/tivoli/core/component/IComponent.class.

¶ wcmd comp getNLSString <bundle name> <key> - ResourceBundleClassLoader� ���� ��� ResourceBundle� � ��� � ����. ���� �� ���, ���, ResourceBundle� � ���� ��� �����.

� � : w c m d c o m p g e t N L S S t r i n g c o m . t i v o l i . c o r e . c o m p o n e n t .ComponentManagerResources COMPONENT_USAGE

¶ wcmd comp listNLS - �� �� index.rb ��� ��� ��� �����. � � ���� ���� ����� �����.

� � : com/tivoli/core/component/ComponentManagerResources.properties=cmMessages

¶ wcmd comp listNLSUrls - �� ResourceBundleClassLoader� �� URL� �����.

SJI(Simple Jar Installer)SJI(Simple Jar Installation)� LCI ���� ����� ����. LCI� ORB ���� ��, ��, ����� � � �����. ����� ��� �, LCI� �������� ����� �� � ���, �� �� ����� �� � ��� �����.�� ��, �� ����� �� � �� ����� ���� �� �� ��� ������� �������. SJI� �� ��� ���� ��� ������, ����� ����� �� ���� ��� �������. SJI� �� jar �� ���� ���� � ����� ��� ����� Tivoli Software Distribution ��� ���� ����. sji wcmds� ���� �� ��� ���� ��� ������, ����� ��� � ����� �� �� �� � ����.

�� ���� �� �� ����� ��� �� SJI � ����.

¶ wcmd sji showQueue- SJI� �� ���� �� ����� �� �� ���� �� �����.

¶ wcmd sji getUsableList - �� ��� ���� ��� �����.

¶ wcmd sji getInstalledList - �� ���� ��� �����.

¶ wcmd sji listDiff - SJI� �� ���� �� ���� ��� ���� �� � ������� �����.

¶ wcmd sji processQueue - �� �� ���� SJI �� �� �� �����.

61Tivoli Kernel Services ��� ��

4.�

��

��

��

��

��

Page 76: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

62 �� 1.2

Page 77: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

���� ��� ��

Tivoli Kernel Services� � ������ �� ��� �� ��� �� �� ���� ����. � ��� �� ��� �� �� ���� �� �� �� �� ����� ������. �� ������ �� �� �� ���� ����� ��� ��� ����. � � � 1���� ��� �� ��� �� �� ���� ���� �� ��������� ��, � 2���� ���� ��� �� �� �� �� ��� ���.

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

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

1. �� ORB� �� �� ���� �� �� ��� ��� ����� wcmd log ls ������ . � ������ �� �� �� ��� ����� � ����� . �� � ���� �� ��� �� ��� �� � ����.wcmd -i <orb id> log ls -trace

2. ��� trace1.log�� �� �� ��� ���� �� �� ��� ��� ���� ���.wcmd log trace -g log -set isLogging=true

3. �� � ���� �� �� � ����.wcmd log trace -g log -contents

4. �� ����� log.managerTrace�� �� �� ���� �� ��� �� ��� �����. �� Tivoli Kernel Services ���� ��� �� ��� �� �� ��� �� 68 ���� �5� ���� . �� �� �� ���� ���� ���, ��� �� �� ���� ����. �� ��� �����.

wcmd log trace log.managerTrace -set isLogging=true

Wcmd log setLoggingwcmd log message �� wcmd log trace �� -set isLogging ��� ���� �� ���� ��� � � �� ��, ��� �� ��� �� �� �� ���� �� ���� ��� �� ����� �� �� � ����. �� wcmd log setLogging ��, � � ���� �� ���� ORB� �� ��� ��� Tivoli �� �� �� �� ���� ��� �� ��� �� �� �� ���� �� ���� � ��� ���� ���.

5

63Tivoli Kernel Services ��� ��

5.�

��

��

��

��

Page 78: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

wcmd log message wcmd log trace �� ��� �� �� �� ������, � �� ��� ��� ������ ����. �� ��� �� ����� �� �� ���� ��� � � �� ��� � � ����� . � � ����� ��� ��� ����.

��

wcmd log setLogging -l logger_name -f { true | false }

��

wcmd log setLogging ��� �� ��� �� �� �� ��� ��� ����������. � ��� �� �� �� ���� ���� �� ���� ��� �� ���� ��� �� ����� ���.

��

logger_name�� ����� �� ���� �� ���� ��� �����. log ls � ���� ORB� �� ��� ��� ����� .

true logger_name�� ��� �� ���� �� �����.

false logger_name�� ��� �� ���� �� ������.

��

system/services/Logging� logConfigure ��� �����.

��

orb.ProxyTrace�� �� ���� �� �� ��� �� ����� ���, ��� wcmd logsetLogging -l orb.ProxyTrace -f false ��� ����� .

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

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

wcmd log handler console -contents

wcmd log trace <traceLoggerName> -contents

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

wcmd log handler console -set formatterNames=minimal

wcmd log trace <traceLoggerName> -set isLogging=false ���� �� � �� � ����.

wcmd log trace <traceLoggerFile> -set handlerNames=trcFile

64 �� 1.2

Page 79: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

Tivoli Kernel Services ���� �� ���Tivoli Kernel Services �� � ������ ��� �� ��� �� �� �� ���� ��� � �� ���� �� ����. �� ��� �� ��� ���� ��� ����� ��� �� ���� ���� ����.

� 4. Tivoli Kernel Services ���� �� ���

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

Activation Framework orb.msgLogger orb.activation

�� � mac.MessageLogger mac.TraceLogger

CLI(Command Line Interface) cli cliTrace

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

��

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

��

Component Manager orb.componentManager orb.componentManager

�� c f g . u t i l M s g L o g g e r , c f g .

orbMsgLogger

cfg.baseprefs, cfg.coalesce,

c fg .d i rcache , c fg .d i rprefs ,

cfg.eventsender, cfg.fileprefs,

cfg.misc, cfg.omdprefs, cfg.orbres,

c f g . o r b u t i l , c f g . o w n e r ,

cfg.persprefs, cfg.simpleprefs,

cfg.swprefs, cfg.synch

DCM(Data Connection Manager) dcm.msglogger dcm.trclogger

DCI(Depot Component Installer) ���� �� ��� �� ���

��

cds.DepotInstallerTrace

��� directory.msglogger directory.dirservice, directory.

d i r e c t o r y t r a c e , d i r e c t o r y .

t o p l e v e l t r a c e , d i r e c t o r y .

remotehashtablecontext trace,

dirctory.conntrace, directory.

slashtrace, directory.dbslashtrace,

d i r e c t o r y . d i r e v e n t s e r v i c e ,

d i r e c t o r y . d i r e v e n t t r a c e ,

directory.dirvault, directory.

wrappeddireventcontext trace,

directory.parsertrace, directory.

smartenum

��� � DomainBuilderLog DomainBuilderTrace

����� aolog, nels, SnmpManagerLogger,

G a t e w a y S n m p l o g ,

correlatorMessage, GatewayIPlog

aotrace, neltrace,

S n m p M a n a g e r T r a c e r ,

GatewaySnmp, correlatorTrace,

GatewayIP

InfoService ���� �� ��� �� ���

��

orb.InfoService

�� Policy ���� �� ��� �� ���

��

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

��

LCI(Local Component Installer) ���� �� ��� �� ���

��

cds.LocalInstallerTrace

65Tivoli Kernel Services ��� ��

5.�

��

��

��

��

Page 80: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

� 4. Tivoli Kernel Services ���� �� ��� (��)

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

LOCK(Local ORB Creator and

Killer)

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

��

LOCK_TRACE

ORB orb.msglogger orb.tracelogger,

o r b . V o y a g e r P o l i c y , o r b .

t c p T r a n s p o r t , o r b . t r a c e r ,

o r b . l o c a l R e f e r e n c e , o r b .

proxyTrace, voyagerTracer

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

��

ns.tracer, ns.ssltracer

� sec.acnMessage, sec.aznMessage,

sec.cacheMessage

sec.acnTrace, sec.aznTrace,

sec.cacheTrace

� ����� TMDMessageLogger TMDTraceLogger

���� ��� ds.SerializedPersistenceLog ds.SerializedPersistenceService,

d s . S e r i a l i z e d P e r s i s t e n c e ,

ds.SynchSerializedPersistence

Service Manager sm.messageLogger sm.traceLogger

SNMP ��� ���� �� ��� �� ���

��

snmp

TimeSync ���� �� ��� �� ���

��

timeTrcLogger

Activation FrameworkActivation Framework� ���(�� ���� � ���� �� � ����)� ���� ���, ��� ID(OID)� �����. Tivoli Kernel Services� � ������ ���� �� �� � OID� ���, ��� ORB� � ������ �� � ��� ���� ��� � ����. ������ ��� �� ���� orb.msgLogger���. �� ���� ORB� ���� ��� � ��� �����. ������ �� �� ���� orb.activation���. �� ���� Activation Framework� ��� ��(�: ID ��),��� ��� ��, � ��� �����. � OID ���� �� �� �� ��� �����.

�� ��Tivoli Kernel Services �� � �� ��� ��� ��� ���� �� � � �����������. �� �� ��� ��� �� ��� ��� Tivoli Kernel Services ����� ���� .

��� � ���� �� ORB� ��� �� ��� �� �� ���� ����. � ��ORB� ����� ���� tksOut.log� ���� ��� ����.

FNGCP0069I �� ����� �������. �� ����� �� ��� �� ��� �� ����.

FNGTM0005I nnnnnn ��� �� ���� ���.

66 �� 1.2

Page 81: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

FWP1734I ��� ��� ���� � MCR(Management Component Repository)� ��� ����� ������.

MCR(Management Component Repository)� �� ��� ��� ���� � �� ORB� ����� � � ����. ��� �� � ������ �� Tivoli Kernel Services�� � �� ����. ��� ��� ����� .

wcmd ssm listChildren -p PS/PSServer/Roles/MACImpl/5.2.0

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

Children of PS/PSServer/Roles/MACImpl/5.2.0:

MACInstallUser: ROLE

MACLimitedSecurityUser: ROLE

MACLoggingUser: ROLE

MACOrbUser: ROLE

MACResourceUser: ROLE

MACSecurityUser: ROLE

MACSeniorUser: ROLE

� �� ORB� ��� ����� ���� �� �� � �����http://your-host-name/Repository� ���� ��� ��� ��� �� ��� ��� ���. ��� �� �� �� �� ��� ����� ����� ���. ORB 1� ��� �, ORB 2� ���� �� � �� ����� .

�� Tivoli Kernel Services �� � �� �� �� Tivoli Presentation Services� �� Tivoli Kernel Services �� ����� ��� ���.

¶ � �� ORB�� Tivoli Presentation Services� ���� �� ���� ������� ��� ����� .

wcmd svc ls DSM

� ���� ��� PsNsImpl PsMcrImpl� ����� ���.

¶ Tivoli Presentation Services� �� �� ��� ���� � ORB ��� ��� ����� .

wcmd svc ls LSM

� ���� ��� PsJCLauncherService� ����� ���.

¶ �� Tivoli Kernel Services �� ����� ��� ��� ���� ��� ��� ����� .

wcmd dir ls

wcmd ssm listAllChildren -p root

67Tivoli Kernel Services ��� ��

5.�

��

��

��

��

Page 82: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

��� �� ���� � �� ���Tivoli Kernel Services �� � ��� �� ���� mac.MessageLogger���. �� ���� Tivoli Kernel Services ��� ����, ���� � �� ��, GUI� ��� ����� ���� ��� �� ���� ���� �����. ��� �� ��� ����� ��� ��� ����� .

wcmd log message mac.MessageLogger -set isLogging=true

Tivoli Kernel Services �� � �� �� ���� mac.TraceLogger���. �� ������� �� ���� �� �� ��� ���� ����, ��� ���� ��� �� ��� ����� ����. �� �� ���� �� �� ��� ��� ���� ��� ��� �� �� ��� ���� ���. Tivoli Kernel Services �� � �� �� ���� ���(getter)/��(setter), �� � �� ��� Tivoli Kernel Services����� ���� � �������. �� �� ��� ����� ��� ��� ����� .

wcmd log message mac.TraceLogger -set isLogging=true

�� ��� ��Tivoli Kernel Services �� � � �� ��� ���� �� , � ��� �� ��� ���� �����. �� ���� �� ��� � ��� �� ��� ������� � ����. �� ��� ��� ����� ����� � � �� ����� .

� 5. Tivoli Kernel Services �� � �� ��/��� ����

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

com.tivoli.core.console.common.abstractfu � ��� ���� ��

com.tivoli.core.console.common.util � ��� ���� ��

com.tivoli.core.console.component ���� �� GUI, ���� ����� GUI

com.tivoli.core.console.config �� �� �� � ��

com.tivoli.core.console.dcm �� �� ��� ��

com.tivoli.core.console.directory ��� ��� ��

com.tivoli.core.console.filter GUI ���(�, ORB �� ��)� � ��

com.tivoli.core.console.gateway ����� SNMP ��, ����� IP ��, NEL

��

com.tivoli.core.console.hf �, ���, �� ���� �� ����

� ��

com.tivoli.core.console.ipconfig IP �� �����

com.tivoli.core.console.logging �� �� �� ���

com.tivoli.core.console.meta �� �� �� � ��� ���� ��

com.tivoli.core.console.mmcd ORB �� �� ���, ���� �� �� ��

com.tivoli.core.console.orb ORB �� ���

com.tivoli.core.console.sec � �� ���

com.tivoli.core.console.tes ��� �� ��� �� �� ���

68 �� 1.2

Page 83: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

��� ���Tivoli Kernel Services �� �� �� ��� � �� � �� � �� ���� ��� ����. �� �� � � �� ��� ��� ���� � � ����.

¶ ��� ��� ���� Tivoli Kernel Services � ��� ��� ���� .

�: ��� �� �� superadmin ��� ID� ����, ��� ����� ����� ���� password� ���� ���.

wcmd ssm listAttributes -p <PathNameToKernelAccount> principal

¶ ��� ��� ���� principal� �� ���� ��� ���� .

wcmd ssm listAttributes -p <PathNameToPrincipal> staticRole filterRole

¶ �� � ��� ���� ��� ��, ��� ��� ���� ��� ���� .

wcmd ssm modifyAttributes -p <PathNameToKernelAccount> -op replace \password=newpassword

¶ �� �� �� ��� ����� ����� . �� ��, ��� ����� .

PathNameToKernelAccount=MyOU/myFolder/JoeSmith

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

¶ Tivoli Kernel Services �� � ��� ����� �� ���� �� ���(principal)� ��� �� ���� ��� ����� .

¶ ���� �� �� ����� ��� ��� ����� .

wcmd ssm listAttributes -p <PathNameToPrincipal> staticRole filterRole

��� �����Tivoli Kernel Services � ���� Tivoli �� ���� �� CLI(Command LineInterface)�� ��� �� �� � ����. �� ORB, ���, ������� �������.

��� �� ���� � �� ���� ����� ��� �� ���� cli���. �� ���� �� ���� �����. � ����� �� �� ���� cliTrace���. �� �/��, �� ���� ���� � ��� �����.

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

¶ ��� � ����. ��:%d

�: �� ��� ��� �� ������. ��� winsock ��� �� MicrosoftWindows ���� ���� �����.

¶ %d (��%s):%s �� ��� �� ��� ��� � ����.

�: ORB ����� ����� CLI ���� �� ���� � ���.

¶ ���� ack �� �� �

�: ORB� �� �� �� � �� � ���. CPU ORB� �� ����.

¶ FNGOB3001W CLI IOException� ������: ��

69Tivoli Kernel Services ��� ��

5.�

��

��

��

��

Page 84: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

�: wcmd ���� �� �. ��� Ctrl+C� �� �� � �����.

¶ FNGOB3006E bundle_name � �� �� � ����.

�: ��� CLI� ���� � ���. �� ��� ��� ���� ����� ���� �� ����.

¶ FNGOB3009E command_name ��� ��� ����.

�: �� ORB� �� ��� �, ���� ����. �����, �� �� �����.

¶ FNGOB3011E �� expected_value �� �

�: wcmd CLI ���� ��� �

¶ FNGOB3013E ORB ID orb_id� CLI ��� �� � ����

�: ��� ID� ORB� ����. �����, �� �� �����.

¶ FNGOB3018E CLI �� ��: ��

�: CLI ���� wcmd ���� ���� ������. ��� ID ��� ���� ��� ���� ����. �� wcmd� -u ��� ��� � ���.

¶ FNGOB3029E �� �� ��, ���: ��

�: wcmd CLI ���� ��� �

���� �� ������� �� ���� �� ORB ORB ��� �� ���� � �� ��� ����� �� ��� ���. ���� �� ���� �� ���� �� �� ��� ����, �� ���� �� �� �����. ���� ���� �� ���� �� ���� ��� �� � ����. ���� �� ����� �� ��� �� ��� �� �� ���� ���� ��� ���� �� ��� ���� �� �� ��� ����� .

Component ManagerComponent Manager� ORB�� Tivoli Kernel Services ���� ��� �����. ORB��� ����� ��, ���� ����� �� ��� ����. Component Manager� �� �� ��, Tivoli� Component Manager� ���� ��� ��� ����.� ����� ��� ORB� �� �� ���.

Component Manager�� � �� ��� ���� ��� � �� � wcmd comp� �� ����. ��� � �� ���� �� ��� �� ����.

¶ findResource - ����� � � ���� �� ���.

¶ findNlsResource - NLS ����� ���� �� ���.

¶ listNlsURLs - NLS � �� �� �� ��� URL� �����.

¶ listNLS - NLS � �� �� �� ��� �(� �, �� �)� �����.

��� �� ���� � �� ���Component Manager� ��� �� ���� orb.componentManager���. Component Manager� �� �� ���� orb.componentManager���. �� ���� �� ��� ORB ���� ��, ���� � �� ���� ��� ���� �����. �� �� ���� TYPE_INFO, TYPE_ERR, TYPE_ERROR TYPE_WARN ��� �����. ����� �� ��� ��� 9 ���� �1� ���� .

70 �� 1.2

Page 85: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

���� ����� �� ����(Tivoli Kernel Services ������ ��)� �� ����� ��� � ��� ����. �� ����� ��� ��� ���� ������ ���.

��� �� ���� � �� ��������� � �� ��� �� ���� �� , cfg.utilMsgLogger cfg.orbMsgLogger� � �� ��� �� ���� ����. �� ������ ��� �� �� ���� ����.

¶ cfg.baseprefs - �� ��� ��� �� ��� ��. �� �� ���� � ��� ��� ���� �� ���� ��� �� ���� �� ���� ����.

¶ cfg.coalesce - �� ����� ����. �� ���� �� �� ��� ���� ����, ��� �� ��� �� � �����. �� ���� �� �� ORB ���� ��� ��� �� ���� ����. �� ���� � ��� ��� �� ��� ���� �� ��� ���� cfg.orbres cfg.omdprefs� �� �����.

¶ cfg.dircache - �� ��� � �� ����� ��. cfg.dirprefs �� � �� ���� ��� ����� ��� �� �� � ���� ��� ���� � ����� ������. � �� ��� ��� ��� �� ��� ���� ������, cfg.dircache� �� ���� �� ���� ��� �� ����.

¶ cfg.dirprefs - ��� �� ��� ���� ���� ���� �� �� ��. ��� ��� �� ���� ���� ��� ���� � �����. ��� ����� �� �� ��� ����� �� �� ���� ��� �� ����. ��� �� ���� ��� ��� �� � �� , ��� �� �� �� � �����.

¶ cfg.eventsender - �� ��� ��. ���� ���� � ��� ��� �� ��� �� ��� �� ���� �� ���� ����. ���� �� � �� ��� � �!��.

¶ cfg.fileprefs - �� ���� �� �� ��. �� ��� � ORB ���� ��� �� � ���� �����. ��� �� ����� �� ���� ���� ����. �� ��� ��� ���� � �� ��� ��� ���� �����.

¶ cfg.misc - �� �� ��. �� ����� ��� �� ��� �� ���� ��cfg.dirprefs� ���� � �� ������ �� ���� ���� ��� .

¶ cfg.omdprefs - �� API, VetoableChangeListener �� ����, �� �� ��. ��� �� ���� API ��� ���� �����. � �� ���� InfoService����� �� ��� ��� �� ��� �����. cfg.orbres cfg.coalesce� �"��� ��� �� ����.

¶ cfg.orbres - �� �� �� InfoService� ���� ����. InfoService ���� �� ��� ���� ���� ��� ���� �����. ����� ������ �� � ��� ��� ��� ���� �� ��� �� ���� ��� ��� ���� ����.

¶ cfg.orbutil - � ��� �� �� �� �� ��. � �� ��� wcmdcds install wcmd cds uninstall � ��� �����. ����� �� ��XML� ������ �����. ���� �� � �/����� ����� � �!��.

71Tivoli Kernel Services ��� ��

5.�

��

��

��

��

Page 86: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

¶ cfg.owner - �� ��� �� ���� ��� ����. ��� ���� ��� ����, �, ���, �� �� ��� �� �� ����� �� ��� ���� ��� ���� ���� ����� ���� ����. �� ���� ����� ��� ��� ���� ����.

¶ cfg.persprefs - �� ��� �� ����. �� ��� ��� � �����. ��� ���, � �� �� ���� ��� ��� �����.

¶ cfg.simpleprefs - � ORB ���� ���� �� API. � ��� � � ORB ���� ��� � �����.

¶ cfg.swprefs - �� ��/��� ��, ���� �� �� ���� �� �� ��� ���� ��. ���� �� ��� ���� � ��� � �����. ��� ����� ���� ��� ���� �� ���� �� �� ��� �����.

¶ cfg.synch - ���� �� � �� � �� ��� ���� ����. FNGCF1013I���� �����. ��� �� � �� ����� ��� ���� ��� �����. �� ���� �� �� � ��� ��� �����.

�� ��� ���� ���� ��� ��� ���� �� �� �� � API�� ���� ��� �� , ���� ��� ���� �� �� �� � ��� �����. �� ������� �� �� ��� �� ���� ���� ��� ��� ��� ���� ���. ���� �� wcmd � ���� ���� , ���� ���� ��� ����� ��� ���� �� ��� ����� ����. �� ���� ��� ������� ��� ��� .

1. ��� wcmd cfg get � ���� API ���� ��� ����� . ��� ����, ���� API� ��� ���� �� ��� � ���� ���� ���� ��� ��� �� ���� ����.

2. ��� ���� ���, ��� ����� ��� ���� ���� � � �����. ��� wcmd cfg refresh� ���� �� ����� ����� . ���� �� ��� ���� ���� ����� �� �� �� API ��� ���� ���.

3. ��� �� ���� ���, ��� ��� ���� ��� ��� �������� .

wcmd dir ls -a /<namespace>/cfg/<oid>/....

4. ��� ��� ���� ���, ���� ���� ��� ��� ���� ����. ��� �� ORB �� ���� �� ���� �����.

���� FNGCF1012E �� FNGCF1010W ���� �� ��DirectoryNotAvailableExceptions� ���� . ORB� ���� � ���� ������ �� ��� �����. ��� wcmd cfg flush� ����� �� ��� ��� ��� ����� ��� ����� .

5. ��� ��� ����, ���� � ��� �� ORB ��� �� ������� ��� ���� � ����. FNGCF1010W �� FNGCF1014W ���� ��� ��� ���� .

6. �� ��� ORB� �� �� ��� ��� ���� ��� ��� ���� ���.

7. ���� �� ��� ����, ORB� ��� ������ ��� ���� ���� � ����. .orbdefaults .metadata� ��� � �� �� ���� ����� �� ��� �� � ����.

� ��, $TKS_BASEDIR/orb.x/cfg/<resource>/timestamp/.properties� �� ���� ��� ����� ���� ORB� ����� ��� ���� ���.

72 �� 1.2

Page 87: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

8. ��� wcmd cfg getcoalescing wcmd cfg contents /.coalescing� ���� ORB� �� �� ��� ���� ����� . ��� ���� ��� InfoService� ��� ����� ����� .

9. �� ��� ���, �� ��� � �� ��� ��� �� ��� ��� ��� �� � ����. wcmd cfg dircache stats� ���� �� ���� � ����� ����� .

10. ���� � ���� ��� �� � ���, Tivoli �� ���� ����� .

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

¶ ��: FNGCF1010W, FNGCF1014W ��� �� DirectoryNotAvailableException� �����.

¶ �: Slash ���� �� � ��� � � �� ����.

¶ �: ��� �� ���, runstats� ���� Slash ���� ��� ����� . runstats �� ��� �� ��� ��� Tivoli Kernel Services �� ���� .

��� �� VetoableChangeListener� ��� ���.

¶ ��: �� �� �� ���� IllegalStateException. �� ���� � �� � � ��� �� � ����.

¶ �: �� ��� �� VetoableChangeListener� ����� �� � ����. ��� wcmd cfg contents <node># wcmd cfg contents <node>#<key>� ���� ��� VetoableChangeListeners �� ��� ����� ����� .

¶ �: VetoableChangeListeners� �� � ��� �� �� ����� .

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

¶ ��: �� �� � ���� � �� ���� �� �����.

¶ �: �� ��� ORB ����� ���� ����.

¶ �: ��� wcmd cfg whence �� wcmd cfg getcoalescing � ���� ��� �� ��� ��� ����� .

��� �� wcmds� �� � FNGCF1001E ���� ���� ���.

¶ ��: wcmds� �� � FNGCF1001E ���� �����.

¶ �: � ������ �� ��� � �� ���� �/�� ���� �� ���� ���. �� �� �� �� wcmd cfg �/�� ���� ���. ORB �� ORB �� ��� �� ���� �� ��� �����. � ������ ���ORB �� ORB ��� �� � ��� �� ���� ����� �����.

¶ �: ��� �� ��� ���� .

��� �� ORB� ��� � ��� ��� �� ���.

¶ ��: ��� �� � � ��� �� ����, ��� ���� ORB��� ��� ��� �� ��� �����.

¶ �: ��� ���� ���� ��� ���� �� API ��� ����� � ���.

73Tivoli Kernel Services ��� ��

5.�

��

��

��

��

Page 88: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

¶ �: ��� ��� ��� ���� �� API ��� ���� ���. ��� wcmdcfg flush � �� � ����.

��� �� ORB� �� ���� ��� ��� ����� ���� ���.

¶ ��: ���� ��� �� �� �� �� ���� ��, ORB� �� ���� ��� ����� ����.

¶ �: �� ��� ���� ����� ���� ���� ��� ��� ���� ��� ��� �����. ��� ���� ���� � ��� ORB� ���� �� ��� ���.

¶ �: $TKS_BASEDIR/orb.x/<resource>/.timestamp/.properties� �� �� ���� ��� ����� ��� � ORB� �� ����� . ��� ���� �FNGCF1009I ���� �����.

��� �� ����� ��� ���� �� ORB� ����� ���.

¶ ��: � ORB�� ��� ���� ����� ����� �� ��� ORB� �� ���� �� �����.

¶ �: ORB�� ��� �� �, ��� ��� ����� � ����. � � �� ��� ���� �����. � �� ��� �� , ORB� ���� �� ��� �����. �� ��, �� ORB�� ��� ��� �� �����.

¶ �: ��� �� ORB� ��� ����� .

DCM(Data Connection Manager)DCM(Data Connection Manager) � ������ �� �� ��� �����. �� ��� �� ��(�: ������� �� URL� �� ���� �� ����� �� � ��� �� ��� ��� Tivoli DAS �� ��) �������. DCM� ����� ���� dcm.msgLogger��, �� �� ���� dcm.trcLogger���. �� �������� ��� ����, �� �� ���� �� �� �����. DCM �������� ��� ��� ����. ����� �� �� �� �� ���� � �������� �� �� ��� � � ����.

DCI(Depot Component Installer)DCI(Depot Component Installer)� ���� JAR ��� ������ ����� ORB� ��� �� � ��� ���. DCI� � ��� ��� ����� ��� ���� �����. � �� ORB�� ��� ����� ���� �� ��� �� � � ����.

��� � ���� ��� ��� �� DCI ��� ���� � � ����. ����� ��� �� ��� ��� � ����� �� ����. ��� , DCI� � �� ���� ����orb.1/cd directory� URL� ����. � URL http://<host name>/Repository� �����. ��� �� � URL� ���� � ����� ����� � ��� �����. ��� �� ��� ���� � ����� ��� ����� . ��� �� �� �� �� ��� ����� ����� ���. ORB 1� ��� �, ORB 2� ���� �� ��� ����� .

74 �� 1.2

Page 89: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

��� �� ���� � �� ���DCI �� �� ���� cds.DepotInstallerTrace���. ����� �� ��� ���� ���� � ��, � �� �� ���� ���� �� �� ��� ���� ���. ����� �� �� ��, �� ��� ����� .

1. ��� �� ��� ��� DCI � ����� .

wcmd dci rebuild

wcmd dci processQueue

wcmd dci showQueue

2. �� � ���� � ����� �� ��� ���� ��� URL� ����� .

wcmd cfg get /com/tivoli/core/mmcd/inventory nonOrbParentDepotURLs

���� ��, ��� URL � ���� ����� �� � ����.

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

������� ���� write seldom/read often ��� �� ������ ����. �� ���� �� � ����� ���� , ����� ������� �� �� � ��� ����.

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

¶ directory.dirservice- �� Dirservice Service �� �����.

¶ directory.directorytrace - �� �� ��� � � �� �����.

¶ directory.topleveltrace - �� �� �� �� ���� �� �����.

¶ directory.remotehashtablecontexttrace - �� �� �� �� ���� �� �����.

¶ directory.conntrace - ���� �� Slash ���� �� � �� �����.

¶ directory.cachetrace - �� �� ��� � �� �����.

¶ directory.slashtrace - Slash ���� API� �� �� �� ���� �� �����.

¶ directory.dbslashtrace - Slash ���� API� �� �� �� ���� �� �����.

¶ directory.direventservice - �� �� ��� �� �����.

¶ directory.direventtrace - �� �� ��� ���� �� �����.

¶ directory.dirvault - �� ��� �� �� �����.

¶ directory.wrappeddireventcontexttrace - �� ��� ��� ���� �� �����.

¶ directory.parsertrace - �� ���� ����� �� �����.

75Tivoli Kernel Services ��� ��

5.�

��

��

��

��

Page 90: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

¶ directory.smartenum - ������ �� ��� ���� ���� �� SmartEnumerator �� �����.

��� ������ ���� �� �� � �� � �� � �� ���� ��� ����. � �� �� Slash ���� ����� �� � ��� ���. ��� ��� ���� � ��� ����.

¶ ��� ����(DB2, Oracle)� ���� � ���.

¶ Tivoli DAS ��� ���� � �� ���� ���� � ���.

¶ ��� ��� ��� ���� ����.

¶ �� ��� � � ����.

¶ �� �� ��� ���� ����.

¶ ���� ����.

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

¶ ��� ��� �� �����.

¶ ��� ���� ���� �� �� ���� ��� ������.

¶ �� ���� ��� ����� ���� � ��(���� � �� �� �� ��)� ���� ������.

¶ �� ������� ��� ������.

¶ InfoService ������� ��� ������.

�� ��, ��� ���� ���� �� ����� ��� ���� ���.runstats � ���� ��� ����� ��� ������� ����� .runstats �� ��� �� ��� ��� Tivoli Kernel Services �� ���� .

��� ��� ��� ��� ���� �� � ��� �����. Tivoli Kernel Services � ��� ��� ����.

�� � �� � 10���. ��� �� � 2��, ��� �� � 65���. ����� � �� � ORB � �� ���, � �� ��� ���. �� � ORB�� ���� � ��� �� �� � ����� �� ����� �����. ��� ���� �� ��� ��� ORB ����� ���� 10�� �� ��� ��� �� � �� ��� ����. �� ���� �� �� � ��� �� � ��� ��� ��� ����(�����, slash� �� ���)� ���� ���� ���.

����� InsufficientResourcesException �� �� ���� ��� ���� ��� ��� ���� ���� �� � ��� � �� ��� ����. �� ����� �� � �� ���� �� ��� �� � ��� ��� ���.

wcmd cfg get /com/tivoli/core/directory/slash DBPOOL.CONNECTION.POOL.SIZE

76 �� 1.2

Page 91: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

�� � ��� 65� ��(65�� ���� �� ���� ���� ��), � ������ ���. � ��� ��� �� ��� ����� �� � �� � ������ �� ���� ���� ���� �� ���� �� ��� ��� ������� ���.

� �� �� ��� M A X _ N U M B E R _ O F _ A C T I V E _ A P P L I C A T I O N S �DBPOOL.CONNECTION.POOL.SIZE �� ���, �� ��� ���.

DBPOOL.CONNECTION.POOL.SIZE� � 65� ��� ��InsufficientResourceExceptions ���� �� ����, ��� �� �� �� ��� ���� � Tivoli Kernel Services ���� �� ��� ����� �� ���.

��� ����� �� region ORB ��� � ORB� �����. � ����� � �� ORB�� �����. ��� ��� InfoService ���� ���� region� ���� ORB��� ������. �� InfoService�� �� ORB� �� ��� �� � � �!��.

��� �� ���� � �� ������ �� ��� �� ���� DomainBuilderLog���. �� ���� ��� �� ���� ���� �����. ��� �� �� �� ���� DomainBuilderTrace���. �� ���� �� �� ���� �� ��� region� ��� �� ��� �����.

�� ��� ����� � ����� �� �� ���� � ��� �� ��� ����. �� ���ORB ��� ��� ���� ���� ���. getproperties InfoService ���� ���� ORB ��� ����� . � �� ��� � ORB� ��� region� ������ ���� ���. �� ORB� DefaultRegion ORB �� orbsInDefaultRegion ORB �������� ���. ORB� ORB ��� � � ��� DefaultRegion� �� � �� �� ORB �� � ��� ����� ���.

������ Tivoli Kernel Services �����, GatewayIP GatewaySNMP ����� Tivoli KernelServices ������� ��� ��� �����. ������ ������ ��� � ������ ����, �� ���� �� �� ���� �� Tivoli Kernel Services ������ �����.

������ �� �� �� �� ����� �����. Tivoli Kernel Services�� IPSNMP�� � �� ��� ������ ����. � �� � � ����� ActionObjectsNelService� ����. ActionObjects� ����� ������� ���� �����.ActionObject� ����� ��� ����� ������� �� ���� ����� �����. NelService� ��� �� ������ ���� �� ActionObjects�� ���� ������.

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

77Tivoli Kernel Services ��� ��

5.�

��

��

��

��

Page 92: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

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

¶ aolog - � ��� ��� �� ���

¶ nels - NelService ��� �� ���

¶ SnmpManagerLogger, GatewaySNMPlog, correlatorMessage - GatewaySNMP ��� �� ���

¶ GatewayIPlog - GatewayIP ��� �� ���

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

¶ aotrace - � ��� ��� �� NelService���� �� � ��� ����,�������� ��� ���� � ��� �� �� ���

¶ neltrace - � ��� ��, ����� ���, �� ����� ���� ����NelService �� �� ���

¶ SnmpManagerTracer, GatewaySNMP, correlatorTrace - �� ��, �� ��, ��� ��� ���� GatewaySNMP �� �� ���

�: correlatorTrace� �� �� ��� �����.

¶ GatewayIP - �� ��, �� ��, ��� ��� ���� GatewayIP �� �� ���

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

¶ ��: �� ������ �� � ��, �� ���� ���, NelService� �� ���� ������ �� ��� ����.

¶ �: ��� wcmd NelService listGateways <type>� ���� ��� �������� ����� . ��� wcmd IpConfig listNat� ���� ��� NAT ID �� ��� ����� .

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

¶ ��: ������ � �� ����.

¶ �: NelService� �� �� ����� �����. � ��� ����� ���� ����� ����. ��� wcmd NelService listGateways <type>� ���� ��� ����� ��� ����� .

InfoServiceInfoService� ��� TKS ����� ��� � ORB ������ �����. �� ORB�� ��� �����. Tivoli Kernel Services � � �� �� �, ORB ��, ORB ����� ���� �������. InfoService� ��� ���� � ���� � �� ����� ���� �����.

��� �� ���� � �� ���InfoService�� ��� �� ���� ����. �� �� ���� ��� �����.InfoService �� �� ���� orb.InfoService���. �� InfoService ���� �� �/��� �����. �� ��� �� �� ��� ��� �����. ��� ��� �� ��

78 �� 1.2

Page 93: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

� �� ���. �� ����� ���� �� �� ��� ����. �� ��,InfoService� ���� �� ORB ��� ����� �� � NameNotFoundException��� �����.

�� PolicyTivoli Kernel Services �� policy� ��� ����� ��� �� �� � �� ��� ��� ��� �� �� �� ��� �� �����. �� ��� ��� ��������� ���� ���. �� policy� �� ��� � �� � �� �� �� �� �� �����. ����� JVM � �� ���� � ��� �����. �� �� �� ��� ����� �� ��� ����� .

1. LOCKCfg.properties ��� ��� LOCK_JVMARGS ���� ��� �� ���� .

LOCK_JVMARGS=-Xms32m -Xmx256 -Djava.security.debug=access,failure

2. ORB� �� ���� �� �� �� ��� ����� .

3. �� ��� �� �� ��� �� ���� �� log/stderr.text� ���� .

4. �� �� ���� ����� . �� ���� ��� ����� ���� ���.

LCI(Local Component Installer)LCI(Local Component Installer)� ORB ���� ��, ��, ����� � � �����. �� ORB�� �� �� �� � ��� LCI ����� ����. LCI� � ORB���� ���� ��� �����. ��� ORB� ��� ����� ��� ���. ����� ���, ���� ��� ����� �� ���� ���� � ���. wcmd lcilistDeployedComponents �� ��� ��� ����� ���� ���� ��� ��� ���.

��� �� ���� � �� ���LCI� �� �� ���� cds.LocalInstallerTrace���. ����� �� ��� ���� ���� � ��, � �� �� ���� ���� �� �� ��� ���� ���. ����� �� �� ��, �� ��� ����� .

1. http://<hostname>/Repository� �� ��� �� ��� ���� . � ����� �� URL ��� ����� . ��� �� �� �� �� ��� ����� ����� ���. ORB 1� ��� �, ORB 2� ���� �� � �� ����� .

2. ��� wcmd lci rebuild LCI � ���� ��� �� ����� ��� �������� ��� ����� .

3. wcmd lci processQueue LCI � ���� � ��� ����� .

4. wcmd lci processQueue� ��� ��� ����� �� ����, �� ��� ������ �����.

LOCK(Local ORB Creator and Killer)LOCK(Local ORB Creator and Killer) ORB� ��, ��, �� ���� �����.LOCK Microsoft Windows NT 2000 ���� �� ���� ���� UNIX ����� #�� ���� �� �� �����. LOCK� �� �� ���� LOCK_TRACE���. � �� �� ���� ��� ��� �����. LOCK ��� ��� � �� ����� ������ �� ORB� �� ��� �, LOCK ��� �����. ��� LOCL��� �����, $ORBDIR/bin/$INTERP/LOCKCfg.properties� ��� LOCK_TRACE

79Tivoli Kernel Services ��� ��

5.�

��

��

��

��

Page 94: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

�� false�� true� ���� . �� �� LOCKCfg.properties ���� LOCK_LOGDIR�� ��� ���� ����. �� �� �� hour_minute_second.trc���.

ORB ��� �� ���(ORB)� ��� �� ������ ��� Tivoli Kernel Services ��/��/��� ����� ����, JVM(Java Virtual Machine) � ���� ����.

��� �� ���� � �� ���ORB ���� ��� �� ���� orb.msglogger���. ORB ������ �� �� ���� �� � ����.

¶ orb.tracelogger - ORB �� �� ��� ���.

¶ orb.VoyagerPolicy - �� �� �� ��� �� �����.

¶ orb.tcpTransport - ORB TCP/IP �� �� �����.

¶ orb.tracer - ��� � �� �����.

¶ orb.localReference - �� ���� �� �� ��� ��� �����.

¶ orb.proxyTrace - odstat ��� �����.

¶ voyagerTracer - Voyager � ���� �����.

�� ��� ���� ��� ��� ��� �� JVM �� ��� �����. JVM � �� ����� ��� �� ���� ���� ��� �����. �� �� ������ � �� ����, ���� JVM� �� �����. � ����� ��� ���� �� ����.

java.security.AccessControlException

��� �� ����� -Djava.security.debug=access,failure� LOCK_JVMARGS �� ���� LOCKCfg.properties ���� � ���� �� � ORB� ����� ������� . ����� ��� �� ��� jar ��� �����. ���� �� ����.

���� �Tivoli Kernel Services ���� � � ORB� �� � ��� ��� ������� ���� �� ��� ��� �� �� �� �� �� ��� ����. ���(ID) ORB� CA(Certificate Authority) �� �� ���� � ���� �����.�� ��� CA� �� �� ��� ����, �� �� �� �� CA� ������ �� ��� �����. CA� ���� �� ��� �� ID ORB ��� ������, ID ORB� �� ��� �� �����. ID ORB� ��� ��� ������ ORB� SSL ��� ����. CA� �� ORB� �� � ORB� �� ��� ��� �����. ��� � ��� ���� ��� ��� ORB� OID(ORB identifier)� ���� ����.

�� ��� �����, � � ORB� �� �� ���� �� ��� ����. �� ���� ���� ��� ���� ���� �(stash) ��� �� ��� ��� ���� �� ��� ��, �� ��� �(stash) ��� ������ ����� ��������. Tivoli Kernel Services� ORB ��� �� �� ���� ��� �� ����� ��� ���� ���� �����. �� �� ��� �(stash) �� �� �� �

80 �� 1.2

Page 95: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

� �(stash) ��� �� ORB � ���� �� ����� � �� �������. �� CA� �� �� ID ORB� CA� ��� �� �� ����� ������,�� ����� ID ORB� �� ����� �������.

���� ID ORB� �� ���� � ��� �������.

CA ������ �

¶ $ORBDIR/private/ca/db/*.cdb

¶ $ORBDIR/private/ca/db/*.rdb

¶ $ORBDIR/private/ca/db/*.log

CA � �

¶ $ORBDIR/private/ca/CAVault.keyring

¶ $ORBDIR/private/ca/CAVault.keyring.sth

ID ORB �� �

¶ $ORBDIR/private/LocalOrbVault.keyring

¶ $ORBDIR/private/LocalOrbVault.keyring.sth

�� �� ORB� �� ���� � ��(ORB �� �)� �������.

¶ $ORBDIR/private/LocalOrbVault.keyring

¶ $ORBDIR/private/LocalOrbVault.keyring.sth

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

¶ ��� �� �� ��� ��

¶ ��� �� ��� �� �� �

¶ ��� ��� �� �� ��� ��(�, ��� ��)

�� ��� ��� ��� ��� � � �� �� �� ���� �� �, ���� � �� ���� � ��(�: �� �� ��� ��)� ����. ��� �������� �� ���� � ��� ���� ��� ��� �� ���. ��� ORB ID����� ������ �� ��� ���� ��� �� ��� �� OID� ���� � ��� ���� ���. ��� ��� ���� �� ���� ��� �� ��� 82 ������� �� ���� ���� .

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

¶ ns.tracer - ���� � ��� �� ��� ���� NetSecurityService/NetSecurityClient�� �����.

¶ ns.ssltracer - SSL �� �� �����.

81Tivoli Kernel Services ��� ��

5.�

��

��

��

��

Page 96: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

�� ��� ��nsrecover � ��� ���� ��� ��� � � ��� �� ��� ��� ��� �� ���� � ��� �� � ����. � � ��� ���� �� ��� ������ ��� ��� �� ORB�� ���� ������ �� ���� ��� �� �� ���� � � ��� ���� ���.

nsrecover � ��� �� �� ORB� �� ���� ����� ���. nsrecover� ���� �� �� �� ORB� ���� ���. nsrecover � ��� ����� ��$ORBDIR �� �� Tivoli Kernel Services ZIP ��� JAR ��� �� � �� ORB� ���� ��� ���.

�: �� ��� �� ORB� �� ���� �� �� ORB ���� ���� ���.

$ORBDIR �� �� ���� Microsoft Windows ����� nsrecover.bat ���,AIX/Solaris ����� nsrecover ����� ���� nsrecover � ��� ����� .��/ �� ORB � ���� bin ������ ����. ���� ������ nsrecover� ���� �� �� ��� ��� ��� �� ��� ��� �����. nsrecover � ��� ���� ��� �� � ����.

¶ ID ORB� CA(Certificate Authority) �� �� ����

¶ ID ORB� �� ��� ��

¶ ID ORB ��� �� ORB� �� ��� ��

��� �� � ���� nsrecover� ���� �� �� �� �� �!��.

CA(Certificate Authority) �� � �� ������ ��nsrecover � ���� ID ORB� �� ���� � ��� �� �� � ����.nsrecover �� � �� CA ��� � �� CA ���� �� ���� � � ��� ��� �� � �� ����� �����. �� �, �� ��� �� CA ���� ���ID ORB� � ��� ��� �����.

nsrecover �� ���� ���� ���. �� ORB�� � �� CA ���� ��� ���� ���� �� ���� � ORB� ����� �� ���� �� �����.nsrecover ��� ���� �� �� ��� ����.

¶ �� CA �� ��/�(stash) �� �� CA ���� ��� �� �� ���� � ���� � � �� ��

¶ �� CA �� �� ��� ��

ID ORB� CA(Certificate Authority) ��� �� �� ���� � ��� ���� ��� ����� .

1. ID ORB� ����� .

2. ID ORB ���� ����� ��� .

3. ��� � �� $ORBDIR �� �� ���� .

4. �� ���� nsrecover �� �� �� ����� ����� .

nsrecover -d <orbdir> -i <oid> ca

��� <orbdir> ID ORB � ���� ��� ��(�: C:\Tivoli\orb.1)��, <oid>� ID ORB� ID(�: 3.xxxxxxxxxxxxxxxx.1.xxxxxxxxxxxxxxxx)���.

82 �� 1.2

Page 97: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

�� ID ORB ��� ��� �� �� ��/�(stash) ��� �� � �� ���� ���, ��� <oid>� �� ID ORB ��� ��� ORB ID �����. ID� ���� ��� � ���� ���� nsrecover ��� ���� ����. �� ��� ���� �� �� �� ID ORB� ID� ��� � �� ���� �� ��� �� �����.

��/�(stash) ��� ��� ��� ��, � �� ���� ��� <oid>� nsrecover��� ID ORB� ID� �����. �� �, �� ��� ���� �� nsrecover� ID ORB� ��� ��� ��� �� �� �� ��/������ � ��� �����. � �� �� private-yyyy-mm-dd-hh-mm-ss��, ��� yyyy-mm-dd-hh-mm-ss� nsrecover� �� �� ��� ��/��� �����. � �� ��� �, nsrecover� ��� <oid>�ID ORB� ID� ���� �� CA �� ��/�(stash) ��, CA ���� ��, ID ORB��� �� ��/�(stash) ��� ��/�����.

�� ID ORB� �� �� � ����. �� � �� CA ��� ID ORB� ��� ���������� �� ORB� ����, ID ORB�� ���� CA��� � ��� ��� ����� ��� nsrecover� ���� �� ���� ���. ��� ��� ID ORB ����� �� �� �� ��� ��� �� ORB� � ��� ���� ���.

�� ��� ORB �� ��nsrecover � ���� �� CA �� �� CA ���� ��� ���� �� IDORB� ��� ��� �� � ����. nsrecover �� ��� �� CA ���� ��� ID ORB� ��� � ��� ��� �����. nsrecover ��� ���� �� ������ ����.

¶ ID ORB� ��� �� ��/�(stash) ��� �� �� ���� � ���� �� �� ��

¶ ID ORB� ��� �� �� ��� ��

ID ORB� ��� �� ��/�(stash) ��� ���� ��� ����� .

1. ID ORB� ����� .

2. ID ORB ���� ����� ��� .

3. ��� � �� $ORBDIR �� �� ���� .

4. �� ���� nsrecover �� �� �� ����� ����� .

nsrecover -d <orbdir> -i <oid> idorbvault

��� <orbdir> ID ORB � ���� ��� ��(�: C:\Tivoli\orb.1)��, <oid>� ID ORB� ID(�: 3.xxxxxxxxxxxxxxxx.1.xxxxxxxxxxxxxxxx)���.

�� ID ORB ��� ��� �� �� ��/�(stash) ��� �� � �� ���� ���, ��� <oid>� �� ID ORB ��� ��� ORB ID �����. ID� ���� ��� � ���� ���� nsrecover ��� ���� ����. �� ��� ���� �� �� �� ID ORB� ID� ��� � �� ���� �� ��� �� �����.

��/�(stash) ��� ��� ��� ��, � �� ���� ��� <oid>� nsrecover��� ID ORB� ID� �����. �� �, �� ��� ���� �� nsrecover� ID ORB� ��/�(stash) ��� � ��� �����. � �� �� LocalOrbVault.keyring-yyyy-mm-dd-hh-mm-ss LocalOrbVault.keyring.sth-yyyy-mm-dd-hh-mm-ss��, ���yyyy-mm-dd-hh-mm-ss� nsrecover� �� �� ��� ��/��� �����. �� ��� �, nsrecover� ��� <oid>� ID ORB� ID�� ���� ID ORB ��� �� ��/�(stash) ��� ��/�����.

83Tivoli Kernel Services ��� ��

5.�

��

��

��

��

Page 98: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

�� ID ORB� �� �� � ����. ��� �� CA ��� �� ��� ��� ������� ��� ID ORB� � ��� �� ORB� �� ���� ��� �� ORB ��� ��� �� � ����.

�� ��� �� ORB� �� �� ��nsrecover � ���� ID ORB ��� ORB� ��� ��� �� � ����.nsrecover �� ��� �� CA ���� ��� ID ORB� ORB� ��� � ������ �����. nsrecover ��� ���� �� ��� ��� ����.

¶ ORB� ��� �� ��/�(stash) ��� �� �� ���� � ���� � ��� ��

¶ ORB� ��� �� �� ��� ��

ID ORB ��� ORB� �� ��� �� ��/�(stash) ��� ���� ��� ����� .

1. ID ORB� �� ��� ����� .

2. �� �� ORB� ����� .

3. �� �� ORB ���� ����� ��� .

4. ��� � �� $ORBDIR �� �� ���� .

5. �� ���� nsrecover �� �� �� ����� ����� .

nsrecover -d <orbdir> -i <oid> -h <host name> -o <port> -u <userid> orbvault

��� <orbdir> ID ORB � ���� ��� ��(�: C:\Tivoli\orb.1)��, <oid>� ID ORB� ID(�: 3.xxxxxxxxxxxxxxxx.1.xxxxxxxxxxxxxxxx)��, <host name> IDORB� �� �� ��� ��� ����, <port>� ID ORB� �� ���� <userid>� �� ��� �� Tivoli Kernel Services ���� ��� ID���.

�: nsrecover ��� <userid> ��� �� ���� �� �� �� ����� �����.

�� ORB ��� ��� �� �� ��/�(stash) ��� �� � �� ���� � ��, ��� <oid>� �� ORB ��� ��� ORB ID �����. ID� ���� ��� � ���� ���� nsrecover ��� ���� ����. �� ��� ���� �� �� �� ORB� ID� ��� � �� ���� �� ��� �� �����.

��/�(stash) ��� ��� ��� ��, ��� � ���� ��� <oid>� nsrecover� �� ORB� ID� �����. �� �, �� ��� ���� �� nsrecover� ORB� ��/�(stash) ��� � ��� �����. � �� �� LocalOrbVault.keyring-yyyy-mm-dd-hh-mm-ss LocalOrbVault.keyring.sth-yyyy-mm-dd-hh-mm-ss�� ���yyyy-mm-dd-hh-mm-ss� nsrecover� �� �� ��� ��/��� �����. �� ��� �, nsrecover� ��� <oid>� ORB� ID� ���� ORB ��� �� ��/�(stash)��� ��/�����. �� ORB� �� �� � ����.

��� ������� � ���� nsrecover � ��� �� ��� �� �� � �� ��� � �� ����. nsrecover � ��� ���� � ���� ��� �� ���� � ORB OID� ��� ��, ID ORB� ��� ��� ���� � ID ORB ��� ��, ���� � ��� ID �� ��� �� ����� ��� NetSecurityService� �� � �� �� �� � � ����. -t ���� ���� nsrecover � ��� �� ��� ��� nsrecover� ���� �� ���� Tivoli �� �������� .

84 �� 1.2

Page 99: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

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

¶ ��: CA ����, �� CA � �� ID ORB �� �� � ����.

¶ �: � �� tskOut.log� ���� � ���� ��� ����� .

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

¶ ��: ORB �� �� � ��, NetSecurityService� �� � ��� ID ORB� ��� ����.

¶ �: � ��, tksOut.log� ���� � ���� ��� ����� .

��� �� NetSecurityService �� NetSecurityClient ���� �� ��/�� ����.

¶ ��: CA ���� , �� CA �(NetSecurityService) �� ORB �(NetSecurityClient)� ����� �������.

¶ �: $ORBDIR/log/stdout� ���� � ���� ��� ����� .

�� ����� ��� ���� ��� �� ��, �� ���� � � �� ������ ��� � � ����. �� ORB�� TOD ��� ���� �� ORB� ���� ���� ����� . ���� � �� �� ��� �� � ���� � ��� �� ��� � ORB� �� �� ID ORB� ����� ���� �� �����.

�Tivoli Kernel Services � ���� ��� ID� ����� ��� ���� �� ������� ��� ���� ����� �� ��� � ������ ��� � �� ��� �����.

��� � ���ORB� ���� ��� � ����� ��� ���� ���� ��� � �����.��� ��� ��� ���� ��� wcmd -u superadmin list� ����� . � ������ �� �� ��� ��� ����� wcmd -u superadmin ssmlistAllChildren -p ″root″� ���� � ��� ��� ��� � ����� .

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

¶ sec.acnMessage - � ����� �� ��� �� ���

¶ sec.aznMessage - �� ��� �� ���

¶ sec.cacheMessage - SDSRemoteService, SecurityCacheService ��� �� ���

¶ TMDMessageLogger - � ����� ��� �� ���

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

¶ sec.acnTrace - � ����� �� �� �� ���

¶ sec.aznTrace - �� �� �� ���

¶ sec.cacheTrace - SDSRemoteService, SecurityCacheService �� �� ���

¶ TMDTraceLogger - � ����� �� �� ���

85Tivoli Kernel Services ��� ��

5.�

��

��

��

��

Page 100: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

��� ���� ���� �� ��� �� �� � �� ��� � �� ����. � �� ���� �� �� wcmds� ��� � � ��� ���� ��� � � ����.��� ��� ID �� �� ������.

¶ �: ���� ��� ���� � �� �� ��� ��� ��� ���� �� ���� �� ��� ��� � ���.

¶ �: ���� ��� ������ ���� . �� �� ��� ��� ����� . � �� ��� �� ��� �� � �� ��, ��� ��� ����� .

wcmd ssm modifyAttributes -p <pathNameToKernelAccount> -op replace \password=newpassword

���� ��� ��� ��, ��� ��� ��� �� � ��� �� ��� ��� ���� ��� 31 ���� �MQSeries �� � �� ���� ���� .

��� �� FNGSC0032E ���� ���� ����� ���.

¶ �: ID ORB� ���� �� ���� ���� � ��� � ORB� �� ��� ����. �� �� � ���� ����� ORB� �� ���� � � ��� � ���� � ��� �����.

¶ �: �� �� �� ��� �� ID ORB� ���� ��� �� ��� �� � ��� �� ��� . ORB ��� ��� ����� ���� . ���� ��� NTP ��� ���� .

��� ����� ��� � ���� �� �� ���� ��� � � ����.<user_account>� ��� �� �� � ��� ��� ����.

¶ �: ���� �� �� ��� ��� �� ��� �� �����.

¶ �: ��� �� �� �� � ��� ���� ����� .

� ������ ������ principal, ��, �, �� ��� ��� �� ������ �� ��� ��� �� �� �� �� �����. � ������ ��� �� ��� �� �� ���� �� � � 85 ���� ���� ����.

Tivoli Kernel Services� � ������ ��� ����. � ������ ���� � �� ����� � ������ �� �����. � �� ����� �� ��� ��� 2 ���� � � ���� ���� . Tivoli DAS �� �� DB2 ��� ���� � ������ ��� ���� � ��� �����. ��� �� �, �� ����������.

��� � ���� ������ ��� ���� �� ����� ����� ��� ���. runstats� ���� ����� TMD ����� �� ��� ���� �� ������.runstats �� ��� �� ��� ��� Tivoli Kernel Services �� ���� .

�� ��� ��� ������ �� ��� ����, runstats � ���� ��� ���� ����� ���� . �� Tivoli Kernel Services, Tivoli DAS ��, DB2 ��� CPU ��� ���� . DB2 ��� CPU � 90% ��� ���� ���, DB2 ��� ������.

86 �� 1.2

Page 101: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

���� ������� ��� ����� ���� ��� �� ���� ����� �� ����. �ORB� �� ��� ���� ���� � ��� ���� �� � ����. ORB� ���� ��� ��� ���� ��� ����� ��� ���. ��� ����� ��� ���� �� ���� �� �� ��� � � ����. UNIX ����� �� ��� ��� ���� ��� ��� ����� .

cp -r $ORBDIR/ds $ORBDIR/ds.backup

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

rm -r $ORBDIR/ds

cp -r $ORBDIR/ds.backup $ORBDIR/ds

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

1. ��� ���� ���� ���� $ORBDIR/ds ���� ��� �� ���$ORBDIR/dsbackup� ����� .

2. ��� ���� ���� ���� $ORBDIR/dsbackup� ��� $ORBIDR/ds� ����� .

���� ��� ��� �� ���� ds.SerializedPersistenceLog���. �� ���� JVM��� ���� LOCK ��� �� �� ���� ���� ���� �����. ������ ��� � � �� �� �� ���� ����.

¶ ds.SerializedPersistenceService - SerializedPersistenceService ����� �� �� �� ���� �����.

¶ ds.SerializedPersistence - SerializedPersistence �� �� �� �� ���� �����.

¶ ds.SynchSerializedPersistence - SynchSerializedPersistence �� �� �� �� ���� �����.

Service ManagerTivoli Kernel Services Service Manager ����� �� ���� ����� ��� ����. �� �� ������ �� ���� ���� �� � ��� ���� ���� ���.

��� �� ���� � �� ���Service Manager� ��� �� ���� sm.messageLogger���. �� ���� � ��� ��� ��� ����. Service Manager� �� �� ���� sm.traceLogger���.�� ���� ��� �� �� ��� ����.

��� ���Service Manager� �� ��� � �� � �� � �� ���� ��� ����.����� ���� �� FMGSM006E � ���� ���� ���.

¶ �: ���� � �� ���� �� ���, ��� ORB� �� ��� JAR �������.

87Tivoli Kernel Services ��� ��

5.�

��

��

��

��

Page 102: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

¶ �: ���� ���� �� ORB� �� ���, ��� wcmd -i <orbid> svc lslsm� ���� ���� ��� ���� ��� ���� . ��� ORB� ��� ����� JAR ��� ��� ����� .

����� ���� ��� �� � ��� FNGSM0033E� ���� ���.

¶ �: �� ���� �� ��� ���� ���, DSM� � �����.

¶ �: ��� ��� � � ���� ��� DSMPrimary DSMBackups� ��� ��� ��� DSM� ��� �� ��� ����� .

wcmd -i <orbid> cfg content\com\tivoli\core\serviceManager

wcmd -i <orbid> svc ls lsm

����� ���� ��� �� � ��� FNGSM005E� ���� ���.

¶ �: ������ ��� � � �� �� �������.

¶ � : ORB � � � ��� � � � �� � � �� � � � � . � ���<orb_dir>\cfg\.orbdefaults\com\tivoli\core\service\<service_name>\<service_version>���.

SNMP ���SNMP ���� �� �� �� ���� ���� ���� SNMP(Simple NetworkManagement Protocol)� �����. ORB�� � ���� �� �� �� � ����.SNMP ���� ����� ��� �� � ����� .

wcmd accmgr stopComponent -c SnmpService

ORB�� SNMP ���� ����� ��� ��� � ����� .

wcmd cds retract SnmpService@<version number> <orb id>

��� �� ���� � �� ���SNMP ���� �� �� ���� snmp���. SNMP ��� ����� ��� wcmdsnmp trace start� ����� . �� �� ���� SNMP ��� ��� �/��� ����� � � ���� �� �� �� ����� �����. ��� � ��� �����.

¶ ���� ��

¶ ���� �/��� ���

¶ SNMP ��� ��

¶ communityString - SNMP � ��

¶ errorStatus - 0��� ���. �� � ��� �� � �� ����� �����.

¶ errorIndex - errorStatus� 0� ���, � � ��� �� varBind� �����.

¶ varBind list - ���� �� ��� �� ��. � ���� ��� ��� �� � ����.

88 �� 1.2

Page 103: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

TimeSyncTimeSync ����� SNTP(Simple Network Time Protocol)(9SNTP - RFC2030)� ������. SNTP� ����� �� �� � ��� ��� �� ��� ���� ����� ���. ��� Tivoli Kernel Services ����(�: �, ��� �� ��)��� �� �� ���� ��� ��� ��� �����.

��� �� ���� � �� ���TimeSync ���� �� �� ���� timeTrcLogger���. �� �� ����TYPE_LEVEL1, TYPE_LEVEL2 TYPE_LEVEL3 �� ���� ���� �� ��� �� � �����. �� 1 ���� �� ��� ����, �� 2� ��� �� ��� ���� �� 3 ��� �� NTP �� �� ��� �����.

89Tivoli Kernel Services ��� ��

5.�

��

��

��

��

Page 104: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

90 �� 1.2

Page 105: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

Tivoli ��� ��

Tivoli Kernel Services Tivoli Presentation Services� ���� ���� Tivoli ��� ��� �����. Tivoli ��� �� Tivoli ���� �� �������� ���� ���� �� ��� ����, Tivoli �� ��� � ��� ��� �� ����� ��� ��� ��� � �����.

��� ID ��Tivoli Kernel Services� ��� ID �� XXXYY####Z���. ���,

XXX ���� �� �� ���� �� ������� 3� �� ������. Tivoli KernelServices� ��, �� ���� FNG�� Tivoli Presentation Services� ��, ������ FWP���.

YY 1� �� 2�� �� ��� ����� �����. Tivoli Presentation Services������ ��� ��� ����. Tivoli Kernel Services ����� ��� � � ��� � �� ����� ���� ���.

���� ���� ��

���� CP

�� CF

� MC

�� ��� DS

��� DR

��� � DO

� �� FT

����� GW

����� SNMP GS

ICMP IC

IPOP OP

�� �� LG

��� �� ��� MS

���� � NS

ORB OB

�� �� PD

� SA

� SC

Service Manager SM

���� � ���� SI

6

91Tivoli Kernel Services ��� ��

6.T

ivoli

��

��

Page 106: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

���� ���� ��

SNMP SP

�� �� TM

� �� UT

Zurich ��� ZC

#### �� ��� �����. ��� ��� 4�� ��� �����. ��� ��� ����� ���� �����(XX �).

Z ��� �����.

I ���(TYPE_INFO)

W ��(TYPE_WARN)

E �(TYPE_ERR)

F ��(TYPE_FATAL)

�� Tivoli Kernel Services ��� ����.15:06:25.457 FNGCP0031I Started component dirservice version 5.1.0-200011262259.15:06:25.457 FNGOB0004I ORB transition from state 2 to state 3.15:06:28.231 FNGSC4001I Root Cache Service started.15:06:28.261 FNGCP0027I Starting component SecurityCacheService version 5.1.0-200011262259.15:06:28.441 FNGCP0031I Started component SecurityCacheService version 5.1.0-200011262259.

��� ��� FNGOB0004I� � �� ���� ��� �� �� � ����.

¶ Tivoli Kernel Services(�� ��� FNG)�� ���� �� �

¶ ORB ����(����� �� OB)�� ���� �� �

¶ ��� �� 0004

¶ ��� ���(��� �� I)

��� �� � ����� ��� ���� � �� � �� �� �� �� ��� � ���� �� �� ��� ����. Tivoli � �� Tivoli Assistant�� Tivoli Kernel Services,Tivoli Presentation Services �� �� ������� �� ��� ��� �� �����. Tivoli Assistant� �� ��� ��� Tivoli Kernel Services �� ��� ���� . Tivoli �� ���� �� �� � �� Tivoli �� ��� �� ��� ��� ���� ��, Tivoli Kernel Services �� CD-ROM�readme\tivolidocs\pdf\tks120_messages.pdf�� Tivoli Kernel Services Tivoli PresentationServices ��� ��� �� �� ����.

92 �� 1.2

Page 107: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

��

�������� 77��� �� ��� �� �� ��� 78���� �� 78

�� ����� �� ��� 66��� �� ��� �� �� ��� 68���� �� 69�� �� ��

�� ��/��� ���� 68����

����� 77�� � 66���� �� 71���� �� ��� 70���� � 80��� � 77��� 75� ����� 69�� 1� 85� ����� 86��� ��� �� ��� �� �� ��� 65���� ��� 87���� �� ��

�� �� 64�� �� 63

�� Policy 79Activation Framework 66Component Manager 70DCI(Depot Component Installer) 74DCM(Data Connection Manager) 74InfoService 78LCI(Local Component Installer) 79LOCK(Local ORB Creator and Killer) 79ORB 80Service Manager 87SNMP ��� 88TimeSync 89

���� ����� �� ��� �� �� ��� 71���� �� 73�� �� �� 72

���� �� ��� 70��, �� �� ��� 10�� ��� �� ��� �� 3�� �� �� ��� �� 5

������� � 80

�� ORB �� �� 84��� �� ��� �� �� ��� 81� �� ORB �� �� 83� �� ORB ��� �� 81�� �� ���� �� 81�� �� �� �� 81�� �� �� �� 82�� ���� �� 82���� �� 84�� �� �� 82nsrecover 82ORB ��� �� 81

����� ORB �� �� 84��� ���� �� ��� �� �� ��� 77�� �� �� 77

������ �� ��� �� �� ��� 75���� �� 76� �� 76

����� �� ����

�� 24�� �� �� 23

�� �� ������� 2�� 11�� �� �� � 11�� ��� �� ��� �� 3�� �� �� ��� �� 5�� �� � ����� 13�� ��� 10�� �� 26

����� �� 26�� 11tail 3

�� �� ����� 21

�� �� 21�� 22

�� 20�� �� 20 19

93Tivoli Kernel Services ��� ��

��

Page 108: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

�� �� ��� (��) � ��� 26�� �� ��� 26logServer �� 22

�� �� CLI 13�� ���

�� 7�� ��

� 29�� � 18���� ��� ASCII� � 27tksErr.log 29tksOut.log 29

������

�� �� 7�� ��� 18Tivoli � ���� ���� �� 92

��� �� 91� �������� �� ��� �� �� ��� 69

����

�� ��� viii

����� �� ��� 85��� �� ��� �� �� ��� 85���� �� 86

� ��������� �� ��� 86runstats 86

��� �� 44� �� �� 35

��� � � 44

���� �� ��

�� 29�� �� 30

� ��� 43� �� �� 34Microsoft IIS �� 57

� �� � 43� �� ORB �� �� 83��� ��� �� ��� �� �� ��� 65��� ��

� �� ORB� 81

��� � �� ������ �� ��� �� �� ��� 2 2

� ��, 2�� ��

���� �� 81�� �� 81

�� �� �� �� 82�� ���� �� 82���� ��� 87

����� Policy 79

����� ��� 9

����� ��

ORB 12�� ��

�� �� ������� 11

�����

�� 17�� ���� �� 18 8�� 17

������

�� 13�� ���� �� 16 8� 16

�� �� 17�� �� 13�� 14-f �� 13

����� 17 10�� 18

94 �� 1.2

Page 109: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

�� ��� viii

AActivation Framework 66AIX

���� �� 30

CComponent Manager��� �� ��� �� �� ��� 70wcmds 70

DDB2

� �� ����� � �� 30AIX issues 30db2profile �� 30Sun Solaris �� 30

DB2 ���� � �� 38��� ���� ��� �� 42db2diag.log 38JDBC �� �� 42SQL0805N 41SQL0964C 42SQL1032N 41SQL1116N 40SQL1117N 40SQL1224N 40SQL2310N 42

drop 39uncatalog 39

DB2 ���� �� 37, 38DCI(Depot Component Installer)

���� �� ��� 74��� �� ��� �� �� ��� 75

DCM(Data Connection Manager) 74

IInfoService��� �� ��� �� �� ��� 78

LLCI(Local Component Installer)��� �� ��� �� �� ��� 79

LOCK(Local ORB Creator and Killer) 79

MMQSeries ��

��� �� �� 56��� �� �� 57��� �� 57� �� ��

AIX�� ��� ��� �� �� 33Solaris�� ��� ��� �� �� 32Windows 2000�� ��� ��� �� �� 32Windows NT�� ��� ��� �� �� 32

Nnsrecover 82

OOracle

� �� �� 34���� �� �� 43

ORB��� �� ��� �� �� ��� 80� ��

�� �� 83��� �� 81

�� �� 57�� �� ���

�� �� 84��� �� 81

�� �� �� 80�� �� 12

Rrunstats

� ����� �� �� 86

SService Manager��� �� ��� �� �� ��� 87���� �� 87

Simple Jar Installer�� 61

95Tivoli Kernel Services ��� ��

��

Page 110: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML

Simple Jar Installer (��)wcmds 61

SNMP ������ �� ��� �� �� ��� 88

Sun Solaris ���� �� 30

TTimeSync��� �� ��� �� �� ��� 89

Tivoli DAS ��� 56� �� ��

db2java.zip �� 31tdacl �� 31

��� � ��� 55�� ��

�� �� 44� �� 46

�� �� 53AIX� �� �� 45Corba �� 45SQLState � �� 45

Tivoli Kernel Services���� �� ���� 1� �� �� 30������ �� ���� 2���� �� 39� �� ���� 2� ��� 1DB2 ����

�� 37, 38Tivoli ��� ����� ID �� 91

Tivoli ��� �� 59�� 46

�� �� 53

Wwcmds

�� �� � �� 60��� ID �� 11Component Manager 70Simple Jar Installer 61-u �� 11

96 �� 1.2

Page 111: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML
Page 112: Tivoli Kernel Services ¹®Á¦Á¡ ÇØ°á - IBMpublib.boulder.ibm.com/tividd/td/TKS/tks_12... · ¶ Tivoli Kernel Services README . ¶ Tivoli Tivoli Kernel Services ˘ Tivoli HTML