January 29, 2013

Windows 2008 R2 on a Laptop


Purpose: This post explains the pros and cons of running a server operating system on a laptop.

Backstory:
A year ago, I was picking out a new business laptop and had a decision to make.  My employer had given me $700 as part of their BYOD program.  As a consultant, I wanted something that could run a lab full of VMs but at the same time be light and portable.  After searching the Ultranet for fifteen minutes, that dream died.  In the end, I chose performance, price, and battery life (Dell Latitude E6420) over portability (MacBook Pro).

The next big decision was hypervisor.  VMware Workstation had worked well in the past but I couldn't stop thinking about a story I heard about a vendor running Windows 2008 R2 on his laptop to avoid being seen running a competitors hypervisor.

There were a couple of things that made me like this route:
1) It was unusual, which in my mind makes it cool
2) It would give me lots of hands on with a server OS that I was frequently working with and a hypervisor that I hadn't touched


The last twelve months running a bulky server OS on my daily driver laptop were an overall positive experience and on more than one occasion came in handy for testing or reference. I learned a fair amount about Hyper-V which will likely pay off dividends now that Windows Server 2012 has been released and looks promising.  That being said, I won't be doing it again.  I ran into a fairly large issue (see "Windows 8 and C-States") that could have been resolved much sooner had I been running a more mainstream laptop OS.  As nice as running a small army of VMs on a laptop can be from time to time, it doesn't justify lugging around a 9 pound laptop.  I have access to several labs for that kind of troubleshooting.  My next laptop will be light and lean--MacBook Air'ish.

If you would like to buck the trend and go down this same path, here are some things you'll want to know.
  • Disable hibernation before enabling Hyper-V (see Aaron's post below)
  • Wireless network connectivity requires a feature called Wireless LAN Service
  • Changing LAN networks frequently causes headaches.  Disable the adapter and re-enabling it often fixes issues when the auto-repair failed.  There were times when it took a reboot to finally fixed it.
  • Bridge your network connections to give VMs Internet access to a wireless connection.  Highlight both networks, right-click, Create Bridge.
  • Disable your DNS suffix if you travel from network to network so it won't automatically append workdomain.local to every host name.  In the Advanced section of your TCP/IP properties, click on the DNS tab, under Append these DNS suffixes (in order), add a ".".  That will force your to enter a suffix every time but will less annoying than the wrong domain name.
  • The Windows Search service is disabled by default so nothing will be indexed (OneNote, Outlook...)

  • Microsoft Security Essentials (their free antivirus) works fine

  • OneNote can't start without the Desktop Experience feature enabled

  • Microsoft Media Player can't play DVDs because it does not come with a codec.  The easy workaround is to install VLC

SageLike Post ID: SL0003

Applies to:
Windows 2008 R2
Maybe others

References:
stealthpuppy.com - Disable Hibernation before enabling Hyper-V on a laptop


January 7, 2013

Windows 8 and C-States

Purpose:
This post explains what to do when your Windows 8 with Hyper-V enabled laptop has power issues.

Symptom:
While working on a light  or heavy workload the laptop turns off.  I do not mean shuts down or blue screens but acts as if you just pulled out the battery  and power cord at the same time.  Basically, a turned off laptop where a running one once was. I have been battling this intermittent issue on my Dell Latitude E6420 laptop for the last year.   Sometimes it was twice in a day, sometimes it was once a week,  other weeks were totally clean.   Dell support believed it was an issue with the motherboard (twice).  At one point, I believed it was an issue running Windows 2008 R2 on a laptop  but that is a story for another post.   When the problem happened on a fresh Windows 8 install it got me thinking.


Resolution:
Windows 8 ran totally clean for a month before the power kill happened.  Right about the time I turned on Hyper-V, hmm...  A few Google searches later and I had the solution.   In the BIOS, Virtualization Technology needs to be turned on and VT for Direct IO will be needed for some functionality.
 
Turn off C-States.
 

Cause:
Hyper-V does not play well with Intel's C-States.  C-States are low power modes for CPUs (see references below for more info).  This doesn't make much sense for a server in a data center, especially when it runs multiple VMs so turning them off is a good thing.  Turning them off will also give your server better performance.  In Hyper-V's defense, they aren't the only one to suffer issues from C-States.  XenServer has had well documented issues (CTX127395) as well.

Sidenote: I did not find official recommendations from Microsoft to turn it off because of issues but I did find one to turn it off for better performance.

SageLike Post ID: SL0002

Applies to:
Windows 2008 R2
Windows 8
Maybe others

References:
hardwaresecrets.com - Everything You Need to Know About the CPU C-States Power Saving Modes
technet.com - Hyper-V and BIOS power plans (c-states)
KB974598 - You receive a "Stop 0x0000007E" error on the first restart after you enable Hyper-V on a Windows Server 2008 based computer
KB2000977 - Hyper-V: Performance decreases in VMs on Intel Xeon 5500 (Nehalem) systems
CTX127395 - Hosts Become Unresponsive with XenServer 5.6 on Nehalem and Westmere CPUs
CTX130464 - How to Check if Extra C-States are Enabled without Booting into the BIOS.
SL0002  - Windows 2008 R2 on a Laptop


May 9, 2012

Citrix Synergy 2012 Live


Walking into the keynote
I could not be more excited to be sitting in the Moscone Center in sunny San Francisco right now.  The room is packed and techno music is pumping.



 I'm going to try and live blog the event as long as my battery and Internet hold out.

Mark T is on the stage.

Quick Updates:

  •  GoToAssist - free on Android and iPad now
  • VIAB - best of Interop Award yesterday, upgrade to XenDesktop supported
  • AppDNA -  launch of 6.1 today.  Simplified. Deeper insight.
  • Virtual Computer - now a part of Citrix, re-branded as XenClient Enterprise Edition, get it this quarter
  • Microsoft - Citrix still likes them, SCCM integration
  • Cisco - 5 year alliance to exchange IP
  • GoToMeeting - HD faces now on iPad
"Life Slice" I believe Mark T just coined the term "life slice".  The concept reflects how we used to go to work and then come home.  Work life was isolated.  Home life was isolated.  The graphical representation looks like a pizza missing two pieces.  The reality is that work is now around the clock and the pizza slices are many and sometimes very, very small.

Life Slice Graph

Podio on stage discussing their product. It is a workspace collaboration tool that integrates with tens of cloud file providers (e.g. ShareFile, Google Docs...).  Now integrates with GoToMeeting.  Appeals to my GTD nature.  They are working on Receiver integration.  Mark is calling it a platform.  Hmm, Windows is a platform.  I can see a future using more of the former and less of the later.  Free for teams up to five people now.

ShareFile has a new feature called StorageZones.  Choose where your data is stored.  GM coming on stage to do a demo of the Outlook plug-in.  ShareFile Sync is Dropbox easy.

Brad Peterson is on stage with Mark now demoing the Citrix stack.
  • Receiver now has a native to the device browser (think iPad) to give you an Intranet browser any time
  •  Receiver can now deliver native apps from the enterprise
  • Receiver on Android has parity with mobile apps
  • Brad had at least 4 devices sewed into his suit coat.  Kept pulling them out and demoing integration.
Remote PC utilizes "distributed VDI" to broker to physical desktops.  I'm really excited about this because it lowers the barrier to entry while delivering a familiar experience.

Deep Compression CODEC is a HDX 3D Pro component new today

Windows 8 will be fully supported on the server and client.

Brad coming back up for device demos.
  • Brad showing Series 7 laptop with new Intel chipset using HDX 3D Pro to a CAD app.  
  • Connecting into Windows 8 using a Xenith 2.  Touch display works great with Windows 8 metro interface.  
  • Samsung tablet using Windows 8.  Noticed that the metro interface has live tiles which I haven't noticed playing with the betas.
HDX on a chip is getting cheaper.  Six months ago prices $250 now they are getting to the sub-$100 range.

PoE device HP has a HDX on a chip all-in-one device that runs on only 13 watts.  That means that it can be run over PoE and includes the monitor.  Brad ran out into the audience with the all-in-one device running Google Earth.  One cable...awesome.

CloudBridge 2 announced and shipping in June.

battery just hit 10%--should have charged it last night

NetScaler 10 considered #1 Internet delivery platform (not sure by who).  Tri-scale architecture new marketing mantra.  Available today.


I guess One More Thing is re-branded as 

I almost forgot...

Project Avalon migrate, drain, and burst across any public or private cloud.  Open cloud-style APIs built on top of CloudStack. Compatible with XA 6+, XD 5+.  Going to Beta in the second half of 2012.  Big direction going into the future.

Thanks for hanging with me.