November, 2007

  • TONYSO

    VMM: Scripting Guide Goes Live

    • 1 Comments

    The VMM Scripting Guide is now available in the download center. The Virtual Machine Manager Scripting Guide explains how to create Microsoft Windows PowerShell scripts that execute Virtual Machine Manger 2007 commands, and provides more thatn 100 pages of useful sample scripts, including:

    • Sample Script for Upgrading Hosts and Library Servers
    • How to Convert an Existing Cmdlet Help Example to a Script
    • Sample Scripts for Managing Virtual Machines
      AutomateNewVMCreation.ps1
      InstallVMAdditions.ps1 
      ConfigureGuestCluster.ps1
      How ConfigureGuestCluster.ps1Works 69
      NewVMScriptFromWizard.ps1
    • Sample Scripts for Backing Up and Restoring the VMM Database
    • Sample Script for Integrating VMM with OpsMgr

    For example, the SummarizeVMMInformation.ps1 script displays a summary or information about your VMM environment.

    SummarizeVMMInformation.ps1

    The following sections describe each set of commands that make up the SummarizeVMMInformation.ps1 script.

    Display Information About the Virtual Machine Manager Server

    The first set of commands in SummarizeVMMInformation.ps1 performs the following tasks:

    1.   Retrieves today's date from the system and stores the date in variable $SummaryDate.

    2.   Connects to the Virtual Machine Manager server, VMMServer1, in the Contoso.com domain, retrieves the server object from the Virtual Machine Manager database, and stores the server object in variable $VMMServer.

    3.   Retrieves, from the Virtual Machine Manager database, the Virtual Machine Manager host objects as an array and stores the host objects in variable $VMHosts.

    4.   Retrieves, from the Virtual Machine Manager database, all virtual machine objects and uses the pipeline operator (|) and where statement to select only objects for virtual machines that are not stored in the library. The command stores these virtual machine objects in variable $HostedVMs.

    5.   Displays the following summary information about your Virtual Machine Manager server and its hosts and virtual machines:

    ·      Today's date.

    ·      The name of the Virtual Machine Manager server.

    ·      Whether this is an evaluation version of the Virtual Machine Manager software.

    ·      The placement goal (the two possible values are LoadBalance or Consolidate) that Virtual Machine Manager uses to select the most suitable host on which to deploy a virtual machine. LoadBalance refers to load balancing among hosts, which minimizes the processing load on any one host. Consolidate refers to resource maximization on individual hosts, which consolidates multiple low-utilization workloads on a single host.

    ·      The number of hosts added to this Virtual Machine Manager server.

    ·      The number of virtual machines deployed on any host.

    ·      The average number of virtual machines per host.

    ####################################################################

    # Summary of Virtual Machine Manager Server

    ####################################################################

    $SummaryDate = Get-Date

    # Substitute the name of your VMM server and domain in this command:

    $VMMServer = Get-VMMServer -ComputerName "VMMServer1.Contoso.com"

    $VMHosts = @(Get-VMHost)

    $HostedVMs = @(Get-VM | where {$_.Status -ne "Stored"})

     

    Write-Host "`nVIRTUAL MACHINE MANAGER SERVER" -ForegroundColor Yellow

     

    Write-Host "Summary Date       :", $SummaryDate

    Write-Host "VMM Server Name    :", $VMMServer.Name

    Write-Host "Evaluation Version :", $VMMServer.IsEvaluationVersion

    Write-Host "Placement Goal     :", $VMMServer.PlacementGoal

    Write-Host "Total Hosts        :", $VMHosts.Count

    Write-Host "Hosted VMs         :", $HostedVMs.Count

    if ($VMHosts.Count -ne 0)

    {

    Write-Host "VMs per Host       :", ($HostedVMs.Count / $VMHosts.Count)

    }

    Display Information About Self-Service Policies

    The next set of commands performs the following tasks:

    1.   Retrieves, from the Virtual Machine Manager database, self-service policy objects as an array and stores the policy objects in variable $SelfServicePolicies. A self-service policy allows a user or members of a group to create and manage their own virtual machines through the Virtual Machine Manager self-service feature. Self-service users manage their virtual machines through a Web site called the Self-Service Portal.

    2.   Displays the following summary information about virtual machines that are available to self-service users, using the pipeline operator (|) and where statement to filter virtual machine objects based on specific criteria:

    ·      The total number of self-service policies.

    ·      The total number of virtual machines that are available for self-service users.

    ·      The number of virtual machines that are assigned to self-service users and are currently deployed on a host server.

    ·      The total number of virtual machines that are assigned to self-service users and that are currently stored in the Virtual Machine Manager library. These virtual machines are unavailable to self-service users unless the self-service policy that governs these machines includes the permission that allows users to store their virtual machines in the library. The store permission also enables users to deploy a stored virtual machine on a host server (unless the quota-points setting blocks the deployment of additional virtual machines).

    ####################################################################

    # Summary of Self-Service

    ####################################################################$Se$SelfServicePolicies = @(Get-SelfServicePolicy)

    $VMs = @(Get-VM)

     

    Write-Host "`nSELF-SERVICE" -ForegroundColor Yellow

     

    Write-Host "Self Service Policies   :", $SelfServicePolicies.Count

    Write-Host "Total Self-Service VMs  :", @($VMs | where {$_.SelfServicePolicy -ne $null}).Count

    Write-Host "Hosted Self-Service VMs :", @($VMs | where {$_.SelfServicePolicy -ne $null} | where {$_.Status -ne "Stored"}).Count

    Write-Host "Stored Self-Service VMs :", @($VMs | where {$_.SelfServicePolicy -ne $null} | where {$_.Status -eq "Stored"}).Count

  • TONYSO

    IT Pros: Finally an online game for you

    • 1 Comments
    Visio is running a contest/promotion/giveaway for IT Pros that shows some nifty prizes available: check out

    The Visio 2007 IT Pro Game

    Interested in breaking up your day with a hand of poker? How about learning more on how to visualize, explore, and communicate your IT processes, systems, and infrastructure? Register now to play The Microsoft® Office Visio® Professional 2007 Poker Game! There are two ways to win. Just for playing, you have a chance to instantly win one of our many sweepstakes prizes. Plus, at the end of the promotion (12/30/07), the top 20 scorers will be included in a drawing for even more great prizes!   

  • TONYSO

    Virtualization: And Oracle Makes Three

    • 1 Comments

    Is it just me, or is it getting crowded in here? According to this story:

    "Customers can download "Oracle VM" for free starting on Wednesday, the company said. Oracle will sell service contracts for the product ranging from $499 to $999 per year."

    According to www.oracle.com/virtualization: "Oracle is the only software vendor that combines the benefits of server clustering and server virtualization technologies to deliver integrated clustering, virtualization, storage, and management for Grid Computing."

  • TONYSO

    Workplace Writing Tips for IT Pros

    • 0 Comments

    According to this MSN article:

    "No matter what field you’re in or position you hold, the ability to communicate clearly, concisely and credibly in writing is a required and important skill for advancement in any organization."

    "The next time you’re writing, follow Moore’s five steps to ensure mistake-free text:

    1. Take a break before trying to proofread.  Give your tired eyes and brain a rest.

    2. Find a proofreading buddy, and check each other’s work. It’s easier to proof other people's writing than to do your own.

    3. Proofread on paper (not on the screen)....easier on the eyes.

    4. Proof text backward.  That stops the tendency to skip words as you read and miss some of the errors.

    5. Look things up when you're not 100 percent certain (e.g., fewer or less, comma or colon). Don't guess."

    Another thing that works: paste your e-mail into Powerpoint. If your main issue/ask does not fit on one slide that is readable in hard-copy that you put at your feet (from 5-6 feet in other words) - go back boil it down. Refine it until it is easily readable and clearly understandable printed on one slide, from 5-6 feet away. Sorta like writing the newspaper headline to the content.  Put extra detail in links that the reader can follow if they want to drill down.

    The most important commodity a writer deals in is:

    reader attention.

    Don't waste it :-)

  • TONYSO

    VMM: Scripted Backup

    • 0 Comments

    Chris Wolf published an article on scripting backup of VMs here (vsbackup.vbs), based on Jeff Trumbull's VB backup script.  His vsbackup.vbs script is shown in the code here:

    Set objShell = CreateObject ("WScript.Shell")
    'Load current date (formatted as mm-dd-yyyy) 
    'into variable strToday
    strTime = Month(Now) & "-" & Day(Now) & "-" & Year(Now) &_
      "_" & hour(now) & "-" &  minute(now)
    ' Backup target folder or UNC path
    strBackupDir = "E:\Backup\VS\" & strTime & "\"
    'Drive containing Virtual Machines
    strVMdrive = "D:" 
    'VM folder path
    strVMfolder = "VS"
    'available drive letter used to mount shadow copy
    strTempDrive = "X:"
    
    'Prepare shadow copy commands
    sExCmd = "CreateVSS.cmd"
    Set oFileSys = CreateObject("Scripting.FileSystemObject")
    if oFileSys.FileExists(sExCmd) then oFileSys.DeleteFile(sExCmd)
    set oExCmd = oFileSys.CreateTextFile(sExCmd, CopyOverwrite)
    
    'create backup folder
    Set objFSO = CreateObject("Scripting.FileSystemObject")
    Set objFolder = objFSO.CreateFolder(strBackupDir)
    
    ' Create Shadow copy of VM drive
    oExCmd.WriteLine "vshadow.exe -script=setvar1.cmd -p " &_
      strVMdrive
    oExCmd.WriteLine "call setvar1.cmd"
    oExCmd.WriteLine "vshadow.exe -el=%SHADOW_ID_1%," &_
      strTempDrive
    oExCmd.Close
    Result = objShell.run(sExCmd,vbMinimized, TRUE)
    
    'Copy the virtual machine files from the shadow copy
    strSource = strTempDrive & "\" & strVMfolder
    objFSO.CopyFolder strSource , strBackupDir, TRUE
    
    ' Delete created shadow copy instance
    if oFileSys.FileExists(sExCmd) then oFileSys.DeleteFile(sExCmd)
    set oExCmd = oFileSys.CreateTextFile(sExCmd, CopyOverwrite)
    oExCmd.WriteLine "Echo y | vshadow.exe -da"
    oExCmd.Close
    Result = objShell.run(sExCmd,vbMinimized, TRUE)
    
    'Backup complete!
    wscript.echo("Backup complete!")
    

    In the VMM Scripting Guide, you will find a Windows PowerShell script that'll backup your VMM server.

    Backup/Recover: What You Need to Know Before You Start

    If you do not know whether the Virtual Machine Manager database is stored locally or on a remote server running SQL Server 2005, use the following procedure.

    To determine whether the VMM database is stored locally or remotely

    1.   Open the Registry Editor.

    2.   Navigate to the following subkey:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft System Center Virtual Machine Manager 2007 Server\Settings\Sql

    3.   View the value for OnRemoteServer:

    ·      If OnRemoteServer is set to 0, the database is on the local Virtual Machine Manager server.

    ·      If OnRemoteServer is set to 1, the database is on a remote server running the SQL Server service.

    BackupLocalVMM.ps1

    You can use the BackupLocalVMM.ps1 script to back up the Virtual Machine Manager database if the database is stored locally on the Virtual Machine Manager server.

    How BackupLocalVMM.ps1 Works

    The first command in the script connects to VMMServer1 in the Contoso.com domain, retrieves the server object from the Virtual Machine Manager database, and stores the server object in variable $VMMServer:

    $VMMServer = Get-VMMServer -ComputerName "VMMServer1.Contoso.com"

    The second command in the script uses the Backup-VMMServer cmdlet to back up the Virtual Machine Manager database stored on VMMServer1 to C:\VMMBackups on VMMServer1:

    Backup-VMMServer –Path "C:\VMMBackups" -VMMServer $VMMServer

    The destination path (C:\VMMBackups in the following example) must be on a server that stores the Virtual Machine Manager database. The server must be running SQL Server 2005 or SQL Server 2005 Express Edition SP1. The following example assumes that SQL Server is installed on VMMServer1 rather than on a remote server.

    BackupLocalVMM.ps1 - Complete Script

    Copy the following complete version of BackupLocalVMM.ps1 into a Notepad file, and save it as BackupLocalVMM.ps1.

    # Filename:    BackupLocalVMM.ps1

    # Description: Backs up the VMM database when the database

    #              is stored locally on the VMM server.

     

    # DISCLAIMER:

    # Copyright (c) Microsoft Corporation. All rights reserved. This

    # script is made available to you without any express, implied or

    # statutory warranty, not even the implied warranty of

    # merchantability or fitness for a particular purpose, or the

    # warranty of title or non-infringement. The entire risk of the

    # use or the results from the use of this script remains with you.

     

    # Substitute the name of your VMM server and domain in this command:

    $VMMServer = Get-VMMServer -ComputerName "VMMServer1.Contoso.com"

     

    # Substitute your backup folder path and name for C:\VMMBackups:

    Backup-VMMServer –Path "C:\VMMBackups" -VMMServer $VMMServer

     

  • TONYSO

    Holidays Come Early for IT Pros: $100 Off TechNet Plus Subscription

    • 0 Comments

    Thanks to chenley, who notes on his blog and in his webcast (Deploying Remote Programs with Windows Server 2008 Terminal Servicesthat you can get $100 of TN+ sub using the code: TMSAM03 

    This subscription also includes 2 free support calls to the Microsoft Help Desk (generally valued at more than $200 each), and a host of other monthly benefits that are included in the monthly newsletter. 

    The TechNet Pus Direct subscription is valid for 1 year from the date of purchase and can be renewed at a percentage of the initial cost if you want the subscription to continue. 

    lick the link http://technet.microsoft.com/en-us/subscriptions/default.aspx

    Click the yellow shopping cart link for United States and Canda.

    Use this coupon code and to get $100 off the $349 price.  TMSAM03 

  • TONYSO

    Edgey: Windows Server 2008 Terminal Services Overview

    • 0 Comments

    You already knew that *IT Pros have their own "Channel 9" now, right? It is out on the Edge.

    Check out Matt's Windows Server 2008 Terminal Services Overview.

    Actually, the Edge is not C9, and it is not Facebook for IT, but it IS the place IT Pros can build to be their Microsoft-sponsored community.

    Join up. See you on the edge...

  • TONYSO

    VMM: Ops and Planning and Deployment Content Released

    • 0 Comments

    New in the SCVMM library today:

    Planning a Virtual Machine Manager 2007 Deployment

    Installing and Configuring Virtual Machine Manager 2007

    Tutorial: Getting Started Creating Virtual Machines

    and Operations

    You already knew about

    Virtual Machine Manager Scripting Guide

    Windows PowerShell Virtual Machine Manager Cmdlet Reference

    right?

    Note a couple of new troubleshooters as well...

    Troubleshooting "Not Responding" Status for a Host

    Troubleshooting Virtual Machine Statuses

    Troubleshooting Database Issues in VMM

  • TONYSO

    HPC on the Edge

    • 0 Comments

    Great new interview over on the Edge with Kyril Faenov, the general program manager of HPC: http://edge.technet.com/Media/An-interview-with-Kyril-Faenov-on-High-Performance-Computing-HPC--Windows-Compute-Cluster-Server/.

    Check out this site for follow up: http://windowshpc.net

  • TONYSO

    VMM: SAN Deployment

    • 0 Comments

    You can deploy Virtual Machine Manager (VMM) in an environment that has either a Fibre Channel or an iSCSI storage area network (SAN) and perform SAN transfers within VMM; however, your system must be properly configured as described in this topic in the SCVMM TechNet Library.

    If you are using an iSCSI SAN, you must install the Microsoft iSCSI Software Initiator Version 2.02 on each computer that will serve as a source or a destination location for your SAN transfers. You can download this software from the Microsoft Download Center (http://go.microsoft.com/fwlink/?LinkId=88000).

    When used with Virtual Server 2005 R2 SP1, VMM supports Quick Migration. The migration wizard will also automatically detect SAN infrastructure and will enable the IT administrator to choose to migrate VMs over SAN. When used with a SAN infrastructure, the length of the service interruption using Quick migration will depend only on the size of the Virtual Machine's memory, as that will determine the time it takes to pause the Virtual Machine for migrtion.

  • TONYSO

    VMM: Vox Populi

    • 0 Comments

    For October 1997: top 10 most-visited pages on the TechCenter (including the Library) were:

    o    System Center Virtual Machine Manager TechCenter (home page)

    o    Evaluate System Center Virtual Machine Manager 2007

    o    Evaluate System Center Virtual Machine Manager 2007 today (download page)

    o    System Center Virtual Machine Manager 2007 HowTo Videos

    o    Virtual Machine Manager System Requirements

    o    System Center Virtual Machine Manager Downloads

    o    System Center Virtual Machine Manager 2007 (top-node page of the Library)

    o    Virtual Machine Manager FAQ (technical FAQ)

    o    Virtual Machine Manager System Requirements -- Single Computer

    o    System Center Virtual Machine Manager 2007 Product Overview

  • TONYSO

    VMM: IPD For Virtualization

    • 0 Comments
    The IPD for Virtualization is available in the donwload center. Infrastructure Planning and Design guides include:
    • Definition of the technical decision flow through the planning process.
    • Listing of decisions to be made and the commonly available options and considerations.
    • Relating the decisions and options to the business in terms of cost, complexity, and other characteristics.
    • Framing decisions in terms of additional questions to the business to ensure a comprehensive alignment with the appropriate business landscape.
    These guides complement product documentation by focusing on infrastructure design options.

    Each guide leads the reader through critical infrastructure design decisions, in the appropriate order, evaluating the available options for each decision against its impact on critical characteristics of the infrastructure. The IPD Series highlights when service and infrastructure goals should be validated with the organization and provides additional questions that should be asked of service stakeholders and decision makers.

    IPD consists of the following downloadable packages:
    • Infrastructure Planning and Design Series Introduction
    • Selecting the Right Virtualization Technology
    • SoftGrid Application Virtualization
    • Windows Server Virtualization (for Windows Server 2008 virtualization and Virtual Server 2005 R2 SP1)
  • TONYSO

    VMM: Son of FAQ - including "what is offline P2V?"

    • 0 Comments

    More FAQs:

    Q: Is there a way I can tell if a machine in  my inventory is virtual?
    A: If the registry key --  HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Virtual Machine is present, the machine is a VM. 
     
    Q: What are the best cost/performance hard drives for hosts? SATA, SAS, or SCISI? How to configure RAID for optimal performance?  Is it better to have many smaller HDs than fewer bigger ones etc…?
    A:  The more spindles the better, the faster the drive IO the better, RAID 1 or 0+1 are good, 0 is neutral. 
     
    Q: What is the list of MS applications that are supported to run virtually?
    A: The much shorter list is those that are not supported, so we publish that at http://support.microsoft.com/kb/897614
     
    Q: Can I use P2V on a source that is not domain joined?  I need this for DMZ machines and acquisitions.
    A: No. In V1 all P2V sources must be machines that are either in the same domain as the VMM server, or members of another domain that has a full 2-way trust with the vmm server’s domain.
     
    Q: What is "offline" P2V?
    A: On-line P2V uses snapshots to capture the data on the drives to acheive an application-level consistent conversion.  However, this requires that the application is VSS framework-aware. Off-line P2V copies a customized image of WinPE 2.0 to the physical system and reboots to it, then the data from the disks are transferred to the target Virtual Server and put in .vhd format. The matrix of what OS’s support on-line and off-line p2v as at http://technet.microsoft.com/en-us/library/bb740951.aspx . The way I think of the difference is that online P2V is a good choice for cloning a machine, and may require you to monitor and fix up any issues if you have applications running that might modify data during the conversion. Offline P2V is a good choice for migrating a machine, and usually won't have any issues for you to fix up, since there are no apps running during the conversion.
     
    Q: Where is the MP?
    A: The Management Pack for SCVMM is now available in the donwload center: http://www.microsoft.com/downloads/details.aspx?FamilyID=fd03b1e6-d7a8-44b4-bc2f-676565d042c2&DisplayLang=en

  • TONYSO

    VMM: New Linux Additions for Virtual Server 2005 R2 SP1

    • 0 Comments

    A new version of the Linux Additions for Virtual Server is now available from the Microsoft Download Center via the following webpage:

    http://www.microsoft.com/technet/virtualserver/downloads/linuxguestsupport.mspx

    These new Additions add support for some updated distributions of Linux (details on the webpage above) and are designed to work with Virtual Server 2005 R2 SP1 which is available at http://www.microsoft.com/windowsserversystem/virtualserver

  • TONYSO

    VMM: Discover the Technical Library

    • 0 Comments

    Our first month's metrics about visitors to the VMM Technical Library worried the PTB, so they asked me to cruft up an alternate nav scheme. Here's a list of what I anticipate will the top-most-visited areas of the library...

    ...notice the self-fulfulling part of the equation?

    About Deploying VMM
    • Getting Started – Locations of the resources for evaluating, deploying, and using VMM
    • Installing Virtual Machine Manager – Procedures for installing all components of VMM
    • Deploying VMM Using a VHD  - Instructions for installing a pre-configured virtual hard disk (VHD), and use it to create a virtual machine that has a pre-installed evaluation version of System Center Virtual Machine Manager (VMM) 2007.
    About Configuring SCVMM
    About Upgrading
    About Creating and Configuring VMs
    • How to create a hardware profile – Provides the procedure and detail links to creating a hardware profile as part of the New Virtual Machine Wizard.
    • How to create a template – Provides the procedure for creating a standardized set of hardware and software configuration settings and can be used repeatedly to create virtual machines that share those settings.
    • How to clone a VM – Provides the procedure to create a new virtual machine that is based on an existing virtual machine and deploy it or save it to the library.
    About Troubleshooting VMM
    • Virtual Machine Conversion Issues - Provides guidance for troubleshooting issues with virtual machine conversion using the Convert Physical Server Wizard (P2V).
    • Installation Issues - Provides guidance for troubleshooting issues that may occur when you are installing Virtual Machine Manager, prerequisite software, and tools.
    • Library Management Issues - Provides guidance for troubleshooting issues that may occur when you are managing Virtual Machine Manager library resources.

    Press CTRL+F on a troubleshooting page, and then enter your error number or text to search for the possible cause and solution.

    About Host Ratings
    About Checkpoints
    • Checkpoints – Provides an overview of checkpoints for a virtual machine that allow you to restore the virtual machine to a previous state.
    • How to Create a Checkpoint - Provides a procedure for creating checkpoints.
    • How to Merge a Checkpoint - Provides a procedure for merging a checkpoint when you no longer need to restore a virtual machine to its state when the checkpoint was created.
    • How to Restore a Virtual Machine to a Checkpoint - Provides a procedure for restoring a virtual machine—including its guest operating system, application settings, and application data files—to its state when a checkpoint was created.
    About P2V
    About V2V
Page 1 of 1 (15 items)
  • TONYSO

    VMM: Scripting Guide Goes Live

    • 1 Comments

    The VMM Scripting Guide is now available in the download center. The Virtual Machine Manager Scripting Guide explains how to create Microsoft Windows PowerShell scripts that execute Virtual Machine Manger 2007 commands, and provides more thatn 100 pages of useful sample scripts, including:

    • Sample Script for Upgrading Hosts and Library Servers
    • How to Convert an Existing Cmdlet Help Example to a Script
    • Sample Scripts for Managing Virtual Machines
      AutomateNewVMCreation.ps1
      InstallVMAdditions.ps1 
      ConfigureGuestCluster.ps1
      How ConfigureGuestCluster.ps1Works 69
      NewVMScriptFromWizard.ps1
    • Sample Scripts for Backing Up and Restoring the VMM Database
    • Sample Script for Integrating VMM with OpsMgr

    For example, the SummarizeVMMInformation.ps1 script displays a summary or information about your VMM environment.

    SummarizeVMMInformation.ps1

    The following sections describe each set of commands that make up the SummarizeVMMInformation.ps1 script.

    Display Information About the Virtual Machine Manager Server

    The first set of commands in SummarizeVMMInformation.ps1 performs the following tasks:

    1.   Retrieves today's date from the system and stores the date in variable $SummaryDate.

    2.   Connects to the Virtual Machine Manager server, VMMServer1, in the Contoso.com domain, retrieves the server object from the Virtual Machine Manager database, and stores the server object in variable $VMMServer.

    3.   Retrieves, from the Virtual Machine Manager database, the Virtual Machine Manager host objects as an array and stores the host objects in variable $VMHosts.

    4.   Retrieves, from the Virtual Machine Manager database, all virtual machine objects and uses the pipeline operator (|) and where statement to select only objects for virtual machines that are not stored in the library. The command stores these virtual machine objects in variable $HostedVMs.

    5.   Displays the following summary information about your Virtual Machine Manager server and its hosts and virtual machines:

    ·      Today's date.

    ·      The name of the Virtual Machine Manager server.

    ·      Whether this is an evaluation version of the Virtual Machine Manager software.

    ·      The placement goal (the two possible values are LoadBalance or Consolidate) that Virtual Machine Manager uses to select the most suitable host on which to deploy a virtual machine. LoadBalance refers to load balancing among hosts, which minimizes the processing load on any one host. Consolidate refers to resource maximization on individual hosts, which consolidates multiple low-utilization workloads on a single host.

    ·      The number of hosts added to this Virtual Machine Manager server.

    ·      The number of virtual machines deployed on any host.

    ·      The average number of virtual machines per host.

    ####################################################################

    # Summary of Virtual Machine Manager Server

    ####################################################################

    $SummaryDate = Get-Date

    # Substitute the name of your VMM server and domain in this command:

    $VMMServer = Get-VMMServer -ComputerName "VMMServer1.Contoso.com"

    $VMHosts = @(Get-VMHost)

    $HostedVMs = @(Get-VM | where {$_.Status -ne "Stored"})

     

    Write-Host "`nVIRTUAL MACHINE MANAGER SERVER" -ForegroundColor Yellow

     

    Write-Host "Summary Date       :", $SummaryDate

    Write-Host "VMM Server Name    :", $VMMServer.Name

    Write-Host "Evaluation Version :", $VMMServer.IsEvaluationVersion

    Write-Host "Placement Goal     :", $VMMServer.PlacementGoal

    Write-Host "Total Hosts        :", $VMHosts.Count

    Write-Host "Hosted VMs         :", $HostedVMs.Count

    if ($VMHosts.Count -ne 0)

    {

    Write-Host "VMs per Host       :", ($HostedVMs.Count / $VMHosts.Count)

    }

    Display Information About Self-Service Policies

    The next set of commands performs the following tasks:

    1.   Retrieves, from the Virtual Machine Manager database, self-service policy objects as an array and stores the policy objects in variable $SelfServicePolicies. A self-service policy allows a user or members of a group to create and manage their own virtual machines through the Virtual Machine Manager self-service feature. Self-service users manage their virtual machines through a Web site called the Self-Service Portal.

    2.   Displays the following summary information about virtual machines that are available to self-service users, using the pipeline operator (|) and where statement to filter virtual machine objects based on specific criteria:

    ·      The total number of self-service policies.

    ·      The total number of virtual machines that are available for self-service users.

    ·      The number of virtual machines that are assigned to self-service users and are currently deployed on a host server.

    ·      The total number of virtual machines that are assigned to self-service users and that are currently stored in the Virtual Machine Manager library. These virtual machines are unavailable to self-service users unless the self-service policy that governs these machines includes the permission that allows users to store their virtual machines in the library. The store permission also enables users to deploy a stored virtual machine on a host server (unless the quota-points setting blocks the deployment of additional virtual machines).

    ####################################################################

    # Summary of Self-Service

    ####################################################################$Se$SelfServicePolicies = @(Get-SelfServicePolicy)

    $VMs = @(Get-VM)

     

    Write-Host "`nSELF-SERVICE" -ForegroundColor Yellow

     

    Write-Host "Self Service Policies   :", $SelfServicePolicies.Count

    Write-Host "Total Self-Service VMs  :", @($VMs | where {$_.SelfServicePolicy -ne $null}).Count

    Write-Host "Hosted Self-Service VMs :", @($VMs | where {$_.SelfServicePolicy -ne $null} | where {$_.Status -ne "Stored"}).Count

    Write-Host "Stored Self-Service VMs :", @($VMs | where {$_.SelfServicePolicy -ne $null} | where {$_.Status -eq "Stored"}).Count

  • TONYSO

    IT Pros: Finally an online game for you

    • 1 Comments
    Visio is running a contest/promotion/giveaway for IT Pros that shows some nifty prizes available: check out

    The Visio 2007 IT Pro Game

    Interested in breaking up your day with a hand of poker? How about learning more on how to visualize, explore, and communicate your IT processes, systems, and infrastructure? Register now to play The Microsoft® Office Visio® Professional 2007 Poker Game! There are two ways to win. Just for playing, you have a chance to instantly win one of our many sweepstakes prizes. Plus, at the end of the promotion (12/30/07), the top 20 scorers will be included in a drawing for even more great prizes!   

  • TONYSO

    Virtualization: And Oracle Makes Three

    • 1 Comments

    Is it just me, or is it getting crowded in here? According to this story:

    "Customers can download "Oracle VM" for free starting on Wednesday, the company said. Oracle will sell service contracts for the product ranging from $499 to $999 per year."

    According to www.oracle.com/virtualization: "Oracle is the only software vendor that combines the benefits of server clustering and server virtualization technologies to deliver integrated clustering, virtualization, storage, and management for Grid Computing."

  • TONYSO

    Workplace Writing Tips for IT Pros

    • 0 Comments

    According to this MSN article:

    "No matter what field you’re in or position you hold, the ability to communicate clearly, concisely and credibly in writing is a required and important skill for advancement in any organization."

    "The next time you’re writing, follow Moore’s five steps to ensure mistake-free text:

    1. Take a break before trying to proofread.  Give your tired eyes and brain a rest.

    2. Find a proofreading buddy, and check each other’s work. It’s easier to proof other people's writing than to do your own.

    3. Proofread on paper (not on the screen)....easier on the eyes.

    4. Proof text backward.  That stops the tendency to skip words as you read and miss some of the errors.

    5. Look things up when you're not 100 percent certain (e.g., fewer or less, comma or colon). Don't guess."

    Another thing that works: paste your e-mail into Powerpoint. If your main issue/ask does not fit on one slide that is readable in hard-copy that you put at your feet (from 5-6 feet in other words) - go back boil it down. Refine it until it is easily readable and clearly understandable printed on one slide, from 5-6 feet away. Sorta like writing the newspaper headline to the content.  Put extra detail in links that the reader can follow if they want to drill down.

    The most important commodity a writer deals in is:

    reader attention.

    Don't waste it :-)

  • TONYSO

    VMM: Scripted Backup

    • 0 Comments

    Chris Wolf published an article on scripting backup of VMs here (vsbackup.vbs), based on Jeff Trumbull's VB backup script.  His vsbackup.vbs script is shown in the code here:

    Set objShell = CreateObject ("WScript.Shell")
    'Load current date (formatted as mm-dd-yyyy) 
    'into variable strToday
    strTime = Month(Now) & "-" & Day(Now) & "-" & Year(Now) &_
      "_" & hour(now) & "-" &  minute(now)
    ' Backup target folder or UNC path
    strBackupDir = "E:\Backup\VS\" & strTime & "\"
    'Drive containing Virtual Machines
    strVMdrive = "D:" 
    'VM folder path
    strVMfolder = "VS"
    'available drive letter used to mount shadow copy
    strTempDrive = "X:"
    
    'Prepare shadow copy commands
    sExCmd = "CreateVSS.cmd"
    Set oFileSys = CreateObject("Scripting.FileSystemObject")
    if oFileSys.FileExists(sExCmd) then oFileSys.DeleteFile(sExCmd)
    set oExCmd = oFileSys.CreateTextFile(sExCmd, CopyOverwrite)
    
    'create backup folder
    Set objFSO = CreateObject("Scripting.FileSystemObject")
    Set objFolder = objFSO.CreateFolder(strBackupDir)
    
    ' Create Shadow copy of VM drive
    oExCmd.WriteLine "vshadow.exe -script=setvar1.cmd -p " &_
      strVMdrive
    oExCmd.WriteLine "call setvar1.cmd"
    oExCmd.WriteLine "vshadow.exe -el=%SHADOW_ID_1%," &_
      strTempDrive
    oExCmd.Close
    Result = objShell.run(sExCmd,vbMinimized, TRUE)
    
    'Copy the virtual machine files from the shadow copy
    strSource = strTempDrive & "\" & strVMfolder
    objFSO.CopyFolder strSource , strBackupDir, TRUE
    
    ' Delete created shadow copy instance
    if oFileSys.FileExists(sExCmd) then oFileSys.DeleteFile(sExCmd)
    set oExCmd = oFileSys.CreateTextFile(sExCmd, CopyOverwrite)
    oExCmd.WriteLine "Echo y | vshadow.exe -da"
    oExCmd.Close
    Result = objShell.run(sExCmd,vbMinimized, TRUE)
    
    'Backup complete!
    wscript.echo("Backup complete!")
    

    In the VMM Scripting Guide, you will find a Windows PowerShell script that'll backup your VMM server.

    Backup/Recover: What You Need to Know Before You Start

    If you do not know whether the Virtual Machine Manager database is stored locally or on a remote server running SQL Server 2005, use the following procedure.

    To determine whether the VMM database is stored locally or remotely

    1.   Open the Registry Editor.

    2.   Navigate to the following subkey:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft System Center Virtual Machine Manager 2007 Server\Settings\Sql

    3.   View the value for OnRemoteServer:

    ·      If OnRemoteServer is set to 0, the database is on the local Virtual Machine Manager server.

    ·      If OnRemoteServer is set to 1, the database is on a remote server running the SQL Server service.

    BackupLocalVMM.ps1

    You can use the BackupLocalVMM.ps1 script to back up the Virtual Machine Manager database if the database is stored locally on the Virtual Machine Manager server.

    How BackupLocalVMM.ps1 Works

    The first command in the script connects to VMMServer1 in the Contoso.com domain, retrieves the server object from the Virtual Machine Manager database, and stores the server object in variable $VMMServer:

    $VMMServer = Get-VMMServer -ComputerName "VMMServer1.Contoso.com"

    The second command in the script uses the Backup-VMMServer cmdlet to back up the Virtual Machine Manager database stored on VMMServer1 to C:\VMMBackups on VMMServer1:

    Backup-VMMServer –Path "C:\VMMBackups" -VMMServer $VMMServer

    The destination path (C:\VMMBackups in the following example) must be on a server that stores the Virtual Machine Manager database. The server must be running SQL Server 2005 or SQL Server 2005 Express Edition SP1. The following example assumes that SQL Server is installed on VMMServer1 rather than on a remote server.

    BackupLocalVMM.ps1 - Complete Script

    Copy the following complete version of BackupLocalVMM.ps1 into a Notepad file, and save it as BackupLocalVMM.ps1.

    # Filename:    BackupLocalVMM.ps1

    # Description: Backs up the VMM database when the database

    #              is stored locally on the VMM server.

     

    # DISCLAIMER:

    # Copyright (c) Microsoft Corporation. All rights reserved. This

    # script is made available to you without any express, implied or

    # statutory warranty, not even the implied warranty of

    # merchantability or fitness for a particular purpose, or the

    # warranty of title or non-infringement. The entire risk of the

    # use or the results from the use of this script remains with you.

     

    # Substitute the name of your VMM server and domain in this command:

    $VMMServer = Get-VMMServer -ComputerName "VMMServer1.Contoso.com"

     

    # Substitute your backup folder path and name for C:\VMMBackups:

    Backup-VMMServer –Path "C:\VMMBackups" -VMMServer $VMMServer

     

  • TONYSO

    Holidays Come Early for IT Pros: $100 Off TechNet Plus Subscription

    • 0 Comments

    Thanks to chenley, who notes on his blog and in his webcast (Deploying Remote Programs with Windows Server 2008 Terminal Servicesthat you can get $100 of TN+ sub using the code: TMSAM03 

    This subscription also includes 2 free support calls to the Microsoft Help Desk (generally valued at more than $200 each), and a host of other monthly benefits that are included in the monthly newsletter. 

    The TechNet Pus Direct subscription is valid for 1 year from the date of purchase and can be renewed at a percentage of the initial cost if you want the subscription to continue. 

    lick the link http://technet.microsoft.com/en-us/subscriptions/default.aspx

    Click the yellow shopping cart link for United States and Canda.

    Use this coupon code and to get $100 off the $349 price.  TMSAM03 

  • TONYSO

    Edgey: Windows Server 2008 Terminal Services Overview

    • 0 Comments

    You already knew that *IT Pros have their own "Channel 9" now, right? It is out on the Edge.

    Check out Matt's Windows Server 2008 Terminal Services Overview.

    Actually, the Edge is not C9, and it is not Facebook for IT, but it IS the place IT Pros can build to be their Microsoft-sponsored community.

    Join up. See you on the edge...

  • TONYSO

    VMM: Ops and Planning and Deployment Content Released

    • 0 Comments

    New in the SCVMM library today:

    Planning a Virtual Machine Manager 2007 Deployment

    Installing and Configuring Virtual Machine Manager 2007

    Tutorial: Getting Started Creating Virtual Machines

    and Operations

    You already knew about

    Virtual Machine Manager Scripting Guide

    Windows PowerShell Virtual Machine Manager Cmdlet Reference

    right?

    Note a couple of new troubleshooters as well...

    Troubleshooting "Not Responding" Status for a Host

    Troubleshooting Virtual Machine Statuses

    Troubleshooting Database Issues in VMM

  • TONYSO

    HPC on the Edge

    • 0 Comments

    Great new interview over on the Edge with Kyril Faenov, the general program manager of HPC: http://edge.technet.com/Media/An-interview-with-Kyril-Faenov-on-High-Performance-Computing-HPC--Windows-Compute-Cluster-Server/.

    Check out this site for follow up: http://windowshpc.net

  • TONYSO

    VMM: SAN Deployment

    • 0 Comments

    You can deploy Virtual Machine Manager (VMM) in an environment that has either a Fibre Channel or an iSCSI storage area network (SAN) and perform SAN transfers within VMM; however, your system must be properly configured as described in this topic in the SCVMM TechNet Library.

    If you are using an iSCSI SAN, you must install the Microsoft iSCSI Software Initiator Version 2.02 on each computer that will serve as a source or a destination location for your SAN transfers. You can download this software from the Microsoft Download Center (http://go.microsoft.com/fwlink/?LinkId=88000).

    When used with Virtual Server 2005 R2 SP1, VMM supports Quick Migration. The migration wizard will also automatically detect SAN infrastructure and will enable the IT administrator to choose to migrate VMs over SAN. When used with a SAN infrastructure, the length of the service interruption using Quick migration will depend only on the size of the Virtual Machine's memory, as that will determine the time it takes to pause the Virtual Machine for migrtion.

  • TONYSO

    VMM: Vox Populi

    • 0 Comments

    For October 1997: top 10 most-visited pages on the TechCenter (including the Library) were:

    o    System Center Virtual Machine Manager TechCenter (home page)

    o    Evaluate System Center Virtual Machine Manager 2007

    o    Evaluate System Center Virtual Machine Manager 2007 today (download page)

    o    System Center Virtual Machine Manager 2007 HowTo Videos

    o    Virtual Machine Manager System Requirements

    o    System Center Virtual Machine Manager Downloads

    o    System Center Virtual Machine Manager 2007 (top-node page of the Library)

    o    Virtual Machine Manager FAQ (technical FAQ)

    o    Virtual Machine Manager System Requirements -- Single Computer

    o    System Center Virtual Machine Manager 2007 Product Overview

  • TONYSO

    VMM: IPD For Virtualization

    • 0 Comments
    The IPD for Virtualization is available in the donwload center. Infrastructure Planning and Design guides include:
    • Definition of the technical decision flow through the planning process.
    • Listing of decisions to be made and the commonly available options and considerations.
    • Relating the decisions and options to the business in terms of cost, complexity, and other characteristics.
    • Framing decisions in terms of additional questions to the business to ensure a comprehensive alignment with the appropriate business landscape.
    These guides complement product documentation by focusing on infrastructure design options.

    Each guide leads the reader through critical infrastructure design decisions, in the appropriate order, evaluating the available options for each decision against its impact on critical characteristics of the infrastructure. The IPD Series highlights when service and infrastructure goals should be validated with the organization and provides additional questions that should be asked of service stakeholders and decision makers.

    IPD consists of the following downloadable packages:
    • Infrastructure Planning and Design Series Introduction
    • Selecting the Right Virtualization Technology
    • SoftGrid Application Virtualization
    • Windows Server Virtualization (for Windows Server 2008 virtualization and Virtual Server 2005 R2 SP1)
  • TONYSO

    VMM: Son of FAQ - including "what is offline P2V?"

    • 0 Comments

    More FAQs:

    Q: Is there a way I can tell if a machine in  my inventory is virtual?
    A: If the registry key --  HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Virtual Machine is present, the machine is a VM. 
     
    Q: What are the best cost/performance hard drives for hosts? SATA, SAS, or SCISI? How to configure RAID for optimal performance?  Is it better to have many smaller HDs than fewer bigger ones etc…?
    A:  The more spindles the better, the faster the drive IO the better, RAID 1 or 0+1 are good, 0 is neutral. 
     
    Q: What is the list of MS applications that are supported to run virtually?
    A: The much shorter list is those that are not supported, so we publish that at http://support.microsoft.com/kb/897614
     
    Q: Can I use P2V on a source that is not domain joined?  I need this for DMZ machines and acquisitions.
    A: No. In V1 all P2V sources must be machines that are either in the same domain as the VMM server, or members of another domain that has a full 2-way trust with the vmm server’s domain.
     
    Q: What is "offline" P2V?
    A: On-line P2V uses snapshots to capture the data on the drives to acheive an application-level consistent conversion.  However, this requires that the application is VSS framework-aware. Off-line P2V copies a customized image of WinPE 2.0 to the physical system and reboots to it, then the data from the disks are transferred to the target Virtual Server and put in .vhd format. The matrix of what OS’s support on-line and off-line p2v as at http://technet.microsoft.com/en-us/library/bb740951.aspx . The way I think of the difference is that online P2V is a good choice for cloning a machine, and may require you to monitor and fix up any issues if you have applications running that might modify data during the conversion. Offline P2V is a good choice for migrating a machine, and usually won't have any issues for you to fix up, since there are no apps running during the conversion.
     
    Q: Where is the MP?
    A: The Management Pack for SCVMM is now available in the donwload center: http://www.microsoft.com/downloads/details.aspx?FamilyID=fd03b1e6-d7a8-44b4-bc2f-676565d042c2&DisplayLang=en

  • TONYSO

    VMM: New Linux Additions for Virtual Server 2005 R2 SP1

    • 0 Comments

    A new version of the Linux Additions for Virtual Server is now available from the Microsoft Download Center via the following webpage:

    http://www.microsoft.com/technet/virtualserver/downloads/linuxguestsupport.mspx

    These new Additions add support for some updated distributions of Linux (details on the webpage above) and are designed to work with Virtual Server 2005 R2 SP1 which is available at http://www.microsoft.com/windowsserversystem/virtualserver

  • TONYSO

    VMM: Discover the Technical Library

    • 0 Comments

    Our first month's metrics about visitors to the VMM Technical Library worried the PTB, so they asked me to cruft up an alternate nav scheme. Here's a list of what I anticipate will the top-most-visited areas of the library...

    ...notice the self-fulfulling part of the equation?

    About Deploying VMM
    • Getting Started – Locations of the resources for evaluating, deploying, and using VMM
    • Installing Virtual Machine Manager – Procedures for installing all components of VMM
    • Deploying VMM Using a VHD  - Instructions for installing a pre-configured virtual hard disk (VHD), and use it to create a virtual machine that has a pre-installed evaluation version of System Center Virtual Machine Manager (VMM) 2007.
    About Configuring SCVMM
    About Upgrading
    About Creating and Configuring VMs
    • How to create a hardware profile – Provides the procedure and detail links to creating a hardware profile as part of the New Virtual Machine Wizard.
    • How to create a template – Provides the procedure for creating a standardized set of hardware and software configuration settings and can be used repeatedly to create virtual machines that share those settings.
    • How to clone a VM – Provides the procedure to create a new virtual machine that is based on an existing virtual machine and deploy it or save it to the library.
    About Troubleshooting VMM
    • Virtual Machine Conversion Issues - Provides guidance for troubleshooting issues with virtual machine conversion using the Convert Physical Server Wizard (P2V).
    • Installation Issues - Provides guidance for troubleshooting issues that may occur when you are installing Virtual Machine Manager, prerequisite software, and tools.
    • Library Management Issues - Provides guidance for troubleshooting issues that may occur when you are managing Virtual Machine Manager library resources.

    Press CTRL+F on a troubleshooting page, and then enter your error number or text to search for the possible cause and solution.

    About Host Ratings
    About Checkpoints
    • Checkpoints – Provides an overview of checkpoints for a virtual machine that allow you to restore the virtual machine to a previous state.
    • How to Create a Checkpoint - Provides a procedure for creating checkpoints.
    • How to Merge a Checkpoint - Provides a procedure for merging a checkpoint when you no longer need to restore a virtual machine to its state when the checkpoint was created.
    • How to Restore a Virtual Machine to a Checkpoint - Provides a procedure for restoring a virtual machine—including its guest operating system, application settings, and application data files—to its state when a checkpoint was created.
    About P2V
    About V2V
Page 1 of 1 (15 items)

November, 2007