How to Determine the IP Addresses of Active Connections to a Virtual Server of a NetScaler

How to Determine the IP Addresses of Active Connections to a Virtual Server of a NetScaler

book

Article ID: CTX126853

calendar_today

Updated On:

Description

This article describes how to determine the IP addresses of active connections to a virtual server of a NetScaler.

Background

To troubleshoot a web application issue, you might need to determine the IP address actively connected to a virtual server of NetScaler. For example, certain percentage of clients might have problems in connecting to an appliance in a Load Balancing setup. However, others do not have any issues for the same. In such a scenario, you might suspect an issue with the backend server, but you need to determine the server to which the users are connecting. To determine the server, you must verify the source IP addresses of the users experiencing the issue and the respective backend server to which the connection is made.

User-added image

Instructions

You can use the connection table to display all TCP/IP connections. The table lists the source IP address and port, destination IP address and port, and the NetScaler appliance to the application server IP addresses, which are NetScaler Mapped IP (MIP) or Subnet IP (SNIP) addresses and destination server IP address.

NetScaler GUI

To display the connection table using NetScaler GUI:

  1. Log in to the NetScaler appliance using nsroot credentials.

  2. Select Configuration > System > Network > TCP/IP connections link.

    User-added image

  3. Select the Client Server Link Mapping option and click Continue.

    User-added image

  4. The Client and Server IP addresses are displayed in the Client-Server Connections table.

    User-added image

NetScaler CLI

To display the connection table using NetScaler CLI, run the following command:
> show ns connectiontable  CONNECTION.LB_VSERVER.NAME.EQ("LB_name") 

For more information about this command refer to this KB Article

 

Issue/Introduction

This article describes how to determine the IP addresses of active connections to a virtual server of a NetScaler.