Stopping PVS Stream Service can Render Target Devices Unresponsive

We as Citrites (Citrix employees) are encouraged to write KB articles for the Citrix knowledgebase (support.citrix.com). The following article I’ve written when I came across the issue and saw it wasn’t documented.

When stopping the Stream Service on a given Provisioning Server it can render some (but not all) target devices connected to that particular server unresponsive since the failover to other servers does not occur.

If you look at the stream process log (which can be found on the PVS server in C:ProgramdataCitrixProvisioning Serverlogs), you may find these entries: Continue reading “Stopping PVS Stream Service can Render Target Devices Unresponsive”

New Citrix Provisioning Services tool: PVSDataTools

PVSDataTools is a set of tools used to collect and parse data from a Provisioning Services (PVS) Server to assist in troubleshooting an issue. PVSDataTools contains two tools: PVSDataCollector and PVSDataParser.

PVSDataCollector v1.2.2

The PVSDataCollector collects the following information from the PVS Server:

  • System Information
  • Windows Event Logs
  • TCP and UDP Port Information

Error: vDisk Error Message in Provisioning Server ” Error Partial Error “

When trying to add a new vDisk image in the Provisioning Server, it finds the image, but cannot add the image.
The Console becomes unresponsive for over a minute and then displays the following vDisk error message: “Error Partial Error”

Continue reading “Error: vDisk Error Message in Provisioning Server ” Error Partial Error “”

PVS and the forgotten antivirus exclusions

My fellow Citrite Dimitrios Samorgiannidis has written an excellent post on what the correct anti-virus exclusions are for a PVS environment. Here’s the first paragraph of his blog on the Citrix blogs.

It should be noted that there are some different file names for various OS, and that some files doesn’t exist for some versions. I have tried to document everything as good as possible based upon some notes that I have taken over the years – however I still recommend that you review the recommendation below so they actually match your system. It should also be noted that some of the exclusions depends for example on the setup used, default paths, operating systems in combination with product version etc.

A few recommended Server Side file exclusions.

C:WindowsSystem32driversCVhdBusP6.sys => (PVS 6.1)

C:WindowsSystem32driversCVhdBus2.sys => (PVS 5.6)

C:WindowsSystem32driversCFsDep2.sys => (PVS 5.6 and PVS 6.1)

C:Program FilesCitrixProvisioning ServicesBNTFTP.EXE => (PVS 5.6 and PVS 6.1)

C:ProgramDataCitrixProvisioning ServicesTftpbootARDBP32.BIN => (PVS 5.6 and PVS 6.1)

D:Store => ( i.e. local vdisk store)

Read the entire list of exclusions here.

 

How to set a unique STA ID in XenApp 6.5 provisioned environment

In a XenApp 6.5 provisioned environment the STA (Secure Ticket Authority) ID is not unique. This is because when a XenApp 6.5 (provisioned) is rebooted the NIC (Network Interface Card) has not completely started and loaded and is not functional when the Citrix services start. Therefor the STA ID is not changed with the MAC Address of the provisioned server (as expected).

Resolution

Open the Target Device in Read/Write mode and change the startup type to Automatic (Delayed Start) for Citrix XML Service.

You can find the original KB article here.

Provisioning Services time sync requirements

Ever had the problem that your PVS streaming process becomes unresponsive when a time change occurs on the server or a hosted client? If you have HA enabled, a failover event will be triggered. But when all PVS servers see the time change occuring your targets will not be able to work. This is caused by the fact that PVS relies on the Kerberos method for authentication. Tthis makes a number of PVS services sensitive to time changes (just as your DC in Windows is sensitive for this). If there is a five minute (or more) difference between the Provisioning Server and your DC’s, Kerberos authentication will be broken, preventing PVS services from authenticating to the vDisk store and database.

How to fix this

Make sure that you use NTP and apply the best practices to be sure that all of your servers and clients are on the same time. Check with the vendor specific documentation on how to configure your host or client to setup the NTP correctly.

This post is based on the following KB article.

Internet Explorer becomes unresponsive on provisioned Virtual Machine

Internet Explorer becomes unresponsive when accessing a Flash enabled website from a XenDesktop provisioned Virtual Machine on a Windows 7 endpoint. Windows Application Event log on endpoint shows Event 56, ‘Server-side Flash rendering will be used if available’:

Continue reading “Internet Explorer becomes unresponsive on provisioned Virtual Machine”

Provisioning Services Target Device Software fails to install

Provisioning Services Target Device Software might fail during the installation with the following error:

When you click OK, the following error appears:

Continue reading “Provisioning Services Target Device Software fails to install”

Provisioning Services 6.0 hotfix 16

Citrix has released a new hotfix for Provisioning Services 6.0 (CPVS60E016).

Issue(s) Resolved in this Hotfix

This hotfix addresses the following issue reported against Citrix Provisioning Services 6.0 release:

BUG0314474 Streamprocess randomly crashes when handling targets login

Replaces: Hotfix CPVS60E015 – For Citrix Provisioning Services 6.0. CTX134002

Installing and Uninstalling this Hotfix

Notes:

• The user must have administrative rights to the server.

• Pre-requirement: Hotfix CPVS60E013 – For Citrix Provisioning Services 6.0 (CTX133148), must be applied before installing this hotfix.

To install this hotfix:

1. Download the hotfix package from the Hotfixes and Service Packs page of the Citrix Web site here.

2. Copy the hotfix package to an empty folder on the hard drive of the server you want to install the hotfix from and unzip the file.

Steps to install the hotfix:

INSTALLATION

The hotfix folder includes the following two subfolders:

server32bit (32bit Windows installation)

server64bit (64bit Windows installation)

Please check your Provisioning Services server for system type and select the correct subfolder to apply the hotfix following the procedure described below.

1. From the Provisioning Services server machine, stop “Citrix PVS Soap Server” and “Citrix PVS Stream Service” from the Computer Management’s “Services” control panel.

2. From the Provisioning Services installation directory (Default is C:Program FilesCitrixProvisioning Services), backup the following file:

StreamProcess.exe

3. Copy the following files included in the selected hotfix subfolder to the Provisioning Services installation directory, make sure you copy from the appropriate subfolder (“server32bit” or “server64bit”) for your server machine type:

StreamProcess.exe

PVS6.0_hf314474_x_manifest.md5

where “x” is 32bit or 64bit depending on the system.

4. Restart the “Citrix PVS Soap Server” and “Citrix PVS Stream Service”.

To uninstall this hotfix:

Follow the same procedure for installation replacing the new files with the original files backed up.