VMware vSphere HA Recommendations to Maximize Virtual ...2 Disclaimer This session may contain...

75
VMware vSphere HA Recommendations to Maximize Virtual Machine Uptime Josh Gray, VMware, Inc. Jeff Hunter, VMware, Inc. INF-BCO2382 #vmworldinf

Transcript of VMware vSphere HA Recommendations to Maximize Virtual ...2 Disclaimer This session may contain...

Page 1: VMware vSphere HA Recommendations to Maximize Virtual ...2 Disclaimer This session may contain product features that are currently under development. This session/overview of the new

VMware vSphere HA Recommendations to Maximize Virtual Machine Uptime

Josh Gray, VMware, Inc.

Jeff Hunter, VMware, Inc.

INF-BCO2382

#vmworldinf

Page 2: VMware vSphere HA Recommendations to Maximize Virtual ...2 Disclaimer This session may contain product features that are currently under development. This session/overview of the new

2

Disclaimer

This session may contain product features that are currently under development.

This session/overview of the new technology represents no commitment from VMware to deliver these features in any generally available product.

Features are subject to change, and must not be included in contracts, purchase orders, or sales agreements of any kind.

Technical feasibility and market demand will affect final delivery.

Pricing and packaging for any new technologies or features discussed or presented have not been determined.

Page 3: VMware vSphere HA Recommendations to Maximize Virtual ...2 Disclaimer This session may contain product features that are currently under development. This session/overview of the new

3

High Availability is Part of IT Business Continuity

Page 4: VMware vSphere HA Recommendations to Maximize Virtual ...2 Disclaimer This session may contain product features that are currently under development. This session/overview of the new

4

Just a Few Clicks to Higher Availability

Turn ON vSphere HA

OK

Page 5: VMware vSphere HA Recommendations to Maximize Virtual ...2 Disclaimer This session may contain product features that are currently under development. This session/overview of the new

5

Global Support Services (GSS)

Bangalore, India

Tokyo, Japan

Cork, Ireland Burlington, Canada

Palo Alto, CA Broomfield, CO

Support offices Local language support

Spanish, Portuguese, French, German, Japanese, Chinese

Global Coverage 24x7, 365 days/year 6 Support Centers

1000+ Support Engineers

Follow-the-sun Support for

Severity 1 Issues

Support Relationships with 100% of the

Fortune 100; 99% of Fortune 500

Page 6: VMware vSphere HA Recommendations to Maximize Virtual ...2 Disclaimer This session may contain product features that are currently under development. This session/overview of the new

6

Recent Enhancements

Page 7: VMware vSphere HA Recommendations to Maximize Virtual ...2 Disclaimer This session may contain product features that are currently under development. This session/overview of the new

7

vSphere 5.0 Major Redesign

Fault Domain Manager (FDM)

Page 8: VMware vSphere HA Recommendations to Maximize Virtual ...2 Disclaimer This session may contain product features that are currently under development. This session/overview of the new

8

vSphere 5.1 Minor Updates

Page 9: VMware vSphere HA Recommendations to Maximize Virtual ...2 Disclaimer This session may contain product features that are currently under development. This session/overview of the new

9

Recommendations: Networking

Redundant Management Network

Fewest hops possible

Route based on originating port ID

Failback policy = No

Enable PortFast, Edge, etc.

MTU size the same

Keep things simple

Page 10: VMware vSphere HA Recommendations to Maximize Virtual ...2 Disclaimer This session may contain product features that are currently under development. This session/overview of the new

10

Recommendations: Networking

Consistent portgroup names, network labels

Host Monitoring during network maintenance

Use Maintenance Mode

Separate subnet for vSphere HA

Specify additional network isolation address

Each host can communicate with all other hosts

Keep things simple

Page 11: VMware vSphere HA Recommendations to Maximize Virtual ...2 Disclaimer This session may contain product features that are currently under development. This session/overview of the new

11

Recommendations: Networking

Page 12: VMware vSphere HA Recommendations to Maximize Virtual ...2 Disclaimer This session may contain product features that are currently under development. This session/overview of the new

12

Recommendations: Networking

Advanced Configuration Options • das.allowNetwork[0-9]=

• das.isolationAddress[0-9]=

• das.useDefaultIsolationAddress= (true/false)

• das.failuredetectiontime • Not supported in vCenter 5.x

Page 13: VMware vSphere HA Recommendations to Maximize Virtual ...2 Disclaimer This session may contain product features that are currently under development. This session/overview of the new

13

Recommendations: Storage

Implement multiple paths

• HBAs, storage processors (SPs), NICs, switches

• Appropriate multipathing policy

Page 14: VMware vSphere HA Recommendations to Maximize Virtual ...2 Disclaimer This session may contain product features that are currently under development. This session/overview of the new

14

Recommendations: Storage

Storage Heartbeats

• HA selects two datastores by default

Page 15: VMware vSphere HA Recommendations to Maximize Virtual ...2 Disclaimer This session may contain product features that are currently under development. This session/overview of the new

15

Recommendations: Storage

Storage Heartbeats

• Override auto-selected datastores if necessary

Page 16: VMware vSphere HA Recommendations to Maximize Virtual ...2 Disclaimer This session may contain product features that are currently under development. This session/overview of the new

16

HA Events (How to Avoid Problems)

Page 17: VMware vSphere HA Recommendations to Maximize Virtual ...2 Disclaimer This session may contain product features that are currently under development. This session/overview of the new

17

Possible HA Events: Host Failure

Network partition Host isolation

Page 18: VMware vSphere HA Recommendations to Maximize Virtual ...2 Disclaimer This session may contain product features that are currently under development. This session/overview of the new

18

HA Events: Host Failures

Page 19: VMware vSphere HA Recommendations to Maximize Virtual ...2 Disclaimer This session may contain product features that are currently under development. This session/overview of the new

19

HA Events: Network Partition

Page 20: VMware vSphere HA Recommendations to Maximize Virtual ...2 Disclaimer This session may contain product features that are currently under development. This session/overview of the new

20

Recommendations: Network Partition

Symptoms: Network Partition

Page 21: VMware vSphere HA Recommendations to Maximize Virtual ...2 Disclaimer This session may contain product features that are currently under development. This session/overview of the new

21

Recommendations: Network Partition

Symptoms: Network Partition

Master

Page 22: VMware vSphere HA Recommendations to Maximize Virtual ...2 Disclaimer This session may contain product features that are currently under development. This session/overview of the new

22

Recommendations: Network Partition

Symptoms: Network Partition

Page 23: VMware vSphere HA Recommendations to Maximize Virtual ...2 Disclaimer This session may contain product features that are currently under development. This session/overview of the new

23

Recommendations: Network Partition

Symptoms: Network Partition

New Master

Page 24: VMware vSphere HA Recommendations to Maximize Virtual ...2 Disclaimer This session may contain product features that are currently under development. This session/overview of the new

24

Recommendations: Network Partition

Symptoms: Network Partition

New Master

New Master

Page 25: VMware vSphere HA Recommendations to Maximize Virtual ...2 Disclaimer This session may contain product features that are currently under development. This session/overview of the new

25

HA Events: Host Isolation

Page 26: VMware vSphere HA Recommendations to Maximize Virtual ...2 Disclaimer This session may contain product features that are currently under development. This session/overview of the new

26

Host Isolation Policies: Leave Powered On

Power Off

Shutdown

Page 27: VMware vSphere HA Recommendations to Maximize Virtual ...2 Disclaimer This session may contain product features that are currently under development. This session/overview of the new

27

Which Policy? (How to Avoid Problems)

Page 28: VMware vSphere HA Recommendations to Maximize Virtual ...2 Disclaimer This session may contain product features that are currently under development. This session/overview of the new

28

Depends. (on HOW You Want to Avoid Problems)

Page 29: VMware vSphere HA Recommendations to Maximize Virtual ...2 Disclaimer This session may contain product features that are currently under development. This session/overview of the new

29

Likelihood….

Page 30: VMware vSphere HA Recommendations to Maximize Virtual ...2 Disclaimer This session may contain product features that are currently under development. This session/overview of the new

30

Recommendations: Isolation Response

Host will retain access to

datastores?

VMs will retain access to VM

network?

Recommended Isolation Policy Rationale

Likely Likely Leave Powered On

VM is running fine, why power it off

Likely Unlikely Leave Powered On or Shutdown

Allow HA to restart on hosts that are not isolated, likely to have access to

storage

Unlikely Likely Power off Avoid having two instances of the same VM on the

network

Page 31: VMware vSphere HA Recommendations to Maximize Virtual ...2 Disclaimer This session may contain product features that are currently under development. This session/overview of the new

31

Recommendations: Isolation Response

Host will retain access to

datastores?

VMs will retain access to VM

network?

Recommended Isolation Policy Rationale

Likely Likely Leave Powered On

VM is running fine, why power it off

Likely Unlikely Leave Powered On or Shutdown

Allow HA to restart on hosts that are not isolated, likely to have access to

storage

Unlikely Likely Power off Avoid having two instances of the same VM on the

network

Page 32: VMware vSphere HA Recommendations to Maximize Virtual ...2 Disclaimer This session may contain product features that are currently under development. This session/overview of the new

32

Recommendations: Isolation Response

Host will retain access to

datastores?

VMs will retain access to VM

network?

Recommended Isolation Policy Rationale

Likely Likely Leave Powered On

VM is running fine, why power it off

Likely Unlikely Leave Powered On or Shutdown

Allow HA to restart on hosts that are not isolated, likely to have access to

storage

Unlikely Likely Power off Avoid having two instances of the same VM on the

network

Page 33: VMware vSphere HA Recommendations to Maximize Virtual ...2 Disclaimer This session may contain product features that are currently under development. This session/overview of the new

33

Recommendations: Isolation Response

Host will retain access to

datastores?

VMs will retain access to VM

network?

Recommended Isolation Policy Rationale

Likely Likely Leave Powered On

VM is running fine, why power it off

Likely Unlikely Leave Powered On or Shutdown

Allow HA to restart on hosts that are not isolated, likely to have access to

storage

Unlikely Likely Power off Avoid having two instances of the same VM on the

network

Page 34: VMware vSphere HA Recommendations to Maximize Virtual ...2 Disclaimer This session may contain product features that are currently under development. This session/overview of the new

34

Recommendations: Isolation Response

Host will retain access to

datastores?

VMs will retain access to VM

network?

Recommended Isolation Policy Rationale

Likely Likely Leave Powered On

VM is running fine, why power it off

Likely Unlikely Leave Powered On or Shutdown

Allow HA to restart on hosts that are not isolated, likely to have access to

storage

Unlikely Likely Power off Avoid having two instances of the same VM on the

network

Page 35: VMware vSphere HA Recommendations to Maximize Virtual ...2 Disclaimer This session may contain product features that are currently under development. This session/overview of the new

35

Recommendations: Isolation Response

Host will retain access to

datastores?

VMs will retain access to VM

network?

Recommended Isolation Policy Rationale

Likely Likely Leave Powered On

VM is running fine, why power it off

Likely Unlikely Leave Powered On or Shutdown

Allow HA to restart on hosts that are not isolated, likely to have access to

storage

Unlikely Likely Power off Avoid having two instances of the same VM on the

network

Page 36: VMware vSphere HA Recommendations to Maximize Virtual ...2 Disclaimer This session may contain product features that are currently under development. This session/overview of the new

36

Recommendations: Isolation Response

Host will retain access to

datastores?

VMs will retain access to VM

network?

Recommended Isolation Policy Rationale

Likely Likely Leave Powered On

VM is running fine, why power it off

Likely Unlikely Leave Powered On or Shutdown

Allow HA to restart on hosts that are not isolated, likely to have access to

storage

Unlikely Likely Power off Avoid having two instances of the same VM on the

network

Page 37: VMware vSphere HA Recommendations to Maximize Virtual ...2 Disclaimer This session may contain product features that are currently under development. This session/overview of the new

37

Admission Control (How to Avoid Problems)

Page 38: VMware vSphere HA Recommendations to Maximize Virtual ...2 Disclaimer This session may contain product features that are currently under development. This session/overview of the new

38

Admission Control Policies: Static number of hosts

Percentage of cluster resources Dedicated failover hosts

Page 39: VMware vSphere HA Recommendations to Maximize Virtual ...2 Disclaimer This session may contain product features that are currently under development. This session/overview of the new

39

Static Number of Hosts Admission Control Policy

Page 40: VMware vSphere HA Recommendations to Maximize Virtual ...2 Disclaimer This session may contain product features that are currently under development. This session/overview of the new

40

Recommendations: Admission Control

Number of Hosts (Host Failures Cluster Tolerates)

VMware vSphere

Page 41: VMware vSphere HA Recommendations to Maximize Virtual ...2 Disclaimer This session may contain product features that are currently under development. This session/overview of the new

41

Recommendations: Admission Control

Number of Hosts (Host Failures Cluster Tolerates)

Each Host: 4 CPU x 2.40 GHz CPU 16 GB memory

Cluster: 38 GHz 64 GB memory

Page 42: VMware vSphere HA Recommendations to Maximize Virtual ...2 Disclaimer This session may contain product features that are currently under development. This session/overview of the new

42

Recommendations: Admission Control

Number of Hosts (Host Failures Cluster Tolerates)

Reservation: 2 GHz 1024 MB

Reservation: 1 GHz 2048 MB

Each Host: 4 CPU x 2.40 GHz CPU 16 GB memory

Cluster: 38 GHz 64 GB memory

Page 43: VMware vSphere HA Recommendations to Maximize Virtual ...2 Disclaimer This session may contain product features that are currently under development. This session/overview of the new

43

Recommendations: Admission Control

Number of Hosts (Host Failures Cluster Tolerates)

Reservation: 2 GHz 1024 MB

Reservation: 1 GHz 2048 MB

Page 44: VMware vSphere HA Recommendations to Maximize Virtual ...2 Disclaimer This session may contain product features that are currently under development. This session/overview of the new

44

Recommendations: Admission Control

Number of Hosts (Host Failures Cluster Tolerates)

Reservation: 2 GHz 1024 MB

Reservation: 1 GHz 2048 MB

Page 45: VMware vSphere HA Recommendations to Maximize Virtual ...2 Disclaimer This session may contain product features that are currently under development. This session/overview of the new

45

Recommendations: Admission Control

Number of Hosts (Host Failures Cluster Tolerates)

Reservation: 2 GHz 1024 MB

Reservation: 1 GHz 2048 MB

Page 46: VMware vSphere HA Recommendations to Maximize Virtual ...2 Disclaimer This session may contain product features that are currently under development. This session/overview of the new

46

Recommendations: Admission Control

Number of Hosts (Host Failures Cluster Tolerates)

VM VM

Page 47: VMware vSphere HA Recommendations to Maximize Virtual ...2 Disclaimer This session may contain product features that are currently under development. This session/overview of the new

47

Recommendations: Admission Control

Number of Hosts (Host Failures Cluster Tolerates)

VM VM

Page 48: VMware vSphere HA Recommendations to Maximize Virtual ...2 Disclaimer This session may contain product features that are currently under development. This session/overview of the new

48

Recommendations: Admission Control

Number of Hosts (Host Failures Cluster Tolerates)

VM VM

Page 49: VMware vSphere HA Recommendations to Maximize Virtual ...2 Disclaimer This session may contain product features that are currently under development. This session/overview of the new

49

Recommendations: Admission Control

Number of Hosts (Host Failures Cluster Tolerates)

VM VM

Page 50: VMware vSphere HA Recommendations to Maximize Virtual ...2 Disclaimer This session may contain product features that are currently under development. This session/overview of the new

50

Recommendations: Admission Control

Number of Hosts (Host Failures Cluster Tolerates)

VM VM

Page 51: VMware vSphere HA Recommendations to Maximize Virtual ...2 Disclaimer This session may contain product features that are currently under development. This session/overview of the new

51

Recommendations: Admission Control

Number of Hosts (Host Failures Cluster Tolerates) Windows

Client

vSphere Web Client

Page 52: VMware vSphere HA Recommendations to Maximize Virtual ...2 Disclaimer This session may contain product features that are currently under development. This session/overview of the new

52

Recommendations: Admission Control

Number of Hosts (Host Failures Cluster Tolerates) Windows

Client

vSphere Web Client

Page 53: VMware vSphere HA Recommendations to Maximize Virtual ...2 Disclaimer This session may contain product features that are currently under development. This session/overview of the new

53

Recommendations: Admission Control

Number of Hosts (Host Failures Cluster Tolerates)

• vSphere Windows Client • Sets a “cap” on the slot size

Override default

behavior

Page 54: VMware vSphere HA Recommendations to Maximize Virtual ...2 Disclaimer This session may contain product features that are currently under development. This session/overview of the new

54

Recommendations: Admission Control

Number of Hosts (Host Failures Cluster Tolerates)

• vSphere Web Client • Sets the exact size. Important difference.

Override default

behavior

Page 55: VMware vSphere HA Recommendations to Maximize Virtual ...2 Disclaimer This session may contain product features that are currently under development. This session/overview of the new

55

Recommendations: Admission Control

Number of Hosts (Host Failures Cluster Tolerates)

VM VM

Page 56: VMware vSphere HA Recommendations to Maximize Virtual ...2 Disclaimer This session may contain product features that are currently under development. This session/overview of the new

56

Recommendations: Admission Control

Number of Hosts (Host Failures Cluster Tolerates)

VM VM

Page 57: VMware vSphere HA Recommendations to Maximize Virtual ...2 Disclaimer This session may contain product features that are currently under development. This session/overview of the new

57

Recommendations: Admission Control

Number of Hosts (Host Failures Cluster Tolerates)

VM VM

Page 58: VMware vSphere HA Recommendations to Maximize Virtual ...2 Disclaimer This session may contain product features that are currently under development. This session/overview of the new

58

Recap: Static Number of Hosts

Admission Control Policy

Page 59: VMware vSphere HA Recommendations to Maximize Virtual ...2 Disclaimer This session may contain product features that are currently under development. This session/overview of the new

59

% of Cluster Resources Admission Control Policy

Page 60: VMware vSphere HA Recommendations to Maximize Virtual ...2 Disclaimer This session may contain product features that are currently under development. This session/overview of the new

60

Recommendations: Admission Control

Percentage of cluster resources

Page 61: VMware vSphere HA Recommendations to Maximize Virtual ...2 Disclaimer This session may contain product features that are currently under development. This session/overview of the new

61

Recommendations: Admission Control

Percentage of cluster resources

Page 62: VMware vSphere HA Recommendations to Maximize Virtual ...2 Disclaimer This session may contain product features that are currently under development. This session/overview of the new

62

Recommendations: Admission Control

Percentage of cluster resources

Page 63: VMware vSphere HA Recommendations to Maximize Virtual ...2 Disclaimer This session may contain product features that are currently under development. This session/overview of the new

63

Recommendations: Admission Control

Percentage of cluster resources

Page 64: VMware vSphere HA Recommendations to Maximize Virtual ...2 Disclaimer This session may contain product features that are currently under development. This session/overview of the new

64

Dedicated Failover Hosts Admission Control Policy

Page 65: VMware vSphere HA Recommendations to Maximize Virtual ...2 Disclaimer This session may contain product features that are currently under development. This session/overview of the new

65

Recommendations: Admission Control

Page 66: VMware vSphere HA Recommendations to Maximize Virtual ...2 Disclaimer This session may contain product features that are currently under development. This session/overview of the new

66

Which Do I Use?!?!

Page 67: VMware vSphere HA Recommendations to Maximize Virtual ...2 Disclaimer This session may contain product features that are currently under development. This session/overview of the new

67

Recommendations: Admission Control

“Basic design principle: Do the math, and take customer requirements into account. If you need flexibility a “Percentage” is the way to go.”

– Frank Denneman & Duncan Epping VMware vSphere 5 Clustering – Technical Deepdive

Page 68: VMware vSphere HA Recommendations to Maximize Virtual ...2 Disclaimer This session may contain product features that are currently under development. This session/overview of the new

68

vSphere HA VM Monitoring

VM Monitoring restarts VM if…

• VMware Tools Heartbeat not received

• No network or disk activity within I/O stats interval • Default 120 seconds – customize in vSphere Web Client

Page 69: VMware vSphere HA Recommendations to Maximize Virtual ...2 Disclaimer This session may contain product features that are currently under development. This session/overview of the new

69

vSphere HA Application Monitoring

3rd-Party Solutions • Symantec ApplicationHA

• Neverfail vAppHA

Application Awareness API open with vSphere 5.0 • Download VMware GuestAppMonitor SDK with 5.0

• Download VMware Guest SDK for vSphere 5.1

Page 70: VMware vSphere HA Recommendations to Maximize Virtual ...2 Disclaimer This session may contain product features that are currently under development. This session/overview of the new

70

vSphere HA Futures

VMware vSphere HA Today • Storage interconnect most commonly queried KB issue

• Assumes storage connected on other hosts

• Improvements with vSphere 5.0 U1 and 5.1

Virtual Machine Component Protection (VMCP) • Fine-grained controls for VM restart policy

• Queries destination host(s) for storage health

• Demo in VMware booth on show floor

Page 71: VMware vSphere HA Recommendations to Maximize Virtual ...2 Disclaimer This session may contain product features that are currently under development. This session/overview of the new

71

vSphere HA Futures

VMware vSphere Fault Tolerance (FT) Today • Protects only VMs with 1 vCPU

• Many mission-critical apps require multiple vCPUs

SMP Fault Tolerance (FT) • Protect VMs that have more than one vCPU

Page 72: VMware vSphere HA Recommendations to Maximize Virtual ...2 Disclaimer This session may contain product features that are currently under development. This session/overview of the new

72

Customer Support Day Events

Coming to a location near you: sharing of VMware best practices!

Support Days are a collaboration between VMware Support, Sales and customers – you learn directly from the experts

Topics are driven by customer input, and typically include: • Best practices • Tips/tricks • Top issues • Product roadmaps/demos • Certification offerings

http://www.vmware.com/go/supportdays

Page 73: VMware vSphere HA Recommendations to Maximize Virtual ...2 Disclaimer This session may contain product features that are currently under development. This session/overview of the new

73

VMware GSS: Important Links

Blogs Support Insider: blogs.vmware.com/kb KBTV: blogs.vmware.com/kbtv KB Digest: blogs.vmware.com/kbdigest

Twitter @vmwarecares: twitter.com/vmwarecares @vmwarekb: twitter.com/vmwarekb Facebook https://www.facebook.com/vmwkb

Communities communities.vmware.com

YouTube KBTV: youtube.com/user/vmwarekb

Support and Downloads: vmware.com/support

Technical Support Welcome Guide: vmware.com/go/supportguide

Get Support via My VMware: my.vmware.com/group/vmware/get-help

Licensing Help Center: vmware.com/support/licensing

Knowledge Base: kb.vmware.com

Customer Support Days: vmware.com/go/supportdays

Renewals: vmware.com/go/renew

Customer Advocacy: [email protected]

Product Support Centers: vmware.com/support/product-support

Page 74: VMware vSphere HA Recommendations to Maximize Virtual ...2 Disclaimer This session may contain product features that are currently under development. This session/overview of the new

FILL OUT A SURVEY

EVERY COMPLETE SURVEY IS ENTERED INTO DRAWING FOR A

$25 VMWARE COMPANY STORE GIFT CERTIFICATE

Page 75: VMware vSphere HA Recommendations to Maximize Virtual ...2 Disclaimer This session may contain product features that are currently under development. This session/overview of the new

VMware vSphere HA Recommendations to Maximize Virtual Machine Uptime

Josh Gray, VMware, Inc.

Jeff Hunter, VMware, Inc.

INF-BCO2382

#vmworldinf