Exchange RPC Timeouts when using Citrix NetScaler


Updated 9 June 2016

Environment


Exchange 2010

Citrix NetScaler 10.x/11.x

Issue


  • Users creating a new email and clicking on To: to browse the Global Address List would receive an Exchange timeout error message.
  • Accepting meeting invites puts the appointment in the recpients calendar but not the organisers and no email gets sent to the organiser of the appectance. Takes clicking the Accept button multiple times before it processes the acceptance.

Resolutions


Create a new TCP Profile

GUI:

  • System
  • Profiles
  • Add
  • Name: RPC_Profile
  • MSS: 1460
  • Keep-Alive Probes – Enable
  • Connection idle time before sending probe (secs) – 30
  • Keep-alive probe interval (secs) – 20
  • Everything else defaults

Bind this profile to the RPC Load Balanced VIP

  • Traffic Management
  • Load Balancing
  • Virtual Servers
  • <Exchange RPC LB VIP Name>
  • Profiles > Add
  • TCP Profile – Select RPC_Profile
  • Ok
  • Done

CLI:

add ns tcpProfile RPC_Profile_RPC -mss 1460 -KA ENABLED -KAconnIdleTime 30 -KAprobeInterval 20

add lb vserver <Exchange RPC LB VIP Name> TCP <IP_Address> * -persistenceType SOURCEIP -timeout 150 -cltTimeout 180 -tcpProfileName RPC_Profile

 

Additional Timeout customization recommendations

  • Add ‘Thresholds & Timeouts node to the RPC ServiceGroup
    • Configure ‘Client Idle Time-out’ setting to: 28800
  • Disable AppFlow on the RPC VIP and ServiceGroup
  • Ensure ‘Surge Protection’ is disabled on the RPC ServiceGroup

 

Outlook 2010 Search – No Search Results returned


Environment

Windows Server 2008 with Terminal Services

XenApp5

Microsoft Office 2010 SP1

Symptoms

You open Outlook 2010 in a Remote Desktop Protocol (RDP) session on a computer that is running Windows Server 2008. When you try to search a string that is included in some email messages in Outlook 2010, no search results are returned.

Resolution

Apply ‘Outlook 2010 Hotfix‘ August 30, 2011

Outlook 2010 Signature / nk2 files disappear


Environment

Windows Server 2008 with Terminal Services

Citrix XenApp

Symptom

User’s reporting they set their Outlook 2010 signatures but after closing and relaunching Outlook, their signature is gone and needs to be recreated

Resolution

For XenApp 5 on Windows 2008, apply Hotfix Rollup1 For Citrix XenApp 5.0 for Windows Server 2008.

http://support.citrix.com/article/CTX125414

Though it doesn’t describe the exact issue, the fix is:

Fix #93 – “The CPU consumption of Microsoft Office 2007 applications published using Microsoft App-V on servers running XenApp can increase to 100%”

After applying Hotfix Rollup1 this issue has been resolved.

Outlook 2010 – Mail Desktop Alerts


Issue

When running Outlook 2010 as a published application, the Mail Desktop Alert notification doesn’t display or isn’t being displayed in front of the Outlook 2010 window, instead it displays behind the Outlook 2010 window.

Resolution

This is a known issue with Microsoft Terminal Services – New Mail Desktop Alert notifications are displayed behind the Outlook 2010 window when you run Outlook 2010 as a Terminal Services application

UPDATE: This issue has now been resolved – Apply the following fix

http://support.microsoft.com/kb/2544026

 

Workaround

Create a custom rule within Outlook 2010