180 likes | 327 Vues
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
E N D
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
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
FibreChannel Ethernet Physical infrastructure applicationsoperating system physical host Fibre Channelstorage iSCSIstorage NFSstorage Network
FibreChannel Ethernet VMware vSphere VMware vSphere VMware vSphere VMware vSphere Virtual infrastructure virtual machines Network iSCSIstorage NFSstorage Fibre Channelstorage
What is VMware vSphere? • Components • ESXi • vCenter Server • vSphere Client • vSphere VMFS • vSphere Virtual SMP
vSphere storage choices ESXi hosts NFS VMware vSphere VMFS datastore types Filesystem FCoE NAS DirectAttached Fibre Channel iSCSI storage technology
vSphere user interfaces ESXi host vSphere Client vCenterServer Web Client Yourdesktop
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 port: 112x internet GW: 10.2.0.1 Mask: 255.255.0.0DNS1: 195.113.19.71DNS2: 195.113.19.77 acheron 10.2.2.x VCx 10.252.x.y 10.250.x.250 10.250.x.1 10.250.x.2 10.250.x.3 VSPx1 VSPx2 VSPx3 10.251.x.1 10.251.x.2 10.251.x.3 10.251.0.1 virtsan
Building our own (virtualized) infrastructure – Hyper-V port: 112x internet GW: 10.2.0.1 Mask: 255.255.0.0DNS1: 195.113.19.71DNS2: 195.113.19.77 acheron 10.2.2.x SCx 10.252.x.y 10.250.x.250 10.250.x.1 10.250.x.2 10.250.x.3 HVx1 HVx2 HVx3 10.251.x.1 10.251.x.2 10.251.x.3 10.251.0.1 virtsan
Building simple (virtualized) infrastructure – vSphere port: 112x internet GW: 10.2.0.1 Mask: 255.255.0.0DNS1: 195.113.19.71DNS2: 195.113.19.77 acheron 10.2.2.x VCx(w2k8r2) 10.250.x.250 10.250.x.1 VSPx1
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 “Kralicekazurit” 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 • Download from http://ulita.ms.mff.cuni.cz/~yaghob/vmware-viclient.exe
VMware vSphereESXi 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