vSphere

boundlessbazaarServers

Dec 9, 2013 (3 years and 7 months ago)

120 views

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/cc732470%28v=ws.10%29.aspx

vSphere

5.1
vs

Hyper
-
V 2012


features

Hyper
-
V 2012

vSphere

5.1

Logical

Processors

320

160

Physical

Memory

4TB

2TB

Virtual

CPUs

per Host

2048

2048

Virtual

CPUs

per VM

64

64

Memory

per VM

1TB

1TB

Active

VMs

per Host

1024

512

Guest

NUMA

Yes

Yes

Cluster

Maximum
Nodes

64

32

Maximum
VMs

8000

3000

OS

Win, RHEL,
SUSE,
CentOS

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,520

vCenter

+ 2
-
year

SA

$7,318

System Center Ops Mgr
Server

$581

2 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


Virtual machines naming convention


Part of private IP addresses


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

Physical infrastructure

Fibre Channel

storage

Fibre

Channel

Ethernet

NFS

storage

iSCSI

storage

Network


applications

operating system


physical host

Virtual infrastructure

Fibre

Channel

Fibre Channel

storage

Ethernet

NFS

storage

iSCSI

storage

Network

virtual

machines

What is VMware
vSphere
?


Components


ESXi


vCenter

Server


vSphere

Client


vSphere

VMFS


vSphere

Virtual SMP

vSphere

storage choices

storage

technology

datastore

types

FCoE

iSCSI

Fibre

Channel

Direct

Attached

File

system

NAS

NFS

VMware vSphere VMFS

ESXi hosts

vSphere

user interfaces

vSphere Client

Web Client

ESXi

host

Your

desktop

vCenter

Server

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

VC
x

H1
x

H2
x

H3
x

virtsan

10.250.
x
.1

GW: 10.2.0.1

Mask: 255.255.0.0

DNS1: 195.113.19.71

DNS2: 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
.250

10.252.
x
.n

internet

port: 112
x

Building our own (virtualized)
infrastructure


Hyper
-
V

acheron

SC
x

H1
x

H2
x

H3
x

virtsan

10.250.
x
.1

GW: 10.2.0.1

Mask: 255.255.0.0

DNS1: 195.113.19.71

DNS2: 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
.250

10.252.
x
.n

internet

port: 112
x

Building simple (virtualized)
infrastructure


vSphere

acheron

VC
x


(w2k8r2)

H1
x

10.250.
x
.1

GW: 10.2.0.1

Mask: 255.255.0.0

DNS1: 195.113.19.71

DNS2: 195.113.19.77

10.2.2.
x

10.250.
x
.250

internet

port: 112
x

W2k8R2 installation for VC


Deploy template
vctempl


VM name
VC
x


Start
VC
x


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:112
xx

(e.g. 11203)


Install
vSphere

client


Mount VC image


Download from http://ulita.ms.mff.cuni.cz/~yaghob/vmware
-
viclient.exe

VMware
vSphere

ESXi

installation


Deploy template vm51templ


VM name
H
x


Start
H
x


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