Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Windows Server 2008 R2 Hyper V
1. Windows Server 2008 R2Hyper-V Amit Gatenyo Infrastructure & Security Manager, Dario Microsoft Regional Director – Windows Server & Security 054-2492499 Amit.g@dario.co.il Asaf Nakash Project Manager Dario IT Solutions 054-9700780 Asaf.n@dario.co.il
2. Microsoft Virtualization Strategy Best TCO/ROI Data center to desktop It’s the Platform you know End-to-End Management 1/3 the price up front Key feature of platform Full range of products & solutions Physical and Virtual & Cross-hypervisor Significant Savings Tools you know Interoperability Large partner eco-system Lower ongoing costs
3. Microsoft VirtualizationFrom the Datacenter to the Desktop User State Virtualization Folder Redirection Roaming Profiles Server Virtualization Presentation Virtualization Management Desktop Virtualization Application Virtualization
5. Provided by: Hyper-V Architecture OS ISV / IHV / OEM Microsoft Hyper-V VM Worker Processes Microsoft / XenSource Child Partitions Parent Partition Applications Applications Applications Applications User Mode WMI Provider VM Service Windows Server 2008 Non-Hypervisor Aware OS Windows Kernel Windows Kernel Xen-Enabled Linux Kernel Windows Server 2003, 2008 VSP IHV Drivers Kernel Mode VMBus Linux VSC VSC Emulation VMBus VMBus Windows hypervisor Hypercall Adapter Ring -1 “Designed for Windows” Server Hardware
7. Live Migration Overview Moving a virtual machine from one server to another without loss of service Benefits Enables new scenarios Load balancing VMs for power Load balancing VMs for CPU Upgrade of host hardware and maintenance
8. Cluster Share Volumes: Migration & Storage NEW Cluster Shared Volumes (CSV) in Windows Server 2008 R2 Overview CSV provides a single consistent file name space; All Windows Server 2008 R2 Server servers see the same storage Benefits Easy setup; Uses NTFS No reformatting SANs Create one big data store No more drive letter problems Existing tools just work Highly recommended for live migration scenarios
10. Hot Add/Remove Storage Overview Add and remove VHD and pass-through disks to a running VM without requiring a reboot. Hot-add/remove disk applies to VHDs and pass-through disks attached to the virtual SCSI controller Benefits Enables storage growth in VMs without downtime Enables additional datacenter backup scenarios Enables new SQL/Exchange scenarios
11. Processor Compatibility Mode Overview Allows live migration across different CPU versions within the same processor family (i.e. Intel-to-Intel and AMD-to-AMD). Does NOT enable cross platform from Intel to AMD or vice versa. Configure compatibility on a per-VM basis. Abstracts the VM down to the lowest common denominator in terms of instruction sets available to the VM. Benefits Provides a great deal of migration flexibility within clusters. Enables migration across a broader range of Hyper-V host hardware. No specific hardware requirements needed.
13. Second Level Address Translation (SLAT)New Processor Feature Support Overview Uses new processor features to improve performance and reduce load on Windows Hypervisor AMD: Nested Page Tables (NPT) Intel: Extended Page Tables (EPT) Benefits Improve memory management performance Reduce in memory copies Memory usage will decrease from ~5% to 1% of total physical memory Most improvement with large working sets (TS/SQL)
14. VM Chimney (TCP Offload Support) Overview TCP/IP traffic in a VM can be offloaded to a physical NIC on the host computer. Benefits Reduce CPU burden Networking offload to improve performance Live Migration is fully supported with Full TCP Offload Cautions: Not all applications benefit from Chimney Works best for long-lived connections with large data transfers Applications with pre-posted buffers Chimney capable hardware supports a fixed number of offloaded connections – shared between all VMs
15. Virtual Machine Queue (VMQ) Overview NIC can DMA packets directly into VM memory VM Device buffer gets assigned to one of the queues Avoids packet copies in the VSP Avoids route lookup in the virtual switch (VMQ Queue ID) Allows the NIC to essentially appear as multiple NICs on the physical host (queues) Best performance gains seen on 10G NICs (highly recommended) Benefits Host no longer has device DMA data in its own buffer resulting in a shorter path length for I/O (performance gain)
16. Jumbo Frame Support Overview Enables 6x larger payload per packet Ethernet frames >1,500 bytes Ad hoc standard is ~9k Benefits Improves throughput Reduce CPU utilization of large file transfers
18. 64 Logical Processor Support Overview Provides Hyper-V the ability to utilizesup to 64 of the logical processor pool presented to Windows Server 2008 R2 Benefits Significantly increases host server density Easily provide multiple processers per virtual machine
19. Core Parking Overview Scheduling virtual machines on a single server for density as opposed to dispersion This allows “park/sleep” cores by putting them in deep C states Benefits Significantly enhances Green IT by being able to reduce power required for CPUs
20. תיאור תהליך אפיון ללקוח Asaf Nakash Project Manager Dario IT Solutions 054-9700780 Asaf.n@dario.co.il
21. תיאור תהליך האפיון ביצוע פגישת אפיון לפתרון, תיאום ציפיות ולמידת המצב הקיים. התקנת כלי סטטיסטיקה ואיסוף נתונים במשך שבועיים. עיבוד הנתונים יצירת שני מסמכים: מסמך אפיון פתרון המשלב טכנולוגיות של וירטואליזציה ו-greenIT. מסמך סיכום עלויות (TCO) והחזר השקעה (ROI)
22. סיפור לקוח - מצב קיים ללקוח 36 שרתים רובם המוחלט של השרתים הם שרתים פיזיים הלקוח משלם 290$ לשנה לחוזה שירות לשרתים שאינם באחריות גיל השרתים הממוצע של הלקוח הוא 2.5 שנים
24. קצת על חישוב עלות חשמל שרת צורך בממוצע בשנה כ-5000 kWh, עלות kWh הינה 0.1$ כלומר עלות חשמל לשרת לשנה הינה 500$ עלות הקירור של השרת, כשבאים לחשב עלות קירור מעריכים כ-0.8 kWh לכל 1 kWh, כלומר עוד 400$ לשרת
25. מצב קיים – ריכוז עלויות לאחר שנה סה"כ הוצאות בשנה זו 73,130 USD
33. Virtual Sessions Per License Unlimited .. 32 16 8 4 1 Host OS Included Unlimited Virtualization With Datacenter
34. Server Management Suite Enterprise The System Center Server Management Suite Enterprise is the solution for virtualization management System Center Virtual Machine Manager 2008 System Center Operations Manager 2007 Enterprise Edition System Center Data Protection Manager 2007 Enterprise Edition System Center Configuration Manager 2007 Provides the rights to manage an unlimited number of operating system environments (“OSEs”) on a physical host server The Server Management Suite Enterprise is licensed on a per physical host basis
36. Hyper-V Server 2008 R2 64 logical processors & 1TB memory on the physical machine Up to 4 virtual processors per virtual machine Live Migration Host Clustering with up to 16 nodes
38. Thanks for listening! Amit Gatenyo Infrastructure & Security Manager, Dario Microsoft Regional Director – Windows Server & Security 054-2492499 Amit.g@dario.co.il Asaf Nakash Project Manager Dario IT Solutions 054-9700780 Asaf.n@dario.co.il
Notes de l'éditeur
Microsoft offers a comprehensive set of virtualization solutions to meet a broad set of scenarios that span from the desktop to the data center.Let’s start with Server Virtualization, most of you will be familiar with the concept of virtualizing servers where we virtualize the operating system realative to the underlying hardware. This allows us to make better use of server capacity, enable consolidation and create a more dynamic data center. With Windows Server 2008 Hyper-V Microsoft offers a complete set of technology for virtualizing servers.Desktop Virtualization allows the user’s entire desktop environment to run on a hyper-v virtual server. The virtual desktop can be assigned and dedicated for a user or a pool of identical virtual desktops can be deployed to a group of users.Application Virtualization (formerly known as SoftGrid) is use to virtualize applications from the operating system. Microsoft Application Virtualization is the only solution that delivers applications that are never installed but thatare dynamically delivered, on demand. Whether deployed on desktops, laptops or, RDSH servers, App-V changes application management from a series of manual tasks into an automated, streamlined process that accelerates the pace and reduces the cost of business. App-V can be used on physical desktops, Remote Desktop Session Hosts, and in Virtual Desktop (VDI) Environments. App-V primarily resolved compatibility issues between applications.Microsoft also offers a variety of desktop virtualization solutions. Microsoft’s server-hosted desktop virtualization solutions are either built entirely on Remote Desktop Services for session-based remote desktops (fka Terminal Services), or they are based on top of Hyper-V to enable a virtual desktop infrastructure (VDI) together with Remote Desktop Services and System Center products as the infrastructure and management pillars. VDI with Windows virtual desktops running in the data center always require VECD, whether they are based on Microsoft technology or other vendors’ technologies. For client-hosted desktop virtualization, Microsoft Enterprise Desktop Virtualization customers can provide multiple virtual machines on a single users desktop. MED-V allows you to deploy managed Virtual PC environments to run applications that may not be compatible with modern operating systems such Vista and Windows 7.With the Presentation Virtualization capabilities provided by Remote Desktop Services in Windows Server 2008 R2 it is possible to separate (or virtualize) where the application is used from where it is executed; desktop and application deployments can be accelerated and extended from the data center to virtually any client device. Remote Desktop Services instantly web-enables rich applications to efficiently connect remote workers from managed or unmanaged devices, low or high bandwidth networks. RDS helps keep critical intellectual property secure and radically simplify regulatory compliance by removing applications and data from the desktop .
כמה שלבים שאנחנו עושים באפיוןשלב ראשון זה למידת הלקוח והמצב הקיים בארגוןשלב שני זה איסוף של נתונים כדי לראות את העומס של הסביבה.עושים עיבוד של הנתונים ומוציאים שני תוצריםמסמך אפיון של פתרון ומסמך הנהלה המפרט TCO ו-ROI.הכנה לשקף הבא===========אז בואו נראה דוגמה ללקוח שביצענו עבורו תהליך כזה
סה"כ מדובר בלקוח מיד רגילמטרת האפיון הלקוח היה מעוניין להפחית בעלויות המיחשוב
בקיצור הבלאגן הרגיל שכולנו מכירים.או בשמו השני – איפה אפי.הכנה לשקף הבא===================שאלה – מה הכי יקר בסביבה?עזובVMWARE או ORACLE
כולנו מכירים את הצריכת חשמל לשרת מחושבת על בסיס ממוצע צריכה של 620WH לשעה לשרת – שרתים צורכים בין 400WH ל-700WH בחישוב שנתי כפול מחיר ל-kWH8064 שעות בשנההכנה לשקף הבא===========שמכניסים את הנתונים הללו כפול מספר השרתים שיש ללקוח מגיעים למספרים מאוד גבוההים
עלויות החשמל עבור הקירור והשרתים הם חצי מסך העלויות בשנההכנה לשקף הבא===================אז בואו נראה מה הלקוח הזה מקבל בתמורה ל-70 אלף דולר שהוא משלם על החזקת הסביבה שלו בשנה
הכנה לשקף הבא=============אוקיי, אז עכשיו יש לנו את הנתונים על הסביבה, השלב הבא הוא לבנות אפיון מחדש לסביבה
כל שרת פיזי בסביבה החדשה מריץ 10 שרתים מהסביבה הישנהשרידות ויכולת גדילהבאפיון הכנסנו שרידות ויכולת גדילה.
אפשר לראות שבשנה ראשונה יש הוצאה גדולה על רישוי וחומרהאחרי 3 שנים עלות החומרה כבר תהיה משמעותית גבוהה יותר בסביבה הפיזיתוכמובן אחרי 5 שנים כבר רואים חיסכון ניכר
אז בואו נסכםלאחר השנה הראשונה בא אנחנו משקיעים את העלות של הפרויקט כבר יש ירידה דרסטית בעלות ההוצאות השנתית שלנו.
נתחיל עם הגרסאות שיש לנו ב-R2
מהצד של ניטור וניהול הסביבה
ועכשיו הגענו לשאלת מיליון הדולרLessexpensiveconfiguration ($2245 per processor) that offers both Live Migration and High Availability