Compaq Compaq TCP/IP Services for OpenVMS Wartungshandbuch Seite 1

Stöbern Sie online oder laden Sie Wartungshandbuch nach Vernetzung Compaq Compaq TCP/IP Services for OpenVMS herunter. Compaq Compaq TCP/IP Services for OpenVMS Technical data Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 118
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 0
HP TCP/IP Services for
OpenVMS
TuningandTroubleshooting
Order Number: AA–RN1VB–TE
September 2003
This manual provides information about how to isolate the causes of
network problems and how to tune the TCP/IP Services software for the
best performance.
Revision/Update Information: This manual supersedes the Compaq
TCP/IP Services for OpenVMS Tuning
and Troubleshooting, Version 5.1.
Software Version: HP TCP/IP Services for OpenVMS
Version 5.4
Operating Systems: HP OpenVMS Alpha Versions 7.3-1
and 7.3-2
Hewlett-Packard Company
Palo Alto, California
Seitenansicht 0
1 2 3 4 5 6 ... 117 118

Inhaltsverzeichnis

Seite 1 - TuningandTroubleshooting

HP TCP/IP Services forOpenVMSTuningandTroubleshootingOrder Number: AA–RN1VB–TESeptember 2003This manual provides information about how to isolate the

Seite 2

ReturnIn examples, a key name enclosed in a box indicates thatyou press a key on the keyboard. (In text, a key name is notenclosed in a box.)In the HT

Seite 3 - Contents

sysconfig3.TCPIP> sysconfig -s netnet: loaded and configuredThis example shows how to query the state of a particular subsystem.A–38 Troubleshooting

Seite 4 - 2 Tuning Techniques

sysconfigdbsysconfigdbManages the subsystem configuration database.Formatsysconfigdb {-a | -u} [-t target]-ffile subsystem-namesysconfigdb {-m | -r} [-t tar

Seite 5

sysconfigdb-lLists the specified subsystem entries in the target file. If you do not specifya subsystem name, all subsystem entries in the target file are

Seite 6

sysconfigdb4.TCPIP> sysconfigdb -d table_mgr_1This command deletes thetable_mgr_1entry from the SYSCONFIGTAB.DATfile and updates the in-memory copy o

Seite 7 - Document Structure

tcpdumptcpdumpProvides dump analysis and packet capturing.Formattcpdump ["-B" |d|e|f|l|m|n|"-N" | "-O" |q|s|"-S&quo

Seite 8 - Related Documents

tcpdump-lBuffers thestdoutline. This is useful if you want to see the data while capturingit.-mEnables multiline output from some protocols. This affe

Seite 9 - Conventions

tcpdump-vDisplays verbose output. For example, the time to live and type of serviceinformation in an IP packet is displayed. If-mis also specified, ONC

Seite 10

tcpdump7.$ tcpdump tcp[13] & 3 != 0 and not src and dst net localnetThis example shows how to use thetcpdumputility to display the startand end pa

Seite 11 - 1.2 Isolating Problems

TCPTRACETCPTRACETraces packets between two hosts.FormatTCPTRACE host [/BUFFERS=n | /FULL | /OUTPUT=file | /PACKETS=n | /PORT=option |/PROTOCOL=option]D

Seite 12

TCPTRACEExamplesThe following examples show how to use the TCPTRACE command.1.$ TCPTRACE HOST1 /FULL /PORT=(REMOTE=21)This example shows how to use th

Seite 13

1Troubleshooting Techniques and ToolsThis chapter provides information that helps you identify symptoms, isolateproblems, and take steps to resolve yo

Seite 14

traceroutetracerouteDisplays the route that packets take to the network host.Formattraceroute [-m max_ttl] [-n] [-p port] [-q nqueries] [-r] [-s src_a

Seite 15

traceroute-aIf the destination host has multiple addresses,tracerouteprobes all addresses ifthis option is set. Normally, only the first address as ret

Seite 16

traceroute-p portSets the base UDP port number used in probes. (The default value is 33434.) Thetraceroutecommand presumes that nothing is listening o

Seite 17

tracerouteExamplesThe following examples show how to use thetraceroutecommand.1.localhost> traceroute nis.nsf.nettraceroute to nis.nsf.net (35.1.1.

Seite 19

IndexAANALYZE command, 1–31arpcommand, 1–2, 1–6, A–2Attributes, 2–1configuring, 2–4displaying, 2–1displaying values, 2–3modifying values, 2–4reconfiguri

Seite 20

Increasingcontext timeout rate, 2–13maximum number of BG devices, 2–16inetsubsystem, 2–9, 2–18attributes, 2–9inifaddr_hsizeattribute, 2–9, 2–10Interne

Seite 21

SHOW SERVICE command, 1–27sobacklog_dropsattribute, 2–15sobacklog_hiwatattribute, 2–15Socketdisplaying statistics, 2–15Socket bufferincreasing maximum

Seite 23

Troubleshooting Techniques and Tools1.2 Isolating Problems• Does the problem affect a single user? Multiple users? Your LAN?The following steps can he

Seite 24

Troubleshooting Techniques and Tools1.2 Isolating ProblemsTable 1–1 (Cont.) Diagnostic ToolsDiagnostic Tool FunctionTCPTRACETraces packets going in an

Seite 25

Troubleshooting Techniques and Tools1.2 Isolating Problems• A definition forlocalhostis missing from the local database.If thepingcommand forlocalhostd

Seite 26

Troubleshooting Techniques and Tools1.2 Isolating ProblemsThis command helps you decide whether further testing is required and where.For example, if

Seite 27

Troubleshooting Techniques and Tools1.2 Isolating ProblemsYou can also obtain information using the following commands:TCPIP> SHOW INTERFACEPackets

Seite 28

Troubleshooting Techniques and Tools1.2 Isolating Problems1.2.4 Examining Network StatisticsUse thenetstatutility or the SHOW INTERFACE command to che

Seite 29

Troubleshooting Techniques and Tools1.2 Isolating Problems37 mbufs allocated to OpenVMS VCI context block1 mbufs allocated to OpenVMS ACP IPCACHE Stru

Seite 30

Troubleshooting Techniques and Tools1.2 Isolating Problems1.2.5.1 Using TCPTRACEThe trace utility (TCPTRACE) is a tool you can use to trace packets go

Seite 31

© Copyright 2003 Hewlett-Packard Development Company, L.P.UNIX® is a trademark of The Open Group.The information contained herein is subject to change

Seite 32

Troubleshooting Techniques and Tools1.2 Isolating ProblemsTable 1–3tcpdumpKeywordsKeyword Definitiontype Defines the object to which the ID name or numb

Seite 33

Troubleshooting Techniques and Tools1.2 Isolating ProblemsTable 1–3 (Cont.)tcpdumpKeywordsKeyword Definitionproto Restricts the match to a particular p

Seite 34

Troubleshooting Techniques and Tools1.2 Isolating Problems1.2.5.2.3 Primitive Keywords Primitive keywords include:•gateway•broadcast•less•greater• Ari

Seite 35

Troubleshooting Techniques and Tools1.2 Isolating ProblemsThis expression is equivalent to the following:ether host ehost and not host hostYou can use

Seite 36

Troubleshooting Techniques and Tools1.2 Isolating Problemstcp•ether broadcastTrue if the packet is an Ethernet broadcast packet. Theetherkeyword isopt

Seite 37

Troubleshooting Techniques and Tools1.2 Isolating ProblemsrarptcpudpicmpThe proto variable indicates the protocol layer for the index operation.• The

Seite 38

Troubleshooting Techniques and Tools1.2 Isolating Problems1.2.5.3 Analyzing OutputThe output of thetcpdumputility is protocol dependent. The following

Seite 39

Troubleshooting Techniques and Tools1.2 Isolating Problems• windowThe number of bytes of receive buffer space available from the other directionon thi

Seite 40 - 1.3 Using Online Help

Troubleshooting Techniques and Tools1.2 Isolating Problems• The seventh line indicates that host csam has received data sent by host rtsgup to but not

Seite 41

Troubleshooting Techniques and Tools1.2 Isolating ProblemsIn the first example, host helios responds to query ID 3 from host h2opolo with 3answer recor

Seite 42

ContentsPreface ... vii1 Troubleshooting Techniques and Tools1.1 Using Symptoms to Identify a

Seite 43 - Tuning Techniques

Troubleshooting Techniques and Tools1.2 Isolating ProblemsThe UDP or TCP protocol information is not displayed. This is generally notimportant for UDP

Seite 44 - 2.1 Subsystem Attributes

Troubleshooting Techniques and Tools1.2 Isolating ProblemsFor property list calls, you can request the mask value and the number ofproperty list entri

Seite 45

Troubleshooting Techniques and Tools1.2 Isolating Problems1.2.5.4 RestrictionsThe following restrictions apply to usingtcpdumpon OpenVMS:• Copy-all mo

Seite 46 - 2.1.3 Configuring Attributes

Troubleshooting Techniques and Tools1.2 Isolating ProblemsSpecify the name of the log file for storing the tracing information. Forexample:$ DEFINE TCP

Seite 47

Troubleshooting Techniques and Tools1.2 Isolating ProblemsState: EnabledTransport:Domain:Retry:Timeout:Servers:Path:Make sure the remote servers are r

Seite 48

Troubleshooting Techniques and Tools1.2 Isolating Problems$ SHOW SYSTEM /NETWORKOpenVMS V7.1-1H2 on node RUFUS 27-JUN-2000 16:45:46.84 Uptime 16 01:55

Seite 49

Troubleshooting Techniques and Tools1.2 Isolating ProblemsThe following example shows typical output from these two commands:$ TCPIP SHOW ROUTE /PERMA

Seite 50

Troubleshooting Techniques and Tools1.2 Isolating Problems1.2.10 Determine Whether Network Services Are AvailableThe auxiliary server functions like t

Seite 51

Troubleshooting Techniques and Tools1.2 Isolating Problems& This column lists whether the service is enabled or disabled. The termenabled indicate

Seite 52

Troubleshooting Techniques and Tools1.2 Isolating Problems" This section displays the socket options that the service uses. The service’ssocket o

Seite 53

1.3 Using Online Help ... 1–301.4 Using OpenVMS ANALYZE Extensions ... 1–312 Tuning Te

Seite 54

Troubleshooting Techniques and Tools1.2 Isolating ProblemsUsername: TCPIP$SNMP Owner: TCPIP$SNMPAccount: TCPIP UIC: [3655,13] ([TCPIP$AUX,TCPIP$SNMP])

Seite 55

Troubleshooting Techniques and Tools1.3 Using Online HelpFor information about TCP/IP user commands, enter the HELP command at theDCL prompt. For exam

Seite 57

2Tuning TechniquesThis chapter describes how to change system operation to solve specificnetworking problems. Once you have diagnosed the cause of the

Seite 58 - 2.2.2 Logging IP Addresses

Tuning Techniques2.1 Subsystem Attributes$ TCPIPTCPIP> sysconfig -scm: loaded and configuredinet: loaded and configurediptunnel: loaded and configu

Seite 59

Tuning Techniques2.1 Subsystem Attributes2.1.1.2 Displaying the Attribute Values for a SubsystemEach subsystem contains a set of attributes with assoc

Seite 60

Tuning Techniques2.1 Subsystem Attributes2.1.2 Modifying Subsystem Attribute ValuesYou can modify the values of subsystem attributes either temporaril

Seite 61

Tuning Techniques2.1 Subsystem AttributesTo modify subsystem attributes in the SYSCONFIGTAB.DAT file, follow thesesteps:1. Use thesysconfigdbutility to

Seite 62

Tuning Techniques2.1 Subsystem Attributes$To add the contents of this stanza file to the system configuration table, enter thefollowing commands:$ TCPIP

Seite 63

Tuning Techniques2.1 Subsystem Attributes2.1.4 Modifying Kernel SubsystemsMost resources used by the network subsystem are allocated and adjusteddynam

Seite 64

tcpdump . . . ... A–42TCPTRACE ... A–46traceroute . . ...

Seite 65 - Option Description

Tuning Techniques2.1 Subsystem Attributes2.1.5 Modifying Socket Subsystem AttributesThesocketsubsystem attributes control the maximum number of pendin

Seite 66

Tuning Techniques2.1 Subsystem Attributes2.1.5.3 Increasing the Maximum Size of a Socket BufferThesocketsubsystem attributesb_maxspecifies the maximum

Seite 67

Tuning Techniques2.1 Subsystem AttributesWhen to TuneIncrease the number of hash buckets in the kernel TCP connection table if youhave an Internet ser

Seite 68

Tuning Techniques2.1 Subsystem AttributesRecommended ValuesThe default value of theinetsubsystem attributeinifaddr_hsizeis 32; themaximum value is 512

Seite 69

Tuning Techniques2.1 Subsystem AttributesWhen to TuneNot every connection needs a long retransmission time. Usually, the defaultvalue is adequate. How

Seite 70

Tuning Techniques2.1 Subsystem AttributesTable 2–4 (Cont.) TCP Keepalive OptionsOption Descriptiontcp_keepintvlSpecifies the amount of time, in seconds

Seite 71

Tuning Techniques2.1 Subsystem Attributes2.1.6.9 Modifying the Range of Outgoing Connection PortsWhen a TCP or UDP application creates an outgoing con

Seite 72

Tuning Techniques2.1 Subsystem Attributes2.1.7 Displaying Socket StatisticsThesocketsubsystem has three attributes that monitor socket listen queueeve

Seite 73

Tuning Techniques2.2 Tuning Server ApplicationsThere are no limitations on a server’s ability to handle millions of TCPconnections if memory resources

Seite 74

Tuning Techniques2.2 Tuning Server ApplicationsTable 2–5 (Cont.)netSubsystem AttributesAttribute Descriptionovms_unit_createsInformation attribute tha

Seite 76

Tuning Techniques2.3 Solving Performance Problems• Apply any patches recommended for your operating system.See the Recommended Patch Table for informa

Seite 77

Tuning Techniques2.3 Solving Performance ProblemsRestart TCP/IP Services after you enable jumbo frames dynamically.To verify that TCP/IP Services now

Seite 79

ATroubleshooting Utilities ReferenceThis appendix provides more information about the troubleshooting utilitiesdescribed in this manual. It also descr

Seite 80

arparpDisplays and controls Address Resolution Protocol (ARP) tables.Formatarp [-u] [-n] hostnamearp -a [-u] [-n] [-i] hostnamearp -d hostnamearp -g h

Seite 81

arpOption Descriptionhostname Specifies the remote host identified by the entry.hardware_addr Specifies the hardware address of the remote host. Theaddre

Seite 82

arpExamplesThe following examples show how to use thearpcommand.1.TCPIP> arp -aa71kt.lkg.dec.com (10.10.2.1) at aa-00-04-00-71-f8 stalev71kt.lkg.de

Seite 83

digdigSends domain name query packets to name servers.Formatdig [@server] domain [query-type][query-class][+query-option][-dig-option][%comment]Descri

Seite 84 - Commands

digQueryTypeQueryClass DescriptioninC_IN Internet class domainanyC_ANY All class informationSee RFC 1035 for a complete list of query classes.You can

Seite 85

digTable A–1 (Cont.) dig OptionsOption Description"-P"After query returns, executes apingcommand tocompare response times. This option issue

Seite 86 - (continued on next page)

PrefaceThe HP TCP/IP Services for OpenVMS product is the HP implementation of theTCP/IP networking protocol suite and internet services for HP OpenVMS

Seite 87

digKeyword Abbreviation Default Description[no]stats st stDisplay query statistics.[no]Header H HDisplay basic header.[no]header he heDisplay header fl

Seite 88

dig;; ADDITIONAL SECTION:E.ROOT-SERVERS.NET. 2d20h1m11s IN A 192.203.230.10D.ROOT-SERVERS.NET. 2d20h1m11s IN A 128.8.10.90A.ROOT-SERVERS.NET. 2d20h1m1

Seite 89

dig;; Total query time: 4019 msec;; FROM: lassie.ucx.lkg.dec.com to SERVER: default -- 16.20.208.53;; WHEN: Wed Aug 9 16:55:42 2000;; MSG SIZE sent: 3

Seite 90 - Cautions

ifconfigifconfigAssigns an address to a network interface, and configures and displays networkinterface parameters.Formatifconfig interface_id [address_fa

Seite 91

ifconfigFlags-aDisplays information about all interfaces that are configured on a system.-dDisplays information about interfaces that are down.-lDisplay

Seite 92

ifconfig-arpDisables the use of the ARP. Use of this parameter is not recommended.broadcast broad_addressSpecifies the address to use to represent broad

Seite 93

ifconfigThemaskvariable includes both the network part of the local address and thesubnet part, which is taken from the host field of the address. The m

Seite 94 - Modifiers

ifconfig8.TCPIP> ifconfig we0 down delete abort145.92.16.1: aborting 7 tcp connection(s)This example shows how to stop Ethernet interface we0, delet

Seite 95

ndcndcManages the BIND server.Formatndc directive [directive ... ]DescriptionThis command allows the name server administrator to send various message

Seite 96

ndcExamplesThe following examples show how to use thendccommand.1.$ ndc statusBIND Server process information:Process ID: 44C0021CProcess name: TCPIP$

Seite 97

Related DocumentsTable 1 lists the documents available with this version of TCP/IP Services.Table 1 TCP/IP Services DocumentationManual ContentsCompaq

Seite 98

netstatnetstatDisplays network-related data in various formats.Formatnetstat [-rn] | [-an] [-f address_family][interval]netstat [-abd"H"im&q

Seite 99

netstat• Timers (optional with-t)Routing table displayA route consists of a destination host or network and a gateway to use whenforwarding packets. D

Seite 100 - TCPIP> sysconfig -s net

netstat-f address_familyLimits reports to the specified address family. The address families that can bespecified might include the following:inet Speci

Seite 101

netstat-vDisplays detailed output when specified with the-rflag. In this case, routemetric values are displayed.-zSets the network interface counters to

Seite 102 - Examples

nslookupnslookupQueries Internet name servers interactively.Formatnslookup [-option ...] [host_to_find |-[server]]DescriptionThenslookupcommand is a pr

Seite 103 - This command deletes the

nslookupTo look up a host not in the current domain, append a dot (.) to the end of thedomain name.server domainlserver domainChanges the default serv

Seite 104 - Parameters

nslookupset keyword [=value]Use the command to change state information that affects the lookups. Table A–2lists the valid keywords.Table A–2 Options

Seite 105

nslookupTable A–2 (Cont.) Options to thenslookup setCommandKeyword Function[no]debugTurns on debugging (default isnodebug).nslookupdisplaysdetailed in

Seite 106

nslookupTable A–2 (Cont.) Options to thenslookup setCommandKeyword Functionsrchlist=namesChanges the default domain name to the first name you specify,

Seite 107

pingpingSend ICMP ECHO_REQUEST packets to network hosts.Formatping [-dfnqruvR] -c count [-i wait] [-l preload] [-p pattern] [-s packetsize] hostDescri

Seite 108 - TCPTRACE

Table 1 (Cont.) TCP/IP Services DocumentationManual ContentsHP TCP/IP Services for OpenVMSTuning and TroubleshootingThis manual provides information a

Seite 109

pingDifferent data patternsThe network layer should never treat packets differently depending on the datacontained in the data portion. Unfortunately,

Seite 110

ping-dSets theSO_DEBUGoption on the socket being used.-fFloodsping. Outputs packets as fast as they come back or 100 times per second,whichever is mor

Seite 111

pingkernel options are off and this flag is used, the time is displayed to three decimalplaces, but in milliseconds.-vSpecifies detailed output. ICMP pa

Seite 112

routerouteManually manipulates the routing tables.Formatroute [-nqvC] add [-net | -host] [family] destination[/bitmask] gateway [-link] [modifiers [arg

Seite 113

routeTherouteutility uses a routing socket and the new message types RTM_ADD,RTM_DELETE, and RTM_CHANGE. As such, only a privileged user can modifythe

Seite 114

route-lockLocks the metric specified by the next modifier specified on the command line. Alocked metric is not modified by the kernel. The following metri

Seite 115

route-sendpipe bandwidthSets this route’s outbound delay bandwidth product (in bytes) to the valuespecified by bandwidth.-ssthresh thresholdSets this r

Seite 116

sysconfigsysconfigMaintains the subsystem configuration.Formatsysconfig -c | -d | -m | -q | "-Q" | -r | -s | -u [subsystem-name][attribute-list]

Seite 117

sysconfigThis state applies only to static subsystems, which can be unconfigured butcannot be unloaded.• Unloaded (not available for use)This state appl

Seite 118

sysconfig-mQueries the mode for the specified subsystems. A subsystem’s mode can be staticor dynamic. If you omit the subsystem name,sysconfigdisplays t

Kommentare zu diesen Handbüchern

Keine Kommentare