February 5, 2012

Creating a Windows 7 Template for VMware View 4.5

These are the steps I follow to create a Windows 7 template for VMware View 4.5  I am only including steps specific to Windows 7 as that is all we deploy in our datacenter.  One benefit of Windows 7 versus Windows XP is that your VM will be properly aligned from the start – Windows XP by default didn’t properly align and you would have to either manually create the aligned partition first or fix it afterwards using a tool like mbralign from NetApp.

Now for the steps I follow (Note: I included screenshots but these instructions aren’t meant to be extremely detailed – they are mostly for my own reference and I assume most people will be able to find the appropriate locations to configure the necessary settings.)

1.  Install VMware Tools
2.  Enable Automatic Updates (temporarily) and make sure all udpates are installed
Creating a Windows 7 Template for VMware View 4.5
3.  Disable Automatic Updates after all Windows Updates have been installed and uncheck the options for Give me recommended updates the same way I receive important updates and Allow all users to install updates on this computer
Creating a Windows 7 Template for VMware View 4.5
4.  Join machine to the domain
5.  Install View Agent
Creating a Windows 7 Template for VMware View 4.5
6.  Disable IPv6
Creating a Windows 7 Template for VMware View 4.5
7.  Activate Windows
Creating a Windows 7 Template for VMware View 4.5
8.  Adjust visual settings for best performance
Creating a Windows 7 Template for VMware View 4.5
9.  Adjust power settings to high performance
Creating a Windows 7 Template for VMware View 4.5
10.  Disable indexing of files on C: drive
Creating a Windows 7 Template for VMware View 4.5
11.  Set the appropriate DiskTimeOut value in registry (Note: I use the windows_gos_timteout.iso from the NetApp VSC 2.0)
12.  (Optional) Run disk cleanup (Note: Amount of data will likely be very small)
13.  (Optional) Run disk defrag (Note: I don’t do this as I thin provision my VMs (using NetApp NFS storage) and this will inflate the size)
14.  (Optional) Disable Windows Firewall
15.  Clear out event logs (Application/System/Security)
Creating a Windows 7 Template for VMware View 4.5
16.  Make sure no ISO is currently mounted to the VM
Creating a Windows 7 Template for VMware View 4.5
That should cover (most of) the steps for a desktop virtual machine, make sure to take a virtual machine snapshot in the vSphere client after this is done to be used with View:
12
Any other steps you take on desktop templates that I don’t have listed?  I’d love to hear about them!

Popularity: 43% [?]

Links on vCloud Director and View 4.5

Some links to good articles on vCloud and View 4.5:

vCloud Director:

View 4.5:

If there are other good ones I should know about I’d love to know!

Popularity: 4% [?]

VMworld 2010 Recap

quite as far as I initially thought I did on Friday.  It turns out it was more like 15 miles after I redid my Google walking directions (makes up for the fact I missed the VMworld Fun Run):

aftermath of the VMworld Labs and I thought it was interesting that the VMware View 4.5 Install and Config lab was the #1 lab.  Perhaps 2011 will finally be the year of the desktop?  Or was that this year or the year before?  I touched on this in a previous post but some of the big topics this year were:

I’m looking forward to doing some blogging on NetApp integration with some of these new announcements (namely vCloud and View 4.5) so keep checking back for them.  I’m also looking forward to taking the VCAP-DCA exam, originally I had heard there might be an opportunity to take it at VMworld but now it sounds like it might be able to be scheduled starting September 13th.

Overall there was a lot of great information this year, makes me wonder what will be in store for next year….

?]

ONTAP 8.0.1 RC1 Available

The NOW site shows ONTAP 8.0.1 RC1 available for download as of today: https://now.netapp.com/NOW/download/software/ontap/8.0.1RC1/

At the time of this post all the links for release notes show a page not found, hopefully more information will be available shortly.

Popularity: 13% [?]

ALT 2004 – Building the VMworld Lab Cloud Infrastructure

Dan Anderson, a Principal Architect for VMware, spoke about the infrastructure behind VMworld 2010.  This was a very entertaining session and Dan was fun to listen to.  There are 3 datacenter locations used to power VMworld, one is here at Moscone, another at Terremark in Miami, FL and the third is at Verizon in Ashburn, VA.  All sites connect over the public internet through IPsec VPN connections.  Having some of the equipment onsite made this a ‘hybrid cloud’ deployment.  Since VMware says the cloud is the future of computing they decided to practice what they preach and deploy it in a cloud.  All lab stations are PCoIP zero clients and the room is divided into 8 sections.  Of those 8 sections 3 connect locally, 2.5 go to Verizon and the other 2.5 go to Terremark.  One of the problems during setup was moving data around, and Dan mentioned as an industry we need to figure out an effective way for moving data between clouds.
Some specs on the setup:
Networking:
10 Gbe core
2 x DS3 links at Moscone
Redundant 100 Mb connection at Terremark and Verizon
All connections go over public internet through IPsec VPN
Storage:
329TB Raw
244TB Usable
Compute:
352 ESX hosts
736 CPU sockets
3072 CPU Cores
7.5 THz Clock cycles
Memory:
14.6 TB
Clients:
480 PCoIP enabled zero clients
The two other locations were picked on the east coast because they will also be used for VMworld Europe which is coming up soon, Moscone equipment will be moved and the others will remain in place.
Lab Stats:
30 labs
44 hours of lab time over 4 days
480 seats
22070 lab hours
Also mentioned was that 4000 virtual machines are built and destroyed every hour!

Popularity: 3% [?]

BC8449 – Using VMware Site Recovery Manager with NetApp

Larry Touchette from NetApp and Arturo Fagundo from VMware presented this session on using SRM with NetApp.
Overview of VMware Site Recovery Manager
SRM allows you to do non-disruptive DR testing.  In order to do this you group VMs you want into protection groups.  Protection groups are the minimum level you can failover.  Once you have created your protection groups you build a recovery plan – a recovery plan is similar to an electronic runbook.  Site Recovery manager handles failing over the storage for you, promoting a replica image at the recovery site, registering the VMs at the DR site from the replicate storage and powering them on.  There are two different mods for SRM: Test and Failover.  When using test mode, it won’t affect your production virtual machines and it will create a separate, isolated network in the recovery site to bring the VMs up for testing.  Another thing to be aware of, SRM supports bi-direction protection since a lot of customers would be running production out of both locations.
High Level Configuration Info of VMware Site Recovery Manager
SRM leverages array replication technology and requires the use of a Storage Resource Adapter (SRA) that is provided by the vendor (NetApp, EMC, etc)
You must have a vCenter at each site, since its likely the two environments are not identical you configure inventory mappings with SRM to map resource pools, networks, folders from one site to another.  The protection groups correspond 1:1 to datastore groups but it is not configured by datastores, rather it is configured by virtual machines.  The recovery plan contains protection groups.
NetApp Specific SRM Info
When performing a test recovery, SRM will request a temporary copy of the storage which in this case is a Flexclone and then add the LUNs to igroups or create NFS exports AND the SnapMirror replication will still continue.  The next release of Site Recovery Manager will optionally allow requesting synchronization of replicated devices – what this will give you is if you are the Virtualization admin you wouldn’t need to contact the storage admin to have them update the SnapMirror if you wanted to do a DR test with the very latest data.
A recovery workflow is similar to a test but it actually breaks the SnapMirror and then promotes the destination volume to be read/write.  If using LUNs it adds them to the appropriate igroups and if using NFS it creates the exports with appropriate permissions for ESX hosts.
The latest version (as of this post) of the NetApp SRA is 1.4.3 which is a unified adapter, it works for either SAN or NAS (meaning the VM can have a system VMDK on NFS and an RDM device via iSCSI – this is common when using SnapManager products within VMware).  Some of the new features in 1.4.3 are:
  • Unified Adapter
  • Fully thin provision the DR test environment
  • Multistore vfilers as storage arrays
  • Non-quiesced SMVI snapshot recovery
If you are upgrading to the unified adapter you should be aware of the following:  If you are currently a SAN only environment it requires no SRM reconfig, the ONTAP version on the NetApp should be 7.2.4 or newer and you would simply need to uninstall 1.4.2 SAN and install 1.4.3.  If you are currently in a NAS environment you need to delete the protection groups and array managers prior to uninstalling the 1.4.2 adapter, then after you install 1.4.3 you must re-create your protection groups.
The next version of SRM will have a new re-protect workflow to reverse replication and synchronize storage in the opposite direction.  Any changes made at the DR site would be populated back to the original primary site.  If the storage itself wasn’t destroyed in the disaster it will only transfer the delta changes (as it will find a common storage snapshot and transfer changes made since then).  More details on that were available in BC8372 – SRM Futures: Failback and more.  The next major version of SRM should be released in the second half of 2011.
Also see NetApp’s Technical Report on using VMware Site Recovery Manager with NetApp storage: http://media.netapp.com/documents/tr-3671.pdf
Also, just as note at the end – one mentioned use case for SRM (other then the obvious) was for testing Application/Windows Updates:  You can run a DR test and apply all the updates or make the configuration changes, do your testing and then once it’s been validated make the changes to your production systems as well.

Popularity: 5% [?]

Some Pics from VMworld Day 3

The labs were packed and my sessions I wanted to hit weren’t until this afternoon so I decided to get out and try and get some pictures of VMworld before it was too late.  All of the labs were in Moscone West building, the lines were pretty long already at 9am:

This is a shot of the registration area, I checked in on Sunday – the lines were pretty long but moved quickly.

This is a shot of the Roadside stop that had snacks and pop:

Note to my employer:  I did not blow off VMworld to try and get into the Apple announcement today:

Everybody is trying to figure it out:

Xsigo was giving away a ride in your choice of 3 sports cars, here was the Bugatti:

That is it for now! Back to the labs for me.

Popularity: 2% [?]