Complete the following steps for each component deployed in your environment:
When the zip file is downloaded, right-click on the file and go to Properties.
Ensure that the file is not listed as Blocked. If it is listed as Blocked, click Unblock before unzipping the file.
Databases
Note: This step is key to being able to roll back from the update (if required) and must be performed.
Open PowerShell and run: Set-ExecutionPolicy AllSigned Process.
Use C:CPSMCU5deployscripts.ps1 as a user with permissions on the DB to run the SQL files.
From a PowerShell command prompt, run “help .deployscripts –Full” for additional information on the script.
Examples of upgrading database scripts:Provisioning Rules
Find or Create Customer
Customer/User Hosted Exchange Provisioning/Deprovisioning
Mail Archiving
Resource Mailbox Create/Remove
If any custom rules are created in the areas mentioned in the list which live outside the Before or After Provision/Deprovision containers, then complete the following steps:
Evaluate the rules. If they can be moved to ‘Before’ or ‘After’ provision/deprovision containers, manually recreate them there (so they do not get removed by this update or any patches/upgrades).
If the rules cannot be moved, make a note of them and exactly what they do, and manually recreate them where they were when you completed applying the update.
Provisioning
Back up C:Program Files (x86)CitrixCortexProvisioning Engine.
Stop the Provisioning Engine Service and close Provisioning Manager if it is open.
Retain Provisioning EngineappSettings.config and Provisioning EngineCortexQueueMonitor.exe.config from C:Program Files (x86)CitrixCortexProvisioning Engine and delete the other files.
Copy C:CPSMCU5BinariesProvisioning Engine to C:Program Files (x86)CitrixCortexProvisioning Engine.
CortexWeb
Ensure .NET 4.5 is installed.
Back up C:Program Files (x86)CitrixCortexCortexWeb.
Retain CortexWebCortexAPIWeb.config and CortexWebCortexDotNetWeb.config from C:Program Files (x86)CitrixCortexCortexWeb and delete the other files.
Edit CortexWebCortexDotNetWeb.config, search for requestValidationMode and change the value to 4.5 as ‘requestValidationMode="4.5" ‘.
Copy C:CPSMCU5BinariesCortexWeb to C:Program Files (x86)CitrixCortexCortexWeb.
Check the CortexWebCortexDotNetpics, CortexWebCortexDotNetStyleSheets and CortexWebCortexDotNetDownloads folders in the backup file and copy any custom pictures, style sheets, or downloads back into their respective folders.
DirectoryWS
Back up C:Program Files (x86)CitrixCortexServicesDirectory.
Retain DirectoryWeb.config from C:Program Files (x86)CitrixCortexServicesDirectory and delete the other files.
Copy C:CPSMCU5BinariesDirectory to C:Program Files (x86)CitrixCortexServicesDirectory.
Check the DirectoryScriptsCustom folder in the backup file and copy any custom scripts back into C:Program Files (x86)CitrixCortexServicesDirectoryScriptsCustom.
ExchangeWS
Back up C:Program Files (x86)CitrixCortexServicesExchangeWS.
Retain ExchangeWSWeb.config from C:Program Files (x86)CitrixCortexServicesExchangeWS and delete the other files.
Copy C:CPSMCU5BinariesExchangeWS to C:Program Files (x86)CitrixCortexServicesExchangeWS.
Check the ExchangeWSScriptsCustom folder in the backup file and copy any custom scripts back into C:Program Files (x86)CitrixCortexServicesExchangeWSScriptsCustom.
IISWS
Back up C:Program Files (x86)CitrixCortexServicesIISWS.
Retain IISWSWeb.config from C:Program Files (x86)CitrixCortexServicesIISWS and delete the other files.
Copy C:CPSMCU5BinariesIISWS to C:Program Files (x86)CitrixCortexServicesIISWS.
Check the IISWSScriptsCustom folder in the backup file and copy any custom scripts back into C:Program Files (x86)CitrixCortexServicesIISWSScriptsCustom.
VirtualMachineWS
Back up C:Program Files (x86)CitrixCortexServicesVirtualMachineWS.
Retain VirtualMachineWSWeb.config from C:Program Files (x86)CitrixCortexServicesVirtualMachineWS and delete the other files.
Copy C:CPSMCU5BinariesVirtualMachineWS to C:Program Files (x86)CitrixCortexServicesVirtualMachineWS.
Check the VirtualMachineWSScriptsCustom folder in the backup file and copy any custom scripts back into C:Program Files (x86)CitrixCortexServicesVirtualMachineWSScriptsCustom.
SharePointWS
Back up C:Program Files (x86)CitrixCortexServicesSharePointWS.
Retain SharePointWSWeb.config from C:Program Files (x86)CitrixCortexServicesSharePointWS and delete the other files.
Copy C:CPSMCU5BinariesSharePointWS to C:Program Files (x86)CitrixCortexServicesSharePointWS.
Sharepoint2010WS
Back up C:Program Files (x86)CitrixCortexServicesSharePoint2010.
Retain SharePoint2010Web.config from C:Program Files (x86)CitrixCortexServicesSharePoint2010 and delete the other files.
Copy C:CPSMCU5BinariesSharePoint2010 to C:Program Files (x86)CitrixCortexServicesSharePoint2010.
Check the SharePoint2010ScriptsCustom folder in the backup file and copy any custom scripts back into C:Program Files (x86)CitrixCortexServicesSharePoint2010ScriptsCustom.
BlackBerryWS
Back up C:Program Files (x86)CitrixCortexServices BlackBerryWS.
Retain BlackBerryWSWeb.config from C:Program Files (x86)CitrixCortexServices BlackBerryWS and delete the other files.
Copy C:CPSMCU5BinariesBlackBerryWSWS to C:Program Files (x86)CitrixCortexServices BlackBerryWS.
Check the BlackBerryWSScriptsCustom folder in the backup file and copy any custom scripts back into C:Program Files (x86)CitrixCortexServicesBlackBerryWSScriptsCustom.
MySQLWS
Back up C:Program Files (x86)CitrixCortexServicesMySQLWS.
Retain MySQLWSWeb.config from C:Program Files (x86)CitrixCortexServices MySQLWS and delete the other files.
Copy C:CPSMCU5Binaries MySQLWS to C:Program Files (x86)CitrixCortexServices MySQLWS.
Check the MySQLWS ScriptsCustom folder in the backup file and copy any custom scripts back into C:Program Files (x86)CitrixCortexServices MySQLWS ScriptsCustom.
CitrixWS
Back up C:Program Files (x86)CitrixCortexServicesCitrixWS.
Retain CitrixWSWeb.config from C:Program Files (x86)CitrixCortexServicesCitrixWS and delete the other files.
Copy C:CPSMCU5BinariesCitrixWS to C:Program Files (x86)CitrixCortexServicesCitrixWS.
Check the CitrixWSScriptsCustom folder in the backup file and copy any custom scripts back into C:Program Files (x86)CitrixCortexServicesCitrixWSScriptsCustom.
Lync 2010 Enterprise Service
If the optional Lync 2010 Enterprise service is installed, complete the following steps to update the service binaries:
Back up C:Program Files (x86)CitrixCortexServicesLyncEnterprise.
Retain LyncEnterpriseWeb.config from C:Program Files (x86)CitrixCortexServicesLyncEnterprise and delete the other files.
Copy C:CPSMCU5BinariesLyncEnterprise to C:Program Files (x86)CitrixCortexServicesLyncEnterprise.
Check the LyncEnterpriseScriptsCustom folder in the backup file and copy any custom scripts back into C:Program Files (x86)CitrixCortexServicesLyncEnterpriseScriptsCustom.
From the Services Manager menu bar, select Configuration > System Manager > Service Schema and click Import a service.
Click Browse to navigate to and select LyncEnterprise.package.
Click Open > Review > Import.
An “Import Complete” message is displayed, followed by a list of the actions performed during the import. The connection to CloudPortal Services Manager might reset.
On the CPSM web server, copy the following files from “%ProgramFiles(x86)%CitrixCortexCortexWebCortexDotNetbin” to “%ProgramFiles(x86)% CitrixCortexCortexWebCortexAPIbin” folder:
EMS.Cortex.Service.Lync.dll
EMS.Cortex.Service.Lync.xml
EMS.Cortex.Service.Lync.XmlSerializers.dll
Lync 2010 for Hosting Service
If the optional Lync 2010 Hosting service is installed, complete the following steps to restore the service binaries:
Back up C:Program Files (x86)CitrixCortexServicesLyncWS.
Retain LyncWSWeb.config from C:Program Files (x86)CitrixCortexServicesLyncWS and delete the other files.
Copy C:CPSMCU5BinariesLyncWS to C:Program Files (x86)CitrixCortexServicesLyncWS.
Check the LyncWSScriptsCustom folder in the backup file and copy any custom scripts back into C:Program Files (x86)CitrixCortexServicesLyncWSScriptsCustom.
Copy the following files back in from the Backup folder.
+---CortexDotNet | +---bin | | EMS.Cortex.Service.LyncHosted.dll | | EMS.Cortex.Service.LyncHosted.xml | | EMS.Cortex.Service.LyncHosted.XmlSerializers.dll | | EMS.Cortex.Web.LyncHosted.dll | | EMS.Cortex.Web.LyncHosted.xml | | | ---Services | ---LyncHosted | uc_LyncHostedService.ascx | uc_LyncHostedUser.ascx | uc_LyncHostedUserPolicies.ascx | +---ProvisioningEngine | ---Bin | EMS.Cortex.Provisioning.Actions.LyncHosted.dll | EMS.Cortex.Service.LyncHosted.dll | EMS.Cortex.Service.LyncHosted.XmlSerializers.dll
Copy the following files back in from the Backup folder:
+---CortexDotNet | +---bin | | Citrix.Cam.Configuration.CSharpClient.dll | | EMS.Cortex.Service.HostedAppsAndDesktops.dll | | EMS.Cortex.Service.HostedAppsAndDesktops.xml | | EMS.Cortex.Web.HostedAppsAndDesktops.dll | | EMS.Cortex.Web.HostedAppsAndDesktops.xml | | | ---Services | ---HostedAppsAndDesktops | Advertisements.aspx | ImageHandler.ashx | uc_UserPlanAdvertisementsSelection.ascx | uc_UserPlanListing.ascx | UserPlanAdvertisementsSelectioniFrame.aspx | +---ProvisioningEngine | ---Bin | Citrix.Cam.Configuration.CSharpClient.dll | EMS.Cortex.Provisioning.Actions.HostedAppsAndDesktops.dll | EMS.Cortex.Service.HostedAppsAndDesktops.dll
If any custom services are developed or imported, complete the following steps to restore the service binaries:
Compare the contents of CortexDotNet/bin, CortexDotNet/Services and ProvisioningEngine/Bin in your backup to the install folders.
If you find any differences, check the names of the files and/or folders and if they appear to relate to the custom services, copy the files back into the install folders.
In addition, verify if the ASP.NET Stack Trace/Debug is disabled in CortexDotNet. Complete the following steps.
Login to your web server.
Browse to the CortexDotNet folder (typically C:Program Files (x86)CitrixCortexCortexWebCortexDotNet).
<compilation debug="false" defaultLanguage="vb" targetFramework="4.0" strict="false" explicit="true">
Verify the web.config files for all CPSM web services are updated. To update these files, perform the following steps.
Login to the portal and browse to Configuration > System Manager > Server Connections.
All the web service connections with a Test icon on the right will need updating.
Click on each connection one by one to expand and complete the following steps.
Login to the server listed against the Server property.
Browse to the web service install folder (typically C:Program Files (x86)CitrixCortexServices{ServiceName}).
Edit the web.config file.
Find the system.webServer node and update it to contain the following nodes:
<system.webServer> <security> <authorization> <remove users="*" roles="" verbs="" /> <add accessType="Allow" users="" roles="CortexWSUsers" /> </authorization> </security> </system.webServer>
Restart the Provisioning Engine Service.
If you encounter any issues after completing the patch that leaves CPSM in a non-functioning state, you can roll back to the original state by performing the opposite of all the steps listed in this article.
For example:
Stop the Provisioning Engine Service.
Delete all the new files.
Copy all the original files from the backup file.
Restore the databases from the backup file.
Perform an IIS reset on all servers.
Start the Provisioning Engine Service another time.
This article was translated by an automatic translation system and was not reviewed by people. Citrix provides automatic translation to increase access to support content; however, automatically-translated articles may can contain errors. Citrix is not responsible for inconsistencies, errors, or damage incurred as a result of the use of automatically-translated articles.
Cet article a été traduit à l’aide d’un système de traduction automatique et n’a pas été relu. Citrix a recours à la traduction automatique afin d’améliorer l’accès au contenu de ses pages de support ; cependant, les articles traduits automatiquement peuvent contenir des erreurs. Citrix ne peut être tenu responsable des incohérences, des erreurs ou des dommages causés par l’utilisation des articles traduits de façon automatique.
Deze tekst is met behulp van een automatisch vertaalsysteem vertaald en is niet door medewerkers of gebruikers nagekeken. Citrix biedt automatische vertaling aan om iedere gebruiker ondersteuning te kunnen bieden; echter kunnen automatisch vertaalde teksten mogelijk fouten bevatten. Citrix is niet verantwoordelijk voor eventuele onevenredigheden, fouten of schade opgelopen door het gebruik van automatisch vertaalde teksten.
Dieser Artikel wurde mit einem automatischen Übersetzungssystem übersetzt und nicht von Personen überprüft. Citrix bietet automatische Übersetzungen, um den Zugriff auf Supportinhalte zu erweitern. Automatisch übersetzte Artikel können jedoch Fehler enthalten. Citrix ist nicht verantwortlich für Inkonsistenzen, Fehler oder Schäden infolge der Verwendung automatisch übersetzter Artikel.
本文是通过自动翻译系统翻译的,未经人工审查。Citrix 提供自动翻译以提高对支持内容的访问,但自动翻译的文章可能包含错误。对于因使用自动翻译的文章导致出现的不一致、错误或损害,Citrix 不承担任何责任。
この技術情報資料は、機械翻訳システムによって翻訳されたもので翻訳者によるレビューは受けていません。Citrixでは、サポートコンテンツへアクセスする機会を増やすため、機械翻訳を提供しています。しかしながら、機械翻訳の品質は翻訳者による翻訳ほど十分ではありません。誤訳や、文法、言葉使い、その他、たとえば日本語を母国語としない方が日本語を話すときに間違えるようなミスを含んでいる可能性があります。機械翻訳の品質、および技術情報資料の内容の誤訳やお客様が技術情報資料を利用されたことによって生じた直接または間接的な問題や損害については、いかなる責任も負わないものとします。
Este artigo foi traduzido por um sistema de tradução automática e não foi revisado por uma pessoa. A Citrix oferece tradução automática para ampliar o acesso ao conteúdo do suporte, no entanto, os artigos traduzidos automaticamente podem conter erros. A Citrix não é responsável por falta de uniformidade, erros ou danos causados pelo uso de artigos traduzidos automaticamente.
Este artículo se ha traducido y publicado con la ayuda de un sistema de traducción automática, sin previa revisión de ninguna persona. Citrix recurre a la traducción automática para mejorar e incrementar el acceso a páginas de asistencia técnica. No obstante, la información publicada mediante traducción automática puede contener errores. Citrix no se responsabiliza por inconsistencias, errores o daños incurridos como resultado del uso de información generada por un sistema de traducción automática.