derived from vmware education services course ‘virtual...

19
Derived from VMware Education Services course ‘Virtual Infrastructure’ See http://www.vmware.com/services/education.html for course schedule

Upload: others

Post on 17-Apr-2020

7 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Derived from VMware Education Services course ‘Virtual ...download3.vmware.com/vmworld/2005/sln349.pdf · Derived from VMware Education Services course ‘Virtual Infrastructure

Derived from VMware Education Services course ‘Virtual Infrastructure’See http://www.vmware.com/services/education.html for course schedule

Page 2: Derived from VMware Education Services course ‘Virtual ...download3.vmware.com/vmworld/2005/sln349.pdf · Derived from VMware Education Services course ‘Virtual Infrastructure

Derived from VMware Education Services course ‘Virtual Infrastructure’See http://www.vmware.com/services/education.html for course schedule

Higher Availability with VMware Software: Implementation and

Best PracticesSLN349

Craig WilliamsVMware Education

Page 3: Derived from VMware Education Services course ‘Virtual ...download3.vmware.com/vmworld/2005/sln349.pdf · Derived from VMware Education Services course ‘Virtual Infrastructure

Derived from VMware Education Services course ‘Virtual Infrastructure’See http://www.vmware.com/services/education.html for course schedule

This presentation may contain VMware confidential information.

Copyright © 2005 VMware, Inc. All rights reserved. All other marks and names mentioned herein may be trademarks of their respective

companies.

Page 4: Derived from VMware Education Services course ‘Virtual ...download3.vmware.com/vmworld/2005/sln349.pdf · Derived from VMware Education Services course ‘Virtual Infrastructure

Derived from VMware Education Services course ‘Virtual Infrastructure’See http://www.vmware.com/services/education.html for course schedule

Networking

Page 5: Derived from VMware Education Services course ‘Virtual ...download3.vmware.com/vmworld/2005/sln349.pdf · Derived from VMware Education Services course ‘Virtual Infrastructure

Derived from VMware Education Services course ‘Virtual Infrastructure’See http://www.vmware.com/services/education.html for course schedule

Virtual Switches With ≥2Outbound Adapters (‘Bonds’)

Each connects virtual machines to an 802.3ad NIC team

Up to 32 virtual machines can connect to one bond Zero collisions internal trafficEach virtual NIC will have its own MAC addressImproved network performance: network traffic load balancingRedundant NIC operationBandwidth per virtual machine can be controlled with traffic shaping

Page 6: Derived from VMware Education Services course ‘Virtual ...download3.vmware.com/vmworld/2005/sln349.pdf · Derived from VMware Education Services course ‘Virtual Infrastructure

Derived from VMware Education Services course ‘Virtual Infrastructure’See http://www.vmware.com/services/education.html for course schedule

Creating a NIC TeamUp to 10 physical NICs can be placed in one teamUp to 10 teams can be createdA physical NIC that is used in a team can no longer be assigned stand-alone

This server has an unassigned adapter

Add it to the virtual switch

Page 7: Derived from VMware Education Services course ‘Virtual ...download3.vmware.com/vmworld/2005/sln349.pdf · Derived from VMware Education Services course ‘Virtual Infrastructure

Derived from VMware Education Services course ‘Virtual Infrastructure’See http://www.vmware.com/services/education.html for course schedule

Load Balancing and Switch FailoverDefault: Each virtual machine’s outbound traffic is mapped to a specific physical NIC based on the virtual machine’s MAC address

Low overheadCompatible with all switchesMay not spread traffic out evenly

A NIC for each outbound packet is chosen based on its source and destination IP addresses

Better distribution of trafficSlightly higher CPU overheadNot compatible with all switches; requires 802.3ad link aggregation support

The bond will use one “home” NIC exclusively until that NIC fails, then fail over to another

Useful for falling back on a backup network path

out-mac

out-ip

Standby

Page 8: Derived from VMware Education Services course ‘Virtual ...download3.vmware.com/vmworld/2005/sln349.pdf · Derived from VMware Education Services course ‘Virtual Infrastructure

Derived from VMware Education Services course ‘Virtual Infrastructure’See http://www.vmware.com/services/education.html for course schedule

Storage

Page 9: Derived from VMware Education Services course ‘Virtual ...download3.vmware.com/vmworld/2005/sln349.pdf · Derived from VMware Education Services course ‘Virtual Infrastructure

Derived from VMware Education Services course ‘Virtual Infrastructure’See http://www.vmware.com/services/education.html for course schedule

Addressing SAN LUNsVMkernel addresses disk partitions as follows:

Examples: LUN Addresses Partition Addressesvmhba0:0:11 vmhba0:0:11:3vmhba1:1:12 vmhba1:1:12:1

Page 10: Derived from VMware Education Services course ‘Virtual ...download3.vmware.com/vmworld/2005/sln349.pdf · Derived from VMware Education Services course ‘Virtual Infrastructure

Derived from VMware Education Services course ‘Virtual Infrastructure’See http://www.vmware.com/services/education.html for course schedule

MultipathingMultipathing allows continued access to SAN LUN in the event of hardware failure

Failover occurs automatically, with aconfigurable delay

Exactly one path is active (in use) to any LUN at any time

Can enable/disable individual failover pathsby changing their status

Two failover policies exist:MRU (Most Recently Used, default)

Use last active path, no auto-fail backsFixed (Preferred path)

Revert back to preferred path when availablePreferred and active paths may be set for each LUN

Page 11: Derived from VMware Education Services course ‘Virtual ...download3.vmware.com/vmworld/2005/sln349.pdf · Derived from VMware Education Services course ‘Virtual Infrastructure

Derived from VMware Education Services course ‘Virtual Infrastructure’See http://www.vmware.com/services/education.html for course schedule

SAN Failover Path Editing

Four paths to each LUN: two HBAs, two SPs

Define paths and failover

policy

Active, preferred path to

LUN 0

Set new active, preferred path to

LUN 1

Page 12: Derived from VMware Education Services course ‘Virtual ...download3.vmware.com/vmworld/2005/sln349.pdf · Derived from VMware Education Services course ‘Virtual Infrastructure

Derived from VMware Education Services course ‘Virtual Infrastructure’See http://www.vmware.com/services/education.html for course schedule

High Availability Clustering

Page 13: Derived from VMware Education Services course ‘Virtual ...download3.vmware.com/vmworld/2005/sln349.pdf · Derived from VMware Education Services course ‘Virtual Infrastructure

Derived from VMware Education Services course ‘Virtual Infrastructure’See http://www.vmware.com/services/education.html for course schedule

Implementing Cluster-In-A-Box

Virtual switch A (with outbound adapter)

Virtual switch B (internal-only)

On both virtual machines:scsi1:0 is Prod3:quorum.vmdkscsi1:1 is Prod3:data.vmdk

Page 14: Derived from VMware Education Services course ‘Virtual ...download3.vmware.com/vmworld/2005/sln349.pdf · Derived from VMware Education Services course ‘Virtual Infrastructure

Derived from VMware Education Services course ‘Virtual Infrastructure’See http://www.vmware.com/services/education.html for course schedule

Implementing Cluster-Across-BoxesOn both virtual machines:scsi1:0 is vmhba0:0:7:quorum.vmdkscsi1:1 is vmhba0:0:7:data.vmdk

Virtual switch A (with outbound adapter)

Virtual switch B (with outbound adapter)

Page 15: Derived from VMware Education Services course ‘Virtual ...download3.vmware.com/vmworld/2005/sln349.pdf · Derived from VMware Education Services course ‘Virtual Infrastructure

Derived from VMware Education Services course ‘Virtual Infrastructure’See http://www.vmware.com/services/education.html for course schedule

Physical-To-Virtual Cluster

Public Network

Private Network

On virtual machine:scsi1:0 is localvmfs:LUN15.vmdkscsi1:1 is localvmfs:LUN16.vmdk

Page 16: Derived from VMware Education Services course ‘Virtual ...download3.vmware.com/vmworld/2005/sln349.pdf · Derived from VMware Education Services course ‘Virtual Infrastructure

Derived from VMware Education Services course ‘Virtual Infrastructure’See http://www.vmware.com/services/education.html for course schedule

Live Backups

Page 17: Derived from VMware Education Services course ‘Virtual ...download3.vmware.com/vmworld/2005/sln349.pdf · Derived from VMware Education Services course ‘Virtual Infrastructure

Derived from VMware Education Services course ‘Virtual Infrastructure’See http://www.vmware.com/services/education.html for course schedule

Creating Snapshot Backups

Cons

Pros

Best when applications can quiesce themselves, and when a cold backup is also available

Only crash-consistentRequires local and remote storage space

Allows archiving virtual disks without virtual machine shutdown

vmsnap.pl

To back up: vmsnap.pl -a archiveserver -c /home/vmware/name/name.vmxTo restore:vmres.pl -a archiveserver -c /home/vmware/name/name.vmx

-o owner -g group -v VMFS

Page 18: Derived from VMware Education Services course ‘Virtual ...download3.vmware.com/vmworld/2005/sln349.pdf · Derived from VMware Education Services course ‘Virtual Infrastructure

Derived from VMware Education Services course ‘Virtual Infrastructure’See http://www.vmware.com/services/education.html for course schedule

PAC879: The Next Phase of Virtual Infrastructure: Introducing ESX Server 3.0 and VirtualCenter 2.0

PAC177: Distributed Availability Services ArchitecturePAC484: Consolidated Backup with ESX Server:

In-Depth ReviewPAC485: Managing Data Center Resources Using the

VirtualCenter Distributed Resource SchedulerPAC532: iSCSI and NAS in ESX Server 3

This presentation covers the current versions of our products. Details about

future releases of our products are available in select sessions at VMworld, including:

Page 19: Derived from VMware Education Services course ‘Virtual ...download3.vmware.com/vmworld/2005/sln349.pdf · Derived from VMware Education Services course ‘Virtual Infrastructure

Derived from VMware Education Services course ‘Virtual Infrastructure’See http://www.vmware.com/services/education.html for course schedule

Higher Availability with VMware Software: Implementation and Best Practices

Craig WilliamsVMware Education