Hooked on iPhonics

It’s been a few months since I bought an iPhone 4.  I’ve been using it more than any phone I’ve ever used before, not as a phone but as a smartphone.

The feature I’m using the most is that of media playback.  Through iTunes, I’m downloading subscriptions to podcasts.  I’ve got 3 subscriptions at the moment.  Two of them are photography podcasts and the third is the BBC Wildlife monthly recording.  They come in handy when I’m sitting on the train, lying in bed, etc.  I’m even listening to them in the car thanks to a FM transmitter dongle which transmits the iPod player to the FM radio in my car.  That beats listening to the endless moaning or Cowell-music on the radio.  There is a huge and ever growing library of podcasts and they’ll keep me entertained and educated for a very long time.

Games have been entertaining too.  Angry Birds is a must have for any iDevice owner.  It’s a simple game, and it’s addictive.  I’ve tried a free sniper game where you move the rifle by moving the phone.  That’s pretty cool.  And I’ve downloaded a trial for a Star Wars first-person-shooter.  The controls for it are very fiddly but the graphics are impressive.  I never would have thought that a phone could provide better game graphics than PCs of 15 years ago.

I’ve found the map feature to be pretty handy.  In the car, I stick to my Garmin GPS.  But if I’m walking to somewhere that I don’t know, the Google map (once I allow for the usual Google map mistakes) gets me to where I need to go while tracking my position.  I’ve even used the “locate me” feature while on the train to map a location that I want to walk to as a prospect for wildlife photography.

Speaking of which, regulars will know I am into photography, in particular, wildlife photography.  That requires endless hours of waiting around for a few seconds of an animal or bird sighting when you try to capture a good photo.  That waiting can be difficult.  I turned to the iPhone recently while out in the snow waiting for a Fox to cross my lens.  The Twitter, Facebook, and Flickr apps kept me entertained, and I did some surfing on the excellent Safari browser … it does suck that Flash isn’t approved of by Apple.

And that brings me to the camera.  I own one DLSR.  When I’m out doing wildlife, it’s paired up with a big lens which isn’t suitable for landscapes.  During last week’s snow, I used the camera to take a few landscapes.  It’s got a tiny sensor which means that it is susceptible to digital noise (detail and colour grain) even at very low ISO (quality control for shutter speed).  That won’t matter to most people but it will do serious shooters.  I’ve taken images into Photoshop and cleaned then up (using the Imagenomic plugin).

IMG_0125

It won’t match a DSLR or even an advanced compact camera but the iPhone will happily replace a basic compact camera for most people.  5MP is more than enough for most people – the “megapixie” chase that most people get trapped in is irrelevant these days.  Megapixies don’t define quality, they define maximum print size.  2MP is enough for your typical 6*4 prints.  5MP that’s in your Windows Phone 7 or iPhone is enough for A4 prints.

It’s not a bad device for showing people photos.  I keep a folder of my favourite images on my laptop and I sync that to the phone using iTunes.  Now when I’m chatting with someone (usually in the nature or photography world) I can quickly show them an image that I’ve taken.

Combined with the free Flickr or Facebook apps, I can easily take an image I’ve taken (still in the camera roll) and upload it to the net.  I rarely do that seeing as I like to post-process in Photoshop (all digital photography requires digital processing, just like all film photography requires lab processing) but I can if I want.

Thanks to the VLC app, I’ve even been watching movies on my phone.  I know – it’s a tiny screen.  But I’d rather carry a phone in my pocket while commuting on the train than a laptop bag over my shoulder.

Other utility apps prove useful.  One of the things I’ve found annoying while travelling was getting an idea of what something was going to really cost me after the exchange rate conversion.  I’ve no got an app from xe.com to tell me just that.  Now when I’m standing in a store in the USA or Norway, I can quickly convert and decide if I should buy or not.

I started wondering about where phones can go in the future.  The big leap we’ve seen was the OS becoming more interactive and the content going from stale (see Symbian) to rich (see Android and iPhone, not sure about WP7 yet).  I wonder if the next big challenge is integration into the other devices in our lives.  We’ve started using smartphones more for email, web browsing, consuming content, and using apps.  You might argue that we use them as much, if not more, than our PCs; we just use them differently.  Apple has made the first attempt with integration into some type of Apple TV.  I think the latest iOS update gave us wifi printing.  That’s a start but I want more.  I do the odd presentation here and there.  I’d love to integrate my phone with a projector.  Given some time, I think there’s loads of things we could think up.

I watched a BBC News show back in the Summer that talked about the “undiscovered country” when it comes to smartphones.  Smartphones are not suitable for older people at the moment.  Whether it is small graphics (short sight) or tiny “buttons” (arthritic hands), the show reported that older people were sticking to the older mobile phones because they were easier to use.  Maybe the 7 inch tablet will give the older generation something that they can use … but the OS will need to be lower resolution than for younger people so that the controls are larger.

Anyway, I’m hooked on iPhonics at the moment.  I could be sitting at home, watching a TV show on my laptop and I reach to my phone to check up on Facebook or Twitter.  I might use Safari to refresh the news sites to see what’s happening in the world.  My content consumption has definitely changed.

Software Setup Does Not Meet Memory Requirements with Dynamic Memory Enabled

I expect one particular type of “problem” quite a bit when people start putting Dynamic Memory (a new feature in W2008 R2 SP1) into production: some people will deploy a new virtual machine with a small amount of start up memory (which is supported) and then they will try to install software in the virtual machine.  This software will have much greater requirements and it will fail the hardware checks, thus preventing the install.  Take this specification for example:

Windows Server 2008 R2 VM ABC:

  • Startup Memory: 512 MB
  • Maximum Memory: 4096 MB
  • Hard Disk: 100 GB

You might try to install application XYZ into VM ABC.  Application XYZ has the following requirements:

  • Minimum Memory: 2048 MB
  • Minimum Disk: 10 GB

OK, so the VM expands up to 4096 GB and there’s loads of free disk space.  All is well, right?  Maybe not!

When that VM powers up with just the OS installed, it might only use 512 MB of RAM.  If the buffer is set low then it might only have 615 MB of allocated RAM.  You need to remember that a VM with dynamic memory will only be allocated whatever memory it is using + a buffer ammount.  The setup.exe for application XYZ will check for the 1024 MB requirement and see that only 615 MB is present.  That’s a fail, even if the VM can expand up to 4096 MB.

There’s a couple of ways to get around this.

Balloon

The VM’s operating system will always believe that it has the amount of RAM that was the dynamic memory high water mark.  In other words, if the VM expanded up to 3000 MB and balloons back down to 615 MB then the VM’s OS thinks that it still has 3000 MB.  The unused  2385 is acutally returned to the host thanks to the Dynamic Memory balloon.  This high water mark resets with the restart of a VM.

You can cause the VM to reach a high water mark that exceeds the memory requirements of the application that you want to install.  It is a bit crude but it will work.  I picked up a handy trick from one of the Hyper-V product group members for my Dynamic Memory testing/demonstrations.  I use MS Paint, and expand the canvas size to the maximum number of pixels.  That EATS up memory and drives up the highwater mark.  Close MS Paint and the memory is returned to the host, as will be seen in the Hyper-V Manager.  Check Task Manager in the VM’s OS and it’ll think it still has the high water mark amount of RAM.  Now you can install your software.

I’m waiting for some enterprising developer to create a tool to query for an amount of RAM, which will then consume that memory with little CPU utilisation.  All of the performance testing tools that I have tried will hammer the CPU which is not useful in these circumstances.

Temporarily Disable Dynamic Memory

With this approach, you will configure the VM to have the required amount of static memory for a short amount of time.  Shut down the VM.  Change the memory from dynamic to static.  Power up the VM and install the software.  Now you can shut it down again, reconfigure Dynamic Memory, and power up the VM once more.

What if the software always checks for memory availablity before starting?  There is a chance that the developers put this check in place.  If so, you need to know what the requiremed memory is, and reconfigure the VM’s Dynamic Memory settings to ensure that the Startup Memory setting at least matches that amount.  For example, application XYZ requires 1024 MB RAM.  We can reconfigure VM ABC with 1024 MB startup memory.  Now the machine will boot up with 1 GB of RAM and the startup checks that are performed by XYZ will be passed.

The usual advice for startup memory that is floating about is that you “should set startup memory to match the minimum memory requirements of the VM’s OS”.  This example is one of the reasons why I don’t like that advice and I go with “should be set for the normal amount of memory required by the VM’s OS and the server applications installed”.  I know that sounds a bit more wooly, and it detracts from the RAM right-sizing benefit fo Dynamic Memory a wee bit – but not so much if you use the minimum requirements of the app rather than the reccomended, etc.

.NET Monitoring – Another Benefit of System Center Management Suite

The SMSE (System Management Suite Enterprise) and SMSD (System Management Suite Datacenter) are System Center agent packs that you can buy for virtualisation hosts to manage the host and virtual machines on that host.

Today, the SMSE/D just got an additional feature boost with the inclusion of Avicode 5.7.

Avicode is a solution for monitoring the performance of .NET applications.  As you may know, the application is everything in the current age of the cloud.  Avicode allows you to:

Simplify management with automatic discovery of application dependencies.

  • Addresses custom LOB monitoring without the need for extensive MP authoring
  • Graphical application topology view displays dependency between distributed components

Optimise business productivity with always-on, real-time monitoring, and rapid error resolution of business critical applications

  • End-user experience and application performance monitoring are critical for virtual datacenter and cloud environments
  • Identifies precise cause of application error allowing delivery of actionable information to the proper support team for faster resolution

Lower the cost of managing datacenter services by establishing enterprise-wide standards to manage custom and disparate applications

  • Distributed web services and outside-in monitoring
  • Monitor and measure service-level delivery (SLAs)

Oh here’s the cool bit: Avicode integrates with System Center Operations Manager 2007, the Microsoft enterprise monitoring solution.

Can’t Give Away Everything for Free

A hot topic for photographers is the “free conundrum”.  Many amateur photographers are as good as professionals.  They take as much time in learning the craft and in planning a shoot; they just don’t do it for a living.  They’ll post their images on websites, forums, Flickr, and so on.  At some point a good photographer is contacted and asked if an image can be used for something.  For example, I’ve been asked by a Scandinavian tourist board if one of my White-Tailed Sea Eagle photos could be used in a brochure.  I enquired to find out what they were willing to pay.  They wanted me to do it for free.  Free sounded like a rip-off to me because I used expensive equipment and paid a lot of money to go on the trip.  I also took great care in processing the photo in question.  That said to me that my time, effort, and skill were worth €0 to this government organisation.  There was no way that I would accept that.

On the other hand, I’ve allowed a local start-up business use some of my photos (for web usage) in return for access to their birds of prey and for photo credits on their site.  It was a fair trade: they didn’t have any budget but they have something of value to me.  I’ve also contributed photos to a not-for-profit nature website who happily credit the contributors.  We both win.

Why am I blogging about this on an IT site?  Let me explain …

I was listening to “They Photography Show” podcast this morning and they talked about how photographers shouldn’t give away their wares for nothing.  It says that your value is €0 and that you’ll always be there to be taken advantage of.  That struck a chord.

Back in 2006, I set about trying to raise my profile in the business.  I started blogging.  Part of that was writing guides and whitepapers.  I then started getting asked to present.  All cool.  That lead to community opportunities, writing books, networking with local IT people, and joining the MVP community.

But there are those who want to push too far and take too much.  One huge corporation wanted to take one of my ConfigMgr 2007 guides, and republish it internally for commercial usage without paying me.  There’s lots more like that which is unacceptable.  And there are those who assume my time, skill, and effort can be taken for granted without any consequences.  Uh uh! In the immortal words of Damon Wayans: Homey don’t play that.

Questions through my blog, presenting at community events where expenses are covered, helping out that isn’t free consulting are all good.  That’s just being a helpful part of the community.  But assuming that I am (or, anyone for that matter, is) a free support service that you can call upon to sort out your commercial problems instead of hiring a professional is plain greedy.

People like myself put a lot of time and effort learning about this things we work with.  We put in that extra effort after we have “clocked out”, unlike many others.  If you have a quick question or a community request, then cool, we can help out.  But if you’re looking for a free commercial solution then you need to get your wallet out or put in the extra work for yourself.

New Public Cloud Stuff Happening

So, according to a few niche blogs, the Azure VM Role CTP/beta went active two days ago.  I applied for access but heard nothing.  I really hope to get in.

Also in the news, Amazon has announced an ability to import Hyper-V and VMware VMs.  That makes sense.  However, I see no export option.  That was something I had to deal with many times when working in the hosting business and dealing with savvy potential customers.  Lock-in is a real concern for cloud customers.

MS France Says: Oui; Windows 8 Hypervisor!

I just read the following on SearchVirtualDesktop:

“Microsoft France’s technical and security director, Bernard Ourghanlian, mentioned in a French publication this summer that Hyper-V 3.0 will run as a client hypervisor on the desktop along with the MinWin version of windows”.

Wait; there are three things to note from that:

  1. Another Microsoft employee on the continent is talking out loud when they probably shouldn’t be (Amsterdam is the usual leaky dam).
  2. MinWin is a name that’s bounced around in the rumour mill for a while.  It’s thought to be a completely stripped down version of a Windows desktop OS, similar to Windows PE but not intended just for deployment tasks.
  3. A client hypervisor.

It’s that latter bit that’s interesting.  A new client-based hypervisor that is based on vNext of Hyper-V.  Almost every Windows IT pro has wanted that since day 1.  Right now we compromise with Windows Server & Hyper-V on the laptop or use VMware Workstation (or similar).  Virtual PC just hasn’t been able to compare in the past, and the current release is focused on application compatibility rather than virtualisation for demos or labs.

A new MS client hypervisor that is a part of Windows 8 would probably bring an end to Virtual PC, I guess.  And MED-V would see some sort of shift into being purely a VM distribution system … kind of a VMM-lite for client virtualisation.

Who knows!  I guess we’ll have to wait for someone in MS Netherlands to feel like they’ve been scooped and blurt out some more information.  I’ve a funny feeling that they might get hunted down by someone in Redmond 😉

2011 Crystal Ball Time

2010 was to be the year of the cloud.  Did it happen for you?  Odds are: no.  What was 2010, really?

A few things stand out for me.

  1. This was the year of the cloud…. the ash cloud from Iceland.  That sucker ruined international transport by airplane and will give MS Lync sales people a boost.  The unprecedented snow in Ireland will add momentum.
  2. I spent most of the year writing or editing.  I wrote the proposal to Sybex for Mastering Hyper-V Deployment while jetlagged at the MVP summit in my hotel in Belleview (near Redmond) while my annoyed room mate grumbled Smile  Half a year later I finished the book, and then went on to do work on Mastering Windows 7 Deployment.  Rest; what’s that?
  3. Facebook just exploded all over us.  That cannot be denied.  We had the movie about the founding (which I enjoyed) and Mark Zuckerberg was named man of the year by Time magazine.  Let’s remember that’s for an American audience and they also thought the Irish prime minister was one of the world’s best leaders just a few months ago Smile
  4. It was the year of the iPad.  It was iThis and iThat all over the place since the spring.  Even a pro-MS nutter like me even succumbed and bought an iPhone 4.
  5. Microsoft launched the Xbox 360 Kinect.  I bought one last weekend and it is awesome.  There have been genuinely massive sales of this Wii-beater.  I got the last one in the local store.  Console gaming will never be the same again.  Could this be the future of the PC too?
  6. The application/data are king!  Now more than ever, the business care’s little for the IT infrastructure, and all about application and data availability.  See the private cloud below.

So what will happen in 2011?  If I knew for certain then I’d be a rich man.  Anyway, here’s how my brain’s synapses are firing right now:

  • It will be the year of the clouds: public, private and cross-premises/hybrid.  IBM, HP, Dell (rumoured), Fujitsu (Azure appliance) are all developing cloud platforms because they know they have to.  Microsoft and Amazon were in first.  Microsoft’s Azure VM Role will be quite different and will have the advantage of having direct integration with the on-premises private cloud.
  • System Center pros are going to have a big year.  SCVMM, OpsMgr and ConfigMgr are all releasing 2012 versions with big improvements over already fine products.  We’re still playing catch up with Opalis and Service Manager 2010.  It will be a busy/fun year.
  • The Dynamic Datacenter/Private Cloud.  These are slightly different but based on the same technologies.  MIcrosoft’s DSI (dynamic systems initiative) continues and evolves as always.  More automation and compliance management is made possible via Opalis (automation) and Service Manager (compliance and control), giving us the Dynamic Datacenter based on the complete System Center package.  The private cloud is based on VMM 2012/VMM 2008 R2 & SCVMM SSP 2.0 and a Hyper-V compute cluster with System Center managing everything.  Automation and self-service are the aims.  That’s because the business wants to deploy applications quickly and know they are available.  They care nothing for the servers or network appliances beneath them.
  • Windows 8!?!?!?  Rumours have appeared that Steve Ballmer will preview Windows 8 at CES in Las Vegas in January 2011.  You can bet that  serious development started back in the Summer once the Windows 7/Server 2008 R2 SP1 code was developed (not bug fixed).  Some reckon an RTM will happen in November 2011.  I’ve nothing that I can add to that but it does seem quite aggressive.  Commentators are already saying it will continue the approach of Windows 7: evolve rather than revolutionise.  That seems like a wise move to me (see XP to Vista).  Most big changes might be in the GUI, based on the leaks that were revealed a while back.

Whoops! My Aldi crystal ball just rolled off the table and hit the ground.  That’s about all I have in me for now.  What do you think 2011 is going to bring?

KB2345316: Prevent a DDOS Attack From A Hyper-V VM

Microsoft has released the second ever (since the release of Windows Server 2008!) security fix for Hyper-V. 

“This security update resolves a privately reported vulnerability in Windows Server 2008 Hyper-V and Windows Server 2008 R2 Hyper-V. The vulnerability could allow denial of service if a specially crafted packet is sent to the VMBus by an authenticated user in one of the guest virtual machines hosted by the Hyper-V server. An attacker must have valid logon credentials and be able to send specially crafted content from a guest virtual machine to exploit this vulnerability. The vulnerability could not be exploited remotely or by anonymous users”.

In other words, you have to be logged into a VM running on the host (be a legit internal user) and have sufficient rights in the VM’s operating system to craft this packet.

The issue affects Windows Server 2008 and Windows Server 2008 R2.

SCVMM 2008 R2 SP1 RC

Microsoft has released a release candidate (pre-release testing only) version of Service Pack 1 for System Center Virtual Machine Manager (VMM) 2008 R2.  This adds support for managing Windows Server 2008 R2 (W2008 R2) Hyper-V hosts that have Service Pack 1 installed.  In other words, it will include support for RemoteFX and Dynamic Memory.

Note that the service pack for VMM includes all previously released fixes for VMM.

VMM 2008 R2 SP 1 will use updated PRO management packs.  It cannot use the pre-SP1 management packs.

The upgrade process:

  • Backup the VMM database.
  • Run the upgrade wizard on the VMM server.
  • Upgrade any self-service portals and administrator consoles.
  • Refresh hosts/libraries in the administrator console.
  • Hosts will show “Needs Attention”.  Upgrade the agent using VMM admin console actions pane.

OpsMgr PRO integration upgrade process:

  • Update the VMM administrator console on the management server
  • From MS: “Upgrade all management packs with names that begin with “System Center Virtual Machine Manager 2008”. To upgrade the management packs, select Import MP and select all the management packs in the amd64VirtualizationMP folder on the product CD for import”
  • On the VMM server, launch the VMM PowerShell console to run this command:
  • Set-VMMServer -OpsMgrServer <OpsMgrServerName>.  That will force a rediscovery of the OpsMgr root management server (RMS).

Dynamic Memory impacts VM placement as follows:

  • A host will have a zero rating (blocking the migration) if the VM has dynamic memory and the host does not.
  • If a running VM is allocated with X MB of RAM then the destination host must have at least X MB free.
  • If a stopped VM is migrated then the destination host must have at least the startup amount of RAM of the VM.
  • If a VM is in a saved state then the startup/last allocated amount of RAM is used to figure out if the destination host has enough RAM.

RemoteFX impacts VM placement as follows:

  • A host will have a zero rating (blocking the migration) if the VM in question uses RemoteFX and the host is not capable.
  • A RemoteFX enabled host will have a zero rating if it does not have enough GPU (graphics processing unit) RAM capacity for the VM’s requirements.
  • A running VM migration will be blocked if the destination host doesn’t have the same GPU as the source host.  A saved state VM can be migrated to a host with a different GPU.

Virtualisation Academy: Private Cloud – Slide Deck

I presented the 3+ hour virtualisation academy a few weeks ago in the Microsoft Ireland offices to about 70 attendees.  It was a very demo-intensive session where I showed how to set up System Center Virtual Machine Manager (SCVMM) 2008 R2 (templates, delegation) and System Center Virtual Machine Manager Self-Service Portal (SCVMM SSP) 2.0 to get from zero to functional private cloud.  MS had a camera crew on hand and the session was recorded.  I guess that’ll appear on TechNet Edge at some point in the future.

Until then, here’s the slide deck that I used: