VMware Horizon Community
hdhjclark
Enthusiast
Enthusiast

Horizon 7.12 to 7.13 upgrade questions

I am trying to plan a upgrade to 7.13. I was hoping to get some additional information to help me better plan this.

 

  1.  Everything I have read says to plan a maintenance window as service will be out. I have read that the composer server can be updated in as little as 30 minutes. However, I can't confirm that you can update your 7.12 to 7.13 during one window on one day/weekend and then go back in to production for a period of time, opening another maintenance window to do the connection servers.  Can you separate these in to 2 different events on 2 different days?
  2. During my research I am lead to believe that you can bring everything back online after the composer server is upgraded then do the 2 connection servers one at a time to limit downtime. This sort of ties directly to question 1, is this possible? Can you ring the connection servers offline one at a time so this part doesn't require downtime?
  3. The planning and prep I have been reading about says you should snapshot the 3 horizon servers (for me,2 connection + 1 composer) and backup the event database running on your database server. This leads me to believe that, in the event of an error that is unresolvable, you could fallback. If that occurs though, what are the steps? My gut says, restore the database, revert all snapshots and fire it up, is it that simple? Has anyone had any experience with this?
  4. All the guides and documentation I have read say you need to backup the production certificate for Horizon. Why is this? Does it get removed from the server when you upgrade? 
0 Kudos
12 Replies
a_p_
Leadership
Leadership

  1. No, you need to upgrade all horizon servers in a single maintenance window. See e.g. https://docs.vmware.com/en/VMware-Horizon-7/7.13/horizon-upgrades/GUID-CE9531F4-6E70-494B-BE42-EF466...
  2. See answer above, also note that upgrading a Connection server may drop VMs, especially if it's configured for tunneling connections.
  3. Reverting to snapshot - or earlier backups - always has some kind of drawback. Although it's a option in case things go south during the upgrade, you may need to deal with things like the servers' domain membership, Horizon inventory inconsistencies, ... but such issues are usually resolvable.
  4. To be honest, I don't understand that requirement either. I've never had any certificate issues with Horizon Upgrades.

André

0 Kudos
sjesse
Leadership
Leadership

 

  1.  Everything I have read says to plan a maintenance window as service will be out. I have read that the composer server can be updated in as little as 30 minutes. However, I can't confirm that you can update your 7.12 to 7.13 during one window on one day/weekend and then go back in to production for a period of time, opening another maintenance window to do the connection servers.  Can you separate these in to 2 different events on 2 different days?

When you have different versions of connection servers weird things can happen, 7.12 to 7.13 may seem like small jump, but they backported changes in 8 which are pretty substantial. I'd do the all in one window.

  1. During my research I am lead to believe that you can bring everything back online after the composer server is upgraded then do the 2 connection servers one at a time to limit downtime. This sort of ties directly to question 1, is this possible? Can you ring the connection servers offline one at a time so this part doesn't require downtime?

So you don't need to do them all at once, look at the guide @a_p_  shared, you disable one do the upgrade , enable it and then enable the other one. If you have a loadbalancer in front of the connection servers you shouldn't run into any issues.

  1. The planning and prep I have been reading about says you should snapshot the 3 horizon servers (for me,2 connection + 1 composer) and backup the event database running on your database server. This leads me to believe that, in the event of an error that is unresolvable, you could fallback. If that occurs though, what are the steps? My gut says, restore the database, revert all snapshots and fire it up, is it that simple? Has anyone had any experience with this?

restoring the database and connections servers snapshot shots whould work. Make sure you also have an ldif backup from the connection servers

https://docs.vmware.com/en/VMware-Horizon-7/7.13/horizon-administration/GUID-EFA249B5-1D21-4B8C-BF6A...

 

if the worst happens and you need to reinstall, the ldif file has all the configuration files in it, this should be automated from inside the connection server

 

  1. All the guides and documentation I have read say you need to back up the production certificate for Horizon. Why is this? Does it get removed from the server when you upgrade? 

When you upgrade the default vdm certificate may be reenabled, normally you would just rename yours to the friendly name of vmd, and name the default one to something else. Really you shouldn't even rely 100% on the snapshots you should have the ldap ldif backup, the ssl cert, and the locked.properties file if you have it configured. That way you have all that is necessary to create the connection servers from scratch without reconfiguring them.

0 Kudos
sjesse
Leadership
Leadership

Here is an example about the certificate. Desktop.sjlab.net is my loadbalanced address, and hz1.sjlab.net is the one that horizon made my default. You need to make sure the one you want has the friendly name of vdm after an upgrade. Its easy to forget since you may have only did this once.

 

sjesse_0-1616708786095.png

 

0 Kudos
hdhjclark
Enthusiast
Enthusiast

So what is a realistic outage window? 1 hour? 3 hours?

0 Kudos
hdhjclark
Enthusiast
Enthusiast

2021-03-26_09h35_26.png2021-03-26_09h36_07.png

 

Both of my connection servers have backups configured and appear to be running nightly. Does this mean that a separate sql backup of the database is unnecessary or are they unrelated?

0 Kudos
sjesse
Leadership
Leadership

Its dependent on your environment, the upgrade per connection server shouldn't take longer than 20 minutes. Also if you have the security gateways

https://docs.vmware.com/en/VMware-Horizon-7/7.13/horizon-architecture-planning/GUID-6C7A534B-085C-4C...

on the connection server is the only way you'll have a real outage. If you use connect directly the virtual desktops(if the security gateways are disabled, or if you use unified access gateways connection server upgrades won't interrupt users.

 

I have 6 connection servers and I plan on 4 hours for those just in case but usually finish much before that, but I've never interrupted users without some sort of external issue.

0 Kudos
hdhjclark
Enthusiast
Enthusiast

How is it possible to not interrupt users? The composer server upgrade specifically states that you need to disable provisioning. My simple brain tells me, that means existing machines will continue to work but no one new can be provisioned a machine. Once that is done I can re-enable the provisioning, if the 7.13 composer will work well with the 7.12 connection servers. 

Once that is complete, if I change my DNS, I do not have a true load balancer,  I could bring the connection servers down one at a time to update them. This part I see a pathway for users to not be interrupted. 

0 Kudos
hdhjclark
Enthusiast
Enthusiast

I do not have any security gateways, this is a 100% internal setup with a simple build. 2 connection servers and 1 composer. 

0 Kudos
sjesse
Leadership
Leadership

Just add extra available ones to be idle while you're doing the upgrades if you have the room. Doing one at a time is fine, just don't wait days in between them.

0 Kudos
hdhjclark
Enthusiast
Enthusiast

Are you saying add a second composer server? Then use it while upgrading the original? 

0 Kudos
sjesse
Leadership
Leadership

No, your only need one composer, just edit the desktop pool or desktop pool, to have more vms just sitting there. That way while the composer server is upgrading and you have provisiong enabled you'll have extra vms available.

0 Kudos
hdhjclark
Enthusiast
Enthusiast

That makes more sense... 🤤

0 Kudos