Sessions - AVD Test
This test reports performance statistics related to user sessions to the chosen Session Host / Azure Virtual Desktop.
Target of the test : An Azure Virtual Desktop
Agent deploying the test : An internal agent.
Outputs of the test : One set of results for the chosen Session Host / Azure Virtual Desktop
Parameters | Description |
---|---|
Test Period |
How often should the test be executed. |
Host |
The host for which the test is to be configured. |
Port |
The default port is NULL. |
Report Using Manager Time |
By default, this flag is set to Yes. This indicates that the user login time displayed in the detailed diagnosis page for this test will be based on the eG manager's time zone by default. Set this flag to No if you want the login times displayed in the detailed diagnosis page for this test to be based on the target AVD's local time. |
Report By Domain Name |
By default, this flag is set to Yes. This implies that by default, the detailed diagnosis of this test will display the domainname\username of each user who logged into the chosen Session Host / Azure Virtual Desktop. This way, administrators will be able to quickly determine which user logged in from which domain. If you want the detailed diagnosis to display the username alone, then set this flag to No. |
Ignore Down Session IDs |
By default, this parameter is set to 65536,65537,65538. If any of these ports go down, then by default, this test will not count any of the sessions that failed when attempting to connect to that port as a Down session. You can override this default setting by adding more ports or by removing one/more existing ports. |
DD Frequency |
Refers to the frequency with which detailed diagnosis measures are to be generated for this test. The default is 1:1. This indicates that, by default, detailed measures will be generated every time this test runs, and also every time the test detects a problem. You can modify this frequency, if you so desire. Also, if you intend to disable the detailed diagnosis capability for this test, you can do so by specifying none against DD Frequency. |
Detailed Diagnosis |
To make diagnosis more efficient and accurate, the eG Enterprise embeds an optional detailed diagnostic capability. With this capability, the eG agents can be configured to run detailed, more elaborate tests as and when specific problems are detected. To enable the detailed diagnosis capability of this test for a particular server, choose the On option. To disable the capability, click on the Off option. The option to selectively enable/disable the detailed diagnosis capability will be available only if the following conditions are fulfilled:
|
Measurement | Description | Measurement Unit | Interpretation |
---|---|---|---|
Established sessions |
Indicates the number of active user sessions currently on the AVD. |
Number |
This measure gives an idea of the server workload in terms of active sessions. Tracking the number of active sessions with time, an administrator can obtain information that can help him/her plan the capacity of their AVD environment. The detailed diagnosis capability, if enabled, lists the active and inactive sessions on the AVD. |
Idle sessions |
Indicates the number of sessions that are initialized and are currently ready to accept connections. |
Number |
For performance reasons, the number of idle sessions should be less than ten. |
Connected sessions |
Indicates the current number of sessions that are connected, but no user has logged on to the AVD. |
Number |
A consistent increase in the value of this measure could indicate that users are having trouble logging in. Further investigation may hence be required. |
Connecting sessions |
Indicates the number of sessions that are in the process of connecting. |
Number |
A very high value for this measure indicates a problem with the session or connection. |
Disconnected sessions |
Indicates the number of sessions from which users have disconnected, but which are still active and can be reconnected. |
Number |
Too many disconnected sessions running indefinitely on an AVD cause excessive consumption of the system resources. To avoid this, you can configure a MaxDisconnectionTime in the Windows registry. This will make sure that sessions that remain disconnected beyond the configured period of time automatically end. Additionally, you can set session time limits using the following group policies:
|
Listen sessions |
Indicates the current number of sessions that are ready to accept connections. |
Number |
|
Shadow sessions |
Indicates the current number of sessions that are remotely controlling other sessions. |
Number |
A non-zero value for this measure indicates the existence of shadow sessions that are allowed to view and control the user activity on another session. Such sessions help in troubleshooting/resolving problems with other sessions under their control. |
Down sessions |
Indicates the current number of sessions that could not be initialized or terminated. |
Number |
Ideally, the value of this measure should be 0. By default, if sessions to any of these ports – 65536, 65537, 65538 – could not be initialized or terminated, they will not be counted as a ‘down session’. |
Init sessions |
Indicates the current number of sessions that are initializing. |
Number |
A high value for this measure could indicate that many sessions are currently experiencing initialization problems. |
Desktop sessions |
Indicates the number of desktop sessions currently established on the host. |
Number |
|
Application sessions |
Indicates the number of application sessions currently established on the host. |
Number |
|
The detailed diagnosis capability of the Established sessions measure, if enabled, lists the active and inactive sessions on the AVD. The session type - whether it is an application session or desktop session - is also indicated.
Figure 6 : The detailed diagnosis of the Established sessions measure