Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Troubleshooting NetScaler
Troubleshooting NetScaler

Troubleshooting NetScaler: Gain essential knowledge and keep your NetScaler environment in top form

eBook
$35.98 $39.99
Paperback
$48.99
Subscription
Free Trial
Renews at $19.99p/m

What do you get with Print?

Product feature icon Instant access to your digital copy whilst your Print order is Shipped
Product feature icon Paperback book shipped to your preferred address
Product feature icon Redeem a companion digital copy on all Print orders
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Shipping Address

Billing Address

Shipping Methods
Table of content icon View table of contents Preview book icon Preview Book

Troubleshooting NetScaler

Chapter 2. Traffic Management Features

This chapter is focused on the features that form the basis of most NetScaler deployments. They are available under the traffic management node in the UI. These features are as follows:

  • Load balancing
  • SSL offloading
  • Content switching
  • GSLB

Let's explore and discuss troubleshooting these features one at a time.

Load balancing

The NetScaler started off as a high performance load balancer and is still its most prominent use case. In this chapter, we will look at a range of issues/questions that you come across when setting up or managing a load balanced environment with the NetScaler.

Considerations

First, let's look at some considerations around the general settings of load balancing.

Startup RR factor

Let's consider a scenario where you've created a new load balancing (LB) vServer or bound a service to an existing vServer that already has a bunch of services. You will notice that even though you have the LB method as the default (also happens to be the recommended) of least connections, NetScaler starts to send requests to the backend in a round robin fashion. This is a deliberate behavior to ensure that the new service you've just added doesn't get inundated with requests; after all, being a new server, it will have the least connections. This behavior is controlled by adjusting...

SSL

We will now look at issues that can arise when load balancing SSL applications via the NetScaler. Let's start by looking at some considerations when deploying SSL, before discussing certificates and some essential Wireshark knowledge that you need in the SSL area. We will then apply this knowledge to troubleshoot some common issues before wrapping up the section with a discussion of SSL security best practices.

SSL deployment considerations

SSL is now ubiquitous. In fact, most public facing deployments simply cannot go into production without it. Using NetScaler to take the SSL processing load off the servers is referred to as SSL offloading. SSL offloading is great for performance because a NetScaler with its specialized SSL cards is optimized for handling SSL transactions, while your application servers typically are not.

Note

While the generic name SSL has stuck, SSL is no longer the choice for security and nor is TLS 1.0. The severity of the POODLE attack that impacts both protocols...

Content switching

In this section, we will look at troubleshooting Content Switching. CS, as it is called in short, can be thought of as the single IP face of an infrastructure that is large and complex in the background. The idea is to have the CS vServer use Administrator configured rules to choose target LB vServers that each handle load balance for a particular type of content. The rules are the main value offered here as they can get very granular in identifying minute differences between two requests.

Content switching

As such, troubleshooting CS in the vast majority of cases comes down to verifying two things:

  • You have the right policies in place
  • The LB vServers that are bound are up

Troubleshooting service unavailable errors

I have a CS VIP (cs-vip) that choses either the vServer base-vip, containing only HTML, or the vServer image-vip, containing only images by looking at the URL.

Troubleshooting service unavailable errors

I try to access the VIP, and instead of the page with images that I expected to see, I land on a Service Unavailable error...

Global Server Load Balancing

Global Server Load Balancing (GLSB) does for data centers what load balancing does for servers. It directs users to the best possible resource (best data center for a resource). Best here can mean, the closest, the healthiest, or the least loaded.

GSLB uses a proprietary protocol called Metric Exchange Protocol (MEP) to obtain the metrics needed for this decision. The result of GSLB processing is an Address (A) record in response to a DNS request that the client will then use to obtain the resource.

In this section, we'll look at what a typical first time flow looks like, what some of the considerations are for GSLB to work correctly, and then move on to troubleshooting.

GSLB flow

It is important to understand the several layers involved in a GSLB conversation to be able to troubleshoot it. Let's take a look at an example of a User wanting to launch the home page of web.xmx.lab, which belongs to the xmx.lab domain:

  1. User accesses web.xmx.lab for the first...

Summary

In this chapter, we looked at how to examine and troubleshoot uneven load balancing as well as performance issues when load balancing via the NetScaler. We then extended that learning to SSL, content switching, and global server load balancing, which are all application delivery features that many large enterprises rely on to deliver their applications at scale and in a globally distributed manner.

I hope the chapter has proven useful to you. In the next chapter, we will look at how to troubleshoot caching and compression, which are RFC standards-based features that help further optimize HTTP content delivery via the NetScaler.

Left arrow icon Right arrow icon

Key benefits

  • Learn how the main features - Load Balancing, Content Switching, GSLB, SSL offloading, AAA, AppFirewall, and Gateway work under the hood using vividly explained flows and traces
  • Explore the NetScaler layout and the various logs, tools and methods available to help you when it’s time to debug
  • An easy-to-follow guide, which will walk you through troubleshooting common issues in your NetScaler environment

Description

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.

Who is this book for?

This book is aimed at NetScaler administrators who have a basic understanding of the product but are looking for deeper exposure and guidance in identifying and fixing issues to keep their application environment performing optimally.

What you will learn

  • Troubleshoot traffic management features such as load balancing, SSL, GSLB and
  • content switching
  • Identify issues with caching and compression
  • Deal with authentication issues when using LDAP, RADIUS, certificates, Kerberos and SAML
  • Diagnose NetScaler high availability and networking issues
  • Explore how application firewall protections work and how to avoid false positives
  • Learn about NetScaler Gateway integration issues with XenApp, XenDesktop, and XenMobile
  • Deal with NetScaler system-level issues
  • Discover the NetScaler troubleshooting tools
Estimated delivery fee Deliver to Japan

Standard delivery 10 - 13 business days

$8.95

Premium delivery 3 - 6 business days

$34.95
(Includes tracking information)

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Apr 29, 2016
Length: 270 pages
Edition : 1st
Language : English
ISBN-13 : 9781782175353
Vendor :
Citrix
Concepts :

What do you get with Print?

Product feature icon Instant access to your digital copy whilst your Print order is Shipped
Product feature icon Paperback book shipped to your preferred address
Product feature icon Redeem a companion digital copy on all Print orders
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Shipping Address

Billing Address

Shipping Methods
Estimated delivery fee Deliver to Japan

Standard delivery 10 - 13 business days

$8.95

Premium delivery 3 - 6 business days

$34.95
(Includes tracking information)

Product Details

Publication date : Apr 29, 2016
Length: 270 pages
Edition : 1st
Language : English
ISBN-13 : 9781782175353
Vendor :
Citrix
Concepts :

Packt Subscriptions

See our plans and pricing
Modal Close icon
$19.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
$199.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts
$279.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total $ 141.97
Troubleshooting NetScaler
$48.99
Implementing NetScaler VPX??? - Second Edition
$43.99
Mastering Netscaler VPX
$48.99
Total $ 141.97 Stars icon

Table of Contents

10 Chapters
1. NetScaler Concepts at a Glance Chevron down icon Chevron up icon
2. Traffic Management Features Chevron down icon Chevron up icon
3. Integrated Caching and Compression Chevron down icon Chevron up icon
4. AAA for Traffic Management Chevron down icon Chevron up icon
5. High Availability and Networking Chevron down icon Chevron up icon
6. Application Firewall Chevron down icon Chevron up icon
7. NetScaler Gateway™ Chevron down icon Chevron up icon
8. System-Level Issues Chevron down icon Chevron up icon
9. Troubleshooting Tools Chevron down icon Chevron up icon
Index Chevron down icon Chevron up icon

Customer reviews

Top Reviews
Rating distribution
Full star icon Full star icon Full star icon Full star icon Half star icon 4.9
(9 Ratings)
5 star 88.9%
4 star 11.1%
3 star 0%
2 star 0%
1 star 0%
Filter icon Filter
Top Reviews

Filter reviews by




Rampy101 Aug 15, 2016
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Good info. Straight-forward and easy to follow.
Amazon Verified review Amazon
Amazon Customer Jan 10, 2017
Full star icon Full star icon Full star icon Full star icon Full star icon 5
covering most of basic troubleshooting steps - get's you started with troubleshooting easy
Amazon Verified review Amazon
Bob Davis Apr 13, 2017
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Great reference and how to. Aggregates alot of info spread across multiple sources.
Amazon Verified review Amazon
Amazon Customer Jul 12, 2016
Full star icon Full star icon Full star icon Full star icon Full star icon 5
This book is awesome, all the NetScaler features are covered with deployment examples, flowcharts, Deployment considerations which is very important for admin before starting any project. Highlight of this book is troubleshooting part, all the feature troubleshooting is explained with Wireshark traces and NetScaler counters, which did not find in any book or document in detail as this book.Would like to share chapter wise highlights of this book, which would help buyersChater1:Which covers NetScaler file system, locations of NetScaler system files, configs and Certificates.In this chapter I found “Request switching and connection multiplexing” very interesting and author explained it very nicely, how this feature works and improves the performance of NetScaler.Very well explained about different modes of NetScaler, pros and cons of each mode and when to enable/disable them.Chapter2:Which covers commonly used load balancing methods, when to use which method and what are the factors to consider before deciding the LB type.With respect to troubleshooting he covered how to troubleshoot performance issue( interestingly he did explain how to isolate to specific server/device), uneven load balancing issues, Persistency issues which includes cookie based persistency.SSL certificates and how to troubleshoot SSL related issues .GLSB covered in details, Communication flow from user till backend server, different types of GSLB methods,What is MEP and how to troubleshoot MEP communication related issues.In this chapter I found very useful was, log analysis explained using Wireshark(also how to decrypt the SSL communication) and explanation of NetScaler nsconmsg system counters which I could not find in other books.Chapter3:Integrated caching and compression, how these features helps in improving the user performance.Which are the files/content NetScaler will cache and compress, which is explained very well using flow chart along with sample packet flowWith respect to troubleshooting author explained it very, how to confirm if the severed content is form NetScaler cache or not, what are the HTTP headers to check and NetScaler counters to use while troubleshooting.Chapter4:AAA traffic management which is my favourite topic, in this book commonly used AAA protocols like LDAP, RADIUS,SAML, certificate based auth, Form based and Kerberos.With respect to troubleshooting aaad.debug log which is commonly used AAA troubleshooting is very well explained along with error codes also did point to Citrix article for reference.When comes to cert based auth author explained what is certificate, types of certificate and how they are validated. What to look when authentication failing with NetScaler system counter nsconmsg.Kerberos protocol explanation is awesome which covers deployment options, configuration checklist and authentication flow explained with traces which I did not find in most of the books, this would help admin in implementing an troubleshooting.SAMAL protocol also explained very well with Fiddler traces for better understanding of the flow and what to look when auth failsChapter5:Here comes the mostly commonly used feature of NetScaler, High availability(HA) and Networking.Until I read this book I had lots of confusion about NSVLAN, tagging options, LACP and NIC buffer, all the networking concepts are explained with examples and when to use them.This covers HA in details, ports used by NetScaler in HA, how RPC password plays important role in HA. Different stats of HA and meaning of the same.How to identify the failover event, What logs and counters to check when HA hertbeats are not seen on the devices. Issues caused by ARP, GARP and Split-brain conditions.Last but not least HA syn issues also covered log analysis and NetScaler packet handling with HA is enabled is explained with flow chard for easy understanding.Chapter6:ApplicatioFirwall one of the commonly used App security feature, this book covers Application attacks like cross-site scripting(XSS), SQL injection, Forceful browsing attacks, cookie tampering, Hidden filed tampering. All these are explained with examples and logs, also covers how to prevent them by AppFw policies.Signature based policy configuration is also explained with configuration stepsWith respect to troubleshooting, identifying the firewall blocks using NetScaler output commands and system counters, Also covered performance issues when enabling AppFirewall and how to troubleshoot by creating custom policies.Chapter7:NetScaler gateway is vastly used remote access feature of NetScaler.Difference between basic and smart access modes is covered and when to use them.In this chapter I liked the way VPN session phases are explained using Wireshark captures, phase1:EPA exchanges, Phase2:Authentication exchanges, and Phase3: Authentication exchanges, explanation includes HTTP header/content level details.Troubleshooting includes how to collect client side VPN and EPA logs and how to diagnose the failure.ICA proxy troubleshooting and App launch process is extensively covered in this book• Different phases of App launch process• What are the servers involved in each communication and role of each servers• How to troubleshoot App/Desktop enumeration and launch issues, with sample log analysis and policy hits countersThis chapter also covers the XenMobile(XM) configuration as gateway is used for securing the communication between mobile devices and backend servers.All wizards used in the XM configuration is explained along with inbuilt tools to check the connectivityChapter8:After covering all the network features author did cover system level issues, licensing issues, NTP issues, SNMP issues and how to troubleshoot them.CPU, memory and device hang issues are explained very will using counters and how to read themChapter9:All the inbuilt NetScaler utilities like dashboards, Show techsupport utility are covered, I did find few nsconmsg commands online and was using them while troubleshooting the NetScaler issues but after reading this book I understand the different syntaxes used along with nsconmsg and meaning of the same. Now I don’t need to remember the whole command as I can tweak the command using syntaxes based on the output.
Amazon Verified review Amazon
Amazon Customer May 09, 2016
Full star icon Full star icon Full star icon Full star icon Full star icon 5
This book shows beginning and advanced administrator all the ins and outs of debugging the citrix Netscaler. From hardware failure detection to networking issues, it's all in there.Dennis van RemortelTech Reviewer of the Troubleshooting Netscaler book
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

What is the digital copy I get with my Print order? Chevron down icon Chevron up icon

When you buy any Print edition of our Books, you can redeem (for free) the eBook edition of the Print Book you’ve purchased. This gives you instant access to your book when you make an order via PDF, EPUB or our online Reader experience.

What is the delivery time and cost of print book? Chevron down icon Chevron up icon

Shipping Details

USA:

'

Economy: Delivery to most addresses in the US within 10-15 business days

Premium: Trackable Delivery to most addresses in the US within 3-8 business days

UK:

Economy: Delivery to most addresses in the U.K. within 7-9 business days.
Shipments are not trackable

Premium: Trackable delivery to most addresses in the U.K. within 3-4 business days!
Add one extra business day for deliveries to Northern Ireland and Scottish Highlands and islands

EU:

Premium: Trackable delivery to most EU destinations within 4-9 business days.

Australia:

Economy: Can deliver to P. O. Boxes and private residences.
Trackable service with delivery to addresses in Australia only.
Delivery time ranges from 7-9 business days for VIC and 8-10 business days for Interstate metro
Delivery time is up to 15 business days for remote areas of WA, NT & QLD.

Premium: Delivery to addresses in Australia only
Trackable delivery to most P. O. Boxes and private residences in Australia within 4-5 days based on the distance to a destination following dispatch.

India:

Premium: Delivery to most Indian addresses within 5-6 business days

Rest of the World:

Premium: Countries in the American continent: Trackable delivery to most countries within 4-7 business days

Asia:

Premium: Delivery to most Asian addresses within 5-9 business days

Disclaimer:
All orders received before 5 PM U.K time would start printing from the next business day. So the estimated delivery times start from the next day as well. Orders received after 5 PM U.K time (in our internal systems) on a business day or anytime on the weekend will begin printing the second to next business day. For example, an order placed at 11 AM today will begin printing tomorrow, whereas an order placed at 9 PM tonight will begin printing the day after tomorrow.


Unfortunately, due to several restrictions, we are unable to ship to the following countries:

  1. Afghanistan
  2. American Samoa
  3. Belarus
  4. Brunei Darussalam
  5. Central African Republic
  6. The Democratic Republic of Congo
  7. Eritrea
  8. Guinea-bissau
  9. Iran
  10. Lebanon
  11. Libiya Arab Jamahriya
  12. Somalia
  13. Sudan
  14. Russian Federation
  15. Syrian Arab Republic
  16. Ukraine
  17. Venezuela
What is custom duty/charge? Chevron down icon Chevron up icon

Customs duty are charges levied on goods when they cross international borders. It is a tax that is imposed on imported goods. These duties are charged by special authorities and bodies created by local governments and are meant to protect local industries, economies, and businesses.

Do I have to pay customs charges for the print book order? Chevron down icon Chevron up icon

The orders shipped to the countries that are listed under EU27 will not bear custom charges. They are paid by Packt as part of the order.

List of EU27 countries: www.gov.uk/eu-eea:

A custom duty or localized taxes may be applicable on the shipment and would be charged by the recipient country outside of the EU27 which should be paid by the customer and these duties are not included in the shipping charges been charged on the order.

How do I know my custom duty charges? Chevron down icon Chevron up icon

The amount of duty payable varies greatly depending on the imported goods, the country of origin and several other factors like the total invoice amount or dimensions like weight, and other such criteria applicable in your country.

For example:

  • If you live in Mexico, and the declared value of your ordered items is over $ 50, for you to receive a package, you will have to pay additional import tax of 19% which will be $ 9.50 to the courier service.
  • Whereas if you live in Turkey, and the declared value of your ordered items is over € 22, for you to receive a package, you will have to pay additional import tax of 18% which will be € 3.96 to the courier service.
How can I cancel my order? Chevron down icon Chevron up icon

Cancellation Policy for Published Printed Books:

You can cancel any order within 1 hour of placing the order. Simply contact customercare@packt.com with your order details or payment transaction id. If your order has already started the shipment process, we will do our best to stop it. However, if it is already on the way to you then when you receive it, you can contact us at customercare@packt.com using the returns and refund process.

Please understand that Packt Publishing cannot provide refunds or cancel any order except for the cases described in our Return Policy (i.e. Packt Publishing agrees to replace your printed book because it arrives damaged or material defect in book), Packt Publishing will not accept returns.

What is your returns and refunds policy? Chevron down icon Chevron up icon

Return Policy:

We want you to be happy with your purchase from Packtpub.com. We will not hassle you with returning print books to us. If the print book you receive from us is incorrect, damaged, doesn't work or is unacceptably late, please contact Customer Relations Team on customercare@packt.com with the order number and issue details as explained below:

  1. If you ordered (eBook, Video or Print Book) incorrectly or accidentally, please contact Customer Relations Team on customercare@packt.com within one hour of placing the order and we will replace/refund you the item cost.
  2. Sadly, if your eBook or Video file is faulty or a fault occurs during the eBook or Video being made available to you, i.e. during download then you should contact Customer Relations Team within 14 days of purchase on customercare@packt.com who will be able to resolve this issue for you.
  3. You will have a choice of replacement or refund of the problem items.(damaged, defective or incorrect)
  4. Once Customer Care Team confirms that you will be refunded, you should receive the refund within 10 to 12 working days.
  5. If you are only requesting a refund of one book from a multiple order, then we will refund you the appropriate single item.
  6. Where the items were shipped under a free shipping offer, there will be no shipping costs to refund.

On the off chance your printed book arrives damaged, with book material defect, contact our Customer Relation Team on customercare@packt.com within 14 days of receipt of the book with appropriate evidence of damage and we will work with you to secure a replacement copy, if necessary. Please note that each printed book you order from us is individually made by Packt's professional book-printing partner which is on a print-on-demand basis.

What tax is charged? Chevron down icon Chevron up icon

Currently, no tax is charged on the purchase of any print book (subject to change based on the laws and regulations). A localized VAT fee is charged only to our European and UK customers on eBooks, Video and subscriptions that they buy. GST is charged to Indian customers for eBooks and video purchases.

What payment methods can I use? Chevron down icon Chevron up icon

You can pay with the following card types:

  1. Visa Debit
  2. Visa Credit
  3. MasterCard
  4. PayPal
What is the delivery time and cost of print books? Chevron down icon Chevron up icon

Shipping Details

USA:

'

Economy: Delivery to most addresses in the US within 10-15 business days

Premium: Trackable Delivery to most addresses in the US within 3-8 business days

UK:

Economy: Delivery to most addresses in the U.K. within 7-9 business days.
Shipments are not trackable

Premium: Trackable delivery to most addresses in the U.K. within 3-4 business days!
Add one extra business day for deliveries to Northern Ireland and Scottish Highlands and islands

EU:

Premium: Trackable delivery to most EU destinations within 4-9 business days.

Australia:

Economy: Can deliver to P. O. Boxes and private residences.
Trackable service with delivery to addresses in Australia only.
Delivery time ranges from 7-9 business days for VIC and 8-10 business days for Interstate metro
Delivery time is up to 15 business days for remote areas of WA, NT & QLD.

Premium: Delivery to addresses in Australia only
Trackable delivery to most P. O. Boxes and private residences in Australia within 4-5 days based on the distance to a destination following dispatch.

India:

Premium: Delivery to most Indian addresses within 5-6 business days

Rest of the World:

Premium: Countries in the American continent: Trackable delivery to most countries within 4-7 business days

Asia:

Premium: Delivery to most Asian addresses within 5-9 business days

Disclaimer:
All orders received before 5 PM U.K time would start printing from the next business day. So the estimated delivery times start from the next day as well. Orders received after 5 PM U.K time (in our internal systems) on a business day or anytime on the weekend will begin printing the second to next business day. For example, an order placed at 11 AM today will begin printing tomorrow, whereas an order placed at 9 PM tonight will begin printing the day after tomorrow.


Unfortunately, due to several restrictions, we are unable to ship to the following countries:

  1. Afghanistan
  2. American Samoa
  3. Belarus
  4. Brunei Darussalam
  5. Central African Republic
  6. The Democratic Republic of Congo
  7. Eritrea
  8. Guinea-bissau
  9. Iran
  10. Lebanon
  11. Libiya Arab Jamahriya
  12. Somalia
  13. Sudan
  14. Russian Federation
  15. Syrian Arab Republic
  16. Ukraine
  17. Venezuela