HP UX 11i v2 Networking Software manual Tracing and Logging User Applications

Page 63

Problem Solving

Tracing and Logging through /opt/ots/bin/osidiag

Tracing and Logging User Applications

Two facilities exist to provide more data about the behavior and errors encountered by your application, API tracing and nettl.

 

API Tracing

This facility allows you to trace the calls your

 

 

application makes to the Application Programmatic

 

 

Interface. The mechanism to perform API tracing is

 

 

described in the programmer's guide for the service you

 

 

are using.

 

nettl

The nettl command allows you to enable logging and

 

 

tracing in the OTS stack as well as for the FTAM

 

 

service. The syntax of the nettl and netfmt

 

 

commands is given in the nettl(1M) and netfmt(1M)

 

 

man pages.

 

Hewlett-Packard recommends that you enable warning and error logging

 

for stack components at and below the service you are using. Table 2-3

 

shows the entities on which you should enable logging for gathering

 

information.

 

 

Table 2-3

Logging and Tracing Entities

 

 

 

 

Service/Layer

Entities to Log

 

 

 

 

 

X.400*

 

X.400 Logging facilities

 

 

 

+ OTS entities

 

 

 

+ Link entity

 

 

 

 

 

FTAM

 

FTAM_VFS FTAM_USER

 

 

 

FTAM_INIT FTAM_RESP

 

 

 

+ ULA entities

 

 

 

+ OTS entities

 

 

 

+ Link entity

 

 

 

 

 

APRI

 

ACSE_PRES

 

 

 

+ OTS entities

 

 

 

+ Link entity

 

 

 

 

 

OTS

 

SESSION TRANSPORT NETWORK OTS

 

 

 

 

 

LAN 802.3

 

NS_LS_DRIVER

 

 

 

 

 

X.25

 

SX 25 L2, SX25L3 (Level 2 and 3 link tracing)

 

 

 

 

Chapter 2

63

Image 63
Contents 32070-90031 E0597 HP 9000 NetworkingCopyright Notices Legal NoticesTrademark Notices Page Contents Problem Solving Syntax Example Recovering from otsstart Failure Using OSI and OTS ToolsUpdating OTS otsupdate Printing History Page Interoperability Testing Ftam Interoperability Testing Testing Ftam InteroperabilityFtam Pre-Test Checklist Ftam Pre-Test ChecklistCheck the following before attempting to run the Ftam tests Ftam Connectivity Test Ftam Interoperability TestingFtam File Transfer Test Ftam Call Errors Reason Corrective Action Interpreting Ftam ErrorsFtam Call Reason Corrective Action Testing Apri Interoperability Apri Pre-Test Checklist Apri Pretest ChecklistRunning Apri Tests Client Mode Running Apri Tests Server Mode Apri Call Errors Reason Corrective Action Interpreting Apri ErrorsApri Call Reason Corrective Action Testing Session Interoperability Session Pre-Test Checklist Session Pre-Test ChecklistRunning Session Tests Client Mode Running Session Tests Server Mode Session Call Errors Reason Corrective Action Interpreting Session ErrorsSession Call Reason Corrective Action Testing Transport Interoperability Transport Pre-Test Checklist Transport Pre-Test ChecklistRunning Transport Tests Transport Call Errors Reason Action Interpreting Transport ErrorsTransport problem corrected Problem persistsTesting LAN 802.3 or Fddi Interoperability LAN Pre-Test Checklist LAN Pre-Test ChecklistRunning LAN Tests Configuration change required Interpreting LAN ErrorsLAN problem corrected LAN Errors Reason ActionError Reason Action Testing X.25 Interoperability Pre-Test Checklist Pre-Test ChecklistRunning X.25 Tests Interpreting X.25 Errors Problem correctedErrors Reason Action Recv*00B Protocol Reason Codes Reason and Refuse CodesCode Meaning Action 0x08 Reject Nsap unreachable/ Permanent Reason and Refuse Codes Local node may not be compatible with that Osiadmin F0-FF Session Refuse Codes Session Refuse CodesCode Meaning To Create a Result File Problem Solving Basic Steps Interpreting Errors Interpreting ErrorsWhere Action Status Check Checking System StatusStatus Check Link Verification Running Verification TestsOTS Transport Verification Service VerificationRunning Verification Tests Collecting Troubleshooting Data Troubleshooting MethodsType Troubleshooting Method Error Opt/ots/bin/osidiag Tracing and Logging throughService/Layer Entities to Log Tracing and Logging User ApplicationsLogging and Tracing Entities Fddi Common Configuration Mistakes Otsdests Common MistakesOtssubnets Common Mistakes Otsparms Common Mistakes Localapp Common MistakesRemoteapp Common Mistakes Subsystem Acsepres Common Logged ErrorsError Description Subsystem OTSSubsystem Transport Subsystem Network Submitting Problem Information to HP Using OSI and OTS Tools Osiadmin RFC1006 Configure Managing Your Configuration Using osiconfTroubleshooting Using osiconfchk OSI Diagnostics Tests Provided by osidiagComponent Test Fddi Starting and Stopping OSI Osistart CommandStopping OSI Osistat CommandStarting OTS otsstart SyntaxExample Recovering from otsstart Failure Checking OTS Status otsstat OTS Updating OTS otsupdate End System Commands Dynamic Routing CommandsOtsaddis Intermediate System CommandsParameter ES/IS Command ParametersES/IS Parameters ArgumentOption Description ES/IS Command OptionsDynamic Routing Commands Route CommandsDynamic Route Commands Route Command ParametersArgument Description Route Command OptionsNsap Commands Route Command OptionsOtsshownsaps Apri IndexIndex
Related manuals
Manual 175 pages 52.54 Kb Manual 74 pages 39 Kb Manual 236 pages 18.16 Kb Manual 12 pages 39.66 Kb Manual 28 pages 49.76 Kb