17
Virtualization Infrastructure Administration Introduction Jakub Yaghob

Virtualization Infrastructure Administration Introduction Jakub Yaghob

Embed Size (px)

Citation preview

Page 1: Virtualization Infrastructure Administration Introduction Jakub Yaghob

Virtualization Infrastructure

Administration

Introduction

Jakub Yaghob

Page 2: Virtualization Infrastructure Administration Introduction Jakub Yaghob

Course organization

VMware vSphere Microsoft Hyper-V Oracle Virtualbox

Page 3: Virtualization Infrastructure Administration Introduction Jakub Yaghob

Resources

VMware http://labs.vmware.com/courseware

Microsoft Hyper-V http://technet.microsoft.com/en-us/library/cc73247

0%28v=ws.10%29.aspx

Page 4: Virtualization Infrastructure Administration Introduction Jakub Yaghob

vSphere 5.5 vs Hyper-V 2012 R2 – features

Hyper-V 2012 R2

vSphere 5.5 vSphere 6.0

Logical Processors per Host 320 320 480

Physical Memory per Host 4TB 4TB 12TB

Virtual CPUs per Host 2048 4096 2048

Virtual CPUs per VM 64 64 128

Memory per VM 1TB 1TB 4TB

Active VMs per Host 1024 512 1024

Guest NUMA Yes Yes Yes

Cluster Maximum Nodes 64 32 64

Maximum VMs in cluster 8000 4000 8000

OS Win, RHEL, SUSE, CentOS, Ubuntu

Win, RHEL, SUSE, Debian, CentOS, Ubuntu, generic Linux, MAC OS X, FreeBSD, Solaris, VMware, Hyper-V, …

Page 5: Virtualization Infrastructure Administration Introduction Jakub Yaghob

vSphere 5.1 vs Hyper-V 2012 – price

Microsoft Hyper-V 2012 vSphere 5.1

Hyper-V server $0 vSphere ESXi $0

System Center Management Suite Enterprise + 2-year SA

$7,520vCenter + 2-year SA

$7,318

System Center Ops Mgr Server

$5812 processor Enterprise License + 2-year SA

$42,125

System Center Configuration Manager

$580

System Center Data Protection Manager Server

$581

Total $9,262 Total $49,443

Page 6: Virtualization Infrastructure Administration Introduction Jakub Yaghob

Network and naming organization, virtual laboratory

Each student has the number X Part of login name to the virtual laboratory Virtual machines naming convention Part of private IP addresses Number X is firmly assigned, find it in Grupíček

Virtual laboratory Shared laboratory with other courses

Shutdown/pause your virtual machines Access point

bobr.ms.mff.cuni.cz Thick client (Windows only), Web client User: virt_X, Password: find it in Grupíček

Page 7: Virtualization Infrastructure Administration Introduction Jakub Yaghob

Physical infrastructure

Fibre Channelstorage

FibreChannel

Ethernet

NFSstorage

iSCSIstorage

Network

applicationsoperating system physical host

Page 8: Virtualization Infrastructure Administration Introduction Jakub Yaghob

Virtual infrastructure

VMware vSphere

VMware vSphere

VMware vSphere

VMware vSphere

FibreChannel

Fibre Channelstorage

Ethernet

NFSstorage

iSCSIstorage

Network

virtual machines

Page 9: Virtualization Infrastructure Administration Introduction Jakub Yaghob

What is VMware vSphere?

Components ESXi vCenter Server vSphere Client vSphere VMFS vSphere Virtual SMP

Page 10: Virtualization Infrastructure Administration Introduction Jakub Yaghob

vSphere storage choices

storagetechnology

datastoretypes

FCoE iSCSIFibre

ChannelDirect

Attached

Filesystem

NAS

NFSVMware vSphere VMFS

ESXi hosts

Page 11: Virtualization Infrastructure Administration Introduction Jakub Yaghob

vSphere user interfaces

vSphere Client

Web Client

ESXi host

Yourdesktop

vCenterServer

Page 12: Virtualization Infrastructure Administration Introduction Jakub Yaghob

vSphere objects

Datacenter Standalone set of servers Possible different locations

Cluster Tightly coupled set of servers HA, DRS, DPM

Host Physical server running a hypervisor

Guest OS running within VM

Resource pool Provides abstract resources to VMs and child resource pools

Page 13: Virtualization Infrastructure Administration Introduction Jakub Yaghob

Building our own (virtualized) infrastructure – vSphere

acheron

VCx

VSPx1 VSPx2 VSPx3

virtsan

10.250.x.1

GW: 10.2.0.1Mask: 255.255.0.0DNS1: 195.113.19.71DNS2: 195.113.19.77

10.250.x.2 10.250.x.3

10.251.x.1 10.251.x.2 10.251.x.3

10.251.0.1

10.2.2.x

10.250.x.25010.252.x.y

internet

port: 112x

Page 14: Virtualization Infrastructure Administration Introduction Jakub Yaghob

Building our own (virtualized) infrastructure – Hyper-V

acheron

SCx

HVx1 HVx2 HVx3

virtsan

10.250.x.1

GW: 10.2.0.1Mask: 255.255.0.0DNS1: 195.113.19.71DNS2: 195.113.19.77

10.250.x.2 10.250.x.3

10.251.x.1 10.251.x.2 10.251.x.3

10.251.0.1

10.2.2.x

10.250.x.25010.252.x.y

internet

port: 112x

Page 15: Virtualization Infrastructure Administration Introduction Jakub Yaghob

Building simple (virtualized) infrastructure – vSphere

acheron

VCx (w2k8r2)

VSPx1

10.250.x.1

GW: 10.2.0.1Mask: 255.255.0.0DNS1: 195.113.19.71DNS2: 195.113.19.77

10.2.2.x

10.250.x.250

internet

port: 112x

Page 16: Virtualization Infrastructure Administration Introduction Jakub Yaghob

W2k8R2 installation for VC Deploy template vctempl VM name VCx Start VCx Install W2k8R2 Install VMware tools (Guest->Install …)

Typical Restart

Setup the network cards Network “Kralicek azurit” has IP 10.2.2.x, Mask 255.255.0.0, GW 10.2.0.1, DNS1

195.113.19.71, DNS2 195.113.19.77 Network “Virt mgmt” has IP 10.250.x.250, Mask 255.255.255.0 Use MAC for network detection

Enable remote access Access from anywhere using RDP to acheron.ms.mff.cuni.cz:112xx (e.g.

11203) Install vSphere client

Mount VC image

Page 17: Virtualization Infrastructure Administration Introduction Jakub Yaghob

VMware vSphere ESXi installation

Deploy template vsph55templ VM name VSPxy Start VSPxy Install ESXi

Ignore warning “HW virtualization not available” Press F2 and login Select “Configure management network”->”Network adapters” Check the right network adapter (use MAC) connected to the

“Virt mgmt” virtual network and confirm Select “IP configuration”, choose “Set static IP…”

IP 10.250.x.y, mask 255.255.255.0, GW 10.250.x.250 Select “IPv6 configuration” and disable IPv6