VMware: DRS Performance and Best Practices Paper Posted


VMware Infrastructure 3 provides a set of distributed infrastructure services that make the entire IT environment more serviceable, available, and efficient. Working with VMware ESX 3, VMware VirtualCenter 2, and VMware VMotion, VMware Distributed Resource Scheduler (DRS) dynamically allocates resources to enforce resource management policies while balancing resource usage across multiple ESX hosts. This performance study focuses on understanding the effectiveness and scalability of DRS algorithms. It identifies various scenarios in which you can benefit from DRS and explains how to configure your environment to take best advantage of DRS.

Download de pdf hier: http://www.vmware.com/files/pdf/drs_performance_best_practices_wp.pdf

VMware: Hot Extend Virtual Disks Using ESX 3.5 Update 2


Paul Shannon van (http://www.vm-aware.com/) heeft een pdf gemaakt waarin hij de nieuwe feature Hot Extend Virtual Disks stap voor stap uitlegt.

One of the great new bits of functionality in ESX 3.5 Update is the ability to hot extend non-boot virtual disks without shutting down the VM.

I decided to give it a go with a Windows 2003 Standard VM and thought I’d provide a How To for anyone that might need/want it.

 

De pdf kun je hier downloaden: how-to-hot-extend-virtual-disks-using-esx-35-update-2

VMware: ESX 3.5 and VC 2.5 update 2 new features


Ik ben nu even met ESX 3.5 en VC 2.5 update 2 aan het testen in een VM en kwam als eerste de volgende nieuwe features tegen:

 Health Status

Ik denk dat de Health Status nodig is voor de volgende optie:

VirtualCenter Alarms

VirtualCenter 2.5 Update 2 extends support for alarms on the overall health of the server by considering the health of each of the individual system components such as memory and power supplies. Alarms can now be configured to trigger when host health degrades. 

image

De Health Satus zat ook al van ESX3i:

image

 

Hot Virtual Extend Support

Hot Virtual Extend Support – The ability to extend a virtual disk while virtual machines are running is provided. Hot extend is supported for vmfs flat virtual disks without snapshots opened in persistent mode.

De XPVM staat aan een heeft een VMDK van 8GB deze ga ik via Hot Virtual Extend vergroten naar 10GB.

image

 

Live Cloning

Voordat je deze optie kunt gebruiken moet je wel even de snapshots verwijderen.

Live Cloning of Virtual Machines – VirtualCenter 2.5 Update 2 provides the ability of creating a clone of a powered-on virtual machine without any downtime to the running virtual machine. Therefore, administrators are no longer required to power off a virtual machine in order to create a clone of it.

 image

Single Sign-on

Dit kon al in VC 2.5. Hoe dit in zijn werk gaat lees je in deze post.

Windows Single Sign-on Support

You can now automatically authenticate to VirtualCenter using your current Windows domain login credentials on the local workstation, as long as the credentials are valid on the VirtualCenter server. This capability also supports logging in to Windows using Certificates and Smartcards. It can be used with the VI Client or the VI Remote CLI to ensure that scripts written using the VI Toolkits can take advantage of the Windows credentials of your current session to automatically connect to VirtualCenter.

 

VSS quiescing support

VSS quiescing support – When creating quiesced snapshot of Windows Server 2003 guests, both filesystem and application quiescing are supported. With Windows Server 2008 guests, only filesystem quiescing is supported. For more information, see the Virtual Machine Backup Guide and the VMware Consolidated Backup 1.5 Release Notes.

VMware: Update 2 for ESX 3.5, ESX3i and VC2.5 released


VMware ESX 3.5 Update 2

Latest Version: 3.5 Update 2 | 7/25/2008 | Build: 103908 | Release Notes | Download

VMware ESXi 3.5 Installable Update 2

Latest Version: 3.5 Update 2 | 7/25/2008 | Build: 103909 | Release Notes | Download

VMware VirtualCenter 2.5 Update 2

Latest Version: 2.5 Update 2 | 7/25/2008 | Build: 104263 | Release Notes | Download

VMware Consolidated Backup 1.5

Latest Version: 1.5 | 7/25/2008 | Build: 102898 | Release Notes | Download

VMware: ESX3i for free


virtualization.info has learned some additional details about the move:

  • VI 3.5 and ESX 3i will continue to share a the large majority of the code base (so there will be an ESX 3i Update 2). There will be no delays on the release of both products.
  • ESX 3i will continue to have the same features that has today, without additional limitations
  • ESX 3i will continue to have the same APIs, allowing anybody to develop free or commercial alternatives to VirtualCenter (despite some features like VMotion cannot be replicated because of the VMware SDK limitations).
  • VMware will not require the purchase of any software & support subscription to access the product. Customer will be able to get the code without any restriction.
  • The customers that purchased the current version of ESX 3i directly from the VMware online store will be eligible for a rebate.
  • The ESX version that includes the Console Operating System (COS) will not be faded out (at least in the short timeframe). Most VMware customers are currently using that version and the company will support them for a long time.
  • VMware Server will not be faded out (as many could suppose). The company still sees the product as a valuable proposition for a different kind of audience.

 

Lees de rest van het artikel hier: http://www.virtualization.info

VMware: Citrix on VMware Recommendations


Sven Huisman heeft weer een goede post geplaastst op zijn weblog.

Verron Martina from VMware dropped me an e-mail with a lot of recommendations for running Citrix in a VI3.x environment. These recommendations come from other system engineers from VMware working in the field. Thanks Verron, for sharing this.

Technical Recommendations:

  • I used the ballooning driver. Some Citrix forums will tell you not to use it but for us the ballooning driver made a complete difference.
  • Start by using only one vCPU per VM and if possible use affinity to make sure that the VM is not running on the same core as the console or another VM.
  • The sweet spot we found was to assign only 2GB to the VM and something between 30 and 40 users per VM.
  • Our target was not to beat a physical CPS server with a single VM but get more aggregated users using 2 or 3 VMs (depending on the number of cores available) with no more than 40 users per VM. Do not over commit the cores as that will lose advantage.
  • The final target for us was to demonstrate that the VMs running simultaneously on the same physical server can get a higher number of users (between 70 and 90% more) than a normal CPS installed on the same HW while user experience (keyboard-screen response times, login times, app launch times, etc) are very similar.
  • Some times we have to be patient and wait a few minutes for the VM to get steady, then the magic shows up and the VMs will surpass the physical server regarding load tolerance.
  • Regarding login times, the VM can show longer times; however, once the user is in, the VMs will look fast. Check than DNS servers are not getting messy as this is commonly the problem with long login times.
  • Make sure that the network interfaces are using fixed speed when connecting to the network, do not leave auto negotiated speeds. The best is to use 1000 mbps FULL DUPLEX. :-s
  • Use one virtual disk for Windows and CPS and a different virtual disk for Windows paging of the same VM.
  • When installing VMware tools use a custom installation and remove the shared folder feature. This is very important as Citrix seems not to like that and it is a useless feature on ESX as it’s meant for Workstation.

  • Follow VMware’s best practices for performance tuning on ESX (http://www.vmware.com/pdf/vi_performance_tuning.pdf)
  • Build your template Citrix virtual machine from scratch (don’t convert an existing physical server).
  • Use a single virtual CPU for the template vm
  • This will allow the Windows operating system in the guest to use a uni-processor HAL, as opposed to a SMP HAL, streamlining the guest operating system.
  • Configure the template vm for 2-4 GB RAM..
  • Configure separate virtual disks (VMDK files) for the operating system and the pagefile.
  • Ensure you align the NTFS partition in the VMDK prior to the Windows installation in the guest (at Netapp – http://media.netapp.com/documents/tr-3593.pdf;  at VMware – http://www.vmware.com/vmtn/resources/608).
  • Use a 64-bit Windows installation. :-s
  • Have an understanding of what an ‘acceptable’ threshold of users will be… Some customers see an increase in the number of users per Citrix instance when virtualized, some see fewer.  You should go into it with the expectation that you may get fewer users, as well as what you would like to see (ie 80% of physical or better?  70%?).

 

Bear in mind that even if you get fewer users per vm than in a physical environment, there are many other benefits to using virtualized Citrix servers:

Deployment:

  • One of the things many Citrix shops struggle with is their deployment process – how do we maintain an up-to-date image for the farm that incorporates the required applications and accommodates the hardware in question… rolling out Windows, including updates and patches, and the Citrix software (though this could be handled by Citrix Installation Manager).  Either way, you are maintaining server images somewhere  either through the use of a complicated installation script, or through imaging software such as Ghost.
  • Deploying a virtual machine through the use of templates is far quicker and more efficient than any other physical imaging process you might have used.  VMs can be deployed in a matter of minutes using templates.  The templates themselves can be created from existing virtual machines, and can be copied and used with VMware snapshots or SAN/NAS snapshots, giving you the ability to easily maintain a library of templates for different types of operating systems, applications, etc.

Disaster recovery:

  • Setting up a Citrix farm to failover to another site requires a large investment in hardware, and man-hours to configure the remote site to handle all the applications necessary.  Furthermore, the hardware in the remote site has to be of the same type as the primary, or your deployment strategy has to take hardware differences into account.
  • Using virtual machines, all you need to do to enable a DR site is have a copy of the required virtual machines in the remote location – hence you only need to set up the farm once, and maintain a copy of it in the remote location.  Spinning up your DR or business continuity site is a matter of ‘powering up’ the virtual machines.  VMware Site Recovery Manager may even help automate that process.

Stability:

  • Since the citrix system is accessed by users like a PC on a regular basis, a Citrix server is more prone to failure than a regular server (though, with proper maintenance, hopefully less prone than a desktop).  Server outages mean lost productivity for your users, and a significant effort in troubleshooting the problem, since Terminal Services is a good deal more complicated than a regular server.
  • To properly design for the outages we know we will have, you have to have extra capacity in the farm to handle the overflow users when one of the servers is down.  This is true for both planned and unplanned downtime.
  • VMware ESX has been recognized in the industry as one of the most stable platforms to be introduced… ever.  This means fewer outages due to host failures.  Also, since we standardize and virtualize the hardware of the guest operating systems, this holds true across different hosts, enabling your virtual machines to run across hosts from different manufacturers and chipsets.
  • See http://redmondmag.com/features/article.asp?EditorialsID=2400

Application Deployment:

  • Many Citrix shops do a good deal of work maintaining multiple images – deploying applications in ‘stovepipe’ configurations…  that is to say, multiple small groups of Citrix servers, each dedicated to a specific set of applications.  Frequently, this is due to largely due to application incompatibility.  However, it results in the Citrix admin being required to maintain several different images for the Citrix farm.
  • Even if the shop has standardized on a single Citrix image, they will not be using the company’s standard application deployment methodology…  Terminal Services is too funky with regards to application deployment, and requires much handholding.  Most Citrix shops has compeletely separate processes for packaging applications for a PC versus a Citrix server.
  • VMware ThinApp (http://www.thinstall.com) can be used to image your applications separately from the Citrix image… In fact, an application that has been packaged with ThinApp on Windows 2003 will work on Terminal Services, Citrix, Windows XP, and Vista, eliminating the need to package that application for the different platforms.  Furthermore, ThinApp includes a ‘sandbox’ to prevent applications from conflicting with each other.  You simply place the packaged application on a file share on the network, accessible to the Citrix servers (or PCs, or both), and you are done.  Your users simply execute the application from the shared directory, and they are off and running.  This results in a win-win for the customer – the ability to package an application once, and use it for either a PC environment or a Citrix environment.

Bron: http://virtualfuture.info/2008/07/citrix-on-vi3x-recommendations/

VMware: Create an OVF appliance with Workstation 6 beta 2


In deze post laat ik zien hoe je een virtual appliance kunt aanmaken via de conversion wizard binnen Workstation 6.5 beta 2

Start de wizard op en selecteer de VM die je wilt omzetten. In “Step 2: Destination” kies je voor de optie Virtual Appliance (VA).

WS65_Create_OVF_1

Geef een naam op en de plaats waar je de VA wilt plaatsen

WS65_Create_OVF_2

In het volgende scherm kun je wat extra informatie meegeven.

WS65_Create_OVF_3

En als je dat wilt kun je een license file toevoegen. Ik heb als test even een txt file toegevoegd.

WS65_Create_OVF_4

In het volgende scherm kun je nog een keuze maken wat betreft het Distribution Format.

WS65_Create_OVF_5

Als laatste kun je de VNics configureren.

WS65_Create_OVF_6

En als laatste vind je een overzicht van alle settings.

WS65_Create_OVF_7

in het onderstaande plaatje zie je het verschil in grootte. De VM heeft een VMDK van 2GB de VA heeft een VMDK van 200MB. Zo kun je de master “template” VM’s in een klein formaat wegschrijven.

WS65_Create_OVF_8

Als test heb ik ook nog een Windows XP VM omgezet naar OVF. Deze VM heeft een VMDK van 8GB.

Binnen Windows ziet het er als volgt uit:

image

Na de conversie ziet het er als volgt uit:

image

Er is echter een nadeel. Als de VM en de daarna gemaakt OVF’s is aangemaakt met WS 6.5. Kun je niet gebruiken in VI 3.5. Zie de onderstaande foutmelding:

image

Dit kun je oplossen door de volgende post na te lopen. Het komt er op neer dat de hardware version te hoog is van de VM. Als je deze downgrade naar version 5 werkt het wel.