N VSphere 6 - VMware

3y ago
24 Views
2 Downloads
586.71 KB
105 Pages
Last View : 25d ago
Last Download : 3m ago
Upload by : Nadine Tse
Transcription

vSphere AvailabilityUpdate 111 JAN 2019VMware vSphere 6.7VMware ESXi 6.7vCenter Server 6.7

vSphere AvailabilityYou can find the most up-to-date technical documentation on the VMware website at:https://docs.vmware.com/If you have comments about this documentation, submit your feedback todocfeedback@vmware.comVMware, Inc.3401 Hillview Ave.Palo Alto, CA 94304www.vmware.comCopyright 2009–2019 VMware, Inc. All rights reserved. Copyright and trademark information.VMware, Inc.2

ContentsAbout vSphere Availability51 Business Continuity and Minimizing Downtime 6Reducing Planned Downtime6Preventing Unplanned Downtime7vSphere HA Provides Rapid Recovery from Outages7vSphere Fault Tolerance Provides Continuous Availability8Protecting the vCenter Server Appliance with vCenter High AvailabilityProtecting vCenter Server with VMware Service Lifecycle Manager9102 Creating and Using vSphere HA Clusters 11How vSphere HA Works11vSphere HA Admission ControlvSphere HA Interoperability2026Creating a vSphere HA Cluster30Configuring vSphere Availability Settings34 Best Practices for VMware vSphere High Availability Clusters443 Providing Fault Tolerance for Virtual Machines 48How Fault Tolerance Works48Fault Tolerance Use Cases49Fault Tolerance Requirements, Limits, and LicensingFault Tolerance Interoperability51Preparing Your Cluster and Hosts for Fault ToleranceUsing Fault Tolerance5255Best Practices for Fault ToleranceLegacy Fault Tolerance506062Troubleshooting Fault Tolerant Virtual Machines624 vCenter High Availability 69Plan the vCenter HA DeploymentConfigure the Network7075Configure vCenter HA With the vSphere ClientManage the vCenter HA Configuration7678Troubleshoot Your vCenter HA Environment85Configuration Workflow Overview in the vSphere Web ClientPatching a vCenter High Availability EnvironmentvCenter High Availability UpgradeVMware, Inc.9197973

vSphere Availability5 Using Microsoft Clustering Service for vCenter Server on Windows HighAvailability101Benefits and Limitations of Using MSCS101Upgrade vCenter Server in an MSCS EnvironmentConfigure MSCS for High AvailabilityVMware, Inc.1021034

About vSphere AvailabilityvSphere Availability describes solutions that provide business continuity, including how to establish vSphere High Availability (HA) and vSphere Fault Tolerance.Intended AudienceThis information is for anyone who wants to provide business continuity through the vSphere HA andFault Tolerance solutions. The information in this book is for experienced Windows or Linux systemadministrators who are familiar with virtual machine technology and data center operations.vSphere Client and vSphere Web ClientInstructions in this guide reflect the vSphere Client (an HTML5-based GUI). You can also use theinstructions to perform the tasks by using the vSphere Web Client (a Flex-based GUI).Tasks for which the workflow differs significantly between the vSphere Client and the vSphere Web Clienthave duplicate procedures that provide steps according to the respective client interface. The proceduresthat relate to the vSphere Web Client, contain vSphere Web Client in the title.Note In vSphere 6.7 Update 1, almost all of the vSphere Web Client functionality is implemented in thevSphere Client. For an up-to-date list of any remaining unsupported functionality, see FunctionalityUpdates for the vSphere Client.VMware, Inc.5

Business Continuity andMinimizing Downtime1Downtime, whether planned or unplanned, brings considerable costs. However, solutions that ensurehigher levels of availability have traditionally been costly, hard to implement, and difficult to manage.VMware software makes it simpler and less expensive to provide higher levels of availability for importantapplications. With vSphere, you can increase the baseline level of availability provided for all applicationsand provide higher levels of availability more easily and cost effectively. With vSphere, you can:nProvide high availability independent of hardware, operating system, and applications.nReduce the planned downtime for common maintenance operations.nProvide automatic recovery in cases of failure.vSphere makes it possible to reduce planned downtime, prevent unplanned downtime, and recoverrapidly from outages.This chapter includes the following topics:nReducing Planned DowntimenPreventing Unplanned DowntimenvSphere HA Provides Rapid Recovery from OutagesnvSphere Fault Tolerance Provides Continuous AvailabilitynProtecting the vCenter Server Appliance with vCenter High AvailabilitynProtecting vCenter Server with VMware Service Lifecycle ManagerReducing Planned DowntimePlanned downtime typically accounts for over 80% of data center downtime. Hardware maintenance,server migration, and firmware updates all require downtime for physical servers. To minimize the impactof this downtime, organizations are forced to delay maintenance until inconvenient and difficult-toschedule downtime windows.VMware, Inc.6

vSphere AvailabilityvSphere makes it possible for organizations to dramatically reduce planned downtime. Becauseworkloads in a vSphere environment can be dynamically moved to different physical servers withoutdowntime or service interruption, server maintenance can be performed without requiring application andservice downtime. With vSphere, organizations can:nEliminate downtime for common maintenance operations.nEliminate planned maintenance windows.nPerform maintenance at any time without disrupting users and services. The vSphere vMotion and Storage vMotion functionality in vSphere makes it possible for organizationsto reduce planned downtime because workloads in a VMware environment can be dynamically moved todifferent physical servers or to different underlying storage without service interruption. Administrators canperform faster and completely transparent maintenance operations, without being forced to scheduleinconvenient maintenance windows.Preventing Unplanned DowntimeWhile an ESXi host provides a robust platform for running applications, an organization must also protectitself from unplanned downtime caused from hardware or application failures. vSphere builds importantcapabilities into data center infrastructure that can help you prevent unplanned downtime.These vSphere capabilities are part of virtual infrastructure and are transparent to the operating systemand applications running in virtual machines. These features can be configured and utilized by all thevirtual machines on a physical system, reducing the cost and complexity of providing higher availability.Key availability capabilities are built into vSphere:nShared storage. Eliminate single points of failure by storing virtual machine files on shared storage,such as Fibre Channel or iSCSI SAN, or NAS. The use of SAN mirroring and replication features canbe used to keep updated copies of virtual disk at disaster recovery sites.nNetwork interface teaming. Provide tolerance of individual network card failures.nStorage multipathing. Tolerate storage path failures.In addition to these capabilities, the vSphere HA and Fault Tolerance features can minimize or eliminateunplanned downtime by providing rapid recovery from outages and continuous availability, respectively.vSphere HA Provides Rapid Recovery from OutagesvSphere HA leverages multiple ESXi hosts configured as a cluster to provide rapid recovery from outagesand cost-effective high availability for applications running in virtual machines.vSphere HA protects application availability in the following ways:nIt protects against a server failure by restarting the virtual machines on other hosts within the cluster.nIt protects against application failure by continuously monitoring a virtual machine and resetting it inthe event that a failure is detected.VMware, Inc.7

vSphere AvailabilitynIt protects against datastore accessibility failures by restarting affected virtual machines on otherhosts which still have access to their datastores.nIt protects virtual machines against network isolation by restarting them if their host becomes isolatedon the management or vSAN network. This protection is provided even if the network has becomepartitioned.Unlike other clustering solutions, vSphere HA provides the infrastructure to protect all workloads with theinfrastructure:nYou do not need to install special software within the application or virtual machine. All workloads areprotected by vSphere HA. After vSphere HA is configured, no actions are required to protect newvirtual machines. They are automatically protected.nYou can combine vSphere HA with vSphere Distributed Resource Scheduler (DRS) to protect againstfailures and to provide load balancing across the hosts within a cluster.vSphere HA has several advantages over traditional failover solutions:Minimal setupAfter a vSphere HA cluster is set up, all virtual machines in the cluster getfailover support without additional configuration.Reduced hardware costand setupThe virtual machine acts as a portable container for the applications and itcan be moved among hosts. Administrators avoid duplicate configurationson multiple machines. When you use vSphere HA, you must have sufficientresources to fail over the number of hosts you want to protect with vSphere HA. However, the VMware vCenter Server system automatically managesresources and configures clusters.Increased applicationavailabilityAny application running inside a virtual machine has access to increasedavailability. Because the virtual machine can recover from hardware failure,all applications that start at boot have increased availability withoutincreased computing needs, even if the application is not itself a clusteredapplication. By monitoring and responding to VMware Tools heartbeats andrestarting nonresponsive virtual machines, it protects against guestoperating system crashes.DRS and vMotionintegrationIf a host fails and virtual machines are restarted on other hosts, DRS canprovide migration recommendations or migrate virtual machines forbalanced resource allocation. If one or both of the source and destinationhosts of a migration fail, vSphere HA can help recover from that failure.vSphere Fault Tolerance Provides Continuous AvailabilityvSphere HA provides a base level of protection for your virtual machines by restarting virtual machines inthe event of a host failure. vSphere Fault Tolerance provides a higher level of availability, allowing usersto protect any virtual machine from a host failure with no loss of data, transactions, or connections.Fault Tolerance provides continuous availability by ensuring that the states of the Primary and SecondaryVMs are identical at any point in the instruction execution of the virtual machine.VMware, Inc.8

vSphere AvailabilityIf either the host running the Primary VM or the host running the Secondary VM fails, an immediate andtransparent failover occurs. The functioning ESXi host seamlessly becomes the Primary VM host withoutlosing network connections or in-progress transactions. With transparent failover, there is no data lossand network connections are maintained. After a transparent failover occurs, a new Secondary VM isrespawned and redundancy is re-established. The entire process is transparent and fully automated andoccurs even if vCenter Server is unavailable.Protecting the vCenter Server Appliance with vCenterHigh AvailabilityvCenter High Availability (vCenter HA) protects not only against host and hardware failures but alsoagainst vCenter Server application failures. Using automated failover from active to passive, vCenter HAsupports high availability with minimal downtime.vCenter HA protects your vCenter Server Appliance. However, Platform Services Controller providesauthentication, certificate management, and licenses for the vCenter Server Appliance. As a result, youhave to guarantee high availability of Platform Services Controller. You have the following options:nDeploy an Active node with an embedded Platform Services Controller. As part of the cloningprocess, the Platform Services Controller and all is services are cloned as well. As part ofsynchronization from Active node to Passive node, Platform Services Controller on the Passive nodeis updated.When failover from the Active node to the Passive node occurs, the Platform Services Controller onthe passive node are available and the complete environment is available.nDeploy at least two Platform Services Controller instances and place them behind a load balancer.When failover from the Active node to the Passive node occurs, the Passive node continues to pointto the load balancer. When one of the Platform Services Controller instances becomes unavailable,the load balancer directs requests to the second Platform Services Controller instance.You configure vCenter HA from the vSphere Client. The configuration wizard provides these options.OptionDescriptionAutomaticThe automatic option clones the Active node to the Passive node and witness node, and configures the nodes foryou.If your environment meets one the following requirements, you can use this option.ManualnThe vCenter Server Appliance that becomes the Active node is managing its own ESXi host and its own virtualmachine. This configuration is sometimes called a self-managed vCenter Server.nThe vCenter Server Appliance is managed by another vCenter Server. They both use an externalPlatform Services Controller and both are running vSphere 6.5 or later.The manual option offers more flexibility. You can use this option provided that your environment meets hardwareand software requirements.If you select this option, you are responsible for cloning the Active node to the Passive node and the Witness node.You must also perform some networking configuration.For more information, see #unique 9.VMware, Inc.9

vSphere AvailabilityProtecting vCenter Server with VMware Service LifecycleManagerAvailability of vCenter Server is provided by VMware Service Lifecycle Manager.If a vCenter service fails, VMware Service Lifecycle Manager restarts it. VMware Service LifecycleManager monitors the health of services and it takes preconfigured remediation action when it detects afailure. Service does not restart if multiple attempts to remediate fail.VMware, Inc.10

Creating and Using vSphere HAClusters2vSphere HA clusters enable a collection of ESXi hosts to work together so that, as a group, they providehigher levels of availability for virtual machines than each ESXi host can provide individually. When youplan the creation and usage of a new vSphere HA cluster, the options you select affect the way thatcluster responds to failures of hosts or virtual machines.Before you create a vSphere HA cluster, you should know how vSphere HA identifies host failures andisolation and how it responds to these situations. You also should know how admission control works sothat you can choose the policy that fits your failover needs. After you establish a cluster, you cancustomize its behavior with advanced options and optimize its performance by following recommendedbest practices.Note You might get an error message when you try to use vSphere HA. For information about errormessages related to vSphere HA, see the VMware knowledge base article athttp://kb.vmware.com/kb/1033634.This chapter includes the following topics:nHow vSphere HA WorksnvSphere HA Admission ControlnvSphere HA InteroperabilitynCreating a vSphere HA ClusternConfiguring vSphere Availability SettingsnBest Practices for VMware vSphere High Availability Clusters How vSphere HA WorksvSphere HA provides high availability for virtual machines by pooling the virtual machines and the hoststhey reside on into a cluster. Hosts in the cluster are monitored and in the event of a failure, the virtualmachines on a failed host are restarted on alternate hosts.VMware, Inc.11

vSphere AvailabilityWhen you create a vSphere HA cluster, a single host is automatically elected as the master host. Themaster host communicates with vCenter Server and monitors the state of all protected virtual machinesand of the slave hosts. Different types of host failures are possible, and the master host must detect andappropriately deal with the failure. The master host must distinguish between a failed host and one that isin a network partition or that has become network isolated. The master host uses network and datastoreheartbeating to determine the type of failure.Sphere HA Clusters 296383276001?bctid ref:vSphereHAClusters)Master and Subordinate HostsWhen you add a host to a vSphere HA cluster, an agent is uploaded to the host and configured tocommunicate with other agents in the cluster. Each host in the cluster functions as a master host or asubordinate host.When vSphere HA is enabled for a cluster, all active hosts (that are not in standby, maintenance mode ornot disconnected) participate in an election to choose the cluster's master host. The host that mounts thegreatest number of datastores has an advantage in the election. Only one master host typically exists percluster and all other hosts are subordinate hosts. If the master host fails, is shut down or put in standbymode, or is removed from the cluster a new election is held.The master host in a cluster has several responsibilities:nMonitoring the state of subordinate hosts. If a subordinate host fails or becomes unreachable, themaster host identifies which virtual machines must be restarted.nMonitoring the power state of all protected virtual machines. If one virtual machine fails, the masterhost ensures that it is restarted. Using a local placement engine, the master host also determineswhere the restart takes place.nManaging the lists of cluster hosts and protected virtual machines.nActing as the vCenter Server management interface to the cluster and reporting the cluster healthstate.The subordinate hosts primarily contribute to the cluster by running virtual machines locally, monitoringtheir runtime states, and reporting state updates to the master host. A master host can also run andmonitor virtual machines. Both subordinate hosts and master hosts implement the VM and ApplicationMonitoring features.One of the functions performed by the master host is to orchestrate restarts of protected virtual machines.A virtual machine is protected by a master host after vCenter Server observes that the virtual machine'spower state has changed from powered off to powered on in response to a user action. The master hostpersists the list of protected virtual machines in the cluster's datastores. A newly elected master host usesthis information to determine which virtual machines to protect.Note If you disconnect a host from a cluster, the virtual machines registered to that host are unprotectedby vSphere HA.VMware, Inc.12

vSphere AvailabilityHost Failure Types The master host of a VMware vSphere High Availability cluster is responsible for detecting the failure ofsubordinate hosts. Depending on the type of failure detected, the virtual machines running on the hostsmight need to be failed over.In a vSphere HA cluster, three types of host failure are detected:nFailure. A host stops functioning.nIsolation. A host becomes network isolated.nPartition. A host loses network connectivity with the master host.The master host monitors the liveness of the subordinate hosts in the cluster. This communicationhappens through the exchange of network heartbeats every second. When the master host stopsreceiving these heartbeats from a subordinate host, it checks for host liveness before declaring the hostfailed. The liveness check that the master host performs is to determine whether the subordinate host isexchanging heartbeats with one of the datastores. See Datastore Heartbeating. Also, the master hostchecks whether the host responds to ICMP pings sent to its management IP addresses.If a master host cannot communicate directly with the agent on a subordinate host, the subordina

Configuring vSphere Availability Settings 34 Best Practices for VMware vSphere High Availability Clusters 44 3 Providing Fault Tolerance for Virtual Machines 48 How Fault Tolerance Works 48 Fault Tolerance Use Cases 49 Fault Tolerance Requirements, Limits, and Licensing 50

Related Documents:

o VMware vSphere Web Client o DR to the Cloud services Optional Features: o VMware vSphereSDKs o vSphere Virtual Machine File System (VMFS) o vSphere Virtual SMP o vSphere vMotion o vSphere Storage vMotion o vSphere High Availability (HA) o vSphere Distributed Resource Scheduler (DRS) o vSphere Storage DRS o vSphere Fault Tolerance o vSphere .

1 VMware vSphere and the vSphere Web Services SDK 15 . Introduction to vSphere Clusters 219 VMware DRS 219 VMware HA 220 VMware HCI 220 Creating and Configuring Clusters 221 . 17 vSphere Performance 263 vSphere Performance Data Collection 263 PerformanceManager Objects and Methods 265

1 VMware vSphere and the vSphere Web Services SDK 15 . Introduction to vSphere Clusters 220 VMware DRS 220 VMware HA 221 VMware HCI 221 Creating and Configuring Clusters 222 . 17 vSphere Performance 264 vSphere Performance Data Collection 264 PerformanceManager Objects and Methods 266

15. Create and manage a vSphere cluster that is enabled with VMware vSphere High Availability and VMware vSphere 16. Distributed Resource Scheduler 17. Discuss solutions for managing the vSphere life cycle 18. Use VMware vSphere Lifecycle Manager to perform upgrades to ESXi hosts and virtual machines 備註事項 1.

15. Create and manage a vSphere cluster that is enabled with VMware vSphere High Availability and VMware vSphere 16. Distributed Resource Scheduler 17. Discuss solutions for managing the vSphere life cycle 18. Use VMware vSphere Lifecycle Manager to perform upgrades to ESXi hosts and virtual machines 備註事項 1.

CHEAT SHEET 1 / 9 VMware vSphere 4 What is VMware vSphere 4? VMware vSphere 4, the industry’s rst cloud OS Internal Cloud External Cloud VMware vCenter Suite VMware vSphere 4 Application Services VMotion Storage VMotion HA Fault Tolerance Data Recovery vShield Zones VM afe DRS Hot Add Availability Security Scalablity ESX ESXi DRS .

VMware vSphere Basics guide vSphere Installation and Setup guide vSphere Upgrade guide VMware vSphere Examples and Scenarios guide Installing and Administering VMware vSphere Update Manager . Objective 1.4 – Secure vCenter Server and ESXi . Knowledge Identify common vCenter Server privileges and roles

VMware vSphere Basics guide vSphere Installation and Setup guide vSphere Upgrade guide VMware vSphere Examples and Scenarios guide Installing and Administering VMware vSphere Update Manager . Objective 1.4 – Secure vCenter Server and ESXi . Knowledge Identify common vCenter Server privileges and roles