Showing posts with label Server 2008. Show all posts
Showing posts with label Server 2008. Show all posts

Friday, 20 February 2009

Hyper-V Performance Measurement

Some good reading on Hyper-V and performance:

In the beginning, it can be tough to figure out how a particular hardware configuration will behave once Hyper-V has been loaded up on a Server Core or a Windows Server 2008 full install.

If running Hyper-V on a full install of Windows Server 2008, keep in mind that there will be a significant number of patches needed for the various GUI and browser related components on Win2K8 full that Server Core will not need. This means more reboots for a full Win2K8 Hyper-V setup.

The full install will also use more resources for itself. Thus, leaving less resources over for the virtual machines.

One thing is for sure: RAID 1+0 for your VM VHD files is a good place to start. The more spindles for that RAID 1+0 array, the better the performance.

In larger settings, there are hardware and network/hardware solutions that would facilitate storage for the Hyper-V server that may no be on the box itself. But, that is beyond the scope of our SMB focus.

Philip Elder
MPECS Inc.
Microsoft Small Business Specialists

*All Mac on SBS posts will not be written on a Mac until we replace our now missing iMac!

Windows Live Writer

Hyper-V – General Access Denied Error for ISOs via Network Share

Once the Hyper-V server on Server Core, or Full, has been set up, there is one more series of steps that need to happen before the Hyper-V server will be allowed to mount a network share located ISO file for VMs to use.

Before those steps are done, Hyper-V will throw a “General access denied error” whenever an attempt is made to mount a network located ISO in a VM.

We alluded to this procedure before: Hyper-V - Access to network shares for ISOs (previous blog post). Though at that point, we still had not found the exact methodology for getting the network ISOs accessible. Our methodology for Virtual Server 2005 R2 did not work.

In the end, there was a source for the solution: Jose Barreto’s Blog: Using Constrained Delegation to remotely manage a server running Hyper-V that uses CIFS/SMB file shares. Note that his blog came a couple of months after our initial post above.

Configuring the Constrained Delegation is actually quite simple:

  1. On the server with the shared ISO folder:
    1. Set both the NTFS and the Share permissions to FULL for the Hyper-V computer account.
  2. On a domain DC:
    1. Open Active Directory Users and Computers (SBS Console –> Advanced on 2003, SBS Native Tools Management on 2008)
    2. Find the Hyper-V server and double click on it.
    3. Click the Delegation tab.
    4. Click Trust this computer for delegation to the specified services only radio button.
    5. Click the Use any authentication protocol radio button.
    6. Click the Add button.
    7. Click the Users or Computers… button.
    8. Type the server’s name and click the Check Names button. An underline will appear under the server’s name if the correct object was found in Active Directory.
    9. Click on the cifs Service Type and click the OK button.
    10. Click the Apply and OK buttons.

Once the above two procedures have been accomplished, reboot the Hyper-V box if it still gives the General Access Denied error. Once rebooted, the ISO should mount in the VM via the Hyper-V Manager with no problems.

A screenshot of what the Constrained Delegation setting looks like:09-02-20 Hyper-V Constrained Delegation Settings in ADUC

Hyper-V Server properties with Constrained Delegation Enabled

    Note that the above screenshot is the properties for the Hyper-V role enabled server! No changes need to be made to the file server’s AD properties. Only the permissions on the folder share and NTFS permissions need to be modified on that box.

    Again, thanks to Jose Barreto’s Blog: Using Constrained Delegation to remotely manage a server running Hyper-V that uses CIFS/SMB file shares for the right answer to our problem.

    Philip Elder
    MPECS Inc.
    Microsoft Small Business Specialists

    *All Mac on SBS posts will not be written on a Mac until we replace our now missing iMac!

    Windows Live Writer

    Wednesday, 21 January 2009

    Server 2008 and Vista SP1 Group Policy settings spreadsheet download

    It never hurts to have a quick reference to the more complicated aspects of the products we work with.
    The download is in either Excel 97-2003 format or the new Excel 2007 format. Note the difference in the size between the old and new formats!

    The benefit of having the spreadsheet is the ability to do a quick Find to search for a policy setting.

    Each setting has its location with the GPO indicated, its name, what client and server OS versions support it, a really good explanation of the setting, and whether a reboot or logoff would be required to get the policy setting to apply.

    Group Policy is a pretty awesome thing for us to manage our SBS domains. The new Windows Server 2008 Group Policy structures we inherit with our SBS 2008 domains are phenomenal.

    One example is Group Policy Preferences. They give us such granular control over so many aspects of our SBS domains that we either had to script or run manually on all workstations.

    Check it out!

    Philip Elder
    MPECS Inc.
    Microsoft Small Business Specialists

    *All Mac on SBS posts are posted on our in-house iMac via the Safari Web browser.

    Saturday, 20 December 2008

    Server 2008 and Windows Vista Service Pack 2 Beta Available Publicly - TechNet/MSDN get Integrated Images

    Need to test the newest upcoming service pack for Windows Server 2008 and Windows Vista? Keep in mind that this service pack will also be applicable to SBS 2008!

    If so, it can be downloaded from the TechNet site: Windows Server 2008 Service Pack 2 and Windows Vista Service Pack 2 Beta Customer Preview Program (CPP).

    When we get a little more time, we will download the service pack and run it against our longest running SBS lab box to see if it blows up! :)

    We will get a backup just before the attempt too ... just in case.

    Note that the combined x86/x64/IA64 ISO download is close to 1.4GB.

    TechNet/MSDN subscribers can download the integrated product:


    TechNet Server 2008 Service Pack 2 Integrated Downloads

    Some further reading:

    Philip Elder
    MPECS Inc.
    Microsoft Small Business Specialists

    *All Mac on SBS posts are posted on our in-house iMac via the Safari Web browser.

    Wednesday, 17 December 2008

    SBS 2008 - Group Policy All Settings Filtering - The cat's meow!

    One of the neatest new features we inherit from Windows Server 2008 Group Policy is the ability to set up filters for the settings:


    Group Policy - All Settings Filtered on "Disconnect"

    While the Excel spreadsheets we had of the various policy settings were searchable, they were still very painful to synchronize with the actual ongoing Group Policy editing.

    That time, while not completely gone, has definitely taken a huge step forwards.

    While filtering will not work for the Windows Settings node, it will work for any setting in the Administrative Templates node.

    In this case, we were looking for the Remove "Disconnect" option from Shut Down dialog GP setting to enable in our default SBS 2008 Client Policy Object. We always enable this setting on our SBS networks so that users do not inadvertently disconnect from a workstation while working on it via the Remote Web Workplace. Inevitably, we would receive a support call to have that workstation freed up.

    Right click on the All Settings node and click on Filter Options. From there, we can define any type of filter we may need to drill down to the GP setting we are looking for.

    Check it out:

    Group Policy - Filter Options

    The options are almost limitless.

    Now, after having a close look at the Filter Options screenshot, go back up to the Settings Filtered screenshot and click on it to bring it up full size.

    Have a look at what happens when the + was clicked to the left of Administrative Templates. The little filter symbol appears on the folder and we can only click on folders that contain the GP settings we found via the filter as they are the only ones we can see.

    How kewl is that!?! :D

    This Group Policy feature was mentioned at Tech Days. This one learned feature alone more than paid for the two days of training and information. It will be such a huge time saver for us ... and for you! And, we also took the time to delve into the feature in Jeremy Moskowitz's book on Group Policy Fundamentals. Between the two, we are now better equiped to manage our SBS 2008, EBS 2008, and Windows Server 2008 Group Policy settings.

    Philip Elder
    MPECS Inc.
    Microsoft Small Business Specialists

    *All Mac on SBS posts are posted on our in-house iMac via the Safari Web browser.

    Tuesday, 16 December 2008

    SBS 2008 - Group Policy Object and Settings Commenting

    Something new to Windows Server 2008 Group Policy is the ability to add comments to both the Group Policy Object itself and any Group Policy setting under the Administrative Templates.

    Group Policy Object Comments

    The above screenshot shows the comment placed on the default SBS 2008 Windows SBS Client - Windows XP Policy that can be found under the SBSComputers OU.

    We have noted the date and the setting change we made to the GPO for later reference.

    For the GPO setting itself:

    GP Setting for XP to wait for the network enabled

    We have enabled this particular setting because we were getting ready to distribute Office 2007 via Group Policy scripting. When we first started doing GP software installs with Office 2003, we ran into the problem where XP Pro clients would not install unless we enabled this setting.

    Note the ability to add a comment to the setting. Talk about handy. Keep in mind that only those GP settings under the Administrative Templates node can be commented on.

    This new ability will facilitate keeping track of the how/why/when a GP setting was enabled for those who may be troubleshooting a problem down the road.

    GP Commenting was discussed during the recent Tech Days event. However, some further understanding was gleaned from reading up on GP Commenting in Jeremy Moskowitz's book on Group Policy Fundamentals.

    Some further reading:

    Philip Elder
    MPECS Inc.
    Microsoft Small Business Specialists

    *All Mac on SBS posts are posted on our in-house iMac via the Safari Web browser.

    Friday, 12 December 2008

    SBS 2008 - Group Policy Client-Side Extensions compatibility update for Vista, XP, and Win2K3 Server

    There is a lot to learn about in the new Windows Server 2008 based features in SBS 2008. While at Tech Days, one of the sessions was on Group Policy and it was phenomenal.

    One Group Policy feature we learned about was the Group Policy Client-Side Extensions (GP CSE):

    Group Policy Client-Side Extensions

    Notice the huge number of settings that are available to us.

    GP Client-Side Extensions enable us to deliver settings updates such as changing the local admin password company wide, a software package, make registry settings changes, and more using a "suggestion" model. That is, the settings can be pushed to the client system once if the Apply once and do not reapply setting is checked in the above screenshot, or every time the system is booted up if that setting is not checked.

    GP CSEs give us some flexibility in our Group Policy settings deployment structures in that it allows the user to utilize the GP settings, ignore them, or remove them altogether if the settings do not reapply on boot.

    To make full use of GP CSEs, Windows desktop clients (with the exception of Vista SP 1 with the RSAT installed) as well as Windows Server 2003 systems need an update: Information about new Group Policy preferences in Windows Server 2008. There are links in the Knowledgebase article to the updates for each respective operating system.

    Philip Elder
    MPECS Inc.
    Microsoft Small Business Specialists

    *All Mac on SBS posts are posted on our in-house iMac via the Safari Web browser.

    Monday, 10 November 2008

    Windows Vista and Server 2008 Network Transfer Speeds is 60MB/sec+

    Now that we have experience with "going native" on the SBS/Server 2008 platform, one of the most pleasant surprises is the improved network data transfer speeds.

    We have seen the posts around that indicated "problems" with Vista file transfers across networks since RTM.

    We have finished a number of client upgrades and server refreshes to all Vista/SBS 2008/Server 2008 and the change in transfer speeds is mind boggling.

    We are now consistently getting 50-80MB/sec across the wire with the bottleneck being the system setup that is transferring data TO the Server 2008 box hosting the data. The higher the horsepower the workstation running Vista, the closer to 80-100MB/sec we are seeing. Yes, Megabytes per second.

    Disk subsystem becomes the bottleneck on the workstation. That is where a good RAID 1+0 setup makes a huge difference in system performance and network transfers.

    A RAID 1+0 setup is something to keep in mind for your clients that require large file transfers across the network to run their daily business.

    With the advent of inexpensive storage, having four 320GB or 500GB Seagate Barracuda drives configured in RAID 1+0 is relatively inexpensive compared against the 40-60% performance increase the RAID setup yields. Many of the current desktop motherboards can even support a hot spare!

    Need to step that performance up another notch? Then the Western Digital VelociRaptors would be the drives of choice and an add-in Intel RAID Controller such as the SRCSASRB PCI-E 4x or SRCSASJV PCI-E 8x controllers will really make things fly!

    Philip Elder
    MPECS Inc.
    Microsoft Small Business Specialists

    *All Mac on SBS posts are posted on our in-house iMac via the Safari Web browser.

    Thursday, 30 October 2008

    Server Core - Firewall NetSH Command Line Reference

    Configuring the Windows Server 2008 Server Core Firewall via the command line has to be one of the biggest brain busters there is!

    There is always a need to figure out how to do something very specific, so we need to come up with a reference point, and that is what this blog post is.

    The first place to check:

    A really good resource:

    This one gives us the necessary commands to open up the firewall to allow for remote management of its settings. And, when it comes to figuring out how to get things happening, sometimes you just can't beat a GUI!

    Here are the commands, via the Server Core Blog post, that are crucial to opening things to the point where a remote management session can happen:

    • MMC Snap-in use "(Rule Group)"
    • Event Viewer "Remote Event Log Management"
    • Services "Remote Service Management"
    • Shared Folders "File and Printer Sharing"
    • Task Scheduler "Remote Scheduled Tasks Management"
    • Reliability and Performance "Performance Logs and Alerts" and “File and Printer Sharing”
    • Disk Management "Remote Volume Management"
    • Windows Firewall with Advanced Security "Windows Firewall Remote Management"

    On the Server Core box you can enable these by running:

    • Netsh advfirewall firewall set rule group=“(rule group)” new enable=yes

    Some additional commands:

    • Show profile settings: Netsh advfirewall firewall show allprofiles
    • Remote Administration: Netsh advfirewall firewall set rule group=“remote administration” new enable=yes

    Another good resource: The things that are better left unspoken : Firewall management in ...

    Philip Elder
    MPECS Inc.
    Microsoft Small Business Specialists

    *All Mac on SBS posts are posted on our in-house iMac via the Safari Web browser.

    Hyper-V Server 2008 - Install Failures

    We have not had much in the way of success getting Hyper-V Server 2008 to install.

    The idea was to have two servers running SBS 2008 setup routines and post setup routines for our upcoming Webinar: SBS 2008 - Setup Webinar this Thursday.

    The server hardware is vanilla Intel Server Systems series stuff:

    The first attempt to install from media we created in early October yielded this interesting screen:

    Microsoft Hyper-V Server Language Selection

    Now, that is not so bad, at least until clicking on the English option in this screen and the subsequent Locale screen and still seeing the alternative language menu in the top left.

    Okay, so maybe we grabbed the very first copy off Microsoft's servers and someone had put the wrong version on it: Hyper-V Server 2008 RTM available for download today!

    So, we went and downloaded a new copy of the product, and burned it to DVD on the slowest setting possible.

    When we started running through the setup routine again, we were greeted with:

    Hyper-V Server 2008 Language Selection

    Okay, so the language has changed in the top left menu but the language options are down to two?!?

    Then, here is the kicker: Thinking that surely we were dealing with a hardware related problem we ran through the Windows Server 2008 Standard install routine and installed Server Core ... in record time. So, there is no problem with the hardware that we can see. It is brand new!

    This is the message we consistently received when we would finally get a chance to load the RAID driver:

    Device Not Found

    Now, the install routine dragged itself out very painfully in between each click, each step in the routine. It did not matter where we were in the setup routine, the time span between clicking on something and the routine actually responding could be 10 or 15 minutes in some cases.

    We did update all of the BIOS and firmware components in the server. We even ran through the setup routine with the on board RAID controller just in case. Still no way it would install.

    We have another identical server waiting to be built. It will be our new SBS 2008 server. So, just in case ... we will invest a little more time into this install mystery and get that box setup and updated and see if the Hyper-V Server 2008 install routine will run through successfully. If it does, then we know there must be a hardware issue with the original box, if it does not, then we know there must be a problem in the software.

    Philip Elder
    MPECS Inc.
    Microsoft Small Business Specialists

    *All Mac on SBS posts are posted on our in-house iMac via the Safari Web browser.

    Tuesday, 28 October 2008

    Vista and Server 2008 KB957200 - Reliability Update?

    These updates showed up in our SBS 2008 Updates Console:


    Update for Windows Vista (KB957200)

    Click through to the Microsoft Knowledgebase site for the update and we get a 404.

    KB Article Not Found

    Do a search on Microsoft's download site and we do get results for KB957200 for all flavours of Windows with a release date of October 26th though.

    Before releasing this one to Vista or Windows Server 2008 including our SBS 2008 box, we would really like to see some release notes!

    After synchronizing one of our SBS 2003 R2 Premium boxes with WSUS v3 installed the updates did not appear. Hmmm ... strange.

    UPDATE: We are declining the update until such time as Microsoft gets the Knowledgebase article live. We need to make sure we know what exactly will be addressed by this update.

    UPDATE 2008-10-30: The Microsoft Knowledgebase Article is live: Windows Error Reporting does not function correctly when it is running in a "Windows on Windows 64" (WoW64) configuration on a Windows Vista SP1-based or Windows Server 2008-based computer.

    Philip Elder
    MPECS Inc.
    Microsoft Small Business Specialists

    *All Mac on SBS posts are posted on our in-house iMac via the Safari Web browser.

    Wednesday, 15 October 2008

    SBS 2008 - Physical and Virtual Product Keys

    For those of us on TechNet, MSDN, or soon to be Open Licensing, we will see that there are two sets of product keys we are given to activate the server:
    1. Physical: This product key will be bound to the physical hardware the server OS resides on.
    2. Virtual: This product key will activate the OS, but not require reactivation if memory, CPU cores, or any other virtual hardware configuration is changed.
    Microsoft KB949748: Description of the changes that were made to the product activation process for Windows Server 2008 in a virtual operating system environment.

    The virtual product keys apply to server OSs only and will be provided with Fully Packaged Product and OEM product. In the case of OEM product, there are some restrictions on preinstallation.

    Philip Elder
    MPECS Inc.
    Microsoft Small Business Specialists

    *All Mac on SBS posts are posted on our in-house iMac via the Safari Web browser.

    Monday, 29 September 2008

    Tech Days 2008 - Microsoft's investment in us ... an investment we can make in us

    Tech Days 2008 Canada:

    Microsoft Tech Days Canada 2008

    An early bird special of 50% off the price for either the one day or two day events is on until October 15, 2008.

    Here are the grids for the two day that I will be attending in Calgary:

    Microsoft Tech Days Day 1

    The two tracks that I will be focused on are the Virtualization and the Infrastructure ones.

    The decision for which session is going to be tough too, especially with the last one being a tie between SoftGrid application virtualization (MPECS Inc. and our clients are on Vista SA which includes SoftGrid) and the PowerShell and WMI session for the Infrastructure track.

    For now, PowerShell and WMI will win out, with the ultimate decision being made when I can find out a bit more about the meat and potatos in each session.

    Sessions registered for:

    • Planning Successful Physical to Virtual Server Migrations with the Microsoft Assessment and Planning Toolkit.
    • Streamlining Administration of Your Active Directory Deployments Using Group Policy Preferences, Templates, and Scripting.
    • Managing Your Virtual Infrastructure Using System Center Virtual Machine Manager 2008.
    • Automating the Management of Windows Servers using PowerShell and Windows Management Instrumentation (WMI).

    The second day grid:

    Microsoft Tech Days Day 2

    The sessions that I will be registered for:

    • Successful Migration Techniques For Migrating To Microsoft Exchange Server 2007.
    • Windows Deployments the Way You Want Them: Unleashing the Power of the Microsoft Deployment Toolkit with Customization.
    • Security in a Virtual World - How to Lock Down Your Virtual Environments.
    • Virtualization Chalk Talk.

    Many of these sessions are directly applicable to the infrastructure solutions we have and are putting together for our clients and for our own company.

    There is no replacement for taking the time to sit in the presence of experts who are demonstrating the abilities and features of the various products we work with.

    Training, especially training that we pay for, is a very valuable part of our professional development. We work in an industry where things are constantly evolving and out right changing. Training is both an investment in our clients and our own businesses.

    We cannot afford to sit on our laurels with what we believe to be a good knowledgebase and experience base in our heads and hands. Doing so places our client's infrastructure and thus their livelihoods at risk. We are responsible to provide our clients with the best possible solution to fit their business needs.

    That infrastructure solution is not necessarily the one we think is the best, but the one that will be made up of hardware and software products that will best fit for them. If we don't know the products, then we either get to know them or get someone who does know them involved to collaborate with us in providing the solution.

    Philip Elder
    MPECS Inc.
    Microsoft Small Business Specialists

    *All Mac on SBS posts are posted on our in-house iMac via the Safari Web browser.

    Friday, 19 September 2008

    Remote Web Workplace and Server Core

    Just in case you were wondering: When logged into the Remote Web Workplace with a domain admin account after clicking on the Connect to Server Desktops link, your Server Core installations will be available for a remote desktop connection.

    While we do not log in to RWW using a domain administrator account often, we do need to every once in a while for specific reasons.

    It is good to know that once we have set the Remote Desktop Protocol to enabled on the Server Core installation and allowed the RDP protocol through the Windows Firewall that we will be good to connect and perform any needed tasks on our Server Core boxes via RWW and RDP.

    Philip Elder
    MPECS Inc.
    Microsoft Small Business Specialists

    *All Mac on SBS posts are posted on our in-house iMac via the Safari Web browser.

    Friday, 5 September 2008

    Server Core - installing and enabling Access-Based Enumeration

    For us and our clients, we absolutely require Access-Based Enumeration (ABE) to be installed on every file sharing server and enabled on every network shared folder.

    It is mission critical because ABE hides any folders a user does not have permission to access no matter what method they use to access the file sharing server.

    Out of sight, out of mind ... to a degree. ;)

    Now, for some of our clients, and for ourselves, we are migrating our file servers to Windows Server 2008 Standard x64 Server Core installations. Performance improvements over Win2K3 Standard GUI install for older hardware with a hard drive refresh is impressive.

    Running the install is pretty straight forward:


    Access Based Enumeration Install on Server Core

    As we are running through the install routine, something to keep in mind: We have no direct GUI on the Server Core box to bring up the folder's properties and manually enable ABE:

    Win2K3 Full - ABE Folder Properties

    As a result, when we are running through the ABE install on Server Core, we need to do the following:

    ABE Installation - Enable Access-based Enumeration by default

    Once the ABE install is complete, create your file shares, set permissions either via the command line on the Server Core box, another Win2K8 box, or via RSAT enabled Vista SP1.

    More on ABE:

    Note that SBS 2008 has ABE installed by default with permissions managed from within the SBS 2008 consoles!

    Server Core Rocks! :D

    Philip Elder
    MPECS Inc.
    Microsoft Small Business Specialists

    *All Mac on SBS posts are posted on our in-house iMac via the Safari Web browser.

    Wednesday, 27 August 2008

    Further to NAP - Win2K8 Server Security Guide Available

    Further to this morning's post on NAP is in SBS, Rodney of the CanITPro blog posted a comment about some videos:
    He points to this PDF document: Heroes Happen {Here} Lab Guide (PDF Document)

    The links to the needed VHDs and the like are active in the PDF. Check it out, because there is a huge amount of reading condensed and organized according to the proper flow of things.

    Also, just in time for the long weekend too, some reading on Windows Server 2008 Security:
    There are three download links on the Microsoft Download Site.

    Since we are focused on SMB, there is a real need for us to keep abreast on the hows and whys of proper security configuration for the network infrastructure as well as the hardening of our servers to reduce the attack surface.

    Security is one of the principle reasons why Server Core is such an awesome option for specific network infrastructure needs.

    Philip Elder
    MPECS Inc.
    Microsoft Small Business Specialists

    *All Mac on SBS posts are posted on our in-house iMac via the Safari Web browser.

    Thursday, 7 August 2008

    Server Core - Updates are available + How to manually update

    Despite the fact that the Windows Server 2008 Server Core edition has an exceedingly small footprint does not mean that it will not require updates.

    They may come fewer and further between, but Server Core will still need to be updated:

    Windows Server 2008 Standard (Core Installation) - 13 updates required.

    Finding out how exactly we get the updates onto the Server Core installation is another story.

    We look the Server Core Blog: Windows Update and More WMIC samples. Here we find the following command line to detect updates manually: Wuauclt /detectnow

    However, we are not given any further indication as to how we must proceed to install those updates.

    We search a little more, and our friend Sander Berkouwer on his blog The things that are better left unspoken gives us the process: (Manually) Updating Server Core .

    The steps:
    1. Copy and paste the following script into NotePad on the Core installation:
      Set updateSession = CreateObject("Microsoft.Update.Session")
      Set updateSearcher = updateSession.CreateupdateSearcher()

      WScript.Echo "Searching for updates..." & vbCRLF

      Set searchResult = _
      updateSearcher.Search("IsInstalled=0 and Type='Software'")


      WScript.Echo "List of applicable items on the machine:"

      For I = 0 To searchResult.Updates.Count-1
      Set update = searchResult.Updates.Item(I)
      WScript.Echo I + 1 & "> " & update.Title
      Next

      If searchResult.Updates.Count = 0 Then
      WScript.Echo "There are no applicable updates."
      WScript.Quit
      End If

      WScript.Echo vbCRLF & "Creating collection of updates to download:"

      Set updatesToDownload = CreateObject("Microsoft.Update.UpdateColl")

      For I = 0 to searchResult.Updates.Count-1
      Set update = searchResult.Updates.Item(I)
      WScript.Echo I + 1 & "> adding: " & update.Title
      updatesToDownload.Add(update)
      Next

      WScript.Echo vbCRLF & "Downloading updates..."

      Set downloader = updateSession.CreateUpdateDownloader()
      downloader.Updates = updatesToDownload
      downloader.Download()

      WScript.Echo vbCRLF & "List of downloaded updates:"

      For I = 0 To searchResult.Updates.Count-1
      Set update = searchResult.Updates.Item(I)
      If update.IsDownloaded Then
      WScript.Echo I + 1 & "> " & update.Title
      End If
      Next

      Set updatesToInstall = CreateObject("Microsoft.Update.UpdateColl")

      WScript.Echo vbCRLF & _
      "Creating collection of downloaded updates to install:"

      For I = 0 To searchResult.Updates.Count-1
      set update = searchResult.Updates.Item(I)
      If update.IsDownloaded = true Then
      WScript.Echo I + 1 & "> adding: " & update.Title
      updatesToInstall.Add(update)
      End If
      Next

      WScript.Echo vbCRLF & "Would you like to install updates now? (Y/N)"
      strInput = WScript.StdIn.Readline
      WScript.Echo

      If (strInput = "N" or strInput = "n") Then
      WScript.Quit
      ElseIf (strInput = "Y" or strInput = "y") Then
      WScript.Echo "Installing updates..."
      Set installer = updateSession.CreateUpdateInstaller()
      installer.Updates = updatesToInstall
      Set installationResult = installer.Install()

      'Output results of install
      WScript.Echo "Installation Result: " & _
      installationResult.ResultCode
      WScript.Echo "Reboot Required: " & _
      installationResult.RebootRequired & vbCRLF
      WScript.Echo "Listing of updates installed " & _
      "and individual installation results:"

      For I = 0 to updatesToInstall.Count - 1
      WScript.Echo I + 1 & "> " & _
      updatesToInstall.Item(i).Title & _
      ": " & installationResult.GetUpdateResult(i).ResultCode
      Next
      End If
    2. Save the file as WUA_SearchDownloadInstall.vbs in your preferred location.
    3. Navigate to the folder where the WUA_SearchDownloadInstall.vbs file is located.
    4. cscript WUA_SearchDownloadInstall.vbs [Enter]
    5. Answer Y to install the found updates.
    6. Once finished, note whether the Reboot Required: True flag is raised.
    7. If so: shutdown -r -t 15 [Enter]
      • If there are VMs running on the system, you can shut them down via the Hyper-V manager before rebooting, or let Hyper-V take care of it for you.
      • A snapshot of the VMs may be appropriate prior to updating and rebooting.
    8. Rerun the script once the server comes up again to verify that there are no further updates
    If the above script does not copy and paste correctly, a download link for the .vbs file is available in Sander's blog linked above.

    Our first Server Core setup to be updated is a 1U Xeon X3220 with 8GB of ECC RAM running a pair of Seagate ES series drives in a RAID 1 array. The updates took some time, around 30-45 minutes, to install during the reboot portion of the updates.

    Once we had our Core box online and verified, we fired up our VMs with no issues.

    Philip Elder
    MPECS Inc.
    Microsoft Small Business Specialists

    *All Mac on SBS posts are posted on our in-house iMac via the Safari Web browser.

    Wednesday, 2 July 2008

    750GB Seagate ES.2 failure on SR1530AH plus SRCSASRB

    Our Server Core system running Hyper-V on Server Core has had a drive failure.

    The culprit:
    • 750GB Seagate Barracuda ES.2
      • ST3750330NS
      • Firmware: SN04
      • Date Code: 08277
      • Site Code: KRATSG
    The failed drive is in the same batch as the last one: Seagate 750GB ES.2 Failure on SR1530AHLX swap experience. The replacement drive is also in this batch. This is the third 750GB ES.2 drive failure we have had in recent weeks. Given our volume of drives, this may not be indicative of a general batch problem, but, if we keep experiencing drive failures out of this batch then it may be safe to assume that we are probably dealing with a batch problem.

    This particular server setup is in an Intel SR1530AH 1U with an Intel SRCSASRB add-in RAID controller installed. The drives were setup in a RAID 1 mirror in a fixed hard drive install. The 1U was installed in one of our rack enclosures in our shop data centre setup. The air is properly conditioned, so heat would not be a factor in this failure.

    Due to the nature of Server Core and the fact that Intel's RAID Web Console Utility for Windows does not support being installed on Server Core installations, we were in a position where we needed to reboot the server into the RAID controller's BIOS in order to remove the now dead drive and configure its replacement.

    With the inability to run the RAID Web Console on Server Core, the server will remain down until the RAID array rebuild completes. It does not look as though the array rebuild requires the server to be down during the rebuild process, but given the disk intensive nature of Hyper-V with multiple VMs running, we will let it alone for now.

    The RAID Web Console does install on our full Windows Server 2008 installations, so, for those clients that require the least amount of downtime, a hot swap setup would require the full version of Server 2008 versus Server Core for their Hyper-V needs. This may involve a slight adjustment in server configurations to accommodate the additional resource requirements of the full Windows Server 2008 OS.

    Philip Elder
    MPECS Inc.
    Microsoft Small Business Specialists

    *All Mac on SBS posts are posted on our in-house iMac via the Safari Web browser.

    Hyper-V goes Gold

    Hyper-V has been officially released. There are relatively few known issues with this update. One thing to keep in mind though: Make sure none of the VMs have the Integration Components ISO mounted when running the update or it will fail.

    Our own Server Core Hyper-V machine is down for a hard drive change out due to a failed drive. IIRC, the drive setup in our Core box is using 750GB Seagate ES.2 drives. More to come on that ...

    Philip Elder
    MPECS Inc.
    Microsoft Small Business Specialists

    *All Mac on SBS posts are posted on our in-house iMac via the Safari Web browser.

    Wednesday, 21 May 2008

    Hyper-V RC1 Has been released for W2K8 x64

    Via the Microsoft Windows Virtualization Team Blog: Hyper-V RC1 Release Available on Microsoft Download Center!.

    The update can be found here: Update for Windows Server 2008 x64 Edition (KB950049).

    Note that the x86 download is the integration and management components only.

    Hyper-V is x64 architecture only.

    Before starting the update for Hyper-V, make sure to properly shutdown any virtual machines on the server. Also, make sure to purge any existing snapshots as the RC0 snapshots will not be compatible with RC1.

    The update initiated on one of our Server Core systems:

    OK to install?

    Once the update is approved, we are greeted with:

    Updates are being installed

    A server reboot will be required after the update process completes.

    Once we were connected to Hyper-V via the Hyper-V Manager installed on our Vista SP1 system, we restarted our VMs, connected to the desktops, cancelled the New Hardware Found dialogue (very important) and proceeded to update their Integrated Services (VM Additions on VS2K5 R2 SP1 equivalent).

    The Windows XP based VMs took the Integrated Services update without a problem. A reboot was required once the install routine concluded.

    Prior to this, we had a lot of grief getting Vista x86 SP1 to setup properly on Hyper-V RC0, so we did nothing beyond configuring new Vista SP1 VMs with legacy NICs to get them connected.

    Now, things seem to be working as they should:

    Hyper-V Devices Properly Configured

    We will now be able to experiment with assigning cores to the Vista VMs and measuring performance differences in the same OS as well as the performance impact on other VMs operating on the same Hyper-V server.

    Thanks to The things that are better left unspoken blog: Hyper-V RC1 Released.

    Philip Elder
    MPECS Inc.
    Microsoft Small Business Specialists

    *All Mac on SBS posts are posted on our in-house iMac via the Safari Web browser.