Provisioning Services 7.18 – Server Install

Last Modified: Jun 9, 2018 @ 11:25 am

Navigation

This article applies to all 7.x versions of Provisioning Services, including Current Release 7.18, 7.15.3 (7.15 LTSR 2), and 7.6.6 LTSR.

đź’ˇ = Recently Updated

Change Log

Planning and Versions

CTX220651 Best Practices for deploying PVS in multi-geo environments: ensure that PVS farms do not span data centers with a network latency that can affect communications between the PVS Servers and the SQL database

PVS Firewall Rules

The most recent Current Release version of Provisioning Services is 7.18. Current Release is only supported for 6 months from release date, and you are expected to upgrade it every 3-6 months.  💡

For a longer support term, deploy 7.15.3 (7.15 LTSR Update 2) instead. 7.15.3 is the version included in XenApp/XenDesktop LTSR 7.15 Cumulative Update 2. Yes, it’s confusing.

If you are running XenApp/XenDesktop 7.6 LTSR, then you’ll want Provisioning Services 7.6.6 instead of Provisioning Services 7.15 LTSR. The install instructions are essentially the same.

Citrix License Server Version

Make sure the Citrix Licensing server is 11.15.0.0 build 24100 or newer.

Upgrade

If you are upgrading from an older version of Provisioning Services, do the following:

  1. In-place upgrade the Citrix License Server.
  2. In-place upgrade the Provisioning Services Console.
    1. Re-register the Citrix.PVS.snapin.dll snap-in:
      "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\InstallUtil.exe" "c:\program files\citrix\provisioning services console\Citrix.PVS.snapin.dll"
  3. In-place upgrade the Provisioning Services Server. If you have two or more PvS servers, upgrade one, and then the other. If High Availability is configured correctly, then the Target Devices should move to a different PvS Server while a PvS server is being upgraded.
    1. After the first PvS server is upgraded, run the Configuration Wizard. You can generally just click Next through the wizard. At the end, you’ll be prompted to upgrade the database. Then upgrade the remaining PvS servers, and run the Config Wizard on each of them too.
  4. Upgrade the Target Device Software inside each vDisk. Don’t do this until the PvS servers are upgraded (Target Device Software must be same version or older than the PvS Servers).
    1. If your Target Devices are 7.6.1 or newer, you can create a Maintenance version, boot an Updater Target Device, and in-place upgrade the Target Device Software.
    2. If your Target Devices are older, then you must reverse image.

vDisk Storage

Do the following on both PvS Servers. The vDisks will be stored locally on both servers. You must synchronize the files on the two servers: either manually (e.g. Robocopy), or automatically (e.g. DFS Replication).

Create D: Drive

  1. In the vSphere Web Client, edit the settings for each of the Provisioning Services server virtual machines.
  2. On the bottom, use the drop-down list to select New Hard Disk, and click Add.
  3. Expand the New Hard disk by clicking the arrow next to it.
  4. Change the disk size to 500 GB or higher. It needs to be large enough to store the vDisks. Each full vDisk is 40 GB plus a chain of snapshots. Additional space is needed to merge the chain.
  5. Feel free to select Thin provision, if desired. Click OK when done.
  6. Login to the session host. Right-click the Start Button, and click Disk Management.
  7. In the Action menu, click Rescan Disks.
  8. On the bottom right, right-click the CD-ROM partition, and click Change Drive Letters and Paths.

  9. Click Change.
  10. Change the drive letter to E:, and click OK.
  11. Click Yes when asked to continue.
  12. Right-click Disk 1 and click Online.
  13. Right-click Disk 1 and click Initialize Disk.
  14. Click OK to initialize the disk.
  15. Right-click the Unallocated space, and click New Simple Volume.
  16. In the Welcome to the New Simple Volume Wizard page, click Next.
  17. In the Specify Volume Size page, click Next.
  18. In the Assign Drive Letter or Path page, select D: and click Next.
  19. In the Format Partition page, change the Volume label to vDisks and click Next.
  20. In the Completing the New Simple Volume Wizard page, click Finish.
  21. If you see a pop-up asking you to format the disk, click Cancel since Disk Management is already doing that.

vDisk Folders

On the new D: partition, create one folder per Delivery Group. For example, create one called Win10Common, and create another folder called Win10SAP. Each vDisk is composed of several files, so its best to place each vDisk in a separate folder. Each Delivery Group is usually a different vDisk.

Robocopy Script

Here is a sample robocopy statement to copy vDisk files from one Provisioning Services server to another. It excludes .lok files and excludes the WriteCache folders.

REM Robocopy from PVS01 to PVS02
REM Deletes files from other server if not present on local server
Robocopy D:\vDisks \\pvs02\d$\vDisks *.vhd *.vhdx *.avhd *.avhdx *.pvp /b /mir /xf *.lok /xd WriteCache /xo

Citrix Blog Post vDisk Replicator Utility has a GUI utility script that can replicate vDisks between PvS Sites and between PvS Farms.  💡

Service Account

Provisioning Services should run as a domain account that is in the local administrators group on both Provisioning Services servers. This is required for KMS Licensing.

From Considerations: Provisioning Services for Personal vDisk at Citrix Docs: The Provisioning Services Soap Service account must be added to the Administrator node of Citrix Studio and must have the Machine Administrator or higher role. This ensures that the PvD desktops are put into the Preparing state when the Provisioning Services (PVS) vDisk is promoted to production.

.NET Framework 3.5 SP1 & 4.5 – 2008 R2 Only

Provisioning Server on Windows Server 2008 R2 requires .NET Framework 3.5 SP1 to be installed prior to installing Provisioning Server.

  1. On each Provisioning Server, in Server Manager, right-click Features and click Add Features.
  2. In the Select Features page, check the box next to .NET Framework 3.5.1 and click Next.
  3. In the Confirm Installation Selections page, click Install.
  4. In the Installation Results page, click Close.

.NET Framework 4.0 has bug. Upgrade to 4.5. More information at All the target devices are not selected when using shift select within the PVS console to select a number of target devices.

.NET Framework 4.5.1 can be installed from Windows Update or you can download it from Microsoft.

Provisioning Services Console 7.18 Install/Upgrade

The installation and administration of Provisioning Services 7.18 and older (including LTSR versions 7.15.3 and 7.6.6) are essentially identical.

If you want to automate the installation and configuration of Provisioning Services, see Dennis Span Citrix Provisioning Server unattended installation.

Dennis Smith at Citrix Provisioning Services automated/unattended installation guide also details how to script the installation and configuration of Microsoft DHCP Server.

To manually install Provisioning Services Console, or in-place upgrade to Provisioning Services Console 7.18:

  1. Go to the downloaded Provisioning Services, and in the Console folder, run PVS_Console_x64.exe.
  2. Click Install.

    1. If upgrading, and if you get an error about a newer version of Citrix Diagnostics Facility is already installed…
    2. Then you might have to uninstall the existing Citrix Diagnostics Facility installation, and try the upgrade again.
  3. In the Welcome to the InstallShield Wizard for Citrix Provisioning Services Console x64 page, click Next.
  4. In the License Agreement page, select I accept the terms, and click Next.
  5. In the Customer Information page, click Next.
  6. In the Destination Folder page, click Next.
  7. In the Ready to Install the Program page, click Install.
  8. In the InstallShield Wizard Completed page, click Finish.

After upgrading the Console, re-register the PowerShell snap-in. This is required for the Citrix App Layering Agent.

"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\InstallUtil.exe" "c:\program files\citrix\provisioning services console\Citrix.PVS.snapin.dll"

Provisioning Services 7.18 – Server Install/Upgrade

The installation and administration of Provisioning Services 7.18, 7.15.3, 7.6.6 and other 7.x versions are essentially identical.

You can in-place upgrade Provisioning Services Server. The Servers must be upgraded before the vDisks are upgraded. While upgrading one Provisioning Services Server, all Target Devices are moved to the other Provisioning Services Server.

To install/upgrade Provisioning Services server:

  1. If vSphere, make sure the Provisioning Services server virtual machine Network Adapter Type is VMXNET 3.
  2. Go to the downloaded Provisioning Services, and in the Server folder, run PVS_Server_x64.exe.
  3. Click Install when asked to install SQL2012nclx64 and/or Telemetry Service. Note: you might need a newer version of SQL Native Client as indicated by Daniele Tosatto at PVS 7.11 & SQL 2014 SP2 – Unsupported? at Citrix Discussions.
  4. Note: there’s a long delay before the next screen appears.
  5. In the Welcome to the Installation Wizard for Citrix Provisioning Services x64 page, click Next.
  6. In the License Agreement page, select I accept the terms, and click Next.
  7. In the Customer Information page, select Anyone who users this computer, and click Next.
  8. In the Destination Folder page, click Next.
  9. In the Ready to Install the Program page, click Install.
  10. In the Installation Wizard Completed page, click Finish.

Database Script

By default, the Provisioning Services Configuration Wizard will try to create the database using the credentials of the person that is running the Wizard. This isn’t always feasible. An alternative is to create a script that a DBA can run on the SQL server.

  1. Go to C:\Program Files\Citrix\Provisioning Services, and run DBScript.exe.
  2. Change the selection to New database for 2012 or higher.
  3. Enter a path to save the script file.
  4. Fill in the other fields.
  5. Select an Active Directory group containing your Citrix administrators, and click OK.
  6. In SQL Server Management Studio, open the SQL script.

  7. Execute the script to create the database.

  8. The person that runs the Provisioning Services Configuration Wizard will need db_owner permission to the new Provisioning Services database.
  9. Provision a Windows service account that will run the services on the Provisioning Services server. This account must have a SQL login on the SQL server containing the PvS database. The Provisioning Services Configuration Wizard will grant this account the correct permissions in the database.

Configuration Wizard – New Farm

  1. If you used DBScript.exe to pre-create the database, skip to Configuration Wizard – Join Farm.
  2. For SQL AlwaysOn Availability Group, see CTX201203 SQL Server AlwaysOn Configuration for PVS 7.6. In summary: Use the wizard to create the database instance. In SQL, create the Availability Group. Then reconfigure Provisioning Services to point to the SQL AlwaysOn listener.
  3. The Configuration Wizard launches automatically. If the database wasn’t pre-created, then the person running the wizard must have dbcreator and securityadmin roles on the SQL Server. If true, click Next. If not true, then cancel the wizard and launch it as somebody that does have those roles.
  4. The DHCP Services page appears. DHCP is typically hosted on a different server so select The service that runs on another computer. It is also possible to install DHCP on the PvS Servers. Click Next.
  5. In the PXE Services page, if you intend to use Boot Device Manager (BDM or ISO) instead of PXE, then change the selection to The service that runs on another computer, which disables the PXE service.
  6. If your Target Devices and Provisioning Services Servers are on the same broadcast network, then change the selection to Provisioning Services PXE service on this computer.
  7. Click Next.

  8. In the Farm Configuration page, click Create Farm.
  9. In the Database Server page, enter the name of the SQL server. PvS 7.11 has a new option for MultiSubnetFailover. Click Next.
  10. In the New Farm page, enter the following:
    • Enter a descriptive Database name. Put the word Citrix in the database name so the DBA knows what it is for.
    • Enter a descriptive Farm name.
    • Enter a descriptive Site name.
    • Enter a descriptive Collection name. All of these names can be changed later.
    • Select the Active Directory group that will have administrator permissions to Provisioning Services, and click Next. If you don’t see your group here, select any group you belong to, and you can fix it later in the console.
  11. In the New Store page, browse to one of the vDisk folders, and give the store a name. Then click Next.
  12. In the License Server page, enter the name of your Citrix license server, check the box next to Validate license server, and click Next.
  13. In the User account page, notice it defaults to Network service account. This won’t work with KMS licensing so change it to Specified user account. Enter credentials for an account that is a local administrator on all Provisioning Services servers, and click Next. Note: PVS 7.16 and newer support Group Managed Service Accounts.

  14. In the Active Directory Computer Account Password page, check the box, and click Next.
  15. In the Network Communications page, click Next.
  16. In the TFTP Option and Bootstrap Location page, check the box, and click Next.
  17. In the Stream Servers Boot List page, click Advanced.
  18. Check the box next to Verbose mode, click OK, and then click Next.
  19. If PvS 7.12 or newer, in the Soap SSL Configuration page, click Next.
  20. If PvS 7.11 or newer, in the Problem Report Configuration page, enter your MyCitrix credentials, and click Next.
  21. In the Finish page, click Finish.
  22. If you are upgrading, then you might be asked to upgrade the database. Click Yes.
  23. Click OK if you see the firewall message.
  24. In the Finish page, click Done.

From Running the Configuration Wizard silently at Citrix Docs: Now that you have a configured server, you can run "C:\Program Files\Citrix\Provisioning Services\ConfigWizard.exe" /s to produce an .ans file at "C:\ProgramData\Citrix\Provisioning Services\ConfigWizard.ans". This .ans file can be modified and copied to additional PvS servers. "C:\Program Files\Citrix\Provisioning Services\ConfigWizard.exe" /a reads the .ans file and applies the configuration silently.

Configuration Wizard – Join Farm

  1. The Configuration Wizard launches automatically.
  2. There are two methods of handling SQL permissions:
    1. The person running the wizard must have db_owner on the database and securityadmin role on the SQL Server. This allows the wizard to add the service account to SQL logins and grant it access to the database.
    2. Or the person running the wizard can be limited to just db_owner permission to the database. The service account must be added manually to SQL logins by a DBA.
  3. The DHCP Services page appears. DHCP is typically hosted on a different server so select The service that runs on another computer. It is also possible to install DHCP on the PvS Servers. Click Next.
  4. In the PXE Services page, if you intend to use Boot Device Manager (BDM or ISO) instead of PXE, then change the selection to The service that runs on another computer, which disables the PXE service.
  5. If your Target Devices and Provisioning Services Servers are on the same broadcast network, then change the selection to Provisioning Services PXE service on this computer.
  6. Click Next.

  7. In the Farm Configuration page, click Join existing farm.
  8. In the Database Server page, enter the name of the SQL server, and click Next.
  9. In the Existing Farm page, select the database, and click Next.
  10. In the Site page, select an existing site, and click Next.
  11. If you used the script to create the database, then there probably are no stores defined. Do so now.
  12. Otherwise, in the New Store page, select the existing store, and click Next.
  13. In the License Server page, click Next.
  14. In the User account page, notice it defaults to Network service account. This won’t work with KMS licensing so change it to Specified user account. Enter credentials for an account that is a local administrator on all Provisioning Services servers, and click Next. Note: PVS 7.16 and newer support Group Managed Service Accounts.
  15. In the Active Directory Computer Account Password page, check the box, and click Next.
  16. In the Network Communications page, click Next.
  17. In the TFTP Option and Bootstrap Location page, check the box, and click Next.
  18. In the Stream Servers Boot List page, click Advanced.
  19. Check the box next to Verbose mode, click OK, and then click Next.
  20. If PvS 7.12 or newer, in the Soap SSL Configuration page, click Next.
  21. If PvS 7.11 or newer, in the Problem Report Configuration page, enter your MyCitrix credentials, and click Next.
  22. In the Finish page, click Finish.
  23. Click OK if you see the firewall message.
  24. In the Finish page, click Done.

Troubleshooting – Networking Services Don’t Work After Reboot

If your PXE service or TFTP service does not work after a reboot of the Provisioning Services server, do the following:

  1. One option is to set the Citrix PVS PXE Service, Citrix PVS TFTP Service, and Citrix PVS Two-stage boot Service to Automatic (Delayed Start).
  2. The TFTP and Two-stage Boot services can be delayed by setting registry keys. From Carl Fallis at Citrix Discussions:
    • Keys = HKLM\System\CurrentControlSet\services\BNTFTP (and PVSTSB)\Parameters
    • Value = InitTimeoutSec (DWORD). 1 – 4 seconds. Default is 1.
    • Value = MaxBindRetry (DWORD). 5 – 20 retries. Default is 5.

Disable Firewall

The Windows firewall must be disabled to allow communication to all Provisioning Server ports.

  1. In Server Manager, click Tools, and click Windows Firewall with Advanced Security.
  2. Click Windows Firewall Properties.
  3. On the Domain Profile tab, change the Firewall state to Off.

Disable BIOS Boot Menu

The versioning process in Provisioning Services will present a boot menu when booting any version except Production.

  1. To avoid this, create the DWORD registry value HKLM\Software\Citrix\ProvisioningServices\StreamProcess\SkipBootMenu on both Provisioning Servers and set it to 1. Note: the location of this key changed in Provisioning Services 7.0 and newer.
  2. Then restart the Citrix PVS Stream Service.

Private Mode vDisk – No Servers Available for vDisk

Citrix CTX200233 – Error: “No servers available for disk”: When you set a vDisk to Private Image mode (or new Maintenance version), if the Target Device is not connected to the server that contains the vDisk then you might see a message saying “No Servers Available for vDisk”.

  1. To avoid this, create the DWORD registry value HKLM\Software\Citrix\ProvisioningServices\StreamProcess\SkipRIMSForPrivate on both Provisioning Servers and set it to 1. Note: the location of this key changed in Provisioning Services 7.0.
  2. Then restart the Citrix PVS Stream Service.

Multi-Homed Provisioning Server

From slide 20 of http://www.slideshare.net/davidmcg/implementing-and-troubleshooting-pvs:, Multi-homed Provisioning Services server is not recommended but if you insist, and if running Provisioning Services 6.1 or older, configure the following. Provisioning Services 7.7 configuration wizard should have asked you for the management NIC.

  • HKLM\Software\Citrix\ProvisioningServices\IPC
    • New Reg_Sz (string) named IPv4Address with the IP of the NIC for IPC
  • HKLM\Software\Citrix\ProvisioningServices\Manager
    • New Reg_Sz (string) named GeneralInetAddr with the IP of the NIC and port
    • e.g. 10.1.1.2:6909

Citrix 133877 Timeout Error 4002 in Provisioning Server Console after Clicking “Show Connected Devices: when there are multiple streaming NICs assigned to the PVS Server, when Show Connected Devices was clicked in the PVS console, the following symptoms might be experienced: Server timeout error 4002, unusual delay of 3 to 4 minutes to list the connected devices, or PVS console stops responding. Complete the following to resolve the issue:

  1. On the PVS Server machine, under HKLM\software\citrix\provisioningServices\Manager key, create registry DWORD RelayedRequestReplyTimeoutMilliseconds, and set it to 50 ms (Decimal).
  2. Create a DWORD RelayedRequestTryTimes, and set it to 1.
  3. Open the PVS Server console and test by selecting the Show Connected Devices command.

Antivirus Exclusions

Citrix’s Recommended Antivirus Exclusions

Citrix Blog Post Citrix Recommended Antivirus Exclusions: the goal here is to provide you with a consolidated list of recommended antivirus exclusions for your Citrix virtualization environment focused on the key processes, folders, and files that we have seen cause issues in the field:

  • Set real-time scanning to scan local drives only and not network drives
  • Disable scan on boot
  • Remove any unnecessary antivirus related entries from the Run key
  • Exclude the pagefile(s) from being scanned
  • Exclude Windows event logs from being scanned
  • Exclude IIS log files from being scanned

See the Blog Post for exclusions for each Citrix component/product including: StoreFront, VDA, Controller, and Provisioning Services. The Blog Post also has links to additional KB articles on antivirus.

 

Microsoft’s virus scanning recommendations (e.g. exclude group policy files) – http://support.microsoft.com/kb/822158.

TFTP High Availability

If your Target Devices are not on the same VLAN as the Provisioning Servers, you will need to load balance TFTP.

NetScaler 10.1 and newer has native support for TFTP protocol. Older versions of NetScaler are more difficult to configure.

DHCP Failover

The DHCP infrastructure must be highly available. And session hosts should be configured with DHCP Reservations. With multiple DHCP servers, any reservation should be created on all DHCP servers hosting the same DHCP scope. The easiest way to accomplish this is with the new DHCP Failover feature in Windows Server 2012.

  1. Build two DHCP servers on Windows Server 2012 or newer.
  2. Create a scope for the Provisioning Services Target Devices.
  3. Right-click the existing scope, and click Configure Failover.
  4. In the Introduction to DHCP Failover page, click Next.
  5. In the Specify the partner server to use for failover page, enter the name of the other DHCP server, and click Next.
  6. In the Create a new failover relationship page, enter a Shared Secret, and click Next.
  7. Click Finish.
  8. Click Close.

Health Check

Sacha T. – Citrix PVS HealthCheck: PowerShell script to view the health/status of the Provisioning Services environment. Emails an HTML Report. For PvS 7.7, see http://blog.appcloud.ch/happy-new-script-pvs-7-7-healthcheck/. For PvS 7.6, http://blog.sachathomet.ch/happy-new-script-pvs-7-7-healthcheck/.

Related Pages

170 thoughts on “Provisioning Services 7.18 – Server Install”

  1. Hi Carl,

    I have an existing PVS site running on SQL Express in a separate “Public” domain (no trusts set up). I’m upgrading the Windows OS and PVS and the customer wants the PVS database to come into the “Corporate” domain and sit on the Corporate SQL cluster.
    I have backed up and moved the SQL Express DB to the Corporate cluster, but when i go to join, i’m un-trusted. Do you know of any way around this? Once i’m able to query the SQL Cluster, i can add service account credentials for the connection.

    Can you think of any way around this or am i going to have to stick with Public domain SQL Express?

    1. I don’t think PVS supports SQL authentication so it would need to be Windows authentication, either the computer account, or the service account.

  2. Carl,
    i use provision server 7.15 try to add host vsphere to PVS it keep give me error (Connection failed!

    Failed to connect to the remote server. ( Unable to locate server. [The underlying connection was closed: An unexpected error occurred on a send.] )

    but if i connect direct to the esxi host it work but not the vcenter, can you give adivise? thanks

    1. What version of vSphere? If 6.7, then be aware that 6.7 is not supported yet.

      Is the vCenter certificate trusted by PVS?

      Any problems adding the vCenter Connection in XenDesktop? If not, you could use the XenDesktop Setup Wizard.

      1. I have the same problem carl. PVS 7.15 LTSR CU2 with vsphere 6.0.0. Both streaming wizard and xendesktop wizard gives same error. cannot connect to the hypervisor at https://vcenter.fqdn/sdk. failed to connect to the remote server.

  3. Carl,
    First of all, long time follower, thank you for all of your posts. You’ve gotten me out of a lot of sticky spots.

    Second and mainly, have you ever seen sporadic instances where PVS Target Devices configured with a scheduled reboot, fail on start with:

    No entry found in Database for device

    Press any key to continue………

    After a restart, the vm PXE boots without issue.

    Restart is configured on the Delivery Group

    XenDesktop 7.15 LTSR CU1
    PVS 7.15 LTSR
    Target Device 2012 R2,
    PVS 7.15
    VDA 7.15 CU1

    1. How are they booting? PXE? DHCP Options? ISO?

      What PVS server are the logging into? Does that PVS server connect to the same database as the others?

      What hypervisor? Is the MAC address of the device changing?

  4. Hi Carl, Greetings.

    I am in urgent need of upgrade our PVS Servers from 7.1 to 7.15, because our target devices are running with 100% CPU. I have logged a call with Citrix and they recommended to upgrade our PVS Servers.

    Root Cause: We are using a very old version (Close to 4 years ago) of our Cvhdbus driver on PVS Servers.

    Could you please help me with the high level plan to upgrade our PVS Servers.

    Can I directly upgrade PVS Servers from version 7.1 to 7.15 using this article?

    Can I directly upgrade the target devices vsidk using the versioning method.

    Thanks and regards,

    Harry

    1. PVS Servers can be in-place upgraded from 7.1 to 7.15. Start there.

      For the Target Devices, you will need to reverse image them to upgrade the Target Device software. The versioning method won’t work until after you’re on 7.6.1 or newer.

  5. hi, just upgraded my pvs console from 7.15 to 7.17 and got the following error.
    —————————
    Application Error
    —————————
    An unhandled exception occurred and the application will exit. Please report the information below. Press Ctrl-C to copy the data to the clipboard.

    Methode nicht gefunden: “!!0[] System.Array.Empty()”.

    Stack Trace:
    bei ADSupport.PublicFunctions.GetOneTimeADInfo()

    bei System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

    bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

    bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)

    bei System.Threading.ThreadHelper.ThreadStart()
    —————————
    OK
    —————————

    any ideas??

  6. Carl, thank you for the wealth of information you provide. I do have a few of questions for you though. We are currently planning our upgrade for our PVS servers from 7.13 CR to 7.15 LTSR.
    1) Are we able to upgrade the PVS servers to 7.15 LTSR before we upgrade our XenApp/XenDesktop farm from 7.6 LTSR to 7.15 LTSR?
    2) If so, are we able to install PVS 7.15.2 LTSR components (Server, Console, and Target Device software) without installing 7.15 LTSR or 7.15 LTSR CU1 first?
    3) In regards to the XenApp/XenDesktop upgrade from 7.6 LTSR, would you recommend upgrading? Or do you recommend setting up new databases and new VMs for the controllers?

    Thanks in advance!

    1. There’s no connection between PVS and XenDesktop other than the XenDesktop Setup Wizard. But I don’t think there’s any version dependency there either. Yes, you can upgrade to 7.15.2 first.

      I usually in-place upgrade, assuming there’s a quick rollback plan. Any plans to change the operating system version?

  7. Carl,

    I have been using MCS on Xenapp 7.8 but I am planning on testing PVS. Can I use PVS side-by-side with MCS? I could not find anything that prevents hybrid environment. Do you know of any rissks involved?

  8. Carl, created SQL script using DBScript.exe. When I try to execute script in SQL server, created DB with errors

    Msg 5039, Level 16, State 1, Line 56
    MODIFY FILE failed. Specified size is less than or equal to current size.
    Msg 5039, Level 16, State 1, Line 56
    MODIFY FILE failed. Specified size is less than or equal to current size.

  9. Good afternoon Carl, I am planning to installing PVS 7.16 (building a new environment XA/Xd 7.15 LTSR). I ran into an issue, our networking team is not allowed to use DHCP in our datacenter. Is there any alternate way to install and config like PVS 7.16 using DNS or BDM? If you have ever done this type of support, please could you guide me or provide me any document you may have related to this scenario. Thank you for your help in advance.

    1. You can create a Boot ISO that contains a static IP address. But you’d probably need a different ISO for each Target Device.

  10. Hi Carl

    Just upgraded our PVS from 7.13 to 7.16, however we still have some Windows-7 clients.

    Since VDA 7.15 works with controller 7.16, what would you advise in respect of PVS-Agent on Windows-7.

    Would 7.15 PVS-Agent be used or I can upgrade straight to 7.16?

    Thanks

  11. Hey Carl, great post as usual thank you. Just had a question on target device software. If the PVS server is upgraded from say 7.9 to 7.15.1 LTSR is the new version backward compatible with the 7.9 target device software version?

    1. Yes. But you should get your Target Devices upgraded. PVS Servers must be upgraded before the Target Devices since newer TD Software won’t work with older PVS Servers.

      1. Hi Carl, can u upload some docs on configuration of bootstrap in pvs server…i have some issue with vdisk as its version not showing active on some servers.

        1. Are you saying that when you right-click the vDisk and click Replication Status, the vDisk is not green on every server? Either the file size and timestamp is not identical, or there’s a problem with the PVS Services. What vesion are you running?

  12. I am already running my PVS on 7.15 LTSR. Now we have the CU1 update available. After the PVS servers are upgraded to CU1, do we need to upgrade database via script since it is the same version?

  13. Hi Carl, On running an upgrade on Windows 2008 R2 from 7.12 to 7.16 I have issues. I have upgraded the same VM from many previous version without issue over the years.
    The first thing I noticed were the expected Soap and Stream services set as manual and no Logon credentials set, as they had been before the upgrade.
    If I try to put the service account in and start the Soap service, I then notice in the Windows Application event log
    Service cannot be started. System.MissingMethodException: Method not found: ‘!!0[] System.Array.Empty()’.
    at SoapServer.SoapService.StartCeip()
    at System.ServiceProcess.ServiceBase.ServiceQueuedMainCallback(Object state)

    Application: SoapServer.exe
    Framework Version: v4.0.30319
    Description: The process was terminated due to an unhandled exception.
    Exception Info: System.MissingMethodException
    Stack:
    at ADSupport.PublicFunctions.GetComputerDomain(Boolean ByRef)
    at ADSupport.PublicFunctions.GetOneTimeADInfo()
    at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
    at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
    at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
    at System.Threading.ThreadHelper.ThreadStart()

  14. Hi! Would you say disabletaskoffload is still applicable for the PVS servers?

    Excerpt CTX117374:

    Provisioning Server and Target Device
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TCPIP\Parameters\
    Key: “DisableTaskOffload” (dword)
    Value: “1”

  15. Hello Carl,

    I have installed PVS 7.15 on 3 Windows 2016 servers. I need to install the DHCP role on the PVS server. As per MS, we can only put 2 DHCP servers in cluster. At present we are deploying Hosted Shared Desktops but in future we would be deploying VDIs as well. What would you recommend in this scenario ?

  16. Hi Carl,
    of cause your article is great. I’m now learning PVS with version 7.13. And I found no “versions” -menu item with right click on any vDisks. That means under “properties” is direct “LoadBalancing” without “versions” to see, as describted in all docs. Could give me some tips?
    Thanks in advance.
    YY

  17. Carl, planning an in-place upgrade from 7.11 to 7.15. I know during initial fresh install you can generate a DB script. When doing an upgrade can you do the same to provide a script to DBAs or does an upgrade only allow DB update from the in-place install?

Leave a Reply