• Couple of Hyper-V Books for Virtualization Administrators

    For Microsoft Hyper-V admins out there, you might wanna check out the following couple of MSPress Microsoft Hyper-V Ebooks;

     

    Optimizing and Troubleshooting Hyper-V Networking

    image

    http://shop.oreilly.com/product/0790145382924.do

     

    Optimizing and Troubleshooting Hyper-V Storage

     

    image

    http://shop.oreilly.com/product/0790145383068.do

    I was honored to write few sections and tech review both books for Mitch. Enjoy!

  • System Center 2012 Operations Manager Web Application Monitoring Example

    While publishing “Microsoft Office 365 Administration Inside Out”, we realized we had illustrated a fairly well-understood way to monitor your O365 tenant with System Center 2012 Operations Manager (SCOM), which may produce false positives. In “Microsoft Office 365 Administration Inside Out”, chapter 5 instructs the reader to browse to this web page and download the Office 365 management pack (MP). This MP is merely used as an example of how to use the System Center 2012 Operations Manager (SCOM) Web Application Availability Monitoring wizard to create a management pack of a few synthetic transactions, aka as fake or test transactions.

    Download the following MP and Import into your System Center 2012 Operations Manager infrastructure. You will need to edit the MP as described in Chapter 5 and 6 of “Microsoft Office 365 Administration Inside Out”.

    It is important to understand that these synthetic transactions only monitor specific entities and relying on them to determine the state of your O365 tenant can lead to false positives. Let’s use Microsoft Exchange as an example. Most Microsoft Exchange servers store mailboxes in more than one mail database, known as the EDB file. There are a variety of reasons for administrators doing this, but the point here is that monitoring a mailbox’s availability only reflects its mail database availability. In O365, mailboxes may be spread across a number of mail databases. This means we may be incorrectly stating that email is running, while only some mailboxes are available.

    Microsoft Office 365 distributes mailboxes across numerous mail databases, abstracting this application layer from the user and customers. Monitoring this O365 mailbox will only validate that the mail database it resides on is available. This begs the question; how do we monitor O365 more accurately?

    Office 365 has a component called the System Health Dashboard (SHD), which is a matrix of health states of various O365 workloads over the last 7 days. As you can see, O365 has 8 Exchange Online workloads that are exposed in this dashboard and need to be monitored along numerous others services and workloads.

    O365 provides the following 7 services and 35 workloads:

    • Exchange Online – Email and Calendar access, E-Mail timely delivery, FOPE Administration, FOPE Encryption, FOPE Quarantine, Management and Provisioning, Sign-In and Voice mail
    • Identity Service – Administration and Sign-In
    • Lync Online – All Features, Audio and Video, Dial-In Conferencing, Federation, Instant Messaging, Management and Provisioning, Mobility, Online Meetings, Presence, Sign-In
    • Office 365 Portal – Administration and Portal
    • Office Subscription – Licensing and Renewal, Network Availability and Office Professional Plus Download
    • Rights Management Service
    • SharePoint Online – Access Services, Custom Solutions and Workflows, InfoPath Online, Office Web Apps, Project Online, Provisioning, Search, SharePoint Features, SP Designer and Tenant Admin

    clip_image004

    The O365 Service Health Dashboard (SHD) is the authoritative source for monitoring an O365 tenant. This means we need to query the SHD with SCOM to determine the state of the services and workloads we are interested in alerting on.

    The concepts behind this entails 3 different parts:

    1. Run a script from a SCOM Watcher Node that queries the SHD
    2. Have the script login to the O365 Admin Portal (https://login.microsoftonline.com)
    3. Have the script read the servicestatus.aspx page and determine which one of the 9 values exists for the workload being monitored
    4. Have the script write the appropriate event log entries and update monitor status
    5. O365 custom MP rules pick up event entries and generate alerts accordingly

    We have been leveraging PowerShell and have made progress, but not successfully logged-in due to, what we identified as a Java component requirement.

    =================================

    $r = Invoke-WebRequest https://portal.microsoftonline.com/ServiceStatus/ServiceStatus.aspx -SessionVariable O365

    $O365

    $form = $r.Forms[0]

    $form | Format-List

    $form.Fields["cred_userid_inputtext"] = "username@yourdomain.onmicrosoft.com"

    $form.Fields["cred_password_inputtext"] = "password"

    $r = Invoke-WebRequest -Uri ("https://portal.microsoftonline.com/ServiceStatus/ServiceStatus.aspx" + $form.Action) -WebSession $O365 -Method POST -Body $form.Fields

    $r.StatusDescription

    ==================================

    Next we need to query the E-Mail and calendar access section of the aspx page. From this section of the page, we can retrieve the current state of the workload.

    clip_image006

    We are retrieving the first column because it is the only state we need. O365 keeps 30 days of history for the tenant service monitoring, but SCOM can maintain months to years’ of data.

    clip_image008

    As of this posting, we have completed the following PowerShell commands to accomplish this. This script is a work in progress because we are at an impasse attempting to move beyond the login page.

    ==================================

    $EMailServiceName="E-Mail and calendar access"

    $HTML = gc '.\Service health.htm'

    $section=$false

    $result=""

    foreach($line in $HTML)

    {

       if($line -match "ServiceNames" -and $line.Contains($EMailServiceName)){$Section=$true}

       if($section -and $line.Contains("TodayCol") -and $line -match "title=`"([^`"]*)`""){$result=$matches[1]}

       if($line -match "SubServiceNames" -and -not $line.Contains($EMailServiceName)){$Section=$false}

    }

    write-host "Service:" "'"$EMailServiceName"'" "Curent Status is:" $result

    Finally, once the value is retrieved, we can write to the Application Event Log like this:

    write-eventlog -logname Application -source O365MP -eventID 301 -entrytype Information -message "O365 message" -category 1 -rawdata 10,20

    ==================================

    There are 9 states an O365 Service/workload can be in. This table identifies them and how we could reflect them in SCOM:

    SHD Service State

    SHD Service State Icon

    SCOM Monitor Status

    SCOM

    Alert

    SCOM Alert Status

    Normal service

    clip_image009

    Green

    No

    Healthy

    Service Restored

    clip_image010

    Green

    No

    Healthy

    Service degradation

    clip_image011

    Yellow

    Yes

    Warning

    Restoring service

    clip_image012

    Yellow

    Yes

    Warning

    Extended recovery

    clip_image013

    Yellow

    Yes

    Warning

    Service interruption

    clip_image014

    Red

    Yes

    Error

    Additional information

    clip_image015

    Green

    No

    Informational

    PIR published

    clip_image016

    Green

    No

    Informational

    Investigating

    clip_image017

    Green

    No

    Informational

    There are many pages online that guide you through creating a monitor in SCOM. Here are a few we recommend. While they may be written for SCOM 2007, they are applicable for SCOM 2012.

    How to Create a Monitor

    How to create a monitor based on a script

    Create a Script-Based Unit Monitor in OpsMgr2007 via the GUI

    Creating a SCOM monitor for an average value

    Once this process is complete and working successfully, select a different workload to retrieve the state and repeat for each workload you are interested in monitoring.

    This posting is provided "AS IS" with no warranties, and confers no rights. Use of included utilities is subject to the terms specified at http://www.microsoft.com/info/cpyright.htm

  • Virtual Machine RAM and Windows Server 2012 Hyper-V Dynamic Memory

    With the introduction of Microsoft Hyper-V Dynamic Memory (DM), there’s been many discussions around DM configuration. Before Windows Server 2012 Hyper-V, the only options available in User Interface were Startup and Maximum RAM. You could however use another parameter called Minimum RAM (by default the same value as Startup RAM) but that needed to be configured using WMI.

    Windows Server 2012 Hyper-V made it easier by including that option in VM’s Memory settings.

    image

    When you start a VM with Dynamic Memory enabled, guest Operating System running inside the VM only has the knowledge of RAM that has been allocated to it at the moment and this is normally equal or around the value of Startup RAM. You can verify this by looking at Installed Memory (RAM) value on the System’s page or Installed Physical Memory (RAM) value on the System Summary page when you launch msinfo32.exe

    This number changes in an upward fashion until the next reboot, meaning that as VM’s memory pressure increases, Hyper-V will allocate more RAM to that VM increasing the above mentioned value. Now, for any reasons, if the VM’s memory pressure drops and Hyper-V balloons out part of that RAM from the VM, the value that guest OS has as the Installed RAM won’t decrease. Thus, User Interface and any WMI/PowerShell queries will show the maximum amount of RAM that has been allocated to that VM since the last reboot.

    Here’s a PowerShell sample code that shows the RAM formatted in GB;

    "{0:N0}" -f ((Get-WmiObject -Query "select * from WIN32_ComputerSystem").TotalPhysicalmemory/1GB)

     

    Now, why do we use this?

    There are many cases that applications or installer packages are looking for a minimum amount of RAM as a prerequisite. Some applications might not even launch unless the available RAM query return a satisfactory value. If you’ve ever tried to install Microsoft System Center 2012 components in a VM with Dynamic Memory enabled, you’ve probably seen the available RAM warning message in the prerequisite analyzer wizard. Not fulfilling that requirement won’t stop you from installing any System Center 2012 components though.

    Startup RAM value will allow you to allocate that much RAM to the VM upon the start of VM and let guest OS sets the Installed RAM value accordingly. This RAM will be locked to the VM while it’s booting and the extra amount of RAM that isn’t needed by the VM will be available to Hyper-V as soon as VM’s guest OS and Hyper-V Integration Services within the guest OS are up and running. In most cases the actual physical RAM allocated to the VM could go down to the value of minimum RAM if there’s no memory pressure. This all depends on how fast your VM boots.

    Off course, you can set the Startup RAM to same value as Maximum RAM for multiple VMs but you’ll need to be careful if the Maximum RAM’s too high and those VMs could start at the same time, some of them might not be able to boot, if the sum of the Maximum RAM values exceeds the total physical RAM available on the Hyper-V server. And yes, you can have the Startup delay action for those VMs and address this concern.

     image

     

    In summary, Dynamic Memory Startup RAM value is a nifty useful dial that could assist you with optimizing your Private Cloud’s memory compute resource. It’s the best to understand the minimum RAM that needs to be reported by the OS as available Installed RAM and set the Startup Value respectfully and let Hyper-V Dynamic Memory does its magic and be efficient in RAM distribution amongst your VMs. So long…

     

    More Info:

    Scripting dynamic memory, part 5: changing minimum memory

    Dynamic Memory Coming to Hyper-V Part 6…

  • Microsoft Management Summit 2013 (#MMS2013) - 4.8-4.12 Mandalay Bay - Las Vegas

    image

     

    There are lots of excitements at MMS 2013 (#MMS2013) in Las Vegas. Many opportunities to learn about Microsoft Private and Public Clouds, Cloud OS and celebrate many milestones achieved by Windows Server 2012, System Center 2012 SP1, Windows Intune, Windows Azure and Microsoft Cloud Solutions in general.

    If you didn’t get a chance to attend, the good news is that you can stream the keynotes live on MSDN Channel 9;

    http://channel9.msdn.com/Events/MMS/2013

     

    Also, don’t miss the opportunity to go back and watch the recording of session you like to know more about during the week.

  • All About Windows Server 2012

     

    image

             clip_image002[4]

    Windows Server 2012 (aka The Modern Cloud OS) has been out for over 6 months now

    With Windows Server 2012, Microsoft delivers a server platform built on our experience of building and operating many of the world's largest cloud-based services and datacenter. Whether you are setting-up a single server for your small business or architecting a major new datacenter environment, Windows Server 2012 will help you cloud-optimize your IT so you can fully meet your organization's unique needs. Windows Server 2012 is;

    • Modern platform for the world’s apps
    • Transforms the datacenter
    • Enables modern apps
    • Unlocks insights on any data
    • Empowers people-centric IT

     

    Windows Server 2012 Rapid Deployment Program TCO Study Whitepaper 

    If you are interested to see how Windows Server 2012 has helped reduce Total Cost of Ownership with our customers that already deployed it, please see this whitepaper.

    TechNet: Windows Server 2012 Technical Library

    This library provides the core content that IT pros need to evaluate, plan, deploy, manage, troubleshoot, and support servers running the Windows Server 2012 operating system.

    • What's New in Windows Server 2012
    • Technical Scenarios for Windows Server 2012
    • Install and Deploy Windows Server 2012
    • Migrate Roles and Features to Windows Server 2012
    • Secure Windows Server 2012
    • Manage Privacy in Windows Server 2012
    • Support Windows Server 2012
    • Server Roles and Technologies in Windows Server 2012
    • Management and Tools for Windows Server 2012

    Independent Study: The Total Economic Impact of Windows Server 2012

    This study conducted by Forrester Consulting is now available which uses their Total Economic Impact methodology to explore the potential costs and benefits of Windows Server 2012. Forrester also stated in the study that, “The data collected in this study indicates that deploying Windows Server 2012 has the potential to provide a solid ROI through quantifiable benefits, most notably increased scale, performance and flexibility with Hyper-V, the enablement of software defined networking with Network Virtualization, and improved storage integration & management.”

    Overall, the study estimates a 6-month payback and 3-year risk-adjusted estimated ROI of 195% for a composite organization of 14,000 employees, which is based on the characteristics of the companies interviewed.

    clip_image004[4]

     

    Simplify Deployment of Windows Server 2012 with MDT 2012 Update 1

    Microsoft Deployment Toolkit 2012 Update 1 is now available and expands your deployment capabilities with support for the latest software releases, including Windows 8, Windows Server 2012, and System Center 2012 Configuration Manager SP1 Community Technology Preview.

    Assess Windows Server 2012 Readiness with MAP

    Microsoft Assessment and Planning (MAP) Toolkit 7.0 is now available for download with detailed and actionable recommendations, indicating the machines that meet Windows Server 2012 system requirements and which may require hardware updates. A comprehensive inventory of servers, operating systems, workloads, devices, and server roles is included to help in planning efforts.

    Configuring and Managing Server Core Installations

    This collection of topics provides the information needed to install and deploy Server Core servers; install, manage, and uninstall server roles and features; and manage the server locally or remotely. It also includes a quick reference table of common tasks and the commands for accomplishing them locally on a Server Core server.

    Secure your Windows Server 2012 and Windows 8 clients with Microsoft Security Compliance Manager

    The Security Compliance Manager (SCM) is a free tool from the Microsoft Solution Accelerators team that enables you to quickly configure and manage the computers in your environment and your private cloud using Group Policy and Microsoft System Center Configuration Manager. Microsoft Security Compliance Manager 3.0 is now available for download! SCM 3.0 includes new baselines for Windows Server 2012, Windows 8, Internet Explorer 10, an enhanced setting library, and new functionality to LocalGPO.

     

    What’s New in Windows Server 2012

    Find out what's New in Windows Server 2012. This content focuses on changes that will potentially have the greatest impact on your use of this release. I would highly recommend checking out the Hyper-V and Storage new features and improvements.

    So, Why Hyper-V? Let’s take a look at Competitive Advantage of Windows Server 2012 Hyper-V over VMWare vSphere 5.1

    If you’ve ever been curious to see Why Hyper-V is one of the leaders in the Server Virtualization space and how it compares to the latest release of VMWare vSphere 5.1, you’ll enjoy reading this whitepaper.

     

     

    7 ways Windows Server 2012 pays for itself

    I was reading InfoWorld article below and thought you’d also like to see what other people are saying about Windows Server 2012 and how they can go forward with their IT with the speed of tomorrow

    1. Storage Spaces
    2. Hyper-V
    3. PowerShell 3.0
    4. Failover Clusters
    5. Data DeDup
    6. SMB 3.0
    7. Scale-Out File Servers
                     

    How would you like to virtualize most business critical applications on Windows Server 2012 Hyper-V with confidence?

    While Microsoft Virtualization Product team confirmed that now 99% of ClassA applications in the world can be virtualized on Windows Server 2012 Hyper-V, ESG Labs has also conducted an independent evaluation of Hyper-V and you can find the results here.

     

    clip_image006[4]

     

    The key findings from ESG Labs were:

    • With Windows Server 2012 Hyper-V’s new support for up to 64 vCPUs, ESG Lab took an existing SQL Server 2012 OLTP workload that was previously vCPU limited and increased the performance by six times, while the average transaction response times improved by five times.
    • Manageably-low Hyper-V overhead of 6.3% was recorded when comparing SQL Server 2012 OLTP workload performance of a physical server to a virtual machine configured with the same number of virtual CPU cores and the same amount of RAM.

    Windows Server 2012 Storage Whitepaper

    Microsoft is introducing several new storage features and capabilities with Microsoft Windows Server® 2012. These innovative features and capabilities extend functionality in profound ways, including the ability to leverage inexpensive storage to create highly available, robust, and high performing storage solutions. These new Microsoft storage capabilities add dynamic functionality on each server and can work together to further enhance functionality at scale in large enterprise environments. This paper outlines these new features and capabilities and how they integrate, co-exist, and complement one another to extend the capabilities of your entire storage infrastructure. Also, wanted to let you know that a new report benchmarking various Storage features in Windows Server 2012 is now available online. The report can be downloaded here.

              

    So, How about some Trainings?

    Windows Server 2012 Technical Overview Courses on Microsoft Virtual Academy (MVA)

    For you IT Admins, these free courses provide lots of value to head start your journey toward adapting Windows Server 2012. This course is designed to provide you with the key details of Windows Server 2012. The seven modules in this course, through video and whitepaper, provide details of the new capabilities, features, and solutions built into the product. With so many new features to cover, this course is designed to be the introduction to Windows Server 2012.

    Windows Server 2012 Test Lab Guides

    clip_image008[4]

    The Windows Server 2012 Test Lab Guides (TLGs) are a set of documents that describe how to configure and demonstrate the new features and functionality in Windows Server 2012 and Windows 8 in a simplified and standardized test lab environment. There are many different scenarios that you could use to build a test lab in your test/dev environment. If you’re interested in Test Lab Guides for other Microsoft solutions and products, please see here or follow their blog here.

     

    Windows Server 2012 Virtual Labs

    Experience Windows Server 2012 firsthand in these virtual labs. You can test drive new and improved features and functionality through deep end-to-end scenarios or specific features, including server management and Windows PowerShell, networking, Hyper-V, and new storage solutions. These are Microsoft Cloud hosted Virtual Labs that you can start from your PC and enjoy the free learning experience without even needing to stand up a lab environment. If you are interested in more virtual labs, please see here. Enjoy!

    Free Books

    Free Windows Server 2012 (RTM) eBook is Available Now

    Mitch Tulloch has updated his very popular free ebook on Windows Server 2012 based on the RTM version of the software. A key feature of this book is the inclusion of sidebars written by members of the Windows Server team, Microsoft Support engineers, Microsoft Consulting Services staff, and others who work at Microsoft. These sidebars provide an insider’s perspective that includes both “under-the-hood” information concerning how features work, and strategies, tips, and best practices from experts who have been working with the platform during product development. If you are into eReaders, you can also download the ePub and Mobi versions for free.

    Free ebook: Introducing Windows 8: An Overview for IT Professionals (Final Edition)

    Get a headstart evaluating Window 8 - guided by a Windows expert who’s worked extensively with the software since the preview releases. Based on final, release-to-manufacturing (RTM) software, this book introduces new features and capabilities, with scenario-based insights demonstrating how to plan for, implement, and maintain Windows 8 in an enterprise environment. Get the high-level information you need to begin preparing your deployment now.

    • Topics include:
    • Performance, reliability, and security features
    • Deployment options
    • Windows Assessment and Deployment Kit
    • Windows PowerShell™ 3.0 and Group Policy
    • Managing and sideloading apps
    • Internet Explorer® 10
    • Virtualization, Client Hyper-V, and Microsoft Desktop Optimization Pack
    • Recovery features

    More Resources

    Real impact for lean government

    http://www.microsoft.com/industry/government/guides/Lean-Gov/default.aspx

    Microsoft Private Cloud Solutions

    http://www.cloudassessmenttool.com

    Did you Know these facts?

    http://www.didyouknow2012.com

    Making government lean with virtualization and private cloud

    http://www.microsoft.com/government/ww/public-services/blog/Pages/post.aspx?postID=255&aID=66

    Microsoft Government

    http://www.microsoft.com/government/en-us/state/pages/default.aspx

    Microsoft Government Cloud Computing

    http://www.microsoft.com/industry/government/guides/cloud_computing/default.aspx

    Microsoft Government Server Virtualization

    http://www.microsoft.com/industry/government/solutions/Server_Virtualization/default.aspx