Migration_Upgradex

Download Report

Transcript Migration_Upgradex

Migration
XenDesktop 7
Migration prerequisites
• Set up a XenDesktop 7 Site, including the site
database
• Understanding of which data can be exported
and imported
© 2013 Citrix | Confidential – Do Not Distribute
Migrate XenDesktop 4 to XenDesktop 7
• Migration tool consists of two components
ᵒ XdExport
• XdSettings.xml
ᵒ XdImport
• Both deployments must have the same:
ᵒ Hypervisor version (for example, XenServer 6.1)
ᵒ Active Directory environment
© 2013 Citrix | Confidential – Do Not Distribute
Migration parameters
Import
Parameter
Description
-FilePath <path>
Location of XML file to which data is
imported.
-AdminAddress
The name of a controller in the
XenDesktop site.
Default = localhost
-HypervisorConnectionCredentials
A PowerShell hash table that maps
hypervisor addresses
-MergeDesktops
Desktops in XML file are added to desktop
groups in the new XenDesktop site – must
have same name
© 2013 Citrix | Confidential – Do Not Distribute
Migration parameters(cont…)
Import
Parameter
Description
-Verbose
Provides messages with detailed progress
info
-Overwrite
Overwrites existing files in the location
specified
-? or -help
Outputs text describing parameters and
exits without exporting any data
-SkipMachinePolicy
Script does not create a machine policy to
hold site level settings
© 2013 Citrix | Confidential – Do Not Distribute
Migration parameters (cont…)
Import
Parameter
Description
-WhatIf
A trial run is carried out to find
what would be changed in or added
to the new XenDesktop site.
-LogFilePath <path>
The full path of the log file
© 2013 Citrix | Confidential – Do Not Distribute
Known limitations
• Configuration data excluded from migration
ᵒ
ᵒ
ᵒ
ᵒ
ᵒ
ᵒ
ᵒ
ᵒ
ᵒ
VM Hosted Apps
PVS server configuration
License server configuration
Netscaler & Access Gateway configuration
Web interface configuration
DDC List
Configuration Logging data
Desktop Folders
Active Directory OU setup
© 2013 Citrix | Confidential – Do Not Distribute
Additional limitations
• Configuration items not migrated (are exported but not imported)
ᵒ
ᵒ
ᵒ
ᵒ
ᵒ
Administrators
Delegated Administration settings
Desktop Group folders
Licensing configuration
Registry keys
© 2013 Citrix | Confidential – Do Not Distribute
Migration process
• Make sure that all users log off the existing
XenDesktop 4 Farm
• Make sure that all these machines are in
maintenance mode
• Run the export tool (XdExport) on the existing
XenDesktop 4 Farm
• Launch PoSH from XD 7 Controller
• Run XDImport tool (using path to xml file)
• Remove Delivery Groups from maintenance
mode
© 2013 Citrix | Confidential – Do Not Distribute
Post Migration tasks
• Upgrade XD 4 VDAs
ᵒ Not required…but recommended
ᵒ Windows Vista and Windows XP
• upgrade to XenDesktop 5. 6 Feature Pack 1
ᵒ Windows 7
• upgrade to XenDesktop 7
• Manually recreate Administrator settings
• Update user devices
© 2013 Citrix | Confidential – Do Not Distribute
Post Migration tasks (cont…)
• Modify imported desktops to use registry-based controller discovery
ᵒ
ᵒ
ᵒ
ᵒ
AD default for XenDesktop 4
Remove OU GUID registry entry
Add a ListOfDDCs registry entry
Set machine policy for list of Controllers
• Use GPMC
• See CTX133384
© 2013 Citrix | Confidential – Do Not Distribute
Migrate – XenApp customers
• Migration will not be available for existing XenApp customers until the Merlin
release of Avalon
© 2013 Citrix | Confidential – Do Not Distribute
Upgrade
XenDesktop 7
Required upgrade components
• VDAs for Desktop OS Machines (Windows desktop) that upgrade to
XenDesktop 7 Virtual Delivery Agents
• Delivery Controllers
• License Server and licenses
• Existing Database
*Note: Make sure you back up your database before performing any upgrade procedures
© 2013 Citrix | Confidential – Do Not Distribute
Upgrade sequence
• Citrix recommends that you upgrade
components in the following sequence
1. License server and license files
2. Provisioning services (PVS) servers and
PVS clients
3. VDA software for your desktops and
images
4. One half of the existing Controllers
5. Desktop Studio if installed separately from
the Controller
6. Database
7. Remaining Controllers
© 2013 Citrix | Confidential – Do Not Distribute
Upgrading components
VDAs
• Supported VDA versions to XenDesktop 7
ᵒ
ᵒ
ᵒ
ᵒ
5.0 Service Pack 1
5.5
5.6
5.6 Feature Pack 1 (including remote PC access VDAs)
• Installer upgrades all agents and existing MSIs (Windows installer packages)
on existing VDA
ᵒ Previous VDA releases only upgraded VDAs through installer
ᵒ You cannot upgrade to XenDesktop 7 using MSIs
© 2013 Citrix | Confidential – Do Not Distribute
Upgrading components
Director and Site database
• You can upgrade the following Director versions
ᵒ
ᵒ
ᵒ
ᵒ
1.0
1.1
2.0
2.1
• Upgrade Site database from a XenDesktop 7 Controller using Studio
ᵒ Updates the schema and migrates data
ᵒ Studio performs additional data migration steps for the services
© 2013 Citrix | Confidential – Do Not Distribute
Upgrading components
Personal vDisk and Receiver
• The installer also upgrades
ᵒ Personal vDisk (PVD)
ᵒ Receiver
• Receiver for Windows (Receiver.exe) is upgraded to Receiver
for Windows 4.0.
• Receiver for Windows Enterprise
(CitrixReceiverEnterprise.exe) is upgraded to Receiver for
Windows Enterprise 3.4.
© 2013 Citrix | Confidential – Do Not Distribute
Components requiring separate upgrade
• Provisioning Services (PVS)
ᵒ Upgrade the PVS server using the PVS server rolling upgrade
ᵒ Upgrade the PVS client using PVS vDisk versioning
© 2013 Citrix | Confidential – Do Not Distribute
High-Level Studio Upgrade Flowchart
Start
Admin
Upgrades ½
of DDCs
Incomplete
Run
Desktop Studio
No
Upgrade
site now?
Later…
DBA runs
DB scripts…
Yes
Upgrade
DB
Manually?
Finish
Manual
Upgrade
Display
Errors
Error
Later…
Yes
Generate Script
and Mark Site as
Pending Upgrade
DB Script
Generation
Questions
No
Complete
Site
Upgrades…
Success
© 2013 Citrix | Confidential – Do Not Distribute
Display
Next Steps
Admin
Upgrades
remaining
DDCs
Done
Upgrading via Studio
UseCase
Site DB Upgrade (Studio)
Prior to upgrade…
DDC-A
DDC-C
DDC-B
XD_DB1
SQL Server
© 2013 Citrix | Confidential – Do Not Distribute
DDC-D
Site DB Upgrade (Studio)
Upgrade ½ Delivery Controllers
DDC-A
DDC-B
XD_DB1
SQL Server
© 2013 Citrix | Confidential – Do Not Distribute
DDC-C
DDC-D
(down)
(down)
Site DB Upgrade (Studio)
Studio verifies License Server
Excalibur
Studio
DDC-A
DDC-B
XD_DB1
SQL Server
© 2013 Citrix | Confidential – Do Not Distribute
DDC-C
DDC-D
(down)
(down)
License
Server
Site DB Upgrade (Studio)
Studio backs up old database
Excalibur
Studio
DDC-A
DDC-B
XD_DB1
Backup
SQL Server
© 2013 Citrix | Confidential – Do Not Distribute
DDC-C
DDC-D
(down)
(down)
Site DB Upgrade (Studio)
Studio restores database
Excalibur
Studio
DDC-A
DDC-B
XD_DB1
Backup
SQL Server
© 2013 Citrix | Confidential – Do Not Distribute
DDC-C
DDC-D
(down)
(down)
XD_DB2
Site DB Upgrade (Studio)
Studio queries upgrade data from remote DB
Excalibur
Studio
DDC-A
DDC-B
XD_DB1
Backup
SQL Server
© 2013 Citrix | Confidential – Do Not Distribute
DDC-C
DDC-D
(down)
(down)
XD_DB2
Site DB Upgrade (Studio)
Studio updates the second database
Excalibur
Studio
DDC-A
DDC-B
XD_DB1
Backup
SQL Server
© 2013 Citrix | Confidential – Do Not Distribute
DDC-C
DDC-D
(down)
(down)
XD_DB2
Site DB Upgrade (Studio)
Studio tests the schema is correct before moving site
Excalibur
Studio
DDC-A
DDC-B
XD_DB1
Backup
SQL Server
© 2013 Citrix | Confidential – Do Not Distribute
DDC-C
DDC-D
(down)
(down)
XD_DB2
Site DB Upgrade (Studio)
Studio sets all DB connection strings to new DB
Excalibur
Desktop
Studio
DDC-A
DDC-B
DDC-C
DDC-D
(down)
(down)
(up)
(up)
XD_DB1
Backup
SQL Server
© 2013 Citrix | Confidential – Do Not Distribute
XD_DB2
Site DB Upgrade (Studio)
Studio runs upgrade success verification tests
Excalibur
Studio
DDC-A
DDC-B
DDC-C
DDC-D
(down)
(down)
(up)
(up)
XD_DB1
Backup
SQL Server
© 2013 Citrix | Confidential – Do Not Distribute
XD_DB2
Site DB Upgrade (Studio)
Is the site working properly?
Failure
© 2013 Citrix | Confidential – Do Not Distribute
Success
Work better. Live better.