Archive

Archive for the ‘tips’ Category

VDI Flash Calculator v1.3 now with Full support to New VMware View 4.5 features

September 2nd, 2010 Andre Leibovici No comments

I have just uploaded the new release of my online VDI Flash Calculator. This new release adds full support to VMware View 4.5 Disposable Disks and includes a Storage Breakdown Summary to facilitate planning of storage tiering.

Disposable Disks will benefit scenarios where virtual desktops are powered off when not in use and where storage tiering has been incorporated into the design. To use this feature make sure you enter the size of the disposable disk and select VMware View release 4.5 from the dropdown menu.

The VDI calculator can be found at http://myvirtualcloud.net/?page_id=1076. Alternatively, go to my blog homepage and select VDI Calculator.

Release 1.3
- Added support for VMware View 4.5 Disposable disks
- Added new Storage Breakdown summary for VMware View 4.5 Tiering

Release 1.2
- Added Host number calculation based on Desktop State (On, Suspend, Power Off)
- Added Storage calculation based on Desktop State (On, Suspend, Power Off)
- Added 4Gb overhead for vmKernel for Host Memory with overcommit
- Fixed bug when calculating Hosts Memory overcommit with low VMs per core

Release 1.1
- Added validation for Number of Desktop Pools (max. 512 Linked Clone VM per Desktop Pool)
- Added developer name and blog URL at bottom

Release 1.0

The VDI calculator can be found at http://myvirtualcloud.net/?page_id=1076. Alternatively, go to my blog homepage and select VDI Calculator.

  • Share/Bookmark
Categories: news, tips, vdi, virtualization

Using the New ThinApp 4.6 to harvest IE6 and package Legacy Applications

August 31st, 2010 Andre Leibovici 3 comments

This week most of the cool kidz are at VMworld in San Francisco learning and playing with the latest technologies from VMware and Partners. I was not so fortunate to be there, but I had a chance to help a customer to virtualise their legacy applications using the latest release of ThinApp (4.6).

Yes, the new ThinApp 4.6 is also a hot topic at VMworld. If you didn’t have a chance to use ThinApp I recommend you to download the evaluation product and start packaging your applications.

This customer in specific has already been using VMware ThinApp for at least 4 months as part of the desktop strategy to move all workstation to Windows 7. They started using ThinApp after a major failure trying to utilise other application virtualisation products, not to mention names. Being a government department they have a crap load of legacy applications. Some of the applications are 15 years old, some based on Java 1.3 and others that will only work on Internet Explorer 6.

Using previous releases of ThinApp they have been able to virtualise those legacy applications whilst allowing different releases of Java to co-exist on the same Windows XP. If you recall, up to Java 1.3 only a single instance of Java was allowed per Windows. ThinApp also allowed them possible to package IE6 and run on Windows 7.

Couple weeks ago VMware released ThinApp 4.6. I consider this release to be a game changer in the application virtualisation industry. Why? ThinApp can now capture IE 6 and many of its plug-ins on a Windows XP machine. Used in conjunction with the ThinApp ThinDirect plug-in, installed on a user’s native browser, Web sites, or specific pages can be redirected to automatically open in a virtual IE 6 browser. In addition, an application that requires Internet Explorer 6 can be packaged with Internet Explorer 6, so that the application runs automatically on the virtual Internet Explorer 6.

Before ThinApp 4.6 to package a legacy IE6 + Java1.3 the process would be somewhat like:

  • Install Windows 2000 SP4
  • Install IE6
  • Run windows update > install update for BITS > reboot
  • Run windows update > Install Microsoft Installer update > reboot
  • Run windows update > install the following patches > reboot
  • Security Update for Internet Explorer 6 Service Pack 1 for Windows 2000 (KB905495)
  • Security Update for Internet Explorer 6 for Windows 2000 (KB958869)
  • Cumulative Security Update for Internet Explorer 6 Service Pack 1 (KB980182)
  • Install/Initiate ThinApp pre-Scan
  • Install java1.3 + registry changes > reboot
  • Install Application > reboot
  • Run post-scan

With ThinApp 4.6 the process is somewhat similar but the options are the key differentiation:

  • Install Windows XP SP3
  • Install/Initiate ThinApp pre-Scan
  • Install java1.3 + registry changes > reboot
  • Install Application > reboot
  • Run post-scan

Cutting the chase, during the post-scan you will have the option to harvest IE6 from Windows XP and run it in a fully visualised sandbox, or create an entry point for the default Internet Explorer installed in your Windows and run it inside the sandbox. This second option gives you the possibility to create a fully portable application package that will run in any release of Internet Explorer, or even being able to use a single default IE with multiple legacy java versions – in my case 1.3.

clip_image002

From the release notes, other features I consider industry killer are:

  • ThinApp ThinReg application enables a virtual service to be installed as a physical service, so that it starts when the physical machine is started. Any user can start and stop the service.
  • Internet Explorer 6 is supported for Windows 7 (32-bit and 64-bit) machines.

This customer is deploying ThinApp packages into their base SOE but their desktop strategy is already defined and ThinApp is a key component to allow them to migrate to Windows 7. In the future they will stream the packages from a centralised network share. Once they are ready for VDI adoption the last thing they will have to worry is about application compatibility.

It’s not uncommon to see 20% of the applications causing 80% of the issues for IT administrators. Take a look at your application catalogue and identify legacy applications with heavy dependencies, and give it a go with ThinApp.

For more information and downloads visit http://www.vmware.com/products/thinapp/

  • Share/Bookmark
Categories: tips, vdi, virtualization

Flash VDI Calculator v1.2 (New Features)

August 27th, 2010 Andre Leibovici No comments

I have just uploaded a new release of the VDI Calculator.
This new some new features and fix a bug.

Release 1.2
- Added Host number calculation based on Desktop State (On, Suspend, Power Off)
- Added Storage calculation based on Desktop State (On, Suspend, Power Off)
- Added 4Gb overhead for vmKernel for Host Memory with overcommit
- Fixed bug when calculating Hosts Memory overcommit with low VMs per core

Release 1.1
- Added validation for Number of Desktop Pools (max. 512 Linked Clone VM per Desktop Pool)
- Added developer name and blog URL at bottom

Release 1.0

The VDI calculator can be found at http://myvirtualcloud.net/?page_id=1076. Alternatively, go to my blog homepage and select VDI Calculator.

  • Share/Bookmark
Categories: news, tips, vdi, virtualization

Online Flash VDI Calculator

August 24th, 2010 Andre Leibovici 2 comments

VDI is not one of those technologies that only require a simple next-next-finish installations. I know how challenging a small or large scale VDI design can be, specially for newcomers. VDI footprints are commonly made of 20 or more technology layers that are interdependent of each other and  it is very common to get lost on numbers, limits and calculations.

To help you with your VDI design I have created an online Flash VDI Calculator. This online calculator will help you to size your VMware View environment. You will be able to learn and play with limits and boundaries until you find the solution that will best fit your requirements.

The key components covered in this first release are:

  • Memory (Memory Limit and Shared Memory)
  • CPU (Cores per Host and VMs per Core)
  • Storage (Linked Clone and non-Linked Clone, LUNs)
  • VMware vCenter (4.0 and 4.1)
  • VMware View (4.0 and 4.5)
  • Display Protocols and Connection Types
  • External Users
  • Share/Bookmark
Categories: tips, vdi, virtualization

Pagefiles and VDI. Not so simple.

August 18th, 2010 Andre Leibovici 4 comments

Windows Virtual memory, also known as Windows pagefiles, has been part of Microsoft Windows since Windows 3.0. Microsoft introduced virtual memory in response to the failures of Windows 1.0 and Windows 2.0, attempting to slash resource requirements for the operating system. Since then, not much has been discussed about paging until VDI became mainstream.

Not many technologies can be so simple and at the same time so complex to manage and understand. Because of that I have put in order a recollection of articles and recommended practices to help us better understand what steps can and should be taken to optimize disk swapping performance.

A virtual machine will almost often have two types of pagefile.

1. Windows Pagefile (pagefile.sys)

2. .vswp (memory overcommitment on a ESX server)

Before discussing both type of swap it’s important to understand that ESX server uses an advanced technique to optimize memory utilization in the system. These techniques include Transparent Page Sharing (TPS), ballooning and swapping. ESX scans the memory used by virtual machines to determine identical memory pages and transparently collapse them into single copies that are accessed (read-only) by all the VMs.

Ballooning is the technique used by ESX to force a guest system to swap inactive memory pages to its internal pagefile (1) and utilize the freed physical RAM to serve other active VMs. As a fallback, when the system memory is overly utilized, ESX will swap to disk memory from virtual machines (2). Each virtual machine has its own .vswap file maintained by ESX.

(2) “VM disk swap (.vswp) is created if the reservation is less than 100% of a virtual machine’s RAM. The size of the swap file is equal to the unreserved portion of guest RAM. For example, if 50% of guest RAM is reserved and guest RAM is 2GB, the .vswp is 1GB.” vSphere4 – Desktop virtualization notes If the host is already under heavy memory contention the last thing you want is to create another point of contention.

“It’s a good idea to either create partial memory reservation for your VM’s or specify an alternate location for this file so it does not use up valuable VMFS SAN space. By creating a partial memory reservation you can decrease the size of this file and still allow for memory overcommitment, you also allow for ESX to use its advanced memory techniques such as page sharing. Alternately you can specify an alternate location for the .vswp file so it is not stored in the same directory as your .vmdk files.” esiebert7625

(1) “The Windows OS starts paging when 75 percent of its memory is allocated. It will always try to keep at least 25 percent free. But paging in virtual environments is a performance-­killer. So instead of giving it the recommended (in physical systems) amount of 1.5 to 2 times the amount of memory in swap space, we limit the pagefile size to a fixed amount of 200 to perhaps 500 MB. If that is not enough, just add more RAM to the client, rather than extending the pagefile.” Petervandenbosch

“As this data is transient in nature we can save a fair amount of storage and/or bandwidth capacity by removing this data out of the datastore, which contains the production data. In order to accomplish this design the VM’s swap or pagefile must be relocated to a second virtual disk, stored in a separate datastore.” NetApp and VMware Virtual Infrastructure 3 Storage Best Practices

“Blocks of data are written in sequence to all disks in a RAID0 set but only to one at the time. So if one disk in the set fails, all data from the set of disks is lost. But because there is no overhead in a RAID0 set, it is the fastest way of reading and writing data. In practice this can only be used for volatile data like temporary files and temporary caches, and also perhaps for pagefiles. If used, the amount of IOPS a RAID0 set can provide with 15,000 RPM disks is 150-­160 for reads and 140-­150 for writes.” Deep Impact

When dealing with VMware View and virtual machines using Linked Cloning things start to get even more interesting. Because, by default, the pagefile is located on C:\, every time Windows swap memory to disk the delta .vmdk is incremented consuming additional storage space. It is a good practice, even when using Linked Clones, to create a new .vmdk specific for Windows virtual memory. I have also tested using pagefile on UDD (User data Disk) and that is also works well even after the machine is provisioned. If you still have doubts about how linked cloning technology works look here, here and here.

The flow below demonstrates the steps you can take to provide your VDI environment with the best swap management.

image

The same steps are applicable to any virtual machine with or without Linked Clone.

  • Share/Bookmark
Categories: tips, vdi, virtualization
Get Adobe Flash playerPlugin by wpburn.com wordpress themes