UPGRADING APP VOLUMES MANAGER SERVERS AND AGENTS: VMWARE APP VOLUMES OPERATIONAL TUTORIAL

Similar documents
VMware App Volumes Installation Guide. VMware App Volumes 2.13

REVISED 1 AUGUST QUICK-START TUTORIAL FOR VMWARE APP VOLUMES VMware App Volumes and later

REVISED 1 AUGUST REVIEWER'S GUIDE FOR VMWARE APP VOLUMES VMware App Volumes and later

VMware Horizon JMP Server Installation and Setup Guide. 13 DEC 2018 VMware Horizon 7 7.7

VMware App Volumes User Guide. VMware App Volumes 2.12

Reconfiguring VMware vsphere Update Manager. Update 1 VMware vsphere 6.5 vsphere Update Manager 6.5

VMware App Volumes User Guide. VMware App Volumes

TECHNICAL WHITE PAPER AUGUST 2017 REVIEWER S GUIDE FOR VIEW IN VMWARE HORIZON 7: INSTALLATION AND CONFIGURATION. VMware Horizon 7 version 7.

VMware Horizon JMP Server Installation and Setup Guide. Modified on 19 JUN 2018 VMware Horizon 7 7.5

Reconfiguring VMware vsphere Update Manager. 17 APR 2018 VMware vsphere 6.7 vsphere Update Manager 6.7

Using vrealize Operations Tenant App as a Service Provider

Installing and Configuring vcloud Connector

CONFIGURING BASIC MACOS MANAGEMENT: VMWARE WORKSPACE ONE OPERATIONAL TUTORIAL VMware Workspace ONE

Horizon Cloud with On-Premises Infrastructure Administration Guide. VMware Horizon Cloud Service Horizon Cloud with On-Premises Infrastructure 1.

Audience Profile Experienced system administrators and system integrators responsible for implementing desktop solutions

Using the Horizon vrealize Orchestrator Plug-In

VMware View Upgrade Guide

MANAGING ANDROID DEVICES: VMWARE WORKSPACE ONE OPERATIONAL TUTORIAL VMware Workspace ONE

INTEGRATING WITH DELL CLIENT COMMAND SUITE: VMWARE WORKSPACE ONE OPERATIONAL TUTORIAL VMware Workspace ONE

VMware Identity Manager Connector Installation and Configuration (Legacy Mode)

INTEGRATING OKTA: VMWARE WORKSPACE ONE OPERATIONAL TUTORIAL VMware Workspace ONE

Installing and Configuring vcenter Multi-Hypervisor Manager

VMware vrealize Operations for Horizon Installation

Configuring ApplicationHA in VMware SRM 5.1 environment

VMware vrealize Operations for Horizon Installation. VMware vrealize Operations for Horizon 6.5

Image Management for View Desktops using Mirage

vrealize Operations Management Pack for NSX for vsphere 3.0

Horizon Console Administration. 13 DEC 2018 VMware Horizon 7 7.7

VMware Horizon 7 Administration Training

TECHNICAL WHITE PAPER AUGUST 2017 VMWARE APP VOLUMES 2.X DATABASE BEST PRACTICES. VMware App Volumes 2.x

VMware App Volumes Administration Guide. VMware App Volumes 2.15

Installing and Configuring VMware Identity Manager Connector (Windows) OCT 2018 VMware Identity Manager VMware Identity Manager 3.

Using the Horizon vcenter Orchestrator Plug-In. VMware Horizon 6 6.0

Migrating vrealize Automation 6.2 to 7.2

VMware App Volumes Administration Guide. VMware App Volumes 2.13

Installing and Configuring vcloud Connector

VMware Horizon Session Recording Fling:

Dell EMC Ready Architectures for VDI

VMware Identity Manager Cloud Deployment. Modified on 01 OCT 2017 VMware Identity Manager

VMware Identity Manager Cloud Deployment. DEC 2017 VMware AirWatch 9.2 VMware Identity Manager

VMware vrealize Operations for Horizon Installation. VMware vrealize Operations for Horizon 6.3

Dell EMC Ready Architectures for VDI

VMware App Volumes User Guide

EventTracker: Virtual Appliance

Perceptive TransForm E-Forms Manager

Load Balancing VMware App Volumes

Dell EMC Ready System for VDI on VxRail

EventTracker: Virtual Appliance

Deploying VMware Identity Manager in the DMZ. JULY 2018 VMware Identity Manager 3.2

vsphere Upgrade Update 2 Modified on 4 OCT 2017 VMware vsphere 6.0 VMware ESXi 6.0 vcenter Server 6.0

VMWARE HORIZON CLOUD WITH VMWARE IDENTITY MANAGER QUICK START GUIDE WHITE PAPER MARCH 2018

Dell EMC vsan Ready Nodes for VDI

VMware Mirage Getting Started Guide

Dell EMC Ready System for VDI on XC Series

VMware Skyline Collector Installation and Configuration Guide. VMware Skyline 1.4

vcenter Operations Manager for Horizon View Administration

Setting Up Resources in VMware Identity Manager (SaaS) Modified 15 SEP 2017 VMware Identity Manager

VMware AirWatch Database Migration Guide A sample procedure for migrating your AirWatch database

VMware Mirage Getting Started Guide

VMware vcenter Configuration Manager Administration Guide vcenter Configuration Manager 5.7

AppController :21:56 UTC Citrix Systems, Inc. All rights reserved. Terms of Use Trademarks Privacy Statement

VMware Horizon Migration Tool User Guide

Setting Up Resources in VMware Identity Manager (On Premises) Modified on 30 AUG 2017 VMware AirWatch 9.1.1

VMware AirWatch Integration with F5 Guide Enabling secure connections between mobile applications and your backend resources

vfire Officer App Server Installation Guide Version 1.3

Cloud Help for Community Managers...3. Release Notes System Requirements Administering Jive for Office... 6

AppCapture 3.4 Administration

Using the VMware vrealize Orchestrator Client

Migrating vrealize Automation 6.2 to 7.1

APPLYING AND TROUBLESHOOTING PREDEFINED SETTINGS VMware Horizon

Deployment of FireSIGHT Management Center on VMware ESXi

Installing and Configuring vcenter Support Assistant

User guide NotifySCM Installer

Contents Upgrading BFInventory iii

vsphere Host Profiles Update 1 VMware vsphere 6.5 VMware ESXi 6.5 vcenter Server 6.5

VMware Horizon View 5.2 Reviewer s Guide REVIEWER S GUIDE

vsphere Host Profiles 17 APR 2018 VMware vsphere 6.7 VMware ESXi 6.7 vcenter Server 6.7

Oracle Hyperion EPM Installation & Configuration ( ) NEW

Getting Started with VMware View View 3.1

Deploying VMware Identity Manager in the DMZ. SEPT 2018 VMware Identity Manager 3.3

vcenter Server Installation and Setup Update 1 Modified on 30 OCT 2018 VMware vsphere 6.7 vcenter Server 6.7

VMware vfabric AppInsight Installation Guide

USING PRODUCT PROVISIONING TO DELIVER FILES TO WINDOWS 10: VMWARE WORKSPACE ONE OPERATIONAL TUTORIAL VMware Workspace ONE

vsphere Replication for Disaster Recovery to Cloud

vapp Deployment and Configuration Guide

1) Use either Chrome of Firefox to access the VMware vsphere web Client. FireFox

vcenter Support Assistant User's Guide

vrealize Operations Management Pack for NSX for vsphere 3.5.0

VMware vcenter Site Recovery Manager 4.1 Evaluator s Guide EVALUATOR'S GUIDE

PROVIDING SECURE ACCESS TO VMWARE HORIZON 7 AND VMWARE IDENTITY MANAGER WITH THE VMWARE UNIFIED ACCESS GATEWAY REVISED 2 MAY 2018

VMware Mirage Web Manager Guide

AppCapture 3.5 Administration. VMware Horizon Cloud Service with Hosted Infrastructure 17.1 VMware Horizon Cloud Service

Upgrading to VMware Identity Manager 3.3 (Linux) SEPT 2018 VMware Identity Manager 3.3

vsphere Replication for Disaster Recovery to Cloud vsphere Replication 6.5

Upgrading to VMware Identity Manager 2.7

vcloud Usage Meter 3.5 User's Guide vcloud Usage Meter 3.5

vcenter Server Installation and Setup Modified on 11 MAY 2018 VMware vsphere 6.7 vcenter Server 6.7

Integrating VMware Workspace ONE with Okta. VMware Workspace ONE

Citrix XenApp 6.5 Administration

Course CXA-206: Citrix XenApp 6.5 Administration

Transcription:

UPGRADING APP VOLUMES MANAGER SERVERS AND AGENTS: VMWARE APP VOLUMES OPERATIONAL TUTORIAL

Table of Contents Overview... 3 Introduction... 4 Purpose of This Tutorial... 5 Audience... 6 Upgrading App Volumes Manager Servers... 7 Upgrade Options for App Volumes... 8 Prerequisites for Server Upgrades... 9 Workflow to Upgrade App Volumes Manager Server...10 Verifying a Successful Upgrade of App Volumes Manager Servers...12 Upgrading App Volumes Agents...14 Verifying Existing App Volumes Agents...15 Optional Steps to Disable Certificate Validation with App Volumes Manager...17 Upgrading App Volumes Agents...18 Verifying a Successful App Volumes Agent Upgrade...19 Upgrading App Volumes Templates...20 Preserving Existing Templates...21 Upgrading App Volumes Templates...22 Summary and Additional Resources...24 Summary...25 Additional Resources...26 About the Author and Contributors...27 Feedback...28

Overview Page 3

Introduction VMware provides this operational tutorial to help you with your VMware App Volumes environment. App Volumes provides real-time application delivery and life-cycle management. IT can use App Volumes to quickly deliver applications and data to users without compromising the user experience. We are often asked about recommendations for upgrading App Volumes. The topic Upgrading App Volumes Components, in the VMware App Volumes Installation Guide, provides the technical steps to perform an upgrade. But how should upgrades be done in your environment? Can end users remain logged in during the upgrade? Can you maintain 100 percent uptime using a rolling upgrade, or should you schedule a maintenance window and take a brief outage? Page 4

Purpose of This Tutorial In this operational tutorial, we will address these questions to improve your App Volumes upgrade experience. This tutorial takes you through the steps to upgrade App Volumes Manager server and App Volumes Agents. Before you begin, you should have an App Volumes 2.12.0 or later environment available. See the Quick-Start Tutorial for VMware App Volumes to get started with a proof-of-concept, or see the VMware App Volumes Installation Guide for production installations. Note: This tutorial covers upgrades of App Volumes Manager servers, App Volumes Agents, and prepackaged templates. It does not cover upgrades of App Volumes AppStacks and writable volumes. That subject is covered in Updating AppStacks and Writable Volumes: VMware App Volumes Operational Tutorial. Page 5

Audience This tutorial is intended for IT administrators and App Volumes administrators of existing production environments. Both current and new administrators can benefit from using this tutorial. Knowledge of VMware vsphere, VMware vcenter Server, Microsoft SQL Server, and VMware Horizon 7 is helpful. Page 6

Upgrading App Volumes Manager Servers Page 7

Upgrade Options for App Volumes There are basically two strategies for upgrading during a scheduled maintenance window: Full change window In an ideal world, we recommend planning a full change window (outage), meaning you would take the App Volumes Manager servers offline and make sure no users are connected to the environment. You could then update all servers before bringing them back online. This is the safest method because it ensures that no changes are made to the environment during the upgrade process. That being said, we recognize this is not always possible. Rolling upgrade A rolling upgrade of the App Volumes Manager servers can alternatively be performed during the change window. In this model, you update the App Volumes Manager component on one server at a time, rolling through the upgrade process until all servers are upgraded. Because only one server is taken offline at a time, the App Volumes Manager service remains available, and end users will still have AppStacks and writable volumes attached to their virtual machines during the upgrade process. Page 8

Prerequisites for Server Upgrades 1. If you plan to perform a rolling upgrade, take the necessary precautions to ensure that administrators will not log in to the App Volumes Manager web-based UI and make any configuration or assignment changes. For example, send email notifying the administrators of the change window you plan to use. 2. If you plan to use a full change window for the upgrade, and take all App Volumes Manager servers offline at the same time, be sure to notify both administrators and end users that they will not be allowed to connect to the environment during the change window. Note: New logins would be affected during the upgrade process. If you take all servers offline at the same time, or if you have only one server (not recommended for production environments), the App Volumes Manager service will be unavailable during the upgrade. AppStacks and writable volumes would not be attached if end users logged in to their virtual machines during the upgrade. 3. Back up the App Volumes SQL database. Page 9

Workflow to Upgrade App Volumes Manager Server 1. Perform the tasks outlined in the Prerequisites section, in this guide. 2. If you have multiple App Volumes servers behind a load balancer, remove or turn off authentication to the first App Volumes Manager server you plan to upgrade. 3. Use vcenter Server to take a VM snapshot of the App Volumes Manager server. Be sure to choose the Snapshot the virtual machine's memory option. 4. Back up the App Volumes Manager server certificate and the nginx.conf file, located in: Drive\Cloud Volumes\nginx\conf Note: App Volumes Manager uses TLS/SSL to communicate with Active Directory, machine managers, and App Volumes Agents. It is important to replace the self-signed certificates with CA-signed certificates, especially for AppVolumes implementations in a production environment. For more information, see Using SSL Certificates with App Volumes Manager, in the VMware App Volumes Administration Guide. 5. On the first App Volumes Manager server to be upgraded, stop the App Volumes Manager service: From the Start menu, go to Administrative Tools > Services and stop the App Volumes Manager service. 6. Take note of the current time on the App Volumes Manager server. You will reference this time stamp in a later step when reviewing the App Volumes Manager log files. 7. Copy the server logs from Drive\Program Files (86)\CloudVolumes\Manager\Log to a remote file share. These log files will not exist after the upgrade, and you might need them for reference. 8. Log in to the App Volumes Manager server as an administrator and run the App Volumes installer. 9. Do not overwrite the database. Follow all prompts and connect using ODBC Native Client credentials. 10. When you choose network ports during App Volumes Manager installation, select the Allow Connections Over HTTP (insecure) option. This is optional but recommended when performing an upgrade. If you have any issues with your certificates or communications between components, you can try an alternate route (HTTP), which streamlines troubleshooting. Note: Be sure to disable this option once the upgrade is complete and functionality has been verified. 11. When installation is complete, navigate to the svmanager_setup.log file in the App Volumes Manager Log folder and verify that the upgrade was successful. Example path: C:\Program Files (x86)\cloud Volumes\Manager\Log In the svmanager_setup.log file, which contains a list of migration steps performed, verify that the last entry is AddTimeStampsToMachineManager. If you see this entry, and there are no errors before that line, you can safely assume the upgrade worked successfully. 12. If you use a load balancer and removed or disabled authentication to the App Volumes Manager server in step 2, add the server back or turn on authentication. Page 10

Repeat this procedure on the remaining App Volumes Manager servers. Page 11

Verifying a Successful Upgrade of App Volumes Manager Servers To verify the upgrade, you examine some log files. 1. Use the App Volumes Manager Dashboard to View System Messages Once the upgrade is complete on all servers, login to the App Volumes Manager dashboard, select the System Messages tab, and make sure there are no errors in the logs. Page 12

2. Use the Browser to View Logs Navigate to https://<avm_fqdn>/log and find the timestamp you noted in the previous exercise. Look for any errors. If errors are found, troubleshoot and open a ticket with VMware Global Support Services as needed. Page 13

Upgrading App Volumes Agents Page 14

Verifying Existing App Volumes Agents Before you upgrade the agents, note the Windows Registry configuration information, for comparison purposes later if you find upgrade issues. Also verify that the newly upgraded App Volumes Manager servers work with the existing agents. 1. Record the Current Registry Settings Page 15

1. On the App Volumes Agent machine, open the Registry Editor and navigate to the following paths: HKLM\SYSTEM\CurrentControlSet\services\svservice\Parameters HKLM\SYSTEM\Curr 2. Take a screenshot of all the information listed in each path. This information is for troubleshooting purposes. If the upgrade is successful, you will not need to refer to this information again. 2. Verify That the Upgraded App Volumes Manager Works with Current Agents 1. Log in as an end user to a desktop that has the current App Volumes Agent installed. 2. Verify that AppStacks and writable volumes are attached and working as expected now that you have upgraded the App Volumes Manager servers. For example, you could open Disk Management to view that writable volumes (CWritable in the screenshot) and AppStacks (CVApps in the screenshot) are attached. Page 16

Optional Steps to Disable Certificate Validation with App Volumes Manager These steps are only necessary if you want to disable secure communications between the App Volumes Agent and App Volumes Manager. This can be useful for initial testing, but should be changed to secure communications for production implementations. 1. In the Registry Editor, navigate to: HKLM\System\CurrentControlSet\Services\svservices\Parameters 2. Set the SSL key 0 (zero). 3. Restart the App Volumes service. Page 17

Upgrading App Volumes Agents 1. Log in with Administrator privileges to the machine where the App Volumes Agent is installed. 2. Before beginning the App Volumes Agent upgrade process, make sure there are no AppStacks or writable volumes attached. For example, open Disk Management to view the disks. 3. Stop the App Volumes Agent service. 4. Install the latest App Volumes Agent. Page 18

Verifying a Successful App Volumes Agent Upgrade 1. Test for end-user functionality using a VM with the new App Volumes Agent installed. 2. Verify AppStacks and writable volumes are attaching and working as expected before upgrading the App Volumes Agent on additional machines. Page 19

Upgrading App Volumes Templates Page 20

Preserving Existing Templates An App Volumes Manager upgrade will not automatically upgrade the existing templates. There are multiple reasons why you might need to keep the current or existing templates in place for days or even weeks, especially in a production environment. For example, if you have customized templates, you might need to keep the existing version until you've had the time to customize, test, and upgrade to the new templates. Page 21

Upgrading App Volumes Templates After you upgrade the App Volumes Manager servers, you must upload the prepackaged App Volumes templates again. 1. Select Upload Prepackaged Volumes 1. In the App Volumes Manager console, navigate to the Configuration tab. 2. Select Upload Prepackaged Volumes. Page 22

2. Enter Information for Accessing the Templates 1. Choose the storage location where you keep your App Volumes templates. 2. Enter your ESX username and password. 3. Choose which templates you want to upgrade, and click Upload. Page 23

Summary and Additional Resources Page 24

Summary This operational tutorial provided recommended practices to upgrade App Volumes Manager servers and App Volumes Agents. For information on upgrades of App Volumes AppStacks and writable volumes, see Updating AppStacks and Writable Volumes: VMware App Volumes Operational Tutorial. For more operational tutorials on VMware App Volumes, see VMware Digital Workspace Tech Zone. Page 25

Additional Resources For more information, you can explore the following resources: Quick-Start Tutorial for VMware App Volumes Updating AppStacks and Writable Volumes: VMware App Volumes Operational Tutorial VMware App Volumes Administration Guide VMware App Volumes Installation Guide Page 26

About the Author and Contributors Stephane Asselin is a Lead Product Architect in the Application Virtualization Business Unit, VMware. The following people contributed to the review of this paper: Josh Spencer, Senior Technical Marketing Architect, End-User-Computing Technical Marketing, VMware Caroline Arakelian, Senior Technical Marketing Manager, End-User-Computing Technical Marketing, VMware Page 27

Feedback To comment on this paper, contact VMware End-User-Computing Technical Marketing at euc_tech_content_feedback@vmware.com. Page 28