Think of it as fire-and-forget ammo for those afflicted with "I am my brother's keeper" syndrome.
Splogbane: If you are reading this on a blog other than http://blogs.technet.com/tonyso, why not stop patronizing a splog and come over to the original?
Marcus Anthony and Scott Bullens have a startup that makes me sad/glad. Sad we need it, glad it is there. My Mobile Witness allows you to use the camera in your phone and text messaging to send a photo of someone (or, say a license plate) that can be retrieved by law enforcement without a warrant. This can be a powerful deterrent.
Say a friend leaves a party with a person they've just met against your advice and having had too much to drink. You snap their pic and inform them you expect your friend to get home safely, if they don't the authorities will have the info they need to follow up.
The service is free - but there will be ad-support in their somewhere I'm sure.
Check out the TechEd video Windows Server 2008 Hyper-V: Scripting & Programmatic Management for Fun & Profit (VBS & PowerShell) by John Kelbley, and Alexander Lash.
Some of John's example script are newly posed in the Official Scripting Guys Forum!, for example:
Thanks to John for sharing these.
There is something interesting going on WRT "community content" at Microsoft. See the example over in Official Scripting Guys forum:
A customer asked for scripting help to check the OS version on his XP client machine and install patches.
The next day an MVP posted a script to help him:
1 Set objShell = CreateObject("WScript.Shell")
2 Set objFSO = CreateObject("Scripting.FileSystemObject")
3
4 strComputer = "."
5 Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
6 Set colItems = objWMIService.ExecQuery("SELECT * FROM Win32_OperatingSystem WHERE Name LIKE '%Microsoft Windows XP%'")
7 For Each objItem In colItems
8 If objItem.CSDVersion = "Service Pack 3" Then
9 If CheckPatch("KB953760")=True then
10 Wscript.Echo "Patch found."
11 Else
12 Wscript.Echo "Patch not found. Installing patch..."
13 objShell.Run "\\server\share\WindowsXP-kb953760-x86-ENU.exe /qn", ,TRUE
14 End if
15 End If
16 Next
17
18 Function CheckPatch(patch)
19 Set objSession = CreateObject("Microsoft.Update.Session")
20 Set objSearcher = objSession.CreateUpdateSearcher
21 Set objResults = objSearcher.Search("Type='Software'")
22 Set colUpdates = objResults.Updates
23 Found = False
24 Result = 0
25 For i = 0 to colUpdates.Count - 1
26 Result = Instr(colUpdates.Item(i).Title, patch)
27 If Result > 0 then
28 Found = True
29 Exit For
30 End if
31 Next
32 CheckPatch = Found
33 End Function
Kudos to Salvador Manaois III, aboren and nckmrtn for helping out the original poster.
What can we do to make more this this happen? Leave comments.
The November?December issue of Technology Review shows a new image:
There is a new TechNet Edge screencast from Jeff Alexander demonstrates Microsoft Hyper-V Server 2008. OBTW, Microsoft Hyper-V Server 2008 is free-as-in-beer.
By default, the free-as-in-beer Microsoft Hyper-V Server 2008 is configured for manual updates. In other words, it is NOT configured out of the box to go fetch automatic updates. This is desired behavior for most installs. However, if there are critical issues, like those you might find on the secbuls page, then you must remember to go manually update your Hyper-V Server.
Let's go do that right now.
No, really, stop what you are doing and go patch your Microsoft Hyper-V Server 2008 boxes right now. Here's how:
Note: This may take some time.
You may be prompted with “A restart is required to complete Windows Updates. Restart now?” Click Yes to initiate a restart. By default, running virtual machines will automatically be saved prior to restarting the Hyper-V Server.
For more info see http://www.microsoft.com/downloads/details.aspx?FamilyID=2a429ea3-e33b-414f-ae49-2eead9f5b351
The Springboard content series on TechNet has a blog. AFAIK this is the first time a content series has started a blog, as opposed to a product group. Check it out and keep an eye on it around the PDC timeframe for announcements and information about planning and deploying Windows 7.
Here's looking forward to an "Exchange Administrator's Guide blog", or a "Windows Server 2008 ResKit blog" or, (my favorite) a "PowerShell Command Line Reference blog".
Twitter
http://twitter.com/Virtualpath
http://twitter.com/govirtual
http://twitter.com/STBNewsBytes
http://twitter.com/latelier
http://twitter.com/TechmemeFH
http://twitter.com/MacReeg
The RoboChamps is similar to the DARPA Urban Challenge, only it is a SIM. Participants must program a robotic car to navigate to a series of checkpoints in an urban environment.
Check out the website for the software, challenge kits, training materials, and a video podcast: www.robochamps.com.
The TN and MSDN social platform, including the new bookmarking apps, just went virtual to improve perf as more and more IT Pros and Devs twig to what's going on. Read about it on Chris's blog post. 24 VMs and growing...
You know those little dishes beside cash registers marked "Give a penny, take a penny"? It is one manifestation of the "pay-it-forward' meme. I give an extra penny from my transaction change now when I don't need it, and I take one later when I do.
Folks who follow the Getting Things Done methodology are always looking for the equivalent in action mangement. An easy example: so that you won't forget to take the <important thing> with you in the morning, put it in front of the door before you go to bed. See what I mean?
Anyway, in that spirit I offer this little insight into an invaluable time-saving Outlook 2007 feature if you have RM installed We do here at Microsoft: on the Permissions menu. select Do Not Reply All, and you have saved everyone on the mail the time it takes to delete all the replies if they are not interested in the thread.
I am currently the pathfinder for Windows Server UA checking into "alternative media for IT Pros" - alternative meaning "other than text on the web".
I have been doing some podcasts (check out the latest podcast on TN Social Platform), and will soon be posting some videos as well. If you are into video, you may want to check out the free-as-in-beer 10MB of hosted Silverlight you get over on Windows Live beta Silverlight Streaming Service.
Microsoft's Second Shot program let's you retake a certification exam you failed for free-as-in-beer. From October 15, 2008, to December 31, 2008, if you pass a Microsoft Certification exam on your first try, you get a 25% discount on a different exam.
You cannot loose. As John’s blog post (eWeek Article: 10 Steps Techies Should Take to Keep Their Jobs in a Financial Meltdown) notes – it’s time to cert-up.
I recently recorded a podcast with TechNet's Social Platform team, discussing the social platform, and the new TN social bookmarking in particular. Listen to the podcast, and then leave feedback here.
Some points to think about:
In the coming months it will be even more important for IT to show how it adds value to the company. One way to add value is to shave costs, Microsoft can help:
*For instance, did you know there is a free-as-in-beer library of PowerShell cmdlts for managing Hyper-V on CodePlex?
You already read my blog post about MAP 3.1, right? The beta of the newest version Microsoft Assessment and Planning (MAP) Toolkit (3.2) is available on Connect, including new modules:
Don't forget to lurk the forum: http://blogs.technet.com/tonyso/archive/2008/03/13/new-map-forum.aspx
Well we can claim it anyway - the next version of Windows is named... Windows 7 :-)
Read about it on Mike Nash's blog post: Introducing Windows 7.
Watch Chris Slemp's video* for an overview of TN/MSDN's "social platform" that includes:
Social Bookmarking
Community Content (ak.a. "wiki") - for example see http://technet.microsoft.com/en-us/library/cc753637.aspx
Forums - for example, did you know the Scripting Guys have a forum?
Blogs
Code Gallery
Oh yeah, search is now part of the social platform
*Hey, who's profile is that on the screen at about timecode 2:07?
Here's another guest post from Jeremy Hagan, thanks again Jeremy!
If you are planning on using High Availability for Hyper-V there are a number of things to keep in mind while planning your deployment and there are a number of best practices that will impact on your planning. I will cover the best practices first then discuss how these impact your pre-deployment decision making.
Best Practice 1 – One VM per LUN
High Availability in Hyper-V is provided through WS08 Failover Clustering. When you fail-over a cluster resource with a dependent disk that disk can only be active on one cluster node at a time. So if your cluster disk has more than one VM on it, then they must all fail over as a group. Essentially there is nothing wrong with this, so long as you know what you are doing when you decide to go down this path. The benefit of one VM per LUN is that you have the best granularity in terms of moving workloads between cluster nodes for maintenance or for smoothing out performance bottlenecks.
Imagine if you had 5 VMs running on one LUN in a 5 node cluster. One of your cluster nodes is over-utilized and one is under-utilized. If you were to move the 5-VM group to the under-utilized node then you might end up moving the bottleneck. If the 5 VMs were split you could fail them over individually. This would allow you to smooth out the utilizations more evenly.
Best Practice 2 – Fixed VHD files
VHD files can be Dynamic (i.e. the VHD is the size of the data in the VHD) or Fixed (i.e. the VHD is the size of the data and free space). Having Fixed VHD files confers a performance benefit since there is no requirement to continually allocate new space to the VHD file. Fixed VHD files also prevent performance issues caused by file fragmentation (especially when combined with one VM per LUN).
With these two best practices in mind I will now explain how they may affect your planning decisions around LUN sizing for a HA Hyper-V cluster. My first attempt at planning my LUN sizes consisted of monitoring the physical servers I was going to virtualize for a period (in my case, three weeks) and extrapolating their observed data growth out to 3 years’ worth and then adding a 15% premium. After that I rounded up to the nearest 5 GB and then ordered my LUNs from the SAN team.
My first mistake was that I forgot to factor in the amount of memory I planned to allocate to each VM in the calculations (a real beginner's mistake). The next thing I didn’t think about until it came time to implement was that even though you might have a Fixed VHD file with 5 GB of free space inside that file, as soon as you take a snapshot, that 5 GB of free space becomes immediately inaccessible since now all changes are written to a differencing VHD file until the snapshot is deleted.
So if you decide to go for both of the above best practices you really need to think hard about, not only your LUN sizes, but also your management practices regarding snapshots. In my environment I have decided that no Production VM will be allowed to run on a snapshot beyond a certain period. So if you decide to make a snapshot of a VM prior to making a change, once the change is accepted and you have decided not to revert, then the snapshot should be deleted. This will cause the changes to be committed to the original VHD on the next reboot.
If you decide to ignore best practice number 1 make sure you do it with your eyes open. Know what you are getting yourself in for and have a bailout plan ready. Oh and if you do ignore BP #1 I wouldn’t recommend ignoring BP #2. The benefits of pooling VMs on a LUN are significant. It simplifies your SAN configuration, reduces the chances that you will run out of drive letters on your parent partition and best of all you don’t have to make as many hard decisions about locking away disk space. You can just go ahead and create a 1 TB LUN and start putting VMs on it, run with as many snapshots as you like and not worry. Until you start to reach a performance bottleneck that is.
In summary, think hard about sizing your LUNs. Consequences of under-sizing are significant, no room for snapshots, no room for boosting the amount of memory allocated to a VM. If you have the luxury of copious amounts of SAN space (hey storage is cheap, right?) then overspec.
Notes:
Have a listen to this podcast on SEO with Rob Veliz, then check out these tools:
Keyword Research: https://adwords.google.com/select/KeywordToolExternal
Keyword Research: tools.seobook.com/keyword-list/generator.php
Link Research: http://siteexplorer.search.yahoo.com/
Analytics: adCenter Add-inBeta for Excel 2007
Webmaster tools: http://webmaster.live.com/
Our first guest post (http://blogs.technet.com/tonyso/archive/2008/10/07/your-hyper-v-blog-post-here.aspx) comes from Jeremy Hagan. Thanks Jeremy!
Background:
One problem I have had when trying to do my first round of P2Vs for my Hyper-V implementation that I didn’t notice in testing is that you can’t size the VHD of the VM smaller than the corresponding physical disk of the original machine. Since it is best practice to have one LUN per VM and it is also best practice to have fixed VHDs, this can cause a lot of wasted SAN space. In my planning for the P2V process I monitored the target servers for 1 month so that I could get an idea of the CPU and memory use, but also the data growth. I decided to plot the percentage of data growth, extrapolate this for 3 years and then add a 15% premium on top of this then rounded up to the nearest 5 GB. This ended up being the SAN LUN size for each VM. The problem I then had was that I didn’t have enough SAN space available to P2V my machines.
What I decided I needed to do was to P2V each machine to a sufficiently large scratch LUN, then shrink down the VHDs to be the size I wanted then migrate the VM off the scratch LUN to the desired LUN. Easy right? Well maybe not. After much searching I have managed to come up with a recipe for doing this. See the example below. In this case it was a Windows XP machine with a 40 GB hard disk, but only 9.5 GB of data. If you want to play with this I recommend making a copy of the VHD file as a backup rather than taking a snapshot. Snapshots will interfere with final step using VHDResizer to create the final fixed VHD file.
Steps (assumes a single disk with a single partition):
Now if you think that is laborious and annoying, you’d be right. Hopefully Microsoft will come up with a better way to do this in the future. Now before I get a million comments about this, I did try to just use WinPE and DISKPART SHRINK, but no matter how many times I defragmented, precompacted and compacted I couldn’t get the partition to shrink down to less than about 24 GB.
Did you notice that the URL for search on TechNet changed recently?
It is now social.technet.microsoft.com/search.
Check out the new "refinements" (that work like "filters", only, I guess "filters" sounds too prole...) and the "Related To:" listings that bring you "pre-refined" searches, nifty.
Bothered by English-language results being categorized higher on the search results page than non-English results? Check out the new ability to exclude English results.
Follow the Rob Veliz blog for more info.
When you migrate your Virtual Server or Virtual PC virtual machine to Hyper-V, you:
If you have trouble in this process, and it looks like the integration services did non install correctly (mouse doesn't work correctly, for example), you may have a HAL mismatch.
By default, Hyper-V will install an APIC MP HAL when the Integration Services are installed in the virtual machine. If the VM had a different HAL, try changing it.
To change the HAL
Open MSConfig
Click the Boot tab, and then click Advanced options…
Check Detect HAL, click OK twice, and then restart the virtual machine.
Note Changing the HAL will usually trigger an operating system re-activation.
John's blog post describes free-as-in-beer training materials you can download and reuse with your users, including an intranet SharePoint site so users can self-serve. These are based on the materials Microsoft IT provides to Microsoft employees.
http://blogs.technet.com/john_westworth/archive/2008/10/08/everyday-productivity-education-epe.aspx
The zip download file contains a model of the intranet site for your own use with editable content in the EPE Docs folder. When you customize the documents, the HTML model will link automatically to the guides updated to fit your environment.