Objective
This article describes how to setup a NetScaler to capture circular network traces. This is useful when you cannot duplicate the issue on demand and instead have to wait for it to occur. This example explains how to capture 150 seconds of network traces split into 5 different files of 30 seconds each.
Requirements
- Access to NetScaler Graphical User Interface (GUI) or Command Line Interface (CLI).
- Tools to connect to NetScaler over SSH (PuTTY, WinSCP).
Instructions
Capture Circular Traces Using NetScaler GUI
-
Navigate to Configuration utility, expand System and click Diagnostics. Under Technical Support Tools section click Start new trace.
- Modify the following parameters to capture full packets for 5 minutes divided into 5 files of 1 minute each.
- ??¨Packet Size: 0 (0 represents capturing the entire packet)
- Duration of data per file (seconds): 30 (represents half a minute traces on each file)
- Number of trace files: 5 (number of files)
-
Click Start. The following pop-up will appear. Wait until all the desired traces have been captured and then click OK.
-
Validate that 5 files were created in the format nstrace#.cap. Download the files one at a time.
-
Compress all the files into a single .zip file and upload it to TaaS (http://taas.citrix.com) providing the case number. For more information refer to?? CTX136396 - How to Upload Data to Citrix Insight Services.
Capture Circular Traces Using NetScaler CLI
-
Connect to the NetScaler through SSH using PuTTY (or any other SSH tool).
-
On the NetScaler CLI run the following command to start the trace:
start nstrace -size 0 -nf 5 -time 30 -
Stop the traces using the following command:
stop nstrace -
A directory will be generated in the /var/nstrace/ with the timestamp (i.e. 06Jan2016_16_55_46) at which the capture started. Use WinSCP, FileZilla, or any other tool that allows SCP (secure copy), and navigate to /var/nstrace/06Jan2016_16_55_46/ and download all the files to your local computer. You can either drag-and-drop the files or right-click on them and select Download (F5).
-
Compress all the files into a single .zip file and upload it to TaaS (http://taas.citrix.com) providing the case number. For more information refer to?? CTX136396 - How to Upload Data to Citrix Insight Services.
Supporto Citrix
Traduzione automatica
Questo articolo ?? ¨ stato tradotto da un sistema di traduzione automatica e non ?? ¨ stata valutata da persone. Citrix fornisce traduzione automatica per aumentare l'accesso per supportare contenuti; tuttavia, articoli automaticamente tradotte possono possono contenere degli errori. Citrix non ?? ¨ responsabile di incongruenze, errori o danni derivanti dell'uso di articoli automaticamente tradotte.
Citrix技術支持
自動翻譯
這篇文章被翻譯由一個自動翻譯系統,並沒有受到人們的審查。 Citrix提供自動翻譯,增加獲得支持的內容;但是,自動翻譯的文章可能可以包含錯誤。思傑不負責不一致,錯誤或損壞因使用自動翻譯的文章的結果。
Поддержка Citrix
Tradução automática
Эта статья была переведена автоматической системой перевода и не был рассмотрен людьми. Citrix обеспечивает автоматический перевод с целью расширения доступа для поддержки контента; Однако, автоматически переведенные статьи могут может содержать ошибки. Citrix не несет ответственности за несоответствия, ошибки, или повреждения, возникшие в результате использования автоматически переведенных статей.
시트릭스 지원
자동 번역
이 문서 자동 번역 시스템에 의해 번역 된 사람들에 의해 검토되지 않았다. 시트릭스는 컨텐츠를 지원하기 위해 접근을 높이기 위해 자동 번역을 제공합니다; 그러나, 자동으로 번역 기사 오류를 포함 할 수있다. 시트릭스는 자동으로 번역 된 기사의 사용의 결과로 발생하는 불일치, 오류 또는 손해에 대해 책임을지지 않습니다.