Book Image

Troubleshooting NetScaler

By : Raghu Varma Tirumalaraju
Book Image

Troubleshooting NetScaler

By: Raghu Varma Tirumalaraju

Overview of this book

NetScaler is a high performance Application Delivery Controller (ADC). Making the most of it requires knowledge that straddles the application and networking worlds. As an ADC owner you will also likely be the first person to be solicited when your business applications fail. You will need to be quick in identifying if the problem is with the application, the server, the network, or NetScaler itself. This book provides you with the vital troubleshooting knowledge needed to act fast when issues happen. It gives you a thorough understanding of the NetScaler layout, how it integrates with the network, and what issues to expect when working with the traffic management, authentication, NetScaler Gateway and application firewall features. We will also look at what information to seek out in the logs, how to use tracing, and explore utilities that exist on NetScaler to help you find the root cause of your issues.
Table of Contents (17 chapters)
Troubleshooting NetScaler
Credits
Notice
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

The nsconmsg utility


Nsconmsg is a logging process that runs nonstop on the NetScaler. It contains a snapshot of all the available counters taken once every 7 seconds. There are an excess of 10,000 counters each with specific conditions for specific features, which makes this such a formidable troubleshooting tool in identifying if a problem condition has been hit.

The logs produced by this utility are available in /var/nslog. By default, they roll over once every two days or on reaching a size of 300 MB whichever is first. The file newlog will always be latest (current log file). They can go up to 99 files after which they restart from 0.

nsconmsg syntax and options

nsconmsg is used from the shell prompt with the following syntax:

nsconmsg –K <path> –g <counter_name> -d <display_option>

The commonly used options are as follows:

  • -K: This is used to specify the name of the log file; if not used, current values of counters are shown.

  • -g: This is used to grep for the values...