Upload
gonzalo-balladares-rivera
View
2.747
Download
1
Embed Size (px)
DESCRIPTION
Presentación realizada en el evento Techdays Chile 2010
Citation preview
Más que solo máquinas Virtuales
Gonzalo Balladares R.http://geeks.ms/blogs/gballadares/Gerente de Tecnologías - Activetrainer.clMVP Exchange Server, MCITP, MCTS
Pablo Campos S.http://geeks.ms/blogs/pcampos/Ingeniero Consultor – Alx.clMVP Virtual Machine, MCT, MCTS
AgendaArquitectura de Hyper-VAlta Disponibilidad en Hyper-VMemoria Dinámica SP1 Inter-operatividad e Integración con
LinuxVersiones y Licenciamiento
Gonzalo BalladaresMVP Exchange
Pablo Campos S.MVP Virtual Machine
Arquitectura de Hyper-V
Arquitectura de Hyper-v
Windows Server 2008
R2
VSPWindows Kernel
Aplicaciones
Aplicaciones
Aplicaciones
Non-Hypervisor Aware OS
Windows Server 2003,
2008
Windows Kernel VSC
VMBus Emulacion
“Designed for Windows” Server Hardware
Windows hypervisor
Xen-Enabled Linux Kernel
Linux VSC
Hypercall Adapter
Partición Padre Particiones Hijas
VM Service
WMI Provider
VM Worker Processes
User Mode
Kernel ModeIHV
Drivers
VMBus
VMBus
Aplicaciones
Synthetic
DevicesDrivers
Emulated
DevicesDrivers
Gonzalo BalladaresMVP Exchange
Pablo Campos S.MVP Virtual Machine
Alta Disponibilidad en Hyper-V
Alta Disponibilidad en Hyper-V R2
• Host-Clustering– Basada en Clúster de Conmutación por Error
(Failover Cluster) de Windows 2008 R2.– Soporta hasta 16 Nodos.
• Guest-Clustering– Alta disponibilidad basada en soluciones de cada
sistema/producto • Replicación Multi-master de Active Directory• Exchange 2007 CCR• Exchange 2010 DAG
Host ClusteringHA, Quick Migration, Live Migration, CSVs
Red Pública
Red de HeartBeat
“Intranet” Red Virtual
NODO2NODO1
Almacenamiento SANDC
Server Core Server Core
NIC3 - 192.168.100.1 NIC3 - 192.168.100.2
NIC1 - 192.168.0.1 NIC1 - 192.168.0.2
192.168.0.100192.168.0.100
NIC2 - 10.10.10.1 NIC2 - 10.10.10.2
Operación de Live Migration
Server 1 Server 2
Confi
gura
tion
Memoria
Confi
gura
tion
Stat
eSt
ate
Guest Clustering
Gonzalo BalladaresMVP Exchange
Pablo Campos S.MVP Virtual Machine
Memoria Dinámica
Memoria Dinámica «BETA»
¿Qué es?¿Cómo habilitarlo?¿Buffer de memoria?¿Prioridad de memoria?
Habilitar Memoria Dinámica
Búfer de Memoria «HOT»
Funciona en base a las necesidades de la VM
Memoria Real= Memoria necesitada/ (1 - (buffer de memoria / 100))
0 MB 512 MB 1024 MB
COMPROMETIDA DinámicaNECESITADA340
Memoria Real=340/(1-(20/100))Memoria Real=425Búfer en MB= 425-340 => 85MB
BúferNECESITADA450
Memoria Real=450/(1-(20/100))Memoria Real=562,5Búfer en MB= 562,5-450 => 112,5MB
Búfer 50,5
Prioridad de Memoria «HOT»
VMs Menos Importante = BajaVMs Importantes = AltaVMs por defecto = Media
Memoria Dinámica en el Tiempo
0
1
2
3
4
5
6
RAM
RAM
9:00 10:00 11:00 12:00 13:00 14:00 15:00 16:00 17:00
Memoria Dinámica en el Tiempo
Tiempo 0 Tiempo 15 Tiempo 300
0.5
1
1.5
2
2.5
3
3.5
4
4.5
Servidor 1Servidor 2Servidor 3
TOTAL RAM 3GB
TOTAL RAM 6GB
TOTAL RAM 7GB
TOTAL RAM Hyper-v
8GB
Memoria Dinámica
Hyper-V (2 GB)
Sin Usar(8 GB)
Servidor Fisico(16 GB RAM)
PERDIDA
Hyper-V (2 GB)
DM: 4 GB
DM: 2 GB
Servidor Fisico(16 GB RAM)
VM 1- 2 GB
VM 2- 4 GB
VM 1- 2 GB
VM 2- 4 GB
Sin Usar(2 GB)
Ejemplo de Disminución de memoria0 512 MB
Agregada en Caliente
1024MB
Agregada en Caliente
Memoria «Ballooned”Memoria VM
Ballo
onPartición Padre “Hyper-v” Memoria Otra VM
Ballo
on
Sistemas Operativos SoportadosSoportados en Windows Server 2008 R2 BETA• Windows Server 2003 Enterprise & Datacenter (32-bit and 64-bit) • Windows Server 2003 R2 Enterprise & Datacenter (32-bit and 64-bit) • Windows Server 2008 Enterprise & Datacenter (32-bit and 64-bit) • Windows Server 2008 R2 Enterprise & Datacenter (64-bit) • Windows Vista Enterprise & Ultimate (32-bit and 64-bit) • Windows 7 Enterprise & Ultimate (32-bit and 64-bit)
Soportados en Windows Server 2008 R2 después de BETA• Windows Server 2003 Web & Standard (32-bit and 64-bit) • Windows Server 2003 R2 Web & Standard (32-bit and 64-bit) • Windows Server 2008 Web & Standard (32-bit and 64-bit) • Windows Server 2008 R2 Web & Standard (64-bit)
Demo
Memoria Dinámica
Gonzalo BalladaresMVP Exchange
Pablo Campos S.MVP Virtual Machine
Inter-operatividad eIntegración con Linux
Interoperabilidad Con Linux
Emulado (no IS support)
• El IO y el subsistema de red se degradan notablemente con la emulacion de dispositivos
Con Integration Services
• EL IO ~40% mas rapido que el emulado
• La red ~30% mas rapido que el emulado
Emulation
Linux VSC
VMBus
LinuxKernel
Interoperabilidad con Linux
Drivers Integrados en el Kernel 2.6.32+
Linux ISs Funcionalidad por versión
CaracteristicaV1
(Descontinuada) V2 Stable 2.1 Beta V2.1
FechaOcubre,
2008Diciembre
, 2010 N/AMarzo,
2010Junio, 2010
VMBUS X X 2.6.33 (2.6.32+) X XIDE X X 2.6.33 (2.6.32+) X X
Network X X 2.6.33 (2.6.32+) X XSCSI X X 2.6.33 (2.6.32+) X XSMP 2.6.33 (2.6.32+) X X
"Modinfo DRIVER" support 2.6.33 (2.6.32+) X
Shutdown X XTimeSync X X
Heartbeat X
Instalación de los ISsLinux IS Installation – be root!
Montar el ISO con los ISs
mount /dev/cdrom /mntmkdir /opt/linux_iscd /opt/linux_iscp –r /mnt/* /opt/linux_is
Instalar los Drivers
makemake install
Reiniciar
Hyper-V ISs
Sistemas Operativos Soportados
• Red Hat Enterprise Linux 5.2, 5.3, 5.4, y 5.5• SUSE Linux Enterprise Server 10 SP3 y 11 Para x86/x64 con (4 vCPU)
• Puede agregar soporte del mouse con el Driver de Xen Satori
• http://www.xen.org/download/satori.html
./setup.pl inputdriver
Tips & Tricks: Migration (P2V)
• Una instalación limpia siempre es la mejor opción, pero en algunos casos, debemos migrar maquinas físicas a virtuales
• Herramientas– DD– VHDTool
• http://blogs.technet.com/enterprise_admin/archive/2010/05/13/linux-p2v-with-dd-and-vhdtool-easy-and-cheap.aspx
P2V es posible en Linux ????
Demo
Linux Integration Components
Gonzalo BalladaresMVP Exchange
Pablo Campos S.MVP Virtual Machine
Versiones y Licenciamiento
Licenciamiento
• Al licenciar un Servidor Físico, se adquiere el derecho de tener las siguientes instancias de máquinas virtuales Windows concurrentemente en ejecución:– Standard : 1 instancia– Enterprise: 4 instancias– Datacenter: Ilimitadas.
• Tip: Se puede asignar más de una licencia de Windows Server (Estándar o Enterprise) a un servidor físico
Enterprise Vs Datacenter
• Windows Server Estándar no es la versión adecuada para ambientes virtualizados.
• Edición Datacenter es más rentable que Edición Estándar:– 2 CPU Físicas: a partir de 8 Instancias Virtuales.– 4 CPU Físicas: a partir de 16 Instancias Virtuales.
• Consultar: Windows Server Virtualization Calculators– http://www.microsoft.com/windowsserver2003/howtobuy/licensing/calculator.mspx
Windows Server 2008 R2 Hyper-V vs. Microsoft Hyper-V Server 2008 R2
Microsoft Hyper-V Server 2008 R2 (HVS)
Descarga gratuita que incluye el hypervisor y todos los
componentes necesarios para virtualizar
(Windows Kernel, drivers, red, almacenamiento…)
Windows hypervisor
VM
Hardware
Parent Partition
VM
Microsoft Hyper-V Server
Hyper-V como rol de Windows Server 2008 R2
Disponible como rol (función) en una instalación
“full” o “Server Core” de Windows Server 2008
Hyper-V
VM
Hardware
Windows (parent
partition)
VM
Windows hypervisor
MISMAS FUNCIONALIDADES
Resumen
FuncionalidadMicrosoft Hyper-V Server 2008 R2
Windows Server 2008 R2 Estándar
Windows Server 2008 R2 Enterprise
Windows Server 2008 R2 Datacenter
Host Clustering
Live Migration
Más de 32 GB de RAM por VM
Más de 4 CPU por VM
Interfaz Gráfica (GUI)
Posibilidad de ejecutar más roles
Derechos de Virtualización Incluidos en la licencia
AgendaArquitectura de Hyper-VAlta Disponibilidad en Hyper-VMemoria Dinámica SP1 Inter-operatividad e Integración con
LinuxVersiones y Licenciamiento
Gonzalo Balladares R.http://geeks.ms/blogs/gballadares/Gerente de Tecnologías - Activetrainer.clMVP Exchange Server, MCITP, MCTS
Pablo Campos S.http://geeks.ms/blogs/pcampos/Ingeniero Consultor – Alx.clMVP Virtual Machine, MCT, MCTS
¿Preguntas?
Gonzalo Balladares R. [email protected]://geeks.ms/blogs/gballadares/Gerente de Tecnologías - Activetrainer.clMVP Exchange Server, MCITP, MCTS
Pablo Campos S. [email protected]://geeks.ms/blogs/pcampos/Ingeniero Consultor – Alx.clMVP Virtual Machine, MCT, MCTS
Gracias!