6.0.2
Table Of Contents
- vSphere Upgrade
- Contents
- About vSphere Upgrade
- Updated Information
- Introduction to vSphere Upgrade
- Upgrade Requirements
- vCenter Server Upgrade Compatibility
- vCenter Server for Windows Requirements
- vCenter Server Appliance Requirements
- Required Ports for vCenter Server and Platform Services Controller
- vCenter Server Database Configuration Notes
- ESXi Requirements
- vSphere DNS Requirements
- vSphere Web Client Software Requirements
- Client Integration Plug-In Software Requirements
- vSphere Client Requirements
- Required Free Space for System Logging
- Before Upgrading vCenter Server
- Verify Basic Compatibility Before Upgrading vCenter Server
- Preparing vCenter Server Databases
- Prepare Oracle Database Before Upgrading to vCenter Server 6.0
- Prepare Microsoft SQL Server Database Before Upgrading to vCenter Server 6.0
- Use a Script to Create and Apply a Microsoft SQL Server Database Schema and Roles
- Prepare PostgreSQL Database Before Upgrading to vCenter Server 6.0
- Database Permission Requirements for vCenter Server
- Verify That vCenter Server Can Communicate with the Local Database
- Verify Network Prerequisites Before Upgrading
- Verify Load Balancer Before Upgrading vCenter Server
- Prepare ESXi Hosts for vCenter Server Upgrade
- Verify Preparations Are Complete for Upgrading vCenter Server
- Required Information for Upgrading vCenter Server for Windows
- Required Information for Upgrading the vCenter Server Appliance
- Upgrading and Updating vCenter Server for Windows
- About the vCenter Server 6.0 for Windows Upgrade Process
- Migration of Distributed vCenter Server for Windows Services During Upgrade to vCenter Server 6.0
- Download the vCenter Server for Windows Installer
- Upgrade vCenter Single Sign-On 5.1 for External Deployment
- Upgrade vCenter Single Sign-On 5.5 for External Deployment
- Upgrade vCenter Server 5.0
- Upgrade vCenter Server 5.1 for Windows
- Upgrade vCenter Server 5.5 for Windows
- Update the Java Components and vCenter Server tc Server with VIMPatch
- Upgrading and Patching the vCenter Server Appliance and Platform Services Controller Appliance
- After Upgrading vCenter Server
- Complete vCenter Server Postupgrade Component Configuration
- Reconfigure Migrated vCenter Server Services After Upgrade
- Install or Upgrade vSphere Authentication Proxy
- Upgrade the vSphere Client
- Configuring VMware vCenter Server - tc Server Settings in vCenter Server
- Setting the vCenter Server Administrator User
- Authenticating to the vCenter Server Environment
- Identity Sources for vCenter Server with vCenter Single Sign-On
- Restore ESXi Certificate and Key Files
- Repoint the Connections Between vCenter Server and Platform Services Controller
- Reconfigure a Standalone vCenter Server with an Embedded Platform Services Controller to a vCenter Server with an External Platform Services Controller
- Reconfigure Multiple Joined Instances of vCenter Server with an Embedded Platform Services Controller to vCenter Server with an External Platform Services Controller
- Verify that the Services of the Embedded Platform Services Controller Instances are Running
- Configure Replication Agreement Between All External Platform Services Controller Instances
- Reconfigure Each vCenter Server Instance and Repoint It from an Embedded to External Platform Services Controller Instance
- Upgrading Update Manager
- Before Upgrading Hosts
- Best Practices for ESXi Upgrades
- Upgrade Options for ESXi 6.0
- Upgrading Hosts That Have Third-Party Custom VIBs
- Using Manually Assigned IP Addresses for Upgrades Performed with vSphere Update Manager
- Media Options for Booting the ESXi Installer
- Download and Burn the ESXi Installer ISO Image to a CD or DVD
- Format a USB Flash Drive to Boot the ESXi Installation or Upgrade
- Create a USB Flash Drive to Store the ESXi Installation Script or Upgrade Script
- Create an Installer ISO Image with a Custom Installation or Upgrade Script
- PXE Booting the ESXi Installer
- Installing and Booting ESXi with Software FCoE
- Using Remote Management Applications
- Download the ESXi Installer
- Upgrading Hosts
- Using vSphere Update Manager to Perform Orchestrated Host Upgrades
- Configuring Host and Cluster Settings
- Perform an Orchestrated Upgrade of Hosts Using vSphere Update Manager
- Configure Host Maintenance Mode Settings
- Configure Cluster Settings
- Enable Remediation of PXE Booted ESXi Hosts
- Import Host Upgrade Images and Create Host Upgrade Baselines
- Create a Host Baseline Group
- Attach Baselines and Baseline Groups to Objects
- Manually Initiate a Scan of ESXi Hosts
- View Compliance Information for vSphere Objects
- Remediate Hosts Against an Upgrade Baseline
- Remediate Hosts Against Baseline Groups
- Installing or Upgrading Hosts by Using a Script
- Enter Boot Options to Start an Installation or Upgrade Script
- Boot Options
- About Installation and Upgrade Scripts
- Install or Upgrade ESXi from a CD or DVD by Using a Script
- Install or Upgrade ESXi from a USB Flash Drive by Using a Script
- Performing a Scripted Installation or Upgrade of ESXi by Using PXE to Boot the Installer
- Using vSphere Auto Deploy to Reprovision Hosts
- Upgrading Hosts by Using esxcli Commands
- VIBs, Image Profiles, and Software Depots
- Understanding Acceptance Levels for VIBS and Hosts
- Determine Whether an Update Requires the Host to Be in Maintenance Mode or to Be Rebooted
- Place a Host in Maintenance Mode
- Update a Host with Individual VIBs
- Upgrade or Update a Host with Image Profiles
- Update ESXi Hosts by Using Zip Files
- Remove VIBs from a Host
- Adding Third-Party Extensions to Hosts with an esxcli Command
- Perform a Dry Run of an esxcli Installation or Upgrade
- Display the Installed VIBs and Profiles That Will Be Active After the Next Host Reboot
- Display the Image Profile and Acceptance Level of the Host
- Upgrade Hosts Interactively
- Using vSphere Update Manager to Perform Orchestrated Host Upgrades
- After You Upgrade ESXi Hosts
- Upgrading Virtual Machines and VMware Tools
- Troubleshooting a vSphere Upgrade
- Collecting Logs for Troubleshooting a vCenter Server Installation or Upgrade
- Collect Logs to Troubleshoot ESXi Hosts
- Errors and Warnings Returned by the Installation and Upgrade Precheck Script
- Restore vCenter Server Services If Upgrade Fails
- VMware Component Manager Error During Startup After vCenter Server Appliance Upgrade
- Microsoft SQL Database Set to Unsupported Compatibility Mode Causes vCenter Server Installation or Upgrade to Fail
- Index
n
During testing, you can apply an image prole to an individual host with the Apply-EsxImageProfile
cmdlet and reboot the host so the change takes eect. The Apply-EsxImageProfile cmdlet updates the
association between the host and the image prole but does not install VIBs on the host.
n
In all other cases, use this procedure.
Prerequisites
n
Create the image prole you want boot the host with. Use the Image Builder PowerCLI. See "Using
vSphere ESXi Image Builder CLI" in the vSphere Installation and Setup documentation.
n
Make sure that the setup that you performed during the rst boot operation is in place.
Procedure
1 At the PowerShell prompt, run the Connect-VIServer PowerCLI cmdlet to connect to the vCenter Server
system that Auto Deploy is registered with.
Connect-VIServer myVCServer
The cmdlet might return a server certicate warning. In a production environment, make sure no server
certicate warnings result. In a development environment, you can ignore the warning.
2 Determine the location of a public software depot that contains the image prole that you want to use,
or dene a custom image prole with the Image Builder PowerCLI.
3 Run Add-EsxSoftwareDepot to add the software depot that contains the image prole to the PowerCLI
session.
Depot Type Cmdlet
Remote depot
Run Add-EsxSoftwareDepot depot_url.
ZIP file
a Download the ZIP le to a local le path or create a mount point local
to the PowerCLI machine.
b Run
Add-EsxSoftwareDepot C:\file_path\my_offline_depot.zip.
4 Run Get-EsxImageProfile to see a list of image proles, and decide which prole you want to use.
5 Run Copy-DeployRule and specify the ReplaceItem parameter to change the rule that assigns an image
prole to hosts.
The following cmdlet replaces the current image prole that the rule assigns to the host with the
my_new_imageprole prole. After the cmdlet completes, myrule assigns the new image prole to hosts.
The old version of myrule is renamed and hidden.
Copy-DeployRule myrule -ReplaceItem my_new_imageprofile
6 Test and repair rule compliance for each host that you want to deploy the image to.
See “Test and Repair Rule Compliance,” on page 187.
When you reboot hosts after compliance repair, Auto Deploy provisions the hosts with the new image
prole.
Write a Rule and Assign a Host Profile to Hosts
Auto Deploy can assign a host prole to one or more hosts. The host prole might include information
about storage conguration, network conguration, or other characteristics of the host. If you add a host to a
cluster, that cluster's host prole is used.
In many cases, you assign a host to a cluster instead of specifying a host prole explicitly. The host uses the
host prole of the cluster.
vSphere Upgrade
186 VMware, Inc.