Monitor CentOS with Operations Manager 2007 R2

Now we have support for CentOS guests on Hyper-V, how about monitoring them?  I noticed some retweets by Carsten Rachfahl of some posts by @OpsMgr on Twitter:

With a bit of searching I also found an old post on the subject of installing the RedHat agent and importing a modified version of the RedHat management pack.

The above two posts use a management pack that is shared on the community cross platform extensions site.

None of this is supported in any way, but you’re probably not too worried about support if you’re using CentOS anyway (I guess).  This will extend the power of OpsMgr to your free Linux distro.

Slide Deck – Private Cloud Academy: Managing Hyper-V

Here is the presentation that I gave a few months ago at the Microsoft Ireland/System Dynamics Private Cloud Academy event in Dublin.  It focused on how to manage Hyper-V using System Center Virtual Machine Manager (SCVMM/VMM) 2008 R2 and System Center Operations Manager (SCOM/OpsMgr) 2007.

Want System Center Operations Manager in the Cloud?

Formerly known as “Project Atlanta”, System Center Advisor (SCA) was talked about today at MMS 2011.  It basically is a cloud version of OpsMgr, capable of monitoring your machines.  Right now, it supports monitoring of x86 or x64 versions of:

  • Microsoft SQL Server 2008 or later
  • Windows Server 2008 or later

Those experienced with OpsMgr will know that an OpsMgr agent (which is what SCA uses BTW) uses Kerberos (AD) for authentication.  That won’t be possible here!  But OpsMgr does have a gateway.  SCA uses that Gateway functionality.  So, if you want to use SCA you have to install the SCA Gateway and that requires a machine running Windows Server 2008 (x86 or x64) or later.  Your agents authenticate with the gateway and the gateway authenticates with SCA in the cloud.

The architecture isn’t all that different to what has been possible with OpsMgr 2007 up to now.  And the firewall side of things is easy too!

You can access a web portal to monitor all of your resources on those supported platforms.  I guess more platforms will be added over time.

The setup is easy.  Log into the site with a Windows Live ID.  You download your unique gateway cert.  Install the gateway with the cert.  Deploy your agents!  You’re practically walked through the process:

image

This will be attractive to smaller companies who want some of the power of OpsMgr.  They might get that functionality without the outlay on hardware and consulting.  Some VPS hosted companies may like this.  It’s not enterprise ready; the limited platform support is an issue.  And we don’t really know how “live” it will be.  But it definitely is something worth keeping an eye on.

As a MS partner, it’s a bit worrying because it redirects business from the partner directly to MS.  It also doesn’t appear to have that partner model that is evident in Intune.  Speaking of which – I see no integration with Intune.  Maybe with time …

Private Cloud Computing: Designing in the Dark

I joined the tail end of a webcast about private cloud computing to be greeted by a demonstration of the Microsoft Assessment and Planning Toolkit in a virtualisation conversion scenario.  That got me to thinking, raised some questions, and brought back some memories.

Way back when I started working in hosting/virtualisation (and it was VMware 3.x BTW) I had started a thread on a forum with some question.  It was something storage sizing or planning but I forget exactly what.  A VMware consultant (and a respected expert) responded by saying that I should have done an assessment of the existing environment before designing anything.

And there’s the problem.  In a hosting environment, you have zero idea of what your sales people are going to sell, what your customers are going to do with their VMs, and what the application loads are going to be.  And that’s because the sales people and customers have no idea of those variables either.  You start out with a small cluster of hosts/storage, and a deployment/management system, and you grow the host/storage capacity as required.  There is nothing to assess or convert.  You build capacity, and the business consumes it as it requires it, usually without any input from you. 

And after designing/deploying my first private cloud (as small as it is for our internal usage) I’ve realised how similar the private cloud experience is to the hosting (public cloud or think VPS) experience.  I’ve built host/storage capacity, I’ve shared the ability for BI consultants/developers to deploy their own VMs, and I have no idea what they will install, use them for, or what loads there will be on CPU, storage, or network.  They will deploy VMs into the private cloud as they need them, they are empowered to install software as they require, and they’ll test/develop as they see fit, thus consuming resources in an unpredicatable manner.  I have nothing to assess or convert.  MAP, or any other assessment tool for that matter, is useless to me.

So there I saw a webcast where MAP was being presented, maybe for 5-10 minutes, at the end of a session on private cloud computing.  One of the actions was to get assessing.  LOL, in a true private cloud, the manager of that cloud hasn’t a clue what’s to come.

And here’s a scary bit: you cannot plan for application supported CPU ratios.  Things like SharePoint (1:1) and SQL (2:1) have certain vCPU:pCPU ratios (virtual CPU:physical core) that are recommended/supported (search on TechNet or see Mastering Hyper-V Deployment).

So what do you do, if you have nothing to assess?  How do you size your hosts and storage?  That is a very tough question and I think the answer will be different for everyone.  Here’s something to start with and you can modify it for yourself.

 

  1. Try to figure out how big your infrastructure might get in the medium/long term.  That will define how big your storage will need to be able to scale out to.
  2. Size your hosts.  Take purchase cost, operating costs (rack space, power, network, etc), licensing, and Hyper-V host sizing (384 VMs max per host, 1,000 VMs max per cluster, 12:1 vCPU:pCPU ratio) into account.  Find the sweet spot between many small hosts and fewer gigantic hosts.
  3. Try to figure out the sweet spot for SQL licensing.  Are you going per-CPU on the host (maybe requiring a dedicated SQL VM Hyper-V cluster), per CPU in the VM, or server/CAL?  Remember, if your “users” can install SQL for themselves then you lose a lot of control and may have to license per CPU on every host.
  4. Buy new models of equipment that are early in their availability windows.  It might not be a requirement to have 100% identical hardware across a Hyper-V cluster but it sure doesn’t hurt when it comes to standardisation for support and performance.  Buying last year’s model (e.g. HP G6) because it’s a little cheaper than this year’s (e.g. HP G7) is foolish; That G6 probably will only be manufactured for 18 months before stocks disappear and you probably bought it at the tail end of the life.
  5. Start with something small (a bit of storage with 2-3 hosts) to meet immediate demand and have capacity for growth.  You can add hosts, disks, and disk trays as required.  This is why I recommended buying the latest; now you can add new machines to the compute cluster or storage capacity that is identical to previously purchased equipment – well … you’ve increased the odds of it to be honest.
  6. Smaller environments might be ok with 1 Gbps networking.  Larger environments may need to consider fault tolerant 10 Gbps networking, allowing for later demand.
  7. You may find yourself revisiting step 1 when you’ve gone through the cycle because some new fact pops up that alters your decision making process.

To be honest, you aren’t sizing; You’re providing access to elastic capacity that the business can (and will) consume.  It’s like building a baseball field in Iowa.  You build it, and they will come.  And then you need to build another field, and another, and another.  The exception is that you know there are 9 active players per team in baseball.  You’ve no idea if your users will be deploying 10 * 10 GB RAM lightly used VMs or 100 * 1 GB RAM heavily used VMs on a host.

I worked in hosting with virtualisation for 3 years.  The not knowing wrecks your head.  The only way I really got to grips with things was to have in depth monitoring.  System Center Operations Manager gave me that.  Using PRO Tips for VMM integration, I also got my dynamic load balancing.  Now I at least knew how things behaved and I also had a trigger for buying new hardware.

Finally comes the bit that really will vex the IT Pro:  Cross-charging.  How the hell do you cross-charge for this stuff?  Using third party solutions, you can measure things like CPU usage, memory usage, storage usage, and bill for them.  Those are all very messy things to cost – you’d need a team of accountants for that.  SCVMM SSP 2.0 gives a simple cross charging system based on GB or RAM/storage that are reserved or used, as well as a charge for templates deployed (license).  Figuring out the costs of GB of RAM/storage and the cost of a license is easy. 

However, figuring out the cost of installed software (like SharePoint) is not; who’s to say if the user puts the VM into your directory or not, and if a ConfigMgr agent (or whatever) gets to audit it.  Sometimes you just gotta trust that they’re honest and their business unit takes care of things.

EDIT:

I want to send you over to a post on Working Hard in IT.  There you will read a completely valid argument about the need to plan and size.  I 100% agree with it … when there’s something to measure and convert.  So please do read that post if you are doing a traditional virtualisation deployment to convert your infrastructure.  If you read Mastering Hyper-V Deployment, you’ll see how much I stress that stuff too.  And it scares me that there are consultants who refuse to assess, often using the wet finger in the wind approach to design/sizing.

Community Event: From The Desktop to the Cloud: Let’s Manage, Monitor and Deploy

We’ve just announced the details of the latest user group event in Dublin … it’s a biggie!  I’ll be presenting two of the deployment sessions, on MAP and MDT.

Join us at the Guinness Store House on February 24th at 09:00 for a full day of action packed sessions covering everything from the desktop to The Cloud, and maybe even a pint of Guinness afterwards.

We have our a fantastic range of speakers ranging from MVPs to Microsoft Staff and leading industry specialists to deliver our sessions ensuring a truly unique experience.  During this day, you will have the choice of attending sessions of your choice, covering topics such as Windows 7/Office 2010 deployment, management using System Center, and cloud computing for the IT pro (no developer content – we promise!).

We have our a fantastic range of speakers ranging from MVPs to Microsoft staff and leading industry specialists to deliver our sessions ensuring a truly unique experience. During this day, you will have the choice of attending sessions of your choice, covering topics such as Windows 7/Office 2010 deployment, management using System Center, and cloud computing for the IT pro (no developer content – we promise!).

We promised bigger and better and we meant it.  This session will feature 3 tracks, each with four sessions.  The tracks are:

  1. The Cloud: Managed by Microsoft Ireland
  2. Windows 7/Office 2010 Deployment: Managed by the Windows User Group
  3. Systems Management: Managed by the System Center User Group

You can learn more about the event, tracks, sessions, and speaker on the Windows User Group site.

You can register here.  Please only register if you seriously intend to go; Spaces are limited and we want to make sure as many can attend as possible.

The Twitter tag for the event is #ugfeb24.

OpsMgr Integration with VMM 2008 R2 SP1 Beta

I’m wrapping up the setup of a demo environment for tomorrow’s Private Cloud Academy, focusing on VMM, OpsMgr, Virtual Machine Servicing Tool, and SCE 2010.

I am using Windows Server 2008 R2 SP1 Dynamic Memory on the managed cluster, and I’m using Virtual Machine Manager 2008 R2 SP1 as well.  The final piece of the PRO integration between VMM and OpsMgr is when you specify the OpsMgr server in VMM in Administration.  I went to do that and I was told that I did not have current VMM management packs in OpsMgr.  For the SP1 beta, it looked for version 2.0.4516.0.

After about 5 seconds of blinding panic (the demo is tomorrow morning) I checked the SP1 media and found the management packs in amd64virtualizationMP.  Phew!  I did an import from disk in OpsMgr and the management packs were updated.

TechEd Europe 2010 Keynote – Big Shock: It’s All About The Cloud

I’m not at the poor cousin of the TechEd family this week.  Last year’s experience put me off.  However, I’m tuned into the keynote to see what’s happening.  The very good news is that Stephen Elop (the speaker at last year’s keynote where half of the room walked out) has left for Nokia and that Brad Anderson (Microsoft Corporate Vice President, Management & Security Division) is taking over the duty.

While I’m waiting … I would expect lots of System Center v.Next/2011 content to be on show this year.  Those products tend to make big headlines at MMS and almost all of the family has some big release next year .. OpsMgr, VMM, ConfigMgr.  Oh … here we go …

Brad starts off my pitching “the cloud”.  It’s not a surprise.  And the message is …. .everyone else in cloud is wrong; Platform-as-a-Service is the way to go.  The huge investment in Azure did not affect that ;-)  Dagnammit – I don’t have enough drink in the house for the “MS keynote – cloud drinking game”.

Windows Phone is next up.  It’s only launching today in the USA.  The first pitch is “choice”.  Obviously aiming at where MS feels Apple is weak, i.e. lack of handset variety.  Some would say that makes Apple is strong because the control the hardware/OS integration completely.  The see-it-all-at-once and social media integration in WP7 is very good on the face of it (I actually have an iPhone rather than WP7).  WP7 should also be controllable using System Center.  Not much reaction at all to a “do you want a demo of it?” question by Anderson.  Problem: geeks are at the show and they’ve already seen the demo.  It’s a demo of the apps really – aimed squarely at the developers in the audience.  Nice looking apps from Tesco and Ebay.  Eek, the developer demo is canned.  Looks pretty similar to what I saw in the PDC keynote. Dev stuff – I’m taking a quick power nap.  Brad is back with the news that since the European launch 3 weeks ago, 600 European apps are published.

We need to deliver apps to users in a predictable and secure way.  There is tension between users and IT – gimme gimme gimme versus control.  I smell ConfigMgr v.Next.  It’s all about IT delivery being focused on the user, e.g. user pulling down apps and the apps following the user around to different PCs if they are the “owner” PC.  User centric client computing is the brand that MS is using.  Ahh … SP1 first.  Ah … Windows 7 marketing first.

88% of worldwide businesses (what size is not mentioned) say they will move to Windows 7 in the next 2 years.

SP1 for Windows 7 and Windows Server 2008 R2 new virtualisation features:

  • RemoteFX (previously blogged): big for VDI graphics in the LAN
  • Dynamic Memory (previously blogged).  Claiming a 40% density improvement in VDI.  Anderson claiming that will give Hyper-V the best density in VDI in the market.

Michael Kleef comes on stage.  He big-ups the Citrix relationship.  Citrix are embracing RemoteFX and it’ll feature in XenDesktop.  Now we see IE8 running in a XenDesktop VM via ICA.  A flash video in full fidelity and audio is playing.  HP BL460 blades are in the background and a perfmon view shows the CPU utilisation is minimal – because the work is being done by the GPU.  A Silverlight application in IE9 is run with lots of graphics, moving bits, and BI reporting.  Hmm, the Citrix WAN scaling tools can allegedly stretch RemoteFX over the WAN … interesting!

Back to the cloud with SaaS.  Office365 is a next generation replacement for BPOS.  Intune (very basic desktop management) is on deck.  Demo of Office365.  We’re in yawn-ville at the moment.  This keynote needs a shot of adrenaline.  InTune is being sold as “management”.  It’s very, very light compared to ConfigMgr.  Nice idea – but I’d rather see a cloud based child-site for ConfigMgr.  Anderson promises that InTune will become as rich as ConfigMgr.

A RC of ForeFront EndPoint Protection is available today.  It is based on the same architecture as ConfigMgr.  That means you can have one integrated infrastructure to manage desktops and servers configuration and security.  And that’s all there is about that.  I guess the ForeFront teams got more pop today than they did last year 🙂

Now it’s cloud (IaaS), cloud (PaaS) and private cloud for the rest of the day.

Infrastructure as a Service.  Private Cloud computing from MS is Hyper-V and System Center.  What momentum does Hyper-V have?  Hyper-V has grown 12.6 points and VMware has grown over 4 points in the market over the last 2 years. 

Announcements:

  • Hyper-V Cloud: This is the partnership program that I’ve just blogged about.  It’s a bundle of software and hardware.  MS has a set of funds called Accelerate.
  • Lots of guides, etc: previously blogged.

HP Hyper-V partnership: HP Cloud Foundation for Hyper-V is an integration between HP Blade System Matrix and MS System Center.  HP is announcing HP CloudStart based on rapidly deploying private clouds based on Hyper-V.

What’s coming in the next version of System Center?  Greg Jenson has the answers.  3 key features:

  • Elastic
  • Shared infrastructure in the data centre
  • Deployed by an application owner by self-service

This is made possible by the next version of VMM.  We get the demo shown at TechEd NA 2010 in the Spring.  This features Server App-V.  VMM vNext is almost identical to what you get in Azure VM Role and that also has Server App-V.  Modelling of an n-tier app architecture is shown, highlighting elasticity.  That’s great for techies …. we want self service so that’s what’s up next!  We see some delegation of the service template to a potential app owner.  It’s similar to 2008 R2 but with a service template which describes an architecture rather than deploy a VM.  That’s understanding the business app owners and their needs.  Deploying a new service = deploy the template.  Things like IIS and SQL will be deployed as virtualised applications that are abstracted from their VM’s.  That allows zero downtime patching of VM’s from the template.

Azure Virtual Network allows a cross-premises domain between your site and Azure.  Azure VM Role allows you to run Windows Server 2008 R2 VMs.  I blogged about that announcement from PDC.

Power nap while Azure dev stuff is talked about.  Next we see OpsMgr using the RC (but supported) management pack for Azure to monitor an Azure based application.  It can respond to spikes in demand by spawning Azure instances.  Careful now; don’t want a nasty credit card bill at the end of the month because of elastic growth that incorrectly interprets slow response times.

Anderson wrapping up by saying that we will likely use a mix of cloud technologies.  We have different solutions to choose from and integrate to suit the needs of our businesses.

Over 70% of MS research/development resources are focused on the cloud.

Cumulative Update 3 for Microsoft System Center Operations Manager 2007 R2

Microsoft released cumulative update 3 for OpsMgr 2007 R2.  There’s lots of fixes/changes.  The one big one is the ability to monitor Azure applications.  So now you can use your on-premises OpsMgr installation to monitor the SLA of your Azure application (using Distributed Applications).  You can also monitor cross-premises applications because OpsMgr doesn’t really care where stuff is located.

Mastering Hyper-V Deployment Book is Available Now

Amazon has started shipping the book that I wrote, with the help of Patrick Lownds MVP, Mastering Hyper-V Deployment.

Contrary to belief, an author of a technical book is not given a truckload of copies of the book when it is done.  The contract actually says we get one copy.  And here is my copy of Mastering Hyper-V Deployment which UPS just delivered to me from Sybex:

BookDelivered

Amazon are now shipping the book.  I have been told by a few of you that deliveries in the USA should start happening on Tuesday.  It’s been a long road to get to here.  Thanks to all who were involved.

Mastering Hyper-V Deployment Excerpts

Sybex, the publisher of Mastering Hyper-V Deployment, have posted some excerpts from the book.  One of them is from Chapter 1, written by the excellent Patrick Lownds (Virtual Machine MVP from the UK).  As you’ll see from the table of contents, this book is laid out kind of like a Hyper-V project plan, going from the proposal (Chapter 1), all the way through steps like assessment, Hyper-V deployment, System Center deployment, and so on:

Part I: Overview.

  • Chapter 1: Proposing Virtualization: How to propose Hyper-V and virtualisation to your boss or customer.
  • Chapter 2: The Architecture of Hyper-V: Understand how Hyper-V works, including Dynamic Memory (SP1 beta).

Part II: Planning.

  • Chapter 3: The Project Plan: This is a project with lots of change and it needs a plan.
  • Chapter 4: Assessing the Existing Infrastructure: You need to understand what you are converting into virtual machines.
  • Chapter 5: Planning the Hardware Deployment: Size the infrastructure, license it, and purchase it.

Part III: Deploying Core Virtualization Technologies.

  • Chapter 6: Deploying Hyper-V: Install Hyper-V.
  • Chapter 7: Virtual Machine Manager 2008 R2: Get VMM running, stock your library, enable self-service provisioning.  Manage VMware and Virtual Server 2005 R2 SP1.
  • Chapter 8: Virtualization Scenarios: How to design virtual machines for various roles and scales in a supported manner.

Part IV: Advanced Management.

  • Chapter 9: Operations Manager 2007 R2: Get PRO configured, make use of it, alerting and reporting.
  • Chapter 10: Data Protection Manager 2010: Back up your infrastrucuture in new exciting ways.
  • Chapter 11: System Center Essentials 2010: More than just SCE: Hyper-V, SBS 2008 and SCE 2010 for small and medium businesses.

Part V: Additional Operations.

  • Chapter 12: Security: Patching, antivirtus and where to put your Hyper-V hosts on the network.
  • Chapter 13: Business Continuity: A perk of virtualisation – replicate virtual machines instead of data for more reliable DR.