Jump to content
Welcome to our new Citrix community!
  • 0

Migration of 7.15CU3 install from 2012R2 to Server 2016


Question

To summarise, the current Citrix install is a standalone Controller, Storefront (both running Server 2012R2) and NetScaler.  The VM's are hosted on two Hyper-V 2016 server with a SCVMM server running on Server 2016.  I'm trying to get the environment to some kind of HA solution (ie two controllers and two storefronts).  I built two new 2016 servers (to be used at controllers) and have installed 7.15CU3 and SCVMM console on them.  I've added the controllers to the farm and according to Studio they appear to be working.  I migrated the licensing service onto one of the new controllers with no problems. 

 

I've also done the following:

added the controllers on the Storefront server for the Store

added the Controllers as STA's on the NetScaler config of Storefront

Added the controllers at STA's on the NetScaler Virtual server binding.

 

Initially when I turned the old controller off to test, I got a blank storefront.  This was an issue with HTTPS/HTTP being inconsistent.  I've fixed that up and now I get the storefront to display the desktops.

However I get an unavailable message when  I click on them. Power on the old controller and it all works again.  

 

What I did then discover is perhaps its Hyper-V and VMM that is the issue as I cannot do anything under hosting in Studio with the old controller turned off.   The error I get refers to the old controller, so it appears there is something else missing.  All the trouble shooting and help all referes to "recovering communication to the server", but that's not what I'm trying to do. I want to point everything to the new controller to decommission the controller running server 2012R2.  This was meant to be the easy bit and replacing the Storefront and reconfiguring the NetScaler to do load balancing was mean to be the harder bit :-)

 

Updated info:  I ran the PS command Get-BrokerController, the old controller has the SCVMM Active site Service running on it and also has associated Hypervisor Connection UIDs.  This appears to be the issue, but how do I fix it.  Searches are becoming very fruitless!

 

ActiveSiteServices                 : {ControllerReaper, Licensing, BrokerReaper, RegistrationHardening...}
AssociatedHypervisorConnectionUids : {}
ControllerVersion                  : 7.15.3000.350
DNSName                            : NewController-1.domain
DesktopsRegistered                 : 15
LastActivityTime                   : 27/06/2019 2:07:03 PM
LastLicensingServerEvent           : ServerOK
LastLicensingServerEventDetails    : {Server: NewController-1.domain, Port: 27000, ProductEdition: PLT,
                                     ProductId: XDT...}
LastLicensingServerEventTime       : 18/06/2019 11:03:04 AM
LastStartTime                      : 26/06/2019 10:37:17 AM
LicensingGracePeriodReasons        : {}
LicensingGracePeriodTimesRemaining : {}
LicensingGraceState                : NotActive
LicensingServerState               : OK
MachineName                        : DOMAIN\NewController-1
MetadataMap                        : {}
OSType                             :
OSVersion                          : 6.2.9200.0
SID                                : S-1-5-21-1880495587-1345001043-119103078-37040
State                              : Active
UUID                               : 5b5d7ae0-84ce-4ce1-89ed-5ccb2fc52a04
Uid                                : 2

 

ActiveSiteServices                 : {ControllerNameCacheRefresh, AccountNameCacheRefresh, GroupUsage,
                                     RebootScheduleManager...}
AssociatedHypervisorConnectionUids : {}
ControllerVersion                  : 7.15.3000.350
DNSName                            : NewController-2.domain
DesktopsRegistered                 : 13
LastActivityTime                   : 27/06/2019 2:06:52 PM
LastLicensingServerEvent           : ServerOK
LastLicensingServerEventDetails    : {Server: NewController-1.domain, Port: 27000, ProductEdition: PLT,
                                     ProductId: XDT...}
LastLicensingServerEventTime       : 26/06/2019 10:41:12 AM
LastStartTime                      : 26/06/2019 10:35:49 AM
LicensingGracePeriodReasons        : {}
LicensingGracePeriodTimesRemaining : {}
LicensingGraceState                : NotActive
LicensingServerState               : OK
MachineName                        : DOMAIN\NewController-2
MetadataMap                        : {}
OSType                             :
OSVersion                          : 6.2.9200.0
SID                                : S-1-5-21-1880495587-1345001043-119103078-37044
State                              : Active
UUID                               : 8cd136ab-e91c-43e1-8edb-faf3e861d7f8
Uid                                : 3

 

ActiveSiteServices                 : {SCVMM}
AssociatedHypervisorConnectionUids : {4}
ControllerVersion                  : 7.15.3000.350
DNSName                            : OldController.domain
DesktopsRegistered                 : 1
LastActivityTime                   : 27/06/2019 2:06:56 PM
LastLicensingServerEvent           : ServerOK
LastLicensingServerEventDetails    : {Server: NewController-1.domain, Port: 27000, ProductEdition: PLT,
                                     ProductId: XDT...}
LastLicensingServerEventTime       : 26/06/2019 10:42:11 AM
LastStartTime                      : 27/06/2019 11:17:31 AM
LicensingGracePeriodReasons        : {}
LicensingGracePeriodTimesRemaining : {}
LicensingGraceState                : NotActive
LicensingServerState               : OK
MachineName                        : DOMAIN\OldController
MetadataMap                        : {}
OSType                             : Windows 2012 R2
OSVersion                          : 6.2.9200.0
SID                                : S-1-5-21-1880495587-1345001043-119103078-30109
State                              : Active
UUID                               : d379f1a2-dc2f-4b12-a1fa-da8e3d3b903f
Uid                                : 1

Edited by jwatson957
Update of information
Link to comment

1 answer to this question

Recommended Posts

  • 0

OK I found a fix, but concerned this didn't happen automatically as that's the point of having HA.  

 

Get-BrokerHypervisorConnection

 

and found PreferredController was set to the oldcontroller that I want to remove. 

 

I then ran 

Get-BrokerHypervisorConnection | Set-BrokerHypervisorconnection -PreferredController NewController1.Domain

 

I shutdown the old controller and ran

 

Get-BrokerController 

 

The SCVMM Site Service had moved to the new preferred controller.  Now while this gets me moving forward, I am concerned that this doesn't automatically failover.

 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...