Product Documentation

Managing the Secure Gateway

May 06, 2015

The Secure Gateway Management Console is an MMC snap-in that provides an administrator with tools to administer, monitor, and troubleshoot the Secure Gateway.

You can access the Secure Gateway Management Console from the Citrix program menu on the Start menu. You can start, stop, and restart the Secure Gateway using the icons available on the console toolbar. In addition, the Secure Gateway Management Console displays the following information:

  • Session and connection information for the Web Interface that is currently running through the Secure Gateway. The sessions for the Web Interface have one connection for one session.
  • An instance of the Windows Performance Monitor containing performance statistics applicable to the Secure Gateway. Review this list to obtain detailed information regarding the status of client connections running through the Secure Gateway.

The Secure Gateway Management Console also provides access to the following:

  • The Secure Gateway Configuration wizard
  • The Secure Gateway Diagnostics tool

Viewing Session and Connection Information with the Secure Gateway Console

The Secure Gateway provides session and connection information in the Secure Gateway Management Console.

To view session connection properties

  1. From the Session Information pane, select a session.
  2. Right-click and select Properties. Alternatively, double-click a session.
The following statistics are available for all active sessions running through the Secure Gateway:
Statistic Description
Client IP The IP address and port of the remote client.
User The current user associated with the session, if any.
Domain The network domain from which the current user is logged on.
Time Established The time that this connection was established.
Time Elapsed The amount of time, in seconds, that elapsed since this connection was established.

To disconnect an active session

  1. From the Session Information pane, right-click the active session you want to disconnect and select All Tasks > Disconnect.
  2. Right-click and select All Tasks - Disconnect.

To freeze (pause) and resume the display of session information

The information in the session information pane refreshes every five seconds. If you want to view details of a particular session, you may find it useful to turn off the automatic screen refresh feature.

  1. From the Session Information pane, right-click any session entry and select All Tasks > Freeze Display.
  2. From the Session Information pane, right-click any session entry and select All Tasks > Resume Display.

Viewing Secure Gateway Performance Statistics

The Secure Gateway includes a customized Windows System Monitor containing real-time performance statistics, or counters, for the Secure Gateway. You can use this monitor to evaluate and troubleshoot connections running through the Secure Gateway.

Performance data can be used to:

  • Understand the workload on the Secure Gateway and the corresponding effect it has on system resources
  • Observe changes and trends in workloads and resource usage so you can plan system sizing and failover
  • Test changes in configuration or other tuning efforts by monitoring the results
  • Diagnose problems and target components or processes for optimization

Performance statistics include the data throughput rate in bytes per second across CGP, HTTP/S, SOCKS, and total client connections through Secure Gateway. The "Successful" counters indicate the number of users’ connections that have successfully completed since the Secure Gateway service was last started. Users can have multiple connections within each session. The “Active” counters indicate the number of active connections going through the Secure Gateway.

The Secure Gateway System Monitor takes advantage of several of the features included in the Windows System Monitor, including customizing the display of counter information and saving counter data. You can use the System Monitor icons at the top of the pane or shortcut keys to customize the display. For a list of the shortcut keys, see the Windows System Monitor help.You can display the Windows Performance monitor from the Secure Gateway Management Console.

Citrix recommends that you monitor performance of the Secure Gateway as part of your administrative routine.

To view the Secure Gateway performance statistics

You can use the Secure Gateway performance statistics to troubleshoot connections to the Secure Gateway. For example:

  • The Secure Gateway processor load might be too high because too many users are connected to the Secure Gateway server. You can look at the total active connections to check how many users are connected.
  • Users might not be able to launch their published applications because the Secure Gateway cannot connect to the XenApp servers. The failed “Backend” connections counter is high if this is the problem.
  1. Open the Secure Gateway Management Console.
  2. In the tree view, select Secure Gateway Performance Statistics. Performance statistics for the Secure Gateway appear in the right pane.
  3. Use the Windows Performance Console controls that appear at the top of the right pane to perform tasks such as switching views or adding counters.