Virtualization Infrastructure
Administration
Introduction
Jakub Yaghob
Course organization
VMware vSphere Microsoft Hyper-V Oracle Virtualbox
Resources
VMware http://labs.vmware.com/courseware
Microsoft Hyper-V http://technet.microsoft.com/en-us/library/cc73247
0%28v=ws.10%29.aspx
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, …
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
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
Physical infrastructure
Fibre Channelstorage
FibreChannel
Ethernet
NFSstorage
iSCSIstorage
Network
applicationsoperating system physical host
Virtual infrastructure
VMware vSphere
VMware vSphere
VMware vSphere
VMware vSphere
FibreChannel
Fibre Channelstorage
Ethernet
NFSstorage
iSCSIstorage
Network
virtual machines
What is VMware vSphere?
Components ESXi vCenter Server vSphere Client vSphere VMFS vSphere Virtual SMP
vSphere storage choices
storagetechnology
datastoretypes
FCoE iSCSIFibre
ChannelDirect
Attached
Filesystem
NAS
NFSVMware vSphere VMFS
ESXi hosts
vSphere user interfaces
vSphere Client
Web Client
ESXi host
Yourdesktop
vCenterServer
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
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
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
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
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
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