Troubleshooting.

Slides:



Advertisements
Similar presentations
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 8: Monitoring the Network Connecting Networks.
Advertisements

MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 6 Managing and Administering DNS in Windows Server 2008.
MCTS GUIDE TO MICROSOFT WINDOWS 7 Chapter 10 Performance Tuning.
11 TROUBLESHOOTING Chapter 12. Chapter 12: TROUBLESHOOTING2 OVERVIEW  Determine whether a network communications problem is related to TCP/IP.  Understand.
Optimizing Windows Vista Performance Lesson 10. Skills Matrix Technology SkillObjective DomainObjective # Introducing ReadyBoostTroubleshoot performance.
1 Routing and Remote Access Service (Week 15, Friday 4/21/2006) © Abdou Illia, Spring 2006.
Introduction to Network Analysis and Sniffer Pro
Implementing a Highly Available Network
 The IP address and port combination at which the NetScaler appliance receives client requests for the associated web application.  A public endpoint.
Diagnostics. Module Objectives By the end of this module participants will be able to: Use diagnostic commands to troubleshoot and monitor performance.
14.1 © 2004 Pearson Education, Inc. Exam Planning, Implementing, and Maintaining a Microsoft Windows Server 2003 Active Directory Infrastructure.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 11: Monitoring Server Performance.
Chapter 14 Chapter 14: Server Monitoring and Optimization.
Chapter 11 - Monitoring Server Performance1 Ch. 11 – Monitoring Server Performance MIS 431 – created Spring 2006.
70-270, MCSE/MCSA Guide to Installing and Managing Microsoft Windows XP Professional and Windows Server 2003 Chapter Thirteen Performing Network.
11 MONITORING MICROSOFT WINDOWS SERVER 2003 Chapter 3.
DASAN NETWORKS GPON Training
MCITP Guide to Microsoft Windows Server 2008 Server Administration (Exam #70-646) Chapter 14 Server and Network Monitoring.
SSL.
Monitoring System Monitors Basics Monitor Types Alarms Actions RRD Charts Reports.
Maintaining and Updating Windows Server 2008
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 11 Managing and Monitoring a Windows Server 2008 Network.
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network Chapter 14: Troubleshooting Windows Server 2003 Networks.
Guide to TCP/IP, Third Edition Chapter 11: Monitoring and Managing IP Networks.
Check Disk. Disk Defragmenter Using Disk Defragmenter Effectively Run Disk Defragmenter when the computer will receive the least usage. Educate users.
TCP/IP Tools Lesson 5. Objectives Skills/ConceptsObjective Domain Description Objective Domain Number Using basic TCP/IP commands Understanding TCP/IP3.6.
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 7 Configuring File Services in Windows Server 2008.
MIB Browser Watch your Network on the move. Product Overview SNMP MIB Browser for iOS enables the user to browse/view the MIB data of SNMP enabled network.
Ch. 31 Q and A IS 333 Spring 2015 Victor Norman. SNMP, MIBs, and ASN.1 SNMP defines the protocol used to send requests and get responses. MIBs are like.
What’s New in Fireware XTM v WatchGuard Training.
11 MAINTAINING THE OPERATING SYSTEM Chapter 5. Chapter 5: MAINTAINING THE OPERATING SYSTEM2 CHAPTER OVERVIEW Understand the difference between service.
Microsoft ® Official Course Monitoring and Troubleshooting Custom SharePoint Solutions SharePoint Practice Microsoft SharePoint 2013.
11 MAINTAINING THE OPERATING SYSTEM Chapter 5. Chapter 5: MAINTAINING THE OPERATING SYSTEM2 CHAPTER OVERVIEW  Understand the difference between service.
Emanuele Pasqualucci Extending AppManager Monitoring with the SNMP Toolkit.
1 Chapter Overview Monitoring Server Performance Monitoring Shared Resources Microsoft Windows 2000 Auditing.
Ch 11 Managing System Reliability and Availability 1.
Module 7: Configuring TCP/IP Addressing and Name Resolution.
Hands-on Networking Fundamentals
NMS Labs Mikko Suomi LAB1 Choose SNMP device managment software Features: –Gives Nice overview of network –Bandwith monitoring –Multible.
TUTORIAL # 2 INFORMATION SECURITY 493. LAB # 4 (ROUTING TABLE & FIREWALLS) Routing tables is an electronic table (file) or database type object It is.
MCTS Guide to Microsoft Windows 7
Module 7: Fundamentals of Administering Windows Server 2008.
Network Management Tool Amy Auburger. 2 Product Overview Made by Ipswitch Affordable alternative to expensive & complicated Network Management Systems.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 11: Monitoring Server Performance.
Module 10: Monitoring ISA Server Overview Monitoring Overview Configuring Alerts Configuring Session Monitoring Configuring Logging Configuring.
Cisco Routers Objectives –How to log into a Cisco router and determine basic settings. Contents –Differences in available methods of access. –Different.
Guide to Linux Installation and Administration, 2e1 Chapter 10 Managing System Resources.
Mr C Johnston ICT Teacher BTEC IT Unit 05 - Lesson 05 Network Protocols.
Using Novell GroupWise ® 6 Monitor Duane Kuehne Software Engineer Novell, Inc. Danita Zanre Senior Consultant NSC Sysop,
Maintaining and Updating Windows Server Monitoring Windows Server It is important to monitor your Server system to make sure it is running smoothly.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 11: Monitoring Server Performance.
Integrating and Troubleshooting Citrix Access Gateway.
Network Analyzer :- Introduction to Wireshark. What is Wireshark ? Ethereal Formerly known as Ethereal GUINetwork Protocol Analyzer Wireshark is a GUI.
Monitoring Troubleshooting TCP/IP Chapter 3. Objectives for this Chapter Troubleshoot TCP/IP addressing Diagnose and resolve issues related to incorrect.
Advanced Packet Analysis and Troubleshooting Using Wireshark 23AF
1 Microsoft Windows 2000 Network Infrastructure Administration Chapter 4 Monitoring Network Activity.
Information Security 493. Lab # 4 (Routing table & firewalls) Routing tables is an electronic table (file) or database type object that is stored in a.
Network Management CCNA 4 Chapter 7. Monitoring the Network Connection monitoring takes place every day when users log on Ping only shows that the connection.
Network Management Mechanisms Two major network management protocols: Simple Network Management Protocol (SNMP) Common Management Information Protocol.
Ch. 31 Q and A IS 333 Spring 2016 Victor Norman. SNMP, MIBs, and ASN.1 SNMP defines the protocol used to send requests and get responses. MIBs are like.
Maintaining and Updating Windows Server 2008 Lesson 8.
Model: DS-600 5x 10/100/1000Mbps Ethernet Port Centralized WLAN management and Access Point Discovery Manages up to 50 APs with access setting control.
SQL Database Management
Lab 2: Packet Capture & Traffic Analysis with Wireshark
Network Commands 2 Linux Ubuntu A.S.
Network Tools and Utilities
1Y0-253 Exam Implementing Citrix NetScaler 10.5 for App and Desktop Solutions
Chapter 8: Monitoring the Network
Network Analyzer :- Introduction to Wireshark
Network Analyzer :- Introduction to Wireshark
Presentation transcript:

Troubleshooting

Tools

Troubleshooting Tools Inspecting HTTP Headers In many cases it is useful to view the HTTP headers when debugging various problems, including: Persistence failures when using cookie persistence Performing caching and tuning cache headers Verifying compression is occurring Isolating authentication issues Many tools that are available are very useful for this task and are easy to use: Live HTTP Headers for Mozilla/Firefox IE HTTP Headers for Internet Explorer IEHTTPAnalyzer Fiddler

Troubleshooting Tools Presentation Title Goes Here Insert Version Number Here Troubleshooting Tools Inspecting HTTP Headers: Live HTTP Headers Live HTTP Headers is available at http://livehttpheaders.mozdev.org – free tool Once installed, go to Tools > livehttpheaders to start capturing headers. Once opened, all HTTP request and response headers will be displayed, as shown. If desired, you can also filter what requests will be captured. © 2003 Citrix Systems, Inc.—All rights reserved.

Troubleshooting Tools Inspecting HTTP Headers: IE HTTP Headers IE HTTP Headers can be downloaded from http://www.bluck.info/iehttpheaders - free tool After installation, go to View > Explorer Bar > ieHTTPHeaders to display the view pane.

Presentation Title Goes Here Insert Version Number Here Troubleshooting Inspecting HTTP Headers IEHTTPAnalyzer - must purchase (found on student Desktop) or download from http://www.ieinspector.com/httpanalyzer/ LiveHTTPHeaders for firefox © 2003 Citrix Systems, Inc.—All rights reserved.

Presentation Title Goes Here Insert Version Number Here Troubleshooting Inspecting HTTP Headers Fiddler - Freeware Download from http://www.fiddler2.com/fiddler2/ LiveHTTPHeaders for firefox © 2003 Citrix Systems, Inc.—All rights reserved.

Tracing

Troubleshooting Tools Packet captures can be done on the NetScaler via the “new trace” option on the diagnostics tab, as shown

Troubleshooting Tools The dialog to perform a trace has several options: Packet size: Specify 0 to capture the entire packet Duration of data per file: By default 1 hr. Format: Select “tcpdump” to capture in pcap format Filter expression: TCPDUMP capture filter to only capture certain packets being processed Capturing mode: Additional options for capturing packets

Troubleshooting Tools Packet Traces, continued Once a trace is performed, the trace will have to be downloaded

Troubleshooting Tools Packet Traces, continued Select where you want the trace saved and open with your favorite trace tool

Network Traffic Capture Citrix NetScaler Corporate Intro Presentation March 29th 2006 Network Traffic Capture The nstrace utility: Is used for packet capture on the NetScaler system Has files stored in /var/nstrace Has names nstracexx.cap (Native) or nstracexx.pcap (tcpdump) Has syntax nstrace.sh –sz 0 Prefers the native format for packet capture since it captures more information Can view the native NetScaler and pcap format with Wireshark Nstrace syntax nstrace.sh dumps packets in NS format, can be viewed using NETSTAT utility (release specific) nstrace.sh -sz 0 -tcpdump 1 dumps packet of all length and in tcmpdump format, which can re read using ethereal nstrace.sh -sz 0 -tcpdump 1 -nf 3 -time 5 Dumps packets for 5 seconds and rotates in 3 different files nstrace.sh -sz 0 -tcpdump 1 -m 1 -m with 1 will dump only transmitted packets, with 2 will dump packets buffered for transmission, with 4 will dump only received packets nstrace.sh –stop It will stop any instance of nstrace running in the background © 2006 Citrix Systems, Inc.—All rights reserved. 13

Sample nstrace.sh Output

SNMP

Troubleshooting Tools SNMP Overview SNMP is a standard means of receiving information from a device by either polling variables (OIDs) or receiving alerts (traps). The NetScaler system provides a list of over a thousand variables in a MIB file. In some devices, SNMP can both read data and write configurations, but with the NetScaler system it is read only. Common tools that are used to keep track and plot long-term SNMP data include NetScaler Command Center, HP OpenView and MRTG.

Troubleshooting Tools SNMP Community Configuration The first step in monitoring via SNMP is to configure a community and permission (select ALL). System -> SNMP -> Community

Troubleshooting Tools SNMP Manager Configuration To limit SNMP polling to a set of IPs or networks, configure managers as well.

Troubleshooting Tools Presentation Title Goes Here Insert Version Number Here Troubleshooting Tools Network Monitoring with SNMP Some of the most commonly polled SNMP OIDs HA State: .1.3.6.1.4.1.5951.4.1.1.6.0 Average CPU: .1.3.6.1.4.1.5951.4.1.1.41.1.0 Memory Utilization (%): .1.3.6.1.4.1.5951.4.1.1.41.2.0 Server Connections: .1.3.6.1.4.1.5951.4.1.1.46.1.0 Client Connections: .1.3.6.1.4.1.5951.4.1.1.46.2.0 HTTP Requests: .1.3.6.1.4.1.5951.4.1.1.48.67.0 HTTP Responses: .1.3.6.1.4.1.5951.4.1.1.48.53.0 Interface Stats (table): .1.3.6.1.4.1.5951.4.1.1.54 Since many OIDs are dynamically generated, tools such as the iReasoning MIB browser (http://www.iReasoning.com) are handy for locating them. © 2003 Citrix Systems, Inc.—All rights reserved.

Presentation Title Goes Here Insert Version Number Here Troubleshooting Most Common Issues Do not rule out basic problems. Is there a duplex mismatch? #1 cause of poor performance Is a feature enabled? Check routing, in particular when USIP is enabled. Do not assume coders follow HTTP? Does it work as TCP? When installing a NetScaler system, do not assume the rest of the network is correct—it usually is broken in subtle ways. Divide and conquer. Try to break the problem down into pieces, and verify each. Always perform a trace when you have a problem. A trace tells you what IS happening and not what you think should be happening. © 2003 Citrix Systems, Inc.—All rights reserved.

Logs

Logged Information The following components enable recording and extracting information for troubleshooting the NetScaler: nsconmsg newnslog

Nsconmsg Command Output Citrix NetScaler Corporate Intro Presentation March 29th 2006 Nsconmsg Command Output Nsconmsg is an application that collects all the statistics and system information from the NetScaler system. This information can be used to analyze the traffic information and the NetScaler system information.   When this application starts, it connects to the specified NetScaler system and starts to get the data. It has the facility to log the binary data to the file or view information online. Filters can be defined to filter out only the required information. The Nsconmsg utility, running in FreeBSD user-land, polls the NetScaler kernel to extract performance records. Performance record types include: Symbol Name is every statistics variable has a unique name Device name is every object created on the NetScaler system that has a unique name and number Device Link is the link between two devices Absolute Record is the absolute value of a symbol Differential Record is a change in the value of a symbol Events Record By default, the NetScaler system collects all the performance records and stores in the circular buffer. The application like nsconmsg/GUI, can connect to NetScaler system and starts to collect this performance data real-time. The performance records are dumped into /var/nslog/newnslog.[xxx].gz in binary format. The utility can also be used to generate reports based on the binary data dumped at /var/nslog/newnslog.[xxx].gz At boot time, nsconmsg is run by the script /netscaler/nslog.sh. The Script also manages log rotation. An administrator must access the NetScaler system with SSH to access the logs. Nsconmsg displays debugging information based on the attributes passed to it, including: Display attributes current past oldconmsg (-s along with feature details) consmsg (console messages) event (event details) stats (all the counters) statswt0 (counters which have incremented) auditedcmd Debugging info of other NS nsconmsg –U 10.102.3.171:nsroot:nsroot –d statswt0 Nsconmsg uses the –d option to select what set of information to display Common display sets include current & past (Performance Record Variables) oldconmsg (a textual display, does not support all options) event (event records, usually snmp trap related) stats (an entire list of variables from live system) statswt0 (variables that are non-zero from live system) Options “past”, “stats” and “statswt0” often relate to a live system display, not an input file Nsconmsg utility is used for viewing: Events Console messages CPU/Memory statistics Interface statistics Commands executed by users Feature-specific statistics nsconmsg commands are case-sensitive Arguments are positional, order is important © 2006 Citrix Systems, Inc.—All rights reserved. 23

Accessing Logged Information The log file and time parameters should be replaced with the necessary values to obtain desired log information The log file and time parameters are available to: Uncompress an archived log file Discover the time period covered by the log View load-balancing statistics from the archived log Extract logging information for a shorter duration Start log process for newnslog

Displaying Console Messages

Calendar Dialog

Sample nsconmsg Output Using grep

Displaying Event Information

Displaying CPU Information

Displaying NIC Statistics

Load Balancing Display Output

Statistics

© 2006 Citrix Systems, Inc.—All rights reserved. Citrix NetScaler Corporate Intro Presentation March 29th 2006 Statistics Monitoring statistics of the NetScaler system or a feature can be obtained by running the stat command Stat feature displays summary statistics for the feature Additional stat parameters are: detail: for detailed feature statistics fullValues: for number and strings displayed in full form ntimes: for number of times statistics to be displayed logFile: for reading stats from a log file names internal: for viewing internal counter names © 2006 Citrix Systems, Inc.—All rights reserved. 33

Displaying Statistics in the CLI stat command: Provides statistics on certain components of a NetScaler system E.g.: - stat cpu - stat system - stat lb vserver

NetScaler System Statistical Utility The Statistical Utility displays current statistics: This is not for historical information The dashboard receives a copy of the performance records as they are generated, and displays live data These statistics are updated every seven seconds Each dashboard consumes cpu time An administrator can hover over certain areas of the dashboard and if a hand appears you can click that to get a separate window. Right clicking them brings up plotting. HTTP requests/s shows total requests for all virtual IP addresses/ System Log shows current events such as virtual server up/down messages. If an administrator clicks it, a separate window opens which has unlimited history for the current session. Gauges for CPU/Memory give a percentage of usage and throughput is total in/out for all interfaces. This can be plotted on a per interface basis by clicking or right clicking to get the chart window with a two tabs system and per interface.