Sep 192020
 

 I recently converted from VMware to AHV, and I wanted to show how I did Nutanix Files 3.7 with FSlogix. While I haven’t moved everything over yet, but I have tested this very hard, and it’s solid as iron. I still use VMware for my datacenter servers, but we wanted our Citrix Environment on all Nutanix because it’s a solid product, and it’s simplified so that we can focus in other areas. This is how I did it, and I have learned a lot so far in the process. I am by far no expert and this is for beginners like myself. I had a lot of help from the Nutanix Slack EUC channel, and especially Jarian Gibson.  This is a single site, which is 3 FSVM only. 

In regard to setting up Nutanix Files, this video is very useful.

Nutanix Files – Shares are not accessible from clients that are on the same subnet with Nutanix Files storage network

https://portal.nutanix.com/page/documents/kbs/details?targetId=kA00e000000LLtGCAW

*****Client access network must not be on the Storage network. ****

Does not work:

File Client 10.50.175.0/21

Files Access Network 10.50.105.0/24

Files Storage Network 10.50.175.0/21

Works:

File Client 10.50.175.0/21

Files Access Network 10.50.175.0/21

Files Storage Network 10.50.105.0/24

Make sure that either the client is on a subnet different from the Storage Network or that all three the client, Files access Network, and Files storage network IP addresses belong to the same subnet.

The screenshot on deploying Files is very high level. The video will help you understand more.

For me, all I wanted was SMB. Then insert a username and password so it can join AD

I left this blank

For the DNS and Naming, at first, I did this (automatic)

But I had some bad reverse PRT issues. So, I fixed them, then went and manually added it.

I mad them Static Records. 

Then I clicked on verify, and it was good.

Here is a Pic I found from Christainn Binkhoff site that gave a logical understanding of the layout.

Machine generated alternative text:
Outlook OST, 
Windows Search DB, 
OneDrive Cache, S4B 
GAL 
SMB & NFS 
SMB

I read a lot of material on 3.6 and one of the things I found was this

https://portal.nutanix.com/page/documents/details/?targetId=Files-v3_6:Files-v3_6

Ensure that the client and storage networks use a tagged VLAN. The client and storage networks must have separate subnets if the networks are not the same. If the same network is used for both clients and storage, then IP addresses must be unique. Clients on the same subnet as the storage network will not be able to access the shares or exports.

I am not 100% if this applies to 3.7, But I followed it anyway to make sure I had no issues.

Overview of the bigger picture.

The CVM and FSVM layer

Nutanix Files VMs have access to two networks:

  • External network – it is used by clients and external services communication
  • Storage or internal network – it is used for communication between Files VM and the Nutanix cluster.

The FSVM layer and communication

I used Prism element to configure this

Create the Nutanix Files – File Share

open the file server menu in Prism Element and click on Create a Share/Export in the top right-hand corner

You need to open the file server menu in Prism and click on Create a Share/Export to get in the list 

The name of the share will be the share name within the UNC path to the share of the Files

An example of my File Share is “FSLogix_Office_Containers”

After putting in the information above, you have the option to configure Access Based Enumeration to hide other FSLogix Office 365 folders/User Profiles from other users.

ABE can be compared with the Access Based Enumeration setting within Windows File Services as well

 *Note*

The CLI run afs smb.set_conf “restrict nonamdin access” “no” section=global” isn’t needed for Files 3.7. I reached out to Jarian Gibson to confirm this as well. Thanks, Jarian!

 As I learned you will want to use distributed for Profiles. The explanation is below, and it is explained well.

Machine generated alternative text:
Basics 
Create a share/export 
Settings 
o 
o 
use "Distributed" share/export type instead of "Standard" 
aest suited for home directories. user profiles and application folderx This 
option distributes top-level directories across Fileserver VMS and allovvs for 
increased capacity and user connectionx 
Note that only folders can be created at the root and these top-level folders must 
be managed using Nutanix Files MMC plugin and can be downloaded from 
ated. a distributed share/export cannot be downgraded to standarff 
Enable Self Service Restore 
Enable File System Compression 
Enable Access Based Enumeration (ABE) 
Blocked File Types 
You can also block file types on the file serveNaII shares) from file server update 
Encrypt SMB3 Messages 
Cancel
Machine generated alternative text:
Create a share/export 
Summary 
Basics 
File Server 
Share/export Name 
Share/export Path 
Protocol 
Max Size 
Share/export Type 
File System Compression 
Encrypt SMB3 Messages 
Citrix Profiles 
'Citrix Profiles 
SMB 
Distributed 
Not Enabled
Machine generated alternative text:
Protocol Settings 
PROPERTH 
Authentication 
Client Access 
ABE 
Self Service 
Restore 
SMS PROTOCOL 
Kerberos {AD) 
Read-write 
NFS PROTOCOL 
Cancel 
Create

Shares

Machine generated alternative text:
Ck access 
sktop 
lbvn/oads 
Disk C:) 
:uments

Now Download MMC from Nutanix to manage permissions. I found out that I still could manage permission for what I was trying to achieve. Once again I reached out to slack around this and it for TLD permission as René Bigler explained it to me. Thank you again

https://portal.nutanix.com/page/documents/details?targetId=Files-MMC-Plugin-v3:Files-MMC-Plugin-v3

Share permission you can’t change. You will need to control it with NTFS. I was updated by Jarian that you can modify shares.  But you need to open MMC and add the Share Snapin. 

“if you want to change share permissions from the default of Everyone full control you have to use Shared Folders MMC snap-in. If you don’t change default share permissions, then NTFS permissions will take precedence.”

Typically, on a windows file share, I removed everyone, and lock it down with a group instead. It’s just something I have always done, and it just me. However, it’s not needed if the NTFS permission is set up correctly. 

Screenshot from an example that was shown to me.

As you can see now, You can do this.

Set the NTFS Permissions on the Nutanix Files share

Make sure that the following best practices NTFS rights are set on the Nutanix Files – file share location. The procedure is the same as for a normal Windows File Server but now on the Nutanix Files namespace folder share

Open the File Share and open the Security properties

 NTFS permission Table

Machine generated alternative text:
User Account 
CREATOR OWNER 
SYSTEM 
Administrator 
users 
users 
users 
Users 
Folder 
Subfolders and Files Only 
This Folder, Subfolders and Files 
This Folder, Subfolders and Files 
This Folder Only 
This Folder Only 
This Folder Only 
This Folder On 
Permissions 
Full Control 
Full Control 
Full Control 
Create Folder/write Data 
List Folder/Read Data 
Read Attributes 
Traverse Folder/Execute File

This is how did it below

Machine generated alternative text:
Name: 
Ouuner: 
Advanced Security Settings for 
D... 
Administrators 
dministrators) Change 
Permissions 
For additional information, 
Permission entries: 
Auditing 
Effective Access 
double-click a permission entry. To modify a permission entry, select the entry and click Edit (if available). 
Type 
Allow 
Allow 
Allow 
Allow 
Allow 
Allow 
Princi 
Administrators 
CREATOR OWNER 
Domain Admins 
SYSTEM 
IT Service Desk Maint 
Authenticated Users 
Access 
Full control 
Full control 
Full control 
Full control 
Modify 
Read, write & execute 
Inherited from 
None 
None 
None 
None 
Applies to 
This folder, subfolders and files 
Subfolders and files only 
This folder, subfolders and files 
This folder, subfolders and files 
This folder, subfolders and files 
This folder only 
Enable inheritance 
Replace all child object permission entries wuith inheritable permission entries from this object

Here is my GPO for around Fslogix (Again this is for RDSH 2016 and windows 10 1607/1809. Remember Server 2019 will be different. So please don’t enable Search in the GPO for Server 2019. 

C:\Users\LOCAL_~4\Temp\5\msohtmlclip1\02\clip_image011.png
Machine generated alternative text:
nclude Outkok geronalizatbn data in container 
nclude Outbok personalization data in container 
nclude Sharecoint data in container 
nclude Sharepoint data in container 
nclude Skype data in container 
nclude Skype data in container 
NW-tier of ger&ssBn VH DS to persist 
Nunter of ger&ssion VH DS to persist 
Store earch databaæ in Of-fee 365 container 
sync OST to VFD 
VH D kcatBn 
VH D bcation 
Virtual disk type 
Offwe 365 and Directory Naning 
Swap dirætory n.ane 
Swap directory nanz convonents 
Setting 
Enabled 
Setting 
Enabled 
Setting 
Enabled 
Setting 
Enabled 
Setting 
Enabled 
Setting 
Enabled 
Setting 
Enabled 
Setting 
Enabled 
Setting 
Enabled 
Enabled 
Sing I equser sea n: h 
Move OST to VHO
Machine generated alternative text:
Profik &ntainers 
Albw concurrent uær essBns 
Alknv conculEnt uær sessions 
Déte kcal profik when FSLcgix Profik shouh appt}' 
Déte kcal profik when FSLcgix Profik should appt} 
VH D-pq alkcatBn 
Dynaröc VH DOq allocation 
Profik type 
VH D kcatBn 
VH D bcation 
Profik &ntainersl &ntainer and Naning 
Swap dirætory n.ane 
Swap directory nanz convonents 
Virtual disk type 
Setting 
Enabled 
Setting 
Enabled 
Setting 
Enabled 
Setting 
Enabled 
Setting 
Enabled 
T for pmfile and fallback to readonly 
Setting 
Enabled 
Setting 
Enabled 
Setting 
Enabled

Profile I logged in and my profile was created.

Machine generated alternative text:
Home 
Quick access 
Desktop 
Douunloads 
OSDisk 
Documents 
FSLogix_Llser 
Containers 
Name 
davism 
Date modified 
9/17/202011:10AM 
File folder

ODFC (Didn’t set the flipflop here-missed by mistake) 

Machine generated alternative text:
Home 
FSLogix_Office Containers 
Nehmork 
FSLogix_Office 
Containers 
Name 
Quick access 
Desktop 
Douunloads 
OSDisk 
Documents 
davism 
Date modified 
9/1 7/2020 10:32 AM 
File folder

Lets Test Access base enumeration

Machine generated alternative text:
Name 
Test Citrix 
Test Citrix Properties 
Security 
Environment 
Sessions 
COM+ 
Remote control 
DigitalPersona 
Remote Desktop Services Profile 
General Address Account 
Member Of 
Published Certificates 
T elephones 
Organization 
Password Replication Dial-in Obiect 
Member of: 
Name 
Domain users 
Active Directory Domain Services Folder 
users
Machine generated alternative text:
HOME 
oo 
oo 
Excel 2016 
exspend 
O 
FADB 
o 
First Data 
Fiserv SCO 
Test Citrix 
Account Settings 
About 
Log off 
Harland

I can’t see davism from my test citrix account.

Machine generated alternative text:
FSLogix_Llser 
Organize • 
Nehmork 
New folder 
Name 
Containers 
O 
Date 
Quick access 
Desktop 
Douunloads 
Documents 
Microsoft. Word 
This pc 
File name: 
modified 
No items match your search. 
All Word Documents 
Tools

Test NTFS permission on davism. I forced it so I could test the NTFS.

Machine generated alternative text:
Home 
o 
Nehmork 
FSLogix_Office_Containers 
Name 
ODFC davism.VHDX 
Destination Folder Access Denied 
You need ermission to 
Date modified 
9/17/202011:10AM 
efform this actio 
Type: File folder 
davism 
Hard Disk Image 
Search 
200, 704 KB 
Date modified: 9/1 7/2020 10:32 AM 
Cancel

I must admit, it a very good feature Nutanix has, and I look forward to learning more around continuous availability (tech preview) and expanding this out to a DR site so the data can all replicate. I don’t know how to do this yet. But I will learn it soon.

Sources

Slack: Jarian Gibson and Nutainx-euc

https://www.christiaanbrinkhoff.com/2018/10/18/configure-fslogix-office-365-containers-with-nutanix-files-afs-better-together/

https://portal.nutanix.com/page/documents/details?targetId=Field-Installation-Guide-v4-5:set-network-reqs-c.html%23concept_1mm_xwq_nh

https://portal.nutanix.com/page/documents/details?targetId=Files-v3_7:fil-file-server-manage-c.html

Sep 032020
 

This is a guide on how I upgraded my site from 7.15 flat all the way to 1912. I also included moving off 2012R2 to 2016 DDCs with some troubleshooting situations you might run into. I covered the basics of upgrading Licensing, DDC upgrades, Storefront upgrades with NS VIP configuration, PVS upgrades, WEM upgrades, VDA upgrades, and some re-configuration of Snap-ins with Director for ADM and session recording.

  1. References for detailed instructions
  2. https://docs.citrix.com/en-us/citrix-virtual-apps-desktops/upgrade-migrate/upgrade.html
  3. https://www.carlstalhood.com/delivery-controller-1912-ltsr-and-licensing/#licensingupgrade
  1. Upgrade the licensing Server
  2. Go download the version you need. In this case, it’s 11.16.3.0 Build 29000
  3. Run the CTX_licesning installer
  1. Check the box to agree
  1. After upgrading Citrix Licensing Server, in Citrix Studio, go to Configuration and Licensing.
  2. On the right, click Authenticate Certificate.
  1. Open Citrix licensing Manager
  2. I was prompted to register my licensing server with Citrix Cloud.
  3. Licensing Manager might prompt you to register with Citrix Cloud.
  1. On the Settings > Usage and Statistics page, in the Share usage statistics with Citrix section, click Register.
  1. You’ll see a screen with a registration code. Click the Copy button and then click Register to be taken to Citrix Cloud.
  1. After logging in to Citrix Cloud, on the top left, click the menu (hamburger) icon and then click License & Usage. If you don’t see this link, you might have to logout and log back in.
  1. In the License & Usage service, switch to the Registrations tab.
  1. Click the blue Register button in the middle of the page to register
  1. Paste in the copied code and then click Continue. Click Register.
  1. On-premises Licensing Manager, it will eventually show as Registered.
  1. On the same Usage & Statistics page, scroll down, and then click Upload now. This should cause data to upload to Citrix Cloud and show up in Citrix Cloud License & Usage.
  1. Citrix.cloud.com reporting
  1. *Note*For me I always check and make sure it shows activated within Studio and is set to the right product edition
  1. Upgrade VDA to 1912
  2. I also upgrade my VDAs ahead of time. It’s easy and something I just do.
  3. Depending on your provision side. PVS, MCS or old fashion servers( which is still used)
  4. Mount ISO and upgrade
  1. Upgrade Delivery Controllers 7.15.5000
  1. Snapshot your Delivery controller
  2. Backup your SQL databases
  3.  Attach the 7.15 CU5 media
  4. Run the Studio and Server Components for the upgrade
  5. Read and Accept
  6. Read and make sure you take the correct actions you need in your environment.
  7. Start your Preliminary Test and make sure you are good!
  1. Firewall Ports
  2. Summary
  1. Upgraded process started
  1. Connect to Call home if you need to
  2. 13 Launch Studio
  1. **NOTE**
  2. “If you already have 2 controllers then In Load Balancing, reactivate the servers with the new Delivery Controller version and set the second half of the servers to Down. Follow the top steps on the second half of the Delivery Controller Server Activate each server with the new Delivery Controller Server version in Load Balancing again.”
  1. 14. For me, I am adding a 2016 server to move off 2012R2. I will add the Second 2016 server in, then make sure 2016 is handling the connections. Then Decom 2012R2 and add a new second (replacement of 2012R2 as 2016 server.
  2. 15. Attach the 7.15.5000 ISO, click on XenDesktop or XenApp (depends on your deployment)
  3. 16. XenDesktop allows for both XenApp and XenDesktop. XenApp is only XenApp.
  4. 17. Select Delivery Controller
  5. 18. Read and Understand, accept
  1. 19. We only want, Delivery Controller, Studio and Director
  1. 20.  I don’t want SQL express in the step, Uncheck it
  2. 21. Review and make sure the firewall is configured based on your environment
  1. 22. Installs
  2. 23. This will take about 5-7 minutes
  1. 24. Select call home options
  2. 25. Finish, reboot and then launch Studio
  3. 26. After Studio is opened, select “Connect this Delivery Controller to an existing site”
  4. 27. Add the primary DDC
  1. 28. It will ask to update the DB automatically, I select yes and will put in my SQL creds
  1. 29. Studio will open and show the Site
  2. 30. Run a Site check to make sure it’s good.
  3. This will take 10 minutes
  4. Looks good.
  5. At this point, I have the following.
  1. 2012R2 715.5000 Deliver Controller
  2. 2016 7.15.5000 Delivery Controller.
  3. Bother are upgraded from 7.15 to 7.15.500
  1.  Now we will begin the 7.15.500 upgrade to 1912 LTSR.
  2. Snapshot your Delivery controller
  3. Backup your SQL databases
  4.  Attach the 1912 media
  5. Run the Studio and Server Components for the upgrade
  1. Read and accept
  1. Make sure the following has been completed to ensure an upgrade will go smooth
  2. Licensing Error I received when I clicked next. Even though I upgraded my licensing version to 11.16.3.0 build 29000, I had to update my licensing files past November 2019. I logged into my Citrix Licensing manager. Https://yourCTXlicServer.FQDN:8083, then selected check for available renewals. Follow the prompts to get an updated timestamp.
  1. Before 
  2. After
  3. Being this is not production; my specs are lower than what it wants. However, I will meet the minimum to ensure the upgrade is solid
  1. Server specifications
  2. https://docs.citrix.com/en-us/citrix-virtual-apps-desktops/system-requirements.html
  3. Let pick back up where I left off. Preliminary Site Test( Run this to ensure no errors exist)
  1. Test in progress
  2. b. 2 test will not run, as they don’t apply
  1. Results go through and test all the orchestrations of the environment.
  1. Firewall ports 
  1. Summary, then click upgrade
  1. Upgrade progress
  1. Upgraded, but Reboot needed
  2. After Reboot it will resume. Now on Post Install….
  3. Connect to Citrix Cloud for Diagnostics data if needed in your environment.
  1. Finish and now open studio.
  2. Now upgrade the Database through Studio (my service account has permissions)
  1. It will ask you again, about backing up the DB
  2. Add the Creds, unless you are logged into the server as the account (Account needs proper permissions, in Citrix, and on the servers)
  3. It’s now started.
  4.  Going, 9 successful… GOOOD so far.
  5. Still going well
  6. Finished
  1. You now need to do the second Delivery controller we added early in the process. It’s the 2016 server.
  1. Remote to the Server, Attach the Media, and I double click on the mounted ISO from my hypervisor
  2. Click Upgrade on Studio and Server components.
  3. Read and Agree
  4. Ensure the following is completed, although it’s a second DDC.
  5. Firewall for DDC and Director
  1. Summary
  2. Warning pop up about not being able to stop it once it starts.
  1. Upgrading has started ( The Time says 13 minutes) Sometimes it’s accurate, or not accurate.
  2. The machine needs to be rebooted to apply some .Net settings/updates
  3. Rebooted, and now it’s still applying them.
  4. Log back in, and it will resume back to the place it was at. Be patient!
  1. Connect to Citrix Cloud for Diagnostics data if needed in your environment.
  1. Now launch Studio
  1. Start the automatic site upgrade
  2. Being this has already ran, it shouldn’t take long.
  1. Studio is now launched.
  2. Lets to a site Test on the Delivery controller.
  3. Things passed, and look good
  1. Let’s do a Machine Catalog and Delivery group test. (Failed)?!! Looks like my Delivery controllers, doesn’t have the updated vcenter cert. Let me fix this. I simulated a failure to show the value of running the tests.
  2. I fixed my cert by following this
  3. https://support.citrix.com/article/CTX138640
  1. Now once both had updated 1912 Software, go into the first Delivery Controller and finish the “upgrade remaining delivery Controllers”
  2. Once all the Delivery Controllers and VDAs are upgraded, within Citrix Studio, view your Catalog for the current functional level (Set to VDA version you have in the catalogs). Citrix Virtual Apps and Desktops (CVAD) 1912 lets you upgrade your Catalogs and Delivery Groups to functional level 1811 if needed.
  3. **WARNING****
  4. Don’t upgrade the Catalog or Delivery Group until all VDAs with the Catalog and Delivery Group are VDA version 1811 or newer.
  1. Then upgrade the Delivery Groups by right-clicking on a Delivery Group and clicking Upgrade Delivery Group.
  1. This concludes the upgrade for the Delivery controller.
  2. Now let’s Decom one Delivery controller, which is 2012R2.
  1. *Note*
  2. https://discussions.citrix.com/topic/388816-decommission-delivery-controller/
  3. https://docs.citrix.com/en-us/citrix-virtual-apps-desktops/manage-deployment/delivery-controllers.html
  4. Active connections should not be dropped if you remove a delivery controller from the site. Remove the controllers from Storefront first, then from studio. Any VDAs registered to the controller should re-register with the remaining controllers, however this may take a few minutes, so a resource that hasn’t registered yet might be unavailable for a relatively short time.
  5. You could also stop the Broker service on the redundant controllers which would also cause any registered VDAs to de-register.
  6. Whilst doing this during business hours should be OK, there’s always a risk that for some reason a VDA doesn’t register with the remaining controllers, so unless you can’t avoid it, doing it out of hours, or during low use phases is always preferable.
  1. Remove the controllers from Storefront first
  2. Then from studio
  3. Make sure the Controller is powered on so that Studio loads in less than one hour. Once Studio loads the Controller you want to remove, power off the Controller when prompted to do so.
  4. Select Configuration > Controllers in the Studio navigation pane and then select the Controller you want to remove.
  1. Select Remove Controller in the Actions pane. If you do not have the correct database roles and permissions, you are offered the option of generating a script that allows your database administrator to remove the Controller for you.
  1. This errored out. So, I did it and selected no, here.
  2. Then it asked to generate a DB script, for the Database guys
  3. This still didn’t remove it. So, at this time I found the CTX link, 
  4. https://support.citrix.com/article/CTX139505
  5. https://www.jgspiers.com/remove-orphaned-delivery-controller-xenapp-xendesktop-site/
  1. Run “Get-BrokerController”
  1. Then run this POSH Script
  1. It will put an Evict.txt file in either your profile %userprofile% or C:\windows\system32. Give this file to your DBA 
  1. Then run it on the database.
  1. Check Studio and its gone.
  1. Any VDAs registered to the controller should re-register with the remaining controllers
  1. Adding a second 2016 Delivery controller now to slit the broker balancing out
  2. Install Virtual Apps and Desktops
  1. Select Delivery Controller
  2. Read and accept
  1. Select the components you need.
  1. Install the Feature you need (NO Local SQL for me)
  2. Firewall ports
  1. Summary
  2. Extracting Files
  3. The machine needs to reboot
  4. Collect diagnostic Information
  5. Finished, now launch Studio
  6. Connect the delivery controller to an existing site
  7. Add the delivery controller address that is already a part of the site.
  8. For this part, in my environment, I selected yes
  9. Enter my creds to add to the database, then let the process begin.
  10. I now have 2 controllers that are 2016
  1. Both servers are 
  1. Remember to update the List of DDCs for the new DDC to register the machines.
  2. https://docs.citrix.com/en-us/citrix-virtual-apps-desktops/manage-deployment/vda-registration.html
  1. Finalize Citrix Director
  2. Finalize Director upgrade run this.c
  3. C:\inetpub\wwwroot\Director\tools\Directorconfig.exe /upgrade
  1. If you use Citrix ADM, and Citrix Session Recorder you will need to register the Snapin back after all the upgrades. This is so you can control the feature in Director
  1. Register Director ADM MAS back
  2. 21. If using HTTPS to connect to Insight Center then the Insight Center certificate must be valid and trusted by both the 22.
  3. 22. Director Server and the Director user’s browser.
  1. 23. To link Citrix Director with NetScaler HDX Insight, on the Director server run
  2. 24.  C:\inetpub\wwwroot\Director\tools\DirectorConfig.exe /confignetscaler.
  1. 25. Enter Machine name or IP: Netscaler Insights machine or IP vs1ctxadm01.jaxnavy.org
  2. 26. Enter 1 for Citrix ADM (aka MAS).
  3. 27. Rest is self-explanatory
  1. Register Director Snapin back for Session recording
  1. 17. Run C:\inetpub\wwwroot\Director\tools\DirectorConfig.exe /configsessionrecording
  2. 18. Enter the Session Recording FQDN (server.FQDN) 19. Enter 1 for HTTPS.
  3. 20. Enter 443 as the port

Upgrading or replacing the SQL Local DB for Local Host Cache for 1912 or 1912 CU1

There has been some recent change to the LTSR article around Local Host Cache upgrades

https://docs.citrix.com/en-us/citrix-virtual-apps-desktops/upgrade-migrate/upgrade.html#replace-sql-server-express-localdb
  • When upgrading Delivery Controllers to Citrix Virtual Apps and Desktops version 1912 or 2003: Upgrading SQL Server Express LocalDB is optional. Local Host Cache works properly, with no loss of functionality, regardless of whether you upgrade SQL Server Express LocalDB. We added the option to move to a newer version of SQL Server Express LocalDB in case there are concerns about the end of support from Microsoft for SQL Server Express LocalDB 2014.
  • When upgrading Delivery Controllers to Citrix Virtual Apps and Desktops versions newer than 2003: The minimum supported version is SQL Server Express 2017 LocalDB Cumulative Update (CU) 16. If you originally installed a Delivery Controller earlier than version 1912, and have not replaced SQL Server Express LocalDB with a newer version since then, you must replace that database software now. Otherwise, Local Host Cache will not work.

As you can see here, at one time it stated you needed to upgrade, or it would not work. However, it doesn’t seem that it 100% anymore. I think that’s why Citrix updated the doc. 

As can see here some had the same concerns or questions around it. I most certainly did. 

  1. So, let’s get started. I always do a snapshot first. Which is completed. 
  1. Complete the upgrade of your Citrix Virtual Apps and Desktops components, databases, and site. (Those database upgrades affect the site, monitoring, and configuration logging databases. They do not affect the Local Host Cache database that uses SQL Server Express LocalDB.)
  1. As you can see, I am on 1912 CU1 and have MSQL Express 2014
  1. On the Delivery Controller, download PsExec from Microsoft. See the Microsoft document PsExec v2.2.
  1. Stop the Citrix High Availability Service
  1. Open CMD as Admin and open PsExec.exe

psexec -i -u “NT AUTHORITY\NETWORK SERVICE” cm

  1. Move to the folder containing SqlLocalDB.

cd “C:\Program Files\Microsoft SQL Server\120\Tools\Binn”

  1. Stop and delete CitrixHA (LocalDB).

If you don’t stop is you will get this error  ( Me not paying attention)

SqlLocalDB stop CitrixHA

SqlLocalDB delete CitrixHA

  1. Remove the related files in C:\Windows\ServiceProfiles\NetworkService
  1. Uninstall SQL Server Express LocalDB 2014 from the server, using the Windows feature for removing programs
  1. Install SQL Server Express LocalDB 2017. In the Support > SQLLocalDB folder on the Citrix Virtual Apps and Desktops installation media, double-click sqllocaldb.msi
  1. Reboot the server and make sure this is started “Citrix High Availability Service”.
  1. Logged on and it took about 15 seconds to show up
  1. Then 60 seconds or so on this

11. Check if the CitrixHA Db is created.

 CitrixHA is re-created the next time a configuration sync occurs. After a minute or two, use the SqlLocalDB utility to confirm that CitrixHA has been re-created.

SqlLocalDB i

CitrixHA

MSSQLLocalDB

Example

While still in the PsExec session run this

C:\Program Files\Microsoft SQL Server\120\Tools\Binn>SqlLocalDB i

CitrixHA

MSSQLLocalDB

  1. You will see this until you do the second broker
  1. After I did my second Broker this was in the logs
  1. But then I see this almost every 2 minutes. I remember reading about this. But I thought it was fixed many versions ago. 

Did some google on the Errors and came up with the 2 links below.

https://support.citrix.com/article/CTX230775
https://blog.citrix24.com/xendesktop-7-15-local-host-cache-troubleshooting/
  1. LHC DB upgrade reference
https://docs.citrix.com/en-us/citrix-virtual-apps-desktops/upgrade-migrate/upgrade.html#replace-sql-server-express-localdb
  1. Turns out some AD account was deleted over time, and it had some bad SIDs.
  2. So, I ran the quick script, to get the output.

Get-BrokerApplication |foreach {if ($_.AssociatedUserNames -match “S-1-5-21”) {$_.Name; $_.AssociatedUserNames -match “S-1-5-21”; “”}}

  1. Went into Studio and deleted them from the location it displayed above. Which was in Published application visibility.
  1. Then based on CTX230775 had needed to redo the LHC DB. So quickly ran through the process and it fixed the error. 

So, in summary, this is how I upgraded the LHC DB and some minor troubleshooting. Hope it helps someone

  1. Citrix StoreFront 7.15 to 1912 (Example I did on one SF server on the upgrade. But you would want 2 servers)
  1. If you have a load balancer, disable it in your load balancer. This way traffic doesn’t route to it. (Assuming you have 2 or more storefront servers)
  2. In my case, I have an LB Vserver and IP is X.X.X.X  and back end servers are A.A.A.A  and B.B.B.B
  3. Server A.A.A.A is disabled
  4. Browse the ISO
  5. Accept the terms
  1. Ready to install
  2. Installing
  3. Upgrade has finished
  1. I am adding a new StoreFront Server, so this will be a new install and add to the Storefront store. I just browse to the StoreFront application and run it.
  2. License agreement
  3. Review prerequisites
  4. Ready to install
  1. Installing Software
  2. Successfully installed Storefront
  3. Join existing server group
  4. On the Primary StoreFront Server click “Add Server” here to get an Authorization Code
  1. Take this information and input it on the secondary StoreFront Server
  1. Inputted information on the Second server
  1. Joining
  2. Sever joined
  3. Now Add IIS Cert and Bind it to 443 in IIS
  1. Add this second server into NetScaler LB(I already have the one added in NS)
  2. https://docs.citrix.com/en-us/storefront/current-release/integrate-with-citrix-gateway-and-citrix-adc/load-balancing-with-citrix-gateway.html
  3. https://docs.citrix.com/en-us/storefront/current-release/integrate-with-citrix-gateway-and-citrix-adc/load-balancing-with-citrix-gateway.html#citrix-service-monitor
  1. Add Server in netscaler>Traffic Management>Load Balancing>Servers
  2. Add Server
  3. Add service
  4. Add monitor 
  1. Now go bind it, once you bind it to the Service you will notice it’s down. Which is normal, from what I have gathered.
  1. The StoreFront monitors by default are only via HTTP. I created earlier is trying to probe the backend services of our server through HTTPS.
  1. To fix this do this:
  1. Run PowerShell as an administrator.
  2. PS C:\Program Files\Citrix\Receiver StoreFront\Scripts> .\ImportModules.ps1
  1. PS C:\Program Files\Citrix\Receiver StoreFront\Scripts> Get-DSServiceMonitorFeature http://localhost:8000/StorefrontMonitor
  1. Now run the command Set-DSServiceMonitorFeature -ServiceURL https://localhost:443/StoreFrontMonitor.
  1. All steps outlined in Red
  1. Now you will see the monitor come alive on the Service.
  1. Now bind it to the main Vserver
  1. Provisioning Server 1808 to 1912
  1. Please check for if the previous version needs to be uninstalled first. Some version, Citrix wanted you to uninstall the older version first. But most of the time you don’t. 
  2. Example here: https://discussions.citrix.com/topic/400292-pvs-server-upgrade-1808-to-1811-please-uninstall-pvs-server/
  3. We are updating 1808 to 1912 so an in-place upgrade is good.
  4. Before I start I make sure I use a service account that is tied to the database so it can upgrade the database.
  5. I put the account in the local admin of the PVS servers and use it to do the upgrades
  1. Machine generated alternative text:
•I Panel 
All Control Panel Items Programs and Features 
Uninstall or change a program 
Search Programs and Fei 
To uninstall a program, select it from the list and then click Uninstall, Change, or Repair. 
Orga nize 
Uninstall Repair 
Citrix Diagnostics Facility 
Citrix Host Service PowerSheII snap-in 
Citrix Provisioning Consolexæ 1811.1.0 
Citrix Provisioning Server x64 1808.1.0 
Publisher 
Citrix Systems, Inc. 
Citrix Systems, Inc. 
Citrix Systems, Inc. 
Citrix Systems, Inc. 
Installed On 
8/30/2017 
12/28/2018 
12/28/2018 
10/16/2018
  1. After the uninstall has completed restart the server. When it comes back up, log back in with the service account.
  1. Attach the ISO.  Run Server installation
  1. Machine generated alternative text:
Citrix Provisioning 
Console Installation 
Server Installation 
Larget Device Installation 
Help and Support 
DVD 
Install the Server and its dependencies. 
O Exit
  1. Click “Install”, the process will begin and then the window will disappear for a couple of minutes while it installs some of the pre-requisites. 
  1. Machine generated alternative text:
Citrix Provisioning Server x64 1906.1.0 InstallShieId Wizard 
Citrix Provisioning Server x64 1906.1.0 requires the following items to be installed on 
your computer Click Install to begin installing these requirements. 
Status 
succeeded 
Succeeded 
Installing 
Pending 
Pending 
Pending 
P ending 
Requir ement 
CDF x64 
Telemetry Service x64 
Broker Snapin v2 x64 
Host PovverSheII Snapln v2 x64 
DelegatedAdmin PonerSheII Snapln x64 
ConfigLogging_PonerSheIISnapInx64 
Con figur a ton _P o n er ShellSnapInx64 
Installing Broker Snapin v2 x64
  1. When the window pops back up Click “Next”. 
  1. ” src=”https://lh5.googleusercontent.com/7C4sP7aadWMqyYGpaCOco_qIMOBbd79j50VO_FyY2d3Ff7xwCLBWlq-CAU0nC7Gb-7d9Q6jUufRMI1jGWzyODhAZ3m18Ua4kRPXV5BpZdmYPDhe7HX_qZFFJBoJEpDKaJFWkEE4″ width=”501″ height=”383″>
  1. Accept the License Agreement and click “Next”
  1. ” src=”https://lh6.googleusercontent.com/IQsY9l7j57UxaNk8W4iYAbX24GNy0nHuXscDTpyq4MgLrj1ZWGLjLGpCbp5ooqDoRtFX-T1psd3Xgu0AWk_iRyOyZ8LVbZE1t_6gX9ErQHUty_femXqGsNrr22kiQsyhCVb8aAg” width=”503″ height=”377″>
  1. ” src=”https://lh3.googleusercontent.com/gaWPA4LP02vEnYsCg_dUi7TLsHzrmqcGrtbSGVUrJ9TaaI2ZL3UKC8KKPVtNlx0ZxvQDbJPYRpzCn1etKq4wuuCQVnNgE1TLH6pq7gvW2FzlQ1IH1T4v255He3Y9ohlE6uOCGfA” width=”503″ height=”378″>
  1. Enter “Something” in the User Name and Organization fields, then click “Next”
  1. CiTRlX ” src=”https://lh5.googleusercontent.com/MnV-mvcbmBN3VQswaq2p4eEg6ibKwp_ufu3RYKnET_KFn2afkr1Ca_bu7U2UHW9uFnJtvEgSIGICIqCAh9ihsdTt5Jd_FqxujFZJf58TtlXlOXqhrkTQ3qr8Qxr00h3uhbNCTqs” width=”501″ height=”387″>
  1. Click “Next”.
  1. CiTRlX ” src=”https://lh5.googleusercontent.com/l0r_yaEuPOE7R2PwO8k8uD-Al8YKTHc5p-pxVpf5SoUTzXovFaJyb4_gCzQDnXHzd6r6LajFNycElO1wL7HvsKIWwoKSf03yXdxcDMKQe8js4d4OWoHPwYf53mPoSGQryc4RxHo” width=”502″ height=”379″>
  1. Click “Install”. 
  1. Machine generated alternative text:
Citrix Provisioning Server x64 19120.0 LTSR 
Ready to Install the Program 
The Wizard is ready to begin installation. 
Click Install to begin the installation. 
CiTRlX 
If pu want to review or change any of your installation settings, dick Back. Click Cancel to 
exit the wizard. 
InstallShieId 
Install
  1. Installing
  2. Machine generated alternative text:
Installing Citrix Provisioning Server x64 1912.0.0 LTSR 
CiTRlX 
The program features you selected are being installed. 
Please vvait while the Installation Wizard fistalls Citrix Provisioning Server 
x64 1912.0.0 LTSR. This may take several minutes. 
Status: 
•stallShieId
    1. Click “Finish”.
  3. Machine generated alternative text:
Citrix Provisioning Server x64 1912.0.0 LTSR 
Installation Wizard Completed 
CiTRlX' 
The Installaton Wizard has successMIy installed Citrix 
Provisioning Server x64 1912.0. O LTSR. Click Finish to exit the 
Wizard.
  1. The configuration wizard will start.
  2. ” src=”https://lh4.googleusercontent.com/xh-LCu4I57aDckar05F60wXOgnSbDJxxgGYqV9hnDfAri-uJdymkbIOMzK_-UcgKROmcIfLLHjMc_6pHBnOGl54zOzazXJ22QVhAOIU2KblOGYc_M1qeuGpEC0fw4echKGTw66M” width=”545″ height=”404″>
  1. ” src=”https://lh6.googleusercontent.com/BHwc9OMVFy3cpO1ShBimlLXYtXLK6Blh8SzLB6TIeRd5to5COK3syNKD3CmxolSLfR1WC5XiXEzArwBspR8O6jG3FhW3W1uip1vvLiJB02gAD5vpJVfhZ0L0cs7XxWLC1ZfHYQk” width=”480″ height=”358″>
  1. ” src=”https://lh3.googleusercontent.com/YKZPYfPTMw06sVh-HkQrdm9Arld_vleQelTyJM2o-f2rmQOIQV0x8UDAeA99O0NmetXO3SDP7xnrYUxTuAhLWYLCqma0CzP-wpcevrAb6Fe9Y3Pm72molSx1FUX1EsPI0PvPDho” width=”480″ height=”357″>
  1. ” src=”https://lh5.googleusercontent.com/J5uHb9mqGhyL2B7do9kVq8ZSH4VOx9_Vl_xF_BEmgF83T3Sq3WDdCuKLt7B85a4UlB1TKCQmcafQO3gN8kvtOf0b112wjyN-vwr9EOZqzrwV_u6hOWC1ggKqhcfOip85UY_8M88″ width=”480″ height=”360″>
  1. ” src=”https://lh6.googleusercontent.com/QFTbGfxA2S1NB8mBMMVSO2nUNDRDzKkLXHlYedovVMf2p6yEt_WlAupGcnZs4cbvBKBbQVj2Z8kSgPw4Sp_qhPY2tJxTGL_8rUw5FackGePj3Vvh9f5MqBxcTT2_TLi2Pdh7nIw” width=”544″ height=”400″>
    1.  
    2. ” src=”https://lh6.googleusercontent.com/qPsx3OJS_5xCuLFpyX5TRR9wVrg8y5IuG25cqLNteU7GYGossW5iuSF_gjh2wjRAS2fmr8ptPdBjG9JPws2X4E4uGPmI7LMk0r3N7PvvsAEhXj98PWYD6IVsSFWER-t9nvxdOV8″ width=”537″ height=”404″>
  1. ” src=”https://lh4.googleusercontent.com/sex_N8Z8rmBTPOa_Hl2wCEnjfMGPozGpNP71uUmYwApiS4ILCD57PBEq0SEcxY3Nb_K4fmgPXSeaK3pwjdJlabBDY2ZvKfHFs5RqruuChg7jOGL5PYNXOgJDb_gi2CWOL408bLw” width=”480″ height=”354″>
  1. ” src=”https://lh5.googleusercontent.com/mPFK49PTHp6eT2y6yjRXH5FwnQti1o3F27ywBMqJ-t6fNTvah3AWNLCzK3TbpMKhuX4JX7-NopW21_oaR9AfYImREviYswtxA9HZYr_gqvdlVtZqFT58VbYA7CgAZn3wdH0wUG0″ width=”480″ height=”346″>
  1. ” src=”https://lh6.googleusercontent.com/HsXUjFXOXxm-V17XOApQJfBxu_AtB1GjvVGCSQIFplSkYGoZ611ftgjlnYutLhJo5E7Bg5TSRaZii116ECC1Flbkk8k4g6Qa9A8afiI75HiGh12_Uh9yFps14qsKUvD42hkD5vU” width=”480″ height=”348″>
  2.  
  1. For this screenshot I have 2 PVS servers, depending on your Farm you could have 1 or more. The PVS server IP address will show here. If you have 1 server then  1 Ip will show. If you have 2 then 2 will show. 
  2. ” src=”https://lh6.googleusercontent.com/ggB1u7TVp6GNroZ6r2x_2NQXkyWl_BUCoiRDiFP7wcCSJnLMPIO4oX1PhoSlw12sxZHNNO1f1hfpPmQNLfsPghVvE-2PJPl25mJxzzBhLNlyK_lpeQSbpR3MBzMjhDmdgkKv79o” width=”551″ height=”405″>
  3.  
  4. ” src=”https://lh4.googleusercontent.com/VISIgho2Np3DNMYuF66dn01K8PZX_q-y6g-RkTWpOgQpnnoe1t5YPa0Hg3S3MpgfuKajEfrgVtb1Mhgq4lw_vv0AkhtgO9LRO65NeswcfQrUdiM7ck4coOmDw3lM8x4ZWOB2NzM” width=”548″ height=”399″>
  1. ” src=”https://lh3.googleusercontent.com/KJt9rFHUoPepZOctpuoCUMHOnlgG9FiXGYZ2qlqS0psoQ_IUFqBLXV6ge5ZnhMv1airHZgcvtJPLTczzDJiPvZ8XXBMHr72E9EL4KITcKuE277K71M_JWMq3G5hwh5tSXJQlsN4″ width=”547″ height=”405″>
  1. Machine generated alternative text:
Citrix Provisioning Configuration Wizard 
Confirm con figuration se tbngs. 
XE - Install Service 
icense Server:Port = VS : 27000 
ser Account = Jaxnavy.org\gtxpvs 
omputer account passnord changes every 7 days 
ommunicatons - First Port = 6890, Last Port = 6gog 
onsole - Soap Port = 54321 
IC - selected IP = 10.50,210.8 
anagement NIC - Selected IP = 10. SO. 210.3 
- Install Service 
File = ServicesTftpbootVARD8P32.81t . 
tream Service - Server IP, Server Port, Device Subnet, Device 
10.50.210.8, 6910, o.o.o.o, o.o.o.o 
10.50,210.9, 6910, o.o.o.o, o.o.o.o 
v Citrix Username= davisra 
Z] Automatcally Start Services
  1. Machine generated alternative text:
Citrix Provisioning Configuration Wizard 
Confirm con figuration settings. 
Stopping Neb,Nork Services 
Stopping Software Stream Service 
Con figuring Services 
Starting Software Stream Services 
Starting Neb,Nork Services 
Stopping Citrix PVS Stream Service 
Cancel
    1. Backup your database before starting.
    2. Machine generated alternative text:
Citrix Provisioning Configuration Wizard 
erequ 
Confirm con figuration settings. 
Nones 
user 
Comm 
The database will be upgraded. A backup should be done before the 
database is upgraded. Should the database upgrade be done now? 
Stre 
My Citrix Username= davisra1983 
Z] Automabcally Start Services
  1. Machine generated alternative text:
Citrix Provisioning Configuration Wizard 
Confirm con figuration settings. 
Stopping Neb,Nork Services 
Stopping Software Stream Service 
Con figuring Services 
Starting Software Stream Services 
Star ting Neb,Nork Services
  1. Machine generated alternative text:
Programs and Features 
Control Panel 
Control Panel Home 
View installed updates 
Turn Windows features on or 
Programs Programs and Features 
Uninstall or change a program 
To uninstall a program, select it from the list and then click Uninstall, Change, or Repair. 
Organize • 
Install a program from the 
network 
Uninstall Repair 
O 
Publisher 
Carbon Black, Inc. 
Carbon Black, Inc. 
Citrix Systems, Inc. 
Citrix Systems, Inc. 
Citrix Systems, Inc. 
Citrix Systems, Inc. 
Citrix Systems, Inc. 
Citrix Systems, Inc. 
Citrix Systems, Inc. 
Citrix Systems, Inc. 
Microsoft Corporation 
Microsoft Corporation 
Microsoft Corporation 
Microsoft Corporation 
Microsoft Corporation 
Microsoft Corporation 
Microsoft Corporation 
Microsoft Corporation 
Trend Micro Inc. 
Installed On 
4/28/201 g 
4/7/201 g 
3/19/2019 
9/14/2019 
4/7/201 g 
3/19/2019 
3/1/2019 
3/1/2019 
3/19/2019 
3/19/2019 
3/18/2019 
3/18/2019 
3/19/2019 
Size 
Carbon Black Sensor 
Cb Protection Agent 
Citrix Broker PowerSheII Snap-In 
Citrix Configuration Logging Service PowerSheII snap... 
Citrix Configuration Service PowerSheII snap-in 
Citrix Delegated Administration Service PowerSheII sn... 
Citrix Diagnostics Facility 
Citrix Host Service PowerSheII snap-in 
Citrix Provisioning Consolex64 1811.1.0 
Citrix Provisioning Server x64 1906.1.0 
Microsoft Silverlight 
d 
Microsoft SQL Server 2012 Native Client 
Microsoft Visual C++ 2008 Redistributable - x64 9.03... 
Microsoft Visual C++ 2008 Redistributable - x86 9.03... 
Microsoft Visual C++ 2012 Redistributable (x64) 
Microsoft Visual C++ 2012 Redistributable (x86) 
Microsoft Visual C++ 2013 Redistributable (x64) 
Microsoft Visual C++ 2013 Redistributable (x86) 
• Trend Micro OfficeScan Agent 
Citrix Systems, Inc. Product version: 
Help link: 
-11.0... 
-11.0... 
- 12.0... 
- 12.0... 
243 MB 
11.6 MB 
166 MB 
1.78 MB 
0.97 MB 
156 MB 
305 MB 
241 MB 
50.7 MB 
4.88 MB 
876 KB 
20.5 MB 
173 MB 
20.5 MB 
17.1 MB 
Version 
6.12.71 log 
800.2562 
7.22.0.10 
7.22.0.7 
7.22.o.g 
7.22.0.8 
7.1.5.o 
7.22.0.8 
1811.1120018 
1906.1022028 
5.1 50918.0 
1112100.60 
9030729.6161 
9030729.6161 
110.60610.1 
110.60610.1 
12040660.0 
120.406600 
12.0.4430 
1906.102028 
http://www.citrix.com 
Support link: 
Size: 
http://www.citrix.com 
241 MB
  1. PVS console upgrade
  1. Log in to the server with the service account.
  1. In C:\SRC\1906 open the “Console” Folder. 
  1. Right-click on “PVS_Console_x64.exe” and run as administrator. 
  1. Once the .exe has launched Click next through the installation.
  1. ” src=”https://lh6.googleusercontent.com/_yXLKhs_rAW1tGQZMjHNZV7We3AdZnnSqEsoCtNvEkKxttBScEHUySDow3-2FE0-E-554rBapzOzEaSnkTZIncmkh0fDDveTbxcbKQY7CwXs73fCJFu6oAxng1Gko03YnwnEWOY” width=”501″ height=”380″>
  1. (Additional Screenshots of steps)
  1. If you run into any issues during the installation of the pre-requisites refer to 
  2. https://www.carlstalhood.com/provisioning-services-server-install/
  1. Accept the licensing term.
  1. ” src=”https://lh5.googleusercontent.com/xSy7W_jVc66n9FMVQBl_P4njXDywZ0Z3zn5Sv-yRssBrMtDdDDC1pcKpww7hawViXA-L5EgXNdGpjzV2jhdjlc9Ddhh1XIU_DTNc9Hp7aBI_zOr4t03r85EAjHs-FccgfXM3pfE” width=”502″ height=”378″>
    1. Fill in the names
  2. ” src=”https://lh3.googleusercontent.com/oHu9eTUy7kpiGqjZOdzJryfSN7-cU34frvHBbkWGRdvY650WPtg9Tx7PFY3ZYruj3fgVD_8bewkFMdj_tVSLZUUvo3Yv2Knoyb2n_gjZAKeLbXq1aUO9UrFJMPOPKHCC4aLe9g4″ width=”501″ height=”376″>
  1. Install in the default directory
  2. CiTRlX ” src=”https://lh4.googleusercontent.com/dvU_20Lia7RPdhE4OpyigAW4CdYnescVq1kTxgkkpg9rra5BhZLz27hBJowsLriBzRfHHiQiBJSZsHLq5Om1h0ol-HPn7Oxq7D5ZVLinFx_VSt_iHNT4O0ERjRonCKbPDdgsSuA” width=”500″ height=”378″>
  1. Install
  2. Machine generated alternative text:
Citrix Provisioning Consolex64 19120.0 LTSR 
Ready to Install the Program 
The Wizard is ready to begin installation. 
Click Install to begin the installation. 
- InstallShieId Wizard 
CiTRlX 
If pu want to review or change any of your installation settings, dick Back. Click Cancel to 
exit the wizard. 
InstallShieId
    1. Installing
  3. Machine generated alternative text:
Citrix Provisioning Consolex64 19120.0 LTSR - InstallShieId Wi... 
Installing Citrix Provisioning Console x64 1912.0.0 LTSR 
The program features you selected are being installed. 
CiTRlX 
Please nait while the InstallShieId Wizard installs Citrix Provisioning Console 
x64 1912.0. O LTSR. This may take several minutes. 
Status: 
Updating comgu)nent registration 
InstallShieId 
Cancel
    1. Finish
  4. Machine generated alternative text:
Citrix Provisioning Consolex64 19120.0 LTSR- Instal[ShieId Wizard 
CiTRIX' 
InstallShield Wizard Completed 
The InstallShieId Wizard has installed Citrix 
Provisioning Console x64 1912.0. O LTSR. Click Finish to exit the 
wizard.
  1. Open the console and check the version.
  2. Machine generated alternative text:
About Citrix Provisioning Console 
Citrix Provisioning Console 
Citrix Systems, Inc. 
Version: 7.24.0.24019 
@ 2001-2019 Citrix Systems, Inc. All rights
  1. You need to re-register those PowerShell snap-ins. Reregistering Citrix.PVS.Snapin.dll is well-known, but ta. here are 5 other snap-ins that are necessary as well.
  2. https://support.citrix.com/article/CTX235079
  3. Citrix.PVS.Snapin
  4. Citrix.Broker.Admin.V2
  5. Citrix.Configuration.Admin.V2
  6. Citric.ConfigurationLogging.Admin.V1
  7. Ctrix.DelegatedAdmin.Admin.V1
  8. Citrix.Host.Admin.V2
  1. On the PVS server, run CMD as Administrator. Then in each of these folders:
  2. CD \Windows\Microsoft.NET\Framework64\v4.0.30319
  3. CD \Windows\Microsoft.NET\Framework\v4.0.30319
  4. Run all of these commands:
  1. .\InstallUtil.exe “C:\Program Files\Citrix\Provisioning Services Console\Citrix.PVS.Snapin.dll”
  1. .\InstallUtil.exe “C:\Program Files\Citrix\Broker\Snapin\v2\BrokerSnapin.dll”
  1. .\InstallUtil.exe “C:\Program Files\Citrix\Configuration\SnapIn\Citrix.Configuration.Admin.V2\Citrix.Configuration.PowerShellSnapIn.dll”
  1. .\InstallUtil.exe “C:\Program Files\Citrix\ConfigurationLogging\SnapIn\Citrix.ConfigurationLogging.Admin.V1\Citrix.ConfigurationLogging.PowerShellSnapIn.dll”
  1. .\InstallUtil.exe “C:\Program Files\Citrix\DelegatedAdmin\SnapIn\Citrix.DelegatedAdmin.Admin.V1\\Citrix.DelegatedAdmin.PowerShellSnapIn.dll”
  1. .\InstallUtil.exe “C:\Program Files\Citrix\Host\SnapIn\Citrix.Host.Admin.V2\\Citrix.Host.PowerShellSnapIn.dll”
  1. PVS Targets upgrades

1. You will need to go to the PVS server that you are working on the upgrades and open the PVS console.

2. Then go to vDisk Pools and create new versions. If you have 5 versions, then the 6th version will need to be merged with the last base and updates or updates only and needs to be Maintenance mode. It will take some time to create the merge-base.

3. Now go into your Hypervisor and power on the Master VM up that has the new version.

4. Open the console so you can see the VM.

5. It will ask you to press 1 for the new Maintenance version. Press 1, and it will boot into windows.

6. Now bring over the PVS software, and put it on the C or D drive of the Target

Step 3 – Click Next at Welcome to the Installation Wizard for Citrix Provisioning Service Target Device x64

Step 4 – Select I accept the terms in the license agreement, Click Next

Step 5 – Leave as default, Click Next

Step 6 -Leave as default, Click Next

Step 7 -At Ready to install the program, Click Install

Step 8 -Installation will begin and take a few minutes to complete.

Step 9 – Click Finish at Installation Wizard Completed.

At this stage, the vDisk should be re-sealed ( based on your sealing techniques and re-distributed/Coped to each Provisioning Server

Update the BDM iso 

We use the BDM ISO 

Information

• Remember don’t check this unless your troubleshooting

• 

• https://support.citrix.com/article/CTX230333

• Reason why is here.

https://discussions.citrix.com/topic/363293-pvs-76-xa65-tds-taking-10mins-to-boot/

Upload to your hypervisor storage. Datastor/Container

Now attach that ISO to the PVS Targets you upgraded on 4c. It will need to new ARDBIN file. ( If you forget this step, it will still boot. But will be slower and could get stuck in a loop.

  1. Citrix WEM 1811 upgrade to 1912 LTSR
  1. Upgrade Deployments
  2. The data below is from Citrix Workspace Environment Manager 1912 Citrix Systems.
  3. https://docs.citrix.com/en-us/workspace-environment-management/current-release/upgrade.html
  1. The Workspace Environment Management components must be upgraded in the following order:
  2. Infrastructure services
  3. https://docs.citrix.com/en-us/workspace-environment-management/current-release/upgrade.html#step-1-upgrade-the-infrastructure-services
  1. Database
  2. https://docs.citrix.com/en-us/workspace-environment-management/current-release/upgrade.html#step-2-upgrade-the-database
  1. Administration console
  2.  https://docs.citrix.com/en-us/workspace-environment-management/current-release/upgrade.html#step-3-upgrade-the-administration-console
  1. Agent
  2.  https://docs.citrix.com/en-us/workspace-environment-management/current-release/upgrade.html#step-4-upgrade-the-agent
  1. The following changes are going to occur so be ready:
  1. A new clean installation of the WEM Agent will result in a complete change of Service Names and Folder Structures as below
  2. The new Service name is: Citrix WEM Agent Host Service
  3. The new process name is: Wem.Agent.Service.exe
  4. The new path structure is: %ProgramFiles%\Citrix\Workspace Environment Management Agent
  5. An upgraded installation of the WEM agent will result in partial changes to your environment:
  6. The new Service name is: Citrix WEM Agent Host Service
  7. The new process name is: Wem.Agent.Service.exe
  8. The path on the file system will not be altered and will remain as it was: %ProgramFiles%\Norskale\Norskale Agent Host
  9. Be aware also that in both clean and upgraded deployments, the Windows Event logs will change from Norskale Agent Service to WEM Agent Service 
  10. Source:
  11. https://jkindon.com/2019/09/11/citrix-wem-updated-start-up-scripts/
  1. Infrastructure services

  1. I need .Net 4.7.1
  2. For me, I selected yes now.
  3. Reboot and logged in
  1. Database
  1. Open the database management Utility
  1. I at this point just restarted the server
  1. 2a. Check Database parameters (open the WEM Infrastructure Service Configurations)
  1. You will notice the Port and old name (1811)
  2. You will notice the Port and new name -1912
  1. *One thing to note on Port* 
  2. Cache synchronization port. (Applicable to Workspace Environment Management 1909 and earlier; replaced by Cached data synchronization port in Workspace Environment Management 1912 and later.) The port on which the agent cache synchronization process connects to the infrastructure service to synchronize the agent cache with the infrastructure server. The cache synchronization port must be the same as the port you configured for the cache synchronization port (WEM Infrastructure Service Configuration > Network Settings) during the infrastructure services configuration. The port defaults to 8285 and corresponds to the AgentCacheSyncPort command-line argument.
  3. Cached data synchronization port. (Applicable to Workspace Environment Management 1912 and later; replaces Cache synchronization port of Workspace Environment Management 1909 and earlier.) The port on which the agent cache synchronization process connects to the infrastructure service to synchronize the agent cache with the infrastructure server. The cached data synchronization port must be the same as the port you configured for the cached data synchronization port (WEM Infrastructure Service Configuration > Network Settings) during the infrastructure services configuration. The port defaults to 8288 and corresponds to the CachedDataSyncPort command-line argument. Alternatively, you can specify the port using a command-line option in the silent installation of the WEM agent 
  4. Wayne Lui states its backward compatible and still listens, But I would add this into your Firewall Ruleset. 
  1. Admin Console
  1. Agents
  2. Upgrade the Agent on the machines 
  3. I did this with the GUI, but I do this in production.
  4. ##Install CMDLine with an SCCM task
  1. Task 1
  2. “Citrix Workspace Environment Management Agent Setup.exe” Cloud=0 VUEMAppCmdDelay=5 WaitForNetwork=30 SyncForegroundPolicy=1 GpNetworkStartTimeoutPolicyValue=5 /log WEM2003.txt /quiet
  1. Task 2
  2. ##Copys Startup script 
  1. xcopy “\\server\Citrix\Upgrade Files\WEM\2003\Workspace-Environment-Management-v-2003-01-00-01\WemRefreshCache\RefreshWEMAgentonReboot.bat” c:\scripts\refreshWemAgent /h /i /c /k /e /r /y
  1. Task 3
  2. Then it runs a 
  3. C:\Windows\Microsoft.NET\Framework64\v4.0.30319\ngen.exe update
  4. C:\Windows\Microsoft.NET\Framework64\v4.0.30319\ngen.exe eqi 3
  1. I took James Kindon Script he made here https://jkindon.com/2019/09/11/citrix-wem-updated-start-up-scripts/
  1. Then it’s called it the same name as my older script was (RefreshWEMAgentonReboot.bat), does an xcopy, and placed it in the same location. This way the scheduled task, will still have the same name it runs. The CLI parameters are different but will do the same deal
  1. We use BISF to handle this during our sealing process
  1. Agents are completed.

There is a lot of material here, and I hope it helps out someone.