Showing posts with label Virtualization. Show all posts
Showing posts with label Virtualization. Show all posts

Monday, November 10, 2014

Azure Needs To Be Introduced To 2012

I'd *REALLY* like to know how, if Microsoft is pumping so much time and energy into Azure, it cannot handle the VHDX format, let alone Generation 2 Virtual Machines from Hyper-V 2012?  I mean, we're now in 2014 and have the Windows Server 10 Technical Preview available to us and Microsoft still can't handle .VHDX files in their Azure virtual machines!

This is slack.  Really slack.  It means that even though we who use on-premises Hyper-V Servers can use the current Microsoft technologies for all of our current-release guests, we cannot do it using their Azure platform.  It means that we cannot even upload our virtual machines nor use SCVMM and replicate our Gen 2 VMs into Azure.

Come on Microsoft - bring the Azure infrastructure up to your current generation before you get severely left behind yourself! :(

Regards,

The Outspoken Wookie

Wednesday, June 18, 2014

CPU Cores, NUMA Nodes and Performance Issues

I have a client who has been suffering from performance issues on a Remote Desktop Server guest that's running on a Hyper-V server.  I suppose some details may help here:

Original Configuration
Dell PowerEdge T410 Server
2 * Intel Xeon E5649 CPUs @ 2.53GHz
4 * 8GB 1333MHz DDR3 modules (32GB total)
Windows Server 2008 R2 Standard SP1 as the Hyper-V Host OS
 - Windows SBS 2011 (Server 2008 R2 SP1) as a Hyper-V Guest
 - Windows Server 2008 R2 SP1 (Remote Desktop and LOB Server) as a Hyper-V Guest

Current Configuration
Dell PowerEdge T410 Server
2 * Intel Xeon E5649 CPUs @ 2.53GHz
8 * 8GB 1333MHz DDR3 modules (64GB total)
Windows Server 2012 R2 Standard as the Hyper-V Host OS
 - Original Windows SBS 2011 (Server 2008 R2 SP1) as a Hyper-V Guest
 - Original Windows Server 2008 R2 SP1 as a Hyper-V Guest
 - New Windows SBS 2011 (Server 2008 R2 SP1) as a Hyper-V Guest (will replace original instance)
 - New Windows Server 2008 R2 SP1 (RDS) as a Hyper-V Guest (will replace original instance(1))
 - New Windows Server 2008 R2 SP1 (LOB) as a Hyper-V Guest
 - New Windows Server 2012 R2 (LOB) as a Hyper-V Guest

Now, we took this particular client over recently and they have been suffering various performance-related issues as well as LOB-related issues since the new system was installed (Aug-Sep, 2012). We'll just speak about the performance-related issues here...

This system has always been under-performing, sluggish and unstable. None of those are good things and we found a few causes for some of the issues, but realistically we felt the best result would be achieved by upgrading the RAM in the server and by rebuilding all the servers (software) and adding some more for application isolation purposes - we're not fans of doing what was originally done here (running LOB applications on an SBS 2011 box) or what was then tried as a fix (running LOB applications on a Remote Desktop Server). So, as Server 2012 R2 is the current Windows Server release, that's what we decided to run with - and also because its Hyper-V implementation gives us a lot more options such as live exports and much improved Hyper-V replication.

The one remaining major issue, after the RAM and Host OS upgrade, is still the sluggish performance of the original 2008 R2 RDS guest. It was topping its CPU out (in the guest) whilst barely using any host CPU resources (16%). Yes, the latest Hyper-V Integration Components are installed (for those wondering).

So, under the original Hyper-V Host (ie, 2008 R2), there were 4 Virtual Processors assigned to each guest, which is the maximum number of Virtual Processors that any guest can have under 2008 R2 Hyper-V.

Now, as this is a 2*6-core host (i.e. 12 real cores), which means a total of 24 Logical Processors including HyperThreading, we assigned 8 cores to the original RDS guest and 4 cores to the original SBS guest and moved on to other things such as building the new servers. Apparently, that's not all we needed to do - the SBS box was running fine using 16% of the host CPU resources however the RDS box was CPU-starved.

After a fair bit of investigation, fiddling, Googling, asking questions of people such as Kyle Rosenthal from WindowsPCGuy and general head scratching, hair pulling and frustration (all-round, from both the client and ourselves) I found the issue earlier this afternoon.

But first, things that COULD well have been the issue, but weren't:

1. I thought I bumped the CPU count up but hadn't
2. The host was actually flat-lining its CPU
3. I needed to install the latest Hyper-V Integration components
4. I needed to reinstall the latest Hyper-V Integration components over the top of the existing (latest) components (yet to find a way to actually achieve this)
5. I needed to uninstall and reinstall the latest components (again, yet to find a way to uninstall them)
6. I needed to drop the number of assigned logical processors from 8 back to 4, reboot, then bump from 4 to 8 and reboot again
7. I needed to drop back to a single logical processor, reboot, then up to 8 and reboot again

And now what I found to be the actual issue: "msconfig" seems to have been run in that 2008 R2 RDS virtual guest and then under Boot/Advanced, the # processors was limited to 4. I first thought about something like this after seeing that Device Manager showed all 8 virtual processors, but Task Manager/Perfmon only showed 4. So I had a look in "msconfig" and lo and behold - there was a limit of 4 CPUs set. I unchecked this option, rebooted and amazingly (well, OK, not really), all 8 CPUs were showing.

So, for good measure, I increased this to 12 virtual processors, rebooted again, and all 12 were showing in Task Manager. WOOHOO!!!

Once you go past 12 virtual processors (in this dual 6-core server), NUMA comes into play. NUMA (Non-Uniform Memory Access) is a way of allowing a processor (in hardware) or a virtual machine (in software) to access local memory faster than remote memory - in hardware, "remote" memory counts as memory connected directly to the bus of a different physical CPU. Now, NUMA not only comes into play when you start adding a large number of cores to a virtual guest, but also when you add more RAM than is physically available on one CPU to a guest - you get an approximately 20% performance hit when crossing a NUMA boundary. Because of this performance hit, you can actually get a performance reduction by adding too many logical processors and/or too much RAM to a virtual guest.

Microsoft has some information on NUMA that states (basically) the maximum memory in a NUMA node is the amount of physical RAM divided by the number of logical processors. That information seems to be rather outdated when you use current multi-core CPUs. If you're looking for some more updated information regarding NUMA node boundaries, I strongly suggest having a read of the article on Aidan Finn's blog found at http://www.aidanfinn.com/?p=11945 which refers to this blog post
http://www.benjaminathawes.com/2011/11/09/determining-numa-node-boundaries-for-modern-cpus/

Regards,

The Outspoken Wookie

Firewall with Hyper-V Synthetic NIC Support

I've been looking for a while to try and find an Open Source firewall for use in a Hyper-V environment. There's a number out there that will install and work, however trying to find a product with support for the Hyper-V Synthetic NICs instead of just the slower Legacy NICs has been... well... tedious.

I've looked at IPFire before - mainly as it was originally a fork of the IPCop project which is a fork of the SmoothWall project that I was on the development team of for some time. I was re-introduced to IPFire recently on a site visit to try and see if we could find causes for ADSL speed issues and then again at a friend's place last week who was running it in his home office.

So, on a whim, I thought I'd give it another go and see if it supported the Hyper-V Synthetic NICs on Hyper-V 2012 R2 and, well, kinda. During the installation, both the legacy NICs I added to the Hyper-V Guest were detected as was the default installed Synthetic NIC I'd not removed. So, I stopped the install, removed the Legacy NICs, added another Synthetic NIC and restarted the install. During installation, I chose the appropriate NIC for Green and Red, and off we went.

The first boot was great - the IPFire VM came up NICs blazing. :) I fiddled with the web interface a bit then rebooted. That's when it started to look like things weren't quite as I'd hoped - during the boot, I received an error message stating that "Interface green0 doesn't exist", however red0 worked fine. I re-ran "setup" and re-assigned the NICs and rebooted and this time "Interface red0 doesn't exist" was reported. Hhmmm...

So it seemed that Hyper-V Synthetic NICs were kinda supported. I had a look to see if the modules were being loaded properly and noticed a distinct lack of Hyper-V modules in /etc/sysconfig/modules. After a little Googling, I found the found the following information on the IPFire Install Guide:

Hyper-V
IPFire includes the modules required to work properly in a Hyper-V environment, but those modules are not enabled by default. To enable those modules, add the following four lines to the file /etc/sysconfig/modules and reboot:
hv_blkvsc
hv_netvsc
hv_storvsc
hv_vmbus

So, after adding these modules and rebooting a few times to test, all seems fine and IPFire is running with Hyper-V Synthetic NICs. :)

Now, for the speed testing results. I ran this test using 35.0GB of data consisting of some .iso files of around 4GB and also 7.8GB of smaller files of varying sizes (ie, extracted Windows Server 2012 R2 Standard and Windows Server 2012 R2 Essentials ISOs) with the following results.

Test 1 - Legacy NICs, across a 1GbE L3 switch from a physical server's USB-attached drive to this 2012 R2 Hyper-V Guest on a RAID-5 SSD Array on a 2012 R2 Standard server running Hyper-V

Test 2- Synthetic NICs, across a 1GbE L3 switch from a physical server's USB-attached drive to this 2012 R2 Hyper-V Guest on a RAID-5 SSD Array on a 2012 R2 Standard server running Hyper-V

Test 3- Synthetic NICs, across a 1GbE L3 switch from a physical server's SAS RAID-5 HDD Array to this 2012 R2 Hyper-V Guest on a RAID-5 SSD Array on a 2012 R2 Standard server running Hyper-V

Results:

ScenarioNIC TypeSourceSpeedComments
Test 1LegacyRemote USB20.113GB/minYes, Legacy NICs are as slow as this!
Test 2SyntheticRemote USB21.62GB/minuteThis is about the speed expected from USB2
Test 3SyntheticRemote SAS Array4.32GB/minuteThis is much more bearable!

So, it shows that the implementation of the Hyper-V Synthetic NIC drivers in IPFire definitely live up to expectations and provide much better performance than the old Legacy NICs can ever dream of.


Regards,

The Outspoken Wookie

Tuesday, June 17, 2014

pfSense in Hyper-V 2012 R2

As of May 2012, Microsoft has supported FreeBSD running as a guest on Hyper-V (see this article for more info).  That's nice as pfSense runs on a FreeBSD base, and if all was well in the world, the recently released pfSense 2.1 would have supported these new drivers.  If.

Unfortunately, pfSense 2.1 doesn't include the required drivers, so we're still stuck with Legacy NICs.  :(  Oh, well...

So, if you want to configure a pfSense Hyper-V 2012 R2 guest, you'll have to stick with the 100Mbps limitation of the Legacy NICs and a little bit of time synchronization funkiness due to the Hyper-V Host CPUs entering into low power mode and pfSense not handling this all that well, resulting in a number of "calcru: runtime went backwards" error messages.  :(

So, at this point in time pfSense 2.1 works adequately for a testing environment under Hyper-V, but I wouldn't recommend using it for a production environment.


  1. The latest pfSense is available from: http://mirror.optus.net/pub/pfSense/downloads/ - choose the LiveCD-x.y-RELEASE-amd64.iso.gz or LiveCD-x.y-RELEASE-i386.iso.gz file, check its checksum after downloading, and extract the ISO image
  2. Create a Gen 1 Hyper-V Guest with one CPU, 512MB RAM, 2 * Legacy NICs (and no Synthetic/native ones) and disable the Time Synchronization option.  Make a 5GB or so fixed VHDX file and assign the ISO as the DVD.  Boot away
  3. After the LiveCD boots and the two NICs (de0 and de1 have been assigned), you have the option to install to HDD - take this option and remove the ISO after the install and before the reboot happens
  4. Ensure the IPs of the two interfaces are configured appropriately.  I configured de0 to connect to the physical interface and de1 to connect to a Private Network for the guests inside the pfSense firewall.  Check that you can ping 8.8.8.8 from the console.
  5. Configure a guest on the Private Network, check it can ping 8.8.8.8 and www.google.com
  6. Hit the pfSense web page from inside the network and configure any options you need.
  7. On the pfSense console, you may need to type the following to ensure the NICs are restarted properly.  This used to be a significant issue with earlier pfSense releases, however it seems to have been fixed in 2.1 - YMMV:
    echo "ifconfig de0 down" >> /etc/rc.local
    echo "ifconfig de0 up" >> /etc/rc.local
    echo "ifconfig de1 down" >> /etc/rc.local
    echo "ifconfig de1 up" >> /etc/rc.local
  8. To try and help a little with the time sync issues, you will likely also need to type:
    echo "sysctl kern.timecounter.hardware=TSC" >> /etc/sysctl.conf
  9. That's pretty much it.  You'll have a somewhat functional pfSense Hyper-V guest.  It would be nice if the pfSense team had incorporated the Hyper-V drivers - let's hope they actually do this for pfSense 2.2.


Regards,

The Outspoken Wookie

Thursday, September 26, 2013

Bootable Windows Server 2012 ISO

Back in the Windows F^HVista/7 and Server 2008/2008R2 days, it was possible to install an operating system instance without needing to input a key during the installation process.  You could use various methods to make a bootable OS Install USB key then simply remove the \sources\ei.cfg file and you'd be able to choose between all the versions of the OS inside the boot.wim file - this was very handy!

Microsoft has made a change since Windows Server 2012/Windows 8 whereby they don't allow you to install Windows without the use of a Product Key.  There is no ei.cfg file in the \sources folder and you are forced to input a Product Key during installation.

Well, there's a simple way to work around this to not only create a bootable USB Key that doesn't need a Product Key during install (and lets you choose among the multiple OS variants in the boot.wim file), but also to re-create a bootable ISO image so that you can then mount this as an installation media source in Hyper-V!

The steps to achieve these goals are:
  • First, you'll need to download a Windows Server 2012 or Windows Server 2012 R2 ISO image or use the VL ISO image you already have there.  Then you'll need to either extract this image to a folder, or better still, just run the Windows 7 USB/DVD Download Tool as detailed in this post and make yourself a bootable USB key that allows for quite quick OS installs.
  • Now, you'll need to copy the following into a new file called ei.cfg in the \sources folder of the USB key:
    [Channel]
    Retail
    [VL]
    1
  • If you only need the bootable USB key, you can stop here, however if you now wish to recreate the ISO image file so that you can then use this modified image in a Hyper-V environment...
  • Download and install the Windows Assessment and Deployment Kit (ADK) for Windows 8 (yes, all 3GB of it!) to give you access to both the Deployment and Imaging Tools, which you will need to install (the other components of the WDK are optional)
  • Now, to create an ISO image that will work with BIOS-based systems, assuming the USB Key we just made is available at U: and you're creating the ISO image on D:
    • Run the Deployment and Imaging Tools Environment (Command Prompt) as Administrator, change to the "amd64\oscdimg" folder and then type the following:
    • oscdimg.exe –l<disc_label> -m -u2 –b<path_of_bootable_img_file> <path_of_installation_source> <path_where_ISO_is_to_be_created>
    • Please see this link for an explanation of the oscdimg.exe command-line options
    • Example:
      oscdimg.exe -l2K12R2BIOS -m -u2 -b"U:\boot\etfsboot.com" "U:\" "D:\2K12R2-BIOS.iso"
  • If you wish to create an ISO image that will work on both BIOS-based and UEFI-based systems such as a Hyper-V 2012 R2 Gen 2 guest instance, assuming the USB Key we just made is available at U: and you're creating the ISO image on D: (this uses a modified version of the instructions found here):
    • Run the Deployment and Imaging Tools Environment (Command Prompt) as Administrator, change to the "..\Windows Preinstallation Environment" folder
    • Type copype.cmd amd64 winpe_x64 This command creates the directory structure and copies the required files.
    • Now, copy winpe_x64/fwfiles/efisys.bin U:\boot to keep a copy on the USB key
    • Change back to the "..\Deployment Tools\amd64\oscdimg" folder, then type oscdimg -m -o -u2 -udfver102 -bootdata:2#p0,e,b"U:\boot\etfsboot.com"#pEF,e,b"U:\boot\efisys.bin" "U:\" "D:\2K12R2-UEFI.iso"
    • Update: I have thought this through a little more and found an even easier way to achieve this. :)
    • Run the Deployment and Imaging Tools Environment (Command Prompt) as Administrator, change to the "amd64\oscdimg" folder and then type the following:
    • oscdimg -l2K12R2UEFI -m -o -u2 -udfver102 -bootdata:2#p0,e,b"U:\boot\etfsboot.com"#pEF,e,b"U:\efi\microsoft\boot\efisys.bin" "U:\" "D:\2K12R2-UEFI.iso"
    • Please see the original post (here) for more information on the command-line options used.
  • Now, you can burn this ISO image to a DVD or simply use it as the source for a Hyper-V guest and because it contains both the BIOS and UEFI boot data, it can be used to install either a Gen 1 (BIOS) or Gen 2 (UEFI) Hyper-V Guest. :)
* I have updated this post at: http://hiltont.blogspot.com.au/2016/11/bootable-windows-server-2016-uefi-iso.html

Enjoy!


Regards,

The Outspoken Wookie

Wednesday, September 14, 2011

Windows 8, Hyper-V And Power Saving

Well, it seems that the updated version of Hyper-V that will be included in x64 builds of Windows 8 will allow the PC to sleep and hibernate, unlike that in the current Windows Server 2008 R2 SP1 version of Hyper-V.

That's great news as it means that people who want and/or need to run Hyper-V guests on their desktop can now do so and retain the power-saving functionality built into the operating system - something I've been a little concerned about since I started running WS2K8R2E on my desktop to gain access to Hyper-V functionality.

Hyper-V in Windows 8 will also support Wi-Fi NICs - as this blog post details.



Regards,

The Outspoken Wookie

Hyper-V - Failed To Compact VHD - File System Limitation

If you find yourself wanting to compact a Hyper-V VHD file and see the error message "The system failed to compact disk.vhd. Error Code: The requested operation could not be completed due to a file system limitation" you may find the information below handy.

First, check to see that there are no VSS backups on the VHD by running a "vssadmin list shadows" command in an elevated command prompt.


Second, delete any VSS backups that are present by running "vssadmin delete shadows /all". If this fails to delete the VSS backups, you may need to resort to the "DiskShadow" utility in WS2K8 and WS2K8R2.  (There's some more information on DiskShadow here (free registration required) and also here.)


Finally, defragment the drive to enable greater compaction.  I'm using MyDefrag in this example, but I also use Defraggler and UltraDefrag at times.


After this you should be able to compact the VHD without any issues.


Regards,

The Outspoken Wookie

Friday, December 24, 2010

How To Install SBS 2011 With A Bootable USB Drive

Props to Tim Barrett for doing this so I didn't have to!  ;)


Regards,

The Outspoken Wookie

SBS 2003 - SBS 2011 Migration

It seems that the Microsoft SBS team and TechNet have decided to give us an early FSMas present.  You'll find here that there's an SBS 2003 to SBS 2011 migration document that's been released.  No doubt there'll shortly be a) a doc for migrating from SBS 2008 to SBS 2008 R2 (oops, I meant SBS 2011) and b) the release of the Premium kit so we can once again run SBS 2011 virtualized...


Regards,

The Outspoken Wookie

Saturday, December 04, 2010

The Cloud - Should We Care

Should we care about the cloud?  We've been working in IT for wnhat, 5 years?  10 years?  20 years?  We know computers.  We know servers.  We know how to install, configure and troubleshoot Exchange Server in our sleep.  We can configure an SQL Server and a SharePoint Server together in less than 2 hours to get a site up and running.

Why should we bother with the Cloud - it's so new, so early in its life and so undefined that we'll be fine going along the way we have been for the next decade or so while the Cloud plays catchup.

Oh, really?




So, what exactly is the cloud?




Regards,

The Outspoken Wookie

Saturday, November 06, 2010

Future Directions Of Technology Seminars

Well, the first of these seminars was run in Brisbane on 1 November and received quite positive feedback from attendees.  The next two will be Monday (Alice Springs, 8 Nov) and Wednesday (Darwin, 10 Nov) then Cairns (15 Nov) and Mackay (16 Nov) and then we're finishing up in Toowoomba on Thursday 25th November.

More information about the seminars can be found at http://www.smbitproseminars.com.au/ - the seminars are focussed at SMB owners and contain as little techno-brain-explode language as we've been able to whittle it down to.

We're also looking at catching up with local SMB IT folk in these regions so we can see what SMBiT Professionals can do to be of assistance to them.  There are a lot of SMBs in regional Australia and the SMB IT companies supporting them could find that membership of ANZ SMBiT Professionals could be of benefit.  The more regional members we have, the more regional services, meetings, seminars and training sessions we will be able to participate in - it also means that vendors will have much more easy contact with these regional members, making it easier for these members to form good relationships with a number of SMB-focussed vendors.

So, if you're in one of these regions or if you know someone in one of these regions who could benefit from these seminars, please have them look at the site and register on EventBrite.
Regards,

The Outspoken Wookie

Friday, October 29, 2010

Future Directions of Technology Seminar Series

Please click here for more information on the on this series of seminars that SMBiT Professionals Brisbane will be presenting throughout Queensland and the Northern Territory in November 2010. If you're a Small to Medium Business owner and want to learn more about The Cloud, Virtualization, Communications and Greening of IT, please register to attend one of these sessions as there will be some information that will be pertinent to your future use of technology. If you have other colleagues who may benefit from these seminars, please feel free to pass this email on to them and invite them along, too – the more the merrier!
These seminars are aimed at the Business Owner and others involved in the *use* of Information Technology in the business, not the *management* of the Information Technology – so there will be as little “baffling us with technogeek speak” as we can possibly have – we want to inform you of the technologies and what they can mean to your business, not scare you off with technoblahblahblah mumble, mumble, mumble.

Oh, and please ignore the scary photos – none of are as bad as those photos make us appear! OK, so, well, maybe we are! ;)

Regards,

The Outspoken Wookie

Monday, September 27, 2010

Microsoft Support

I was trying to get the hotfix for KB982210 related to Hyper-V VSS issues...

The picture says it all...




Regards,

The Outspoken Wookie

Wednesday, September 15, 2010

Parallels iPhone/iPad App

This falls into the "things that almost make me think about a Mac desktop box, but not quite..." category:

http://venturebeat.com/2010/09/14/demo-parallels-mobile-virtualization-app-ipad-iphone/

So, a Mac desktop computer, running Win 7 in Parallels 6, then being able to access the Windows 7 apps remotely using an iPhone or (better) an iPad...

But could I use multiple monitors in the way I'm using them now?  I have 3 on my i7 Win 7 desktop now and will likely be adding a 4th soon as a dedicated OneNote display now that I'm finding I spend more time in OneNote 2010 than ever before.  That's one of the lingering doubts...

But this Parallels functionality, added to the Seagate DockStar Network Adapter or (better) a Seagate FreeAgent GoFlex Net Media Sharing Device to give you remote iPad/iPhone access to files that can't fit on these mobile devices is starting to really look impressive.

For example, you could walk onto a client site with your iPad to show a client your plans for the work you're going to be doing for them, find out they need a few changes, Parallels into your office Win 7 environment, make the edits and save them to the Seagate device, making them immediately available to view from your iPad.  You could also access those images/documents from an older job that the client may be interested in when you didn't think that they'd be appropriate, but now you've been brainstorming, this other information is relevant - you could do it now, in the cafe, on your iPad instead of needing to send the images when you get back to your office - it allows for more free-flowing sessions with clients in these types of scenarios.

The Seagate devices with PogoPlug functionality, even without the Parallels functionality, would be rather handy to have for many iPhone/iPad users.

Thanks to @Lachlan_Mc for bringing this new Parallels app to my attention.


Regards,

The Outspoken Wookie

Monday, April 05, 2010

What Cost The Cloud?

First, let me start by saying that we have some clients using cloud services, some clients not interested in cloud services, some using cloud services without realising it and some who are not interested in cloud computing in any way.  And although I can see that percentage changing a bit, I can't see it going all one way or another.  And it hasn't been all one way for quite some time now!

There are certain services that lend themselves well to being cloud based (or what used to be known as "hosted") and these include mail filtering, eCommerce and general web sites as well as mail hosting.  Services such as email can be hosted (like they have for years, even decades, such as when you use an ISP for your email account, or if you're using a mail hosting facility) or onsite and depending on your needs, both - or a mix - can work well.  The same goes for websites - sometimes it makes sense to have these on-premise, but more often than not they are hosted at a location with a faster Internet pipe than you can afford in your office.

Some services may work well in the cloud in a number of cases, but may work out a lot more expensive in many others - such as hosting your Windows Domain Controllers, Terminal Servers and/or SBS in the cloud.

Now, there's Internet connectivity to throw into the mix.  In your office, if you have your email/groupware and data all on-premise, then if the Internet connection goes down for a few minutes here and there (or more often, as is the case often here in Australia, especially for SMBs who tend to shy away from the multiple thousand dollar/month Internet connection options) then it is really no big deal - the email will sit for a few minutes and then be sent/received.  But if your data is up in the cloud, well, when your Internet connection goes down, so does access to your data.  This can be helped by redundant Internet connections, but this will cost more money/month than the old ADSL2+ connection you used to have.

And when your IT provider goes bust (or you no longer wish to work with them), you call another one in.  How does that work when the data's on someone else's servers in some data center somewhere?

In good times, companies generally buy hardware and software that will last them 3 to 5 years or so.  Even a subscription model, renewed annually, can be changed easily in many cases.  So, say you spend $30k on an SBS network when times are good, then you go through a slump.  You can often talk to your IT consultant and ask whet can be done to reduce costs (at the expense of regular upkeep) during this lean period and more often than not you can work through it with only a bit of labour as an expense.  If you're hosting your network services in the cloud, you'll have a minimum monthly fee that must be paid before upkeep/maintenance is even considered - and this monthly fee can be significant at times.  You will need to take this monthly hosting fee into consideration when comparing the cost of a hosted solution to that of an in-house solution.  Will your cashflow outlay that's budgeted in good times be able to be sustainable when times are lean?  Remember, this is for services such as email and line of business applications that you cannot often survive without.

So, not only is the initial outlay needing to be considered when comparing in-house and cloud based solutions, Internet connectivity, increased monthly minimum outgoings and the reliability of the cloud provider all need to be taken into consideration.  Just because you're moving a CapEx into an OpEx doesn't mean that all's going to be rosy when you find yourself in a spot of financial bother!

Regards,

The Outspoken Wookie

Friday, March 19, 2010

XP Mode No Longer Requires Hardware Virtualization Support

Good news - it seems that Microsoft has finally realised that not every SMB has kickass machines on/under their desks. When XP Mode was initially released, Microsoft made VT support a requirement - if your motherboard, BIOS and CPU didn't all have Hardware Assisted Virtualization support available and enabled, you were unable to run Virtual PC on Windows 7, which meant that you couldn't run XP Mode.

Now, as I posted on March 7, 2010, you could have XP virtualization on Windows 7 without needing hardware virtualization support if you were willing to look to the industry leader in Virtualization - VMWare and use their VMWare Player product, or even Sun's VirtualBox.

It seems that Microsoft has seen people moving from native Microsoft Windows 7 tools to their big competitor in Virtualization and decided that this isn't good for business, so they have now released an update to Virtual PC that removes the Hardware Assisted Virtualization prerequisite.

Regards,

The Outspoken Wookie

Sunday, March 07, 2010

XP Mode Without Hardware Virtualization

Thanks to Tony Albans for the info, here's a couple of links that show how to get the Windows 7 Pro, Ultimate and Enterprise "XP Mode" running on older computers that don't have hardware assisted virtualization.

First is a link on how to get this running with VMware Player.  Now, I've beein using VMware since 1.0 was released and it is a very solid virtualization platform.  The instructions here show you how to use VMware Player, a free virtualization client, to access the XP Mode install and integrate it with Windows 7.

The second link shows how to get this running properly with Sun's VirtualBox.  VirtualBox is free for personal and evaluation use as well as academic use, but not for use in any commercial situation.  There is a commercial license available and also an Open Source version, however the OSS version doesn't support USB pass-through.  Using the VMLite plugin allows XP Mode to integrate with the Windows 7 desktop.

So, out of these methods, I'd first suggest using new hardware with inbuilt hardware assisted virtualization as it will ensure a better experience.  Failing that, I'd recommend the VMware Player method, purely because it is a rock solid virtualization platform and it is licensed for use in all scenarios.

Finally, XP Mode is really only designed to be used for that one XP application from a LOB vendor who is so far behind the times they don't support Windows 7.  It isn't really designed for continued, production use.  However, it does work rather well!

Regards,

The Outspoken Wookie

Friday, January 15, 2010

SMB IT Pro - Sydney - Migration Workshop

Just a heads up to those who may be interested in an SBS 2008 Migration workshop being held by the SMB IT Professionals - Sydney group.

This Workshop will be held on Saturday 6th February, 2010 from 10:00 AM - 5:00 PM (Sydney local time, AEDT - GMT + 11:00).  The actual touchy-feely, "smell the presenters" places have all been sold - even after moving it from the Microsoft offices to a nearby RSL Club!  That's excellent news.

What's even more excellent news is that I'll now be travelling down to Sydney to (attempt to) provide a webcast and recording of this event so that other folks can participate in what should be a decent day's learnin'.  Now we all know that there's going to be a fair few factors determining whether the webcast will work, so for those interested who pay ahead, if there are issues preventing the webcast from happening from our end, you will all be joyfully refunded.  Now, you can't get a better offer than that!  :)

So, if you're interested in participating in the webcast on the day, please make your payment of AU$45 (no GST as SMB IT Professional - Sydney does not charge GST) to:

SMBIT Professionals Sydney Incorporated

Westpac Hornsby
BSB – 032 285
Account – 335715
PO Box 683 Turramurra NSW 2074
Contact – George Nade (george@bcspl.com.au)
PLEASE make the bank deposit obvious as to whom it is from!  :)

For those interested in the event but who cannot attend either in person or via the webcast, assuming all goes well a recording of the event will be made available for AU$30 (again, no GST component) and payment can be made to the above bank account.
 
 
Details


Typically the day will be about SBS 2003 -> 2008 migration however we want to explore general migration concepts like Microsoft vs Swing Migration, Exchange fork lifting, and generally any other issues with migrating systems. As most of us deal with SBS everyday this will clearly be the focus of workshop however we’d also like to entertain novel migration concepts of upcoming products like BPOS as well if there is a demand. We are looking for people to contribute their experiences and apprehensions around any form of IT migrations.

The day is arranged around being an interactive group sessions where all participants contribute their ideas and experience as we work through a typical migration scenario.



PLEASE NOTE that to participate in the webcast, you will need the Microsoft LiveMeeting Client installed (available from this page) and then to test that it is working.
 
 
 
If you have any questions, please either contact myself or Robert Crane (President, SMB IT Professionals - Sydney).
 
 
Regards,
 
The Outspoken Wookie

Tuesday, January 12, 2010

Hyper-V in SMB

OK, I've been asked more than once by a few people about hypervisor-based virtualization (in general) and Hyper-V (specifically) in the SMB world.  The options that are viable for SMB are really Microsoft's Hyper-V R2, VMWare's ESXi, Red Hat's Enterprise Virtualization, Novell/SUSE's Linux Enterprise Server and Citrix' Xen Server.  By viable I mean both affordable and supported by Microsoft as per their Windows Server Virtualization Validation Program.  These systems must all be on supported hardware that is Certified for Windows Server 2008 R2 - with the caveat that one of the possible problem isolation steps a Microsoft Support Engineer may need to do is to determine if the problem also exists when the Windows Server operating system is executing directly on the hardware platform, which requires certified systems.  That caveat can be a killer!  :(

With that caveat looming on the horizon, in the SMB world where there's not so much money thrown at solutions and there's little room for error (because there are generally no clustered server farms with off-site redundancy), we need to really look at a solution that's going to be easy to manage, easy to deploy, easy to maintain and easy to support.  That - at this stage - really leaves us with Hyper-V R2 (and, to a slightly lesser degree, Hyper-V).  If you have Linux skills in house, then we can add Red Hat's, Novell/SUSE's, Citrix' and VMWare's solutions back into the mix.  In this post I'll be talking about Hyper-V R2 and Hyper-V.

So, you want to get your virtualization skills up to date with Hyper-V?  First, have a read of the Microsoft Hyper-V R2 home page where you'll find their glossy brochures and glowing propaganda on why it is so much better than any of the competition.  Take what you read in that vein with a grain of salt, however as a hypervisor-based virtualization platform for SMB, it's not that bad - even the first release of Hyper-V was pretty decent - and that's gotta be a first for Microsoft!  :)

Before we get too far into this, let's cover the main differences between Hyper-V and Hyper-V R2 as far as we're concerned in the SMB world.

  1. Hyper-V R2 has the ability to hot-add/remove virtual hard drives (.vhd files)
  2. Hyper-V R2 has the ability to hot-add/remove pass-through SCSI disks
  3. General performance improvements including networking enhancements
That's about it. Really. But these improvements are definitely worth considering when you're looking at your own or your clients' requirements.  Hyper-V R2 is an easier to use platform especially because of the ability to hot-add/remove .vhd files from a virtual guest - it is something that we do here occasionally and it saves us having to shut down a virtual guest just to add/remove a virtual hard disk.

Now, having gotten that out of the way, there are a few more things that you can have a look at that will help you learn more about Hyper-V and how to use it to your advantage in the SMB world.  There are a number of Microsoft White Papers available.  There are quite a number of Microsoft TechNet Webcasts on Hyper-V available here - the Level 100 webcasts are the introductory webcasts.  Using Hyper-V with Windows Small Business Server is a worthwhile read.  As is the Microsoft Best Practices for Using Hyper-V with Windows Small Business Server 2008.

Dave Sobel (MVP for Virtualization) has a Virtualization Primer book and also a CD Audio/DVD set available on his site.  I've not seen these yet, but knowing what I know of Dave Sobel, I'd say they are well worth the money.

There's also the SMB Virtualization Yahoo Group.

OK, so after reading all of that (and watching Dave's DVD presentation), if you need more, then read on...  :)

I published a post about Hyper-V Guest Licensing (including Hyper-V R2) back in December, 2009.  That post should clear up a large number of the Licensing questions involving Hyper-V.

Remember in SBS 2008 Standard, you *do not* have the right to install the Hyper-V Role on the SBS 2008 primary server instance - this has been explicitly disallowed in the EULA - however you can install SBS 2008 Standard under Hyper-V (or R2) or under a separately licensed Windows Server 2008 Standard (or R2) if you wish to buy this.  Windows SBS 2008 Premium comes with a second Windows Server 2008 License that can be used as the Hyper-V host, allowing both the SBS 2008 primary server instance and also the secondary server instance to run as virtual guests.  This is explained in the blog post referred to in the previous paragraph.

So, what would I do?  That depends.  If I have a client who needs to run SBS 2008 Standard and no SQL LOB application nor Terminal Server, I may run SBS 2008 Standard on hardware or under Hyper-V R2 Server.

If the client needed only a Terminal Server and definitely would not be using SQL 2008, then I'd buy SBS 2008 Standard and Windows Server 2008 Standard R2 and I'd virtualize both operating systems.

If they need SQL 2008 as well, then I'd either run just SBS 2008 Premium virtualized on the second server instance, with the second server virtual instance for SQL and Terminal Server (if money was tight) or I'd sell an additional Windows Server 2008 Standard R2 License and run this as the host and the virtual Terminal Server and then SBS 2008 primary and secondary server instances both virtualized with SQL 2008 in the second server instance.

Now, should you run Hyper-V Server R2 - the free product - or the full thing?  If you're new to virtualization, then run the full thing until you get up to speed.  Why?  The free version (Hyper-V Server R2) has no GUI.  Plain and simple.  Without a GUI you will need to configure it for remote access and remote management and you'll also need to make some firewall changes to your Windows 7 desktop PC to be able to access it.  If you RDP to it you only get a command prompt and the Hyper-V shell - to manage Hyper-V Guests you need to run Hyper-V Manager on your desktop PC (available as part of the Remote Server Administration Tools for Windows 7).  When you're learning Hyper-V, this added complication is simply not going to help.

*After* you're used to Hyper-V, then, well, sure - I can't see any issue running Hyper-V Server R2.  We have 3 Hyper-V servers here in our office - two (including that running our production servers) run on Windows Server 2008 R2 and one runs on Hyper-V Server R2.

Of course, being the arse-about-face person I am (some may say arsehole, and I'll cop to that, too) I first ran Hyper-V Server here - the text-based free version.  It wasn't that hard to get running (after John Howard slapped me upside the head for not reading his article properly), especially with his HVRemote tool (now at version 0.7).  I've also been using various virtualization products since way back at VMWare Workstation 1.0 in late 1999 or early 2000 - I *think* it was late 1999 that I started using it.  I was using chroot jails on various *nix systems well before then - not really virtualization per se, but kinda sorta in a way.

Now, even though we don't really do a lot of server consolidation down here in the SMB world (we usually have only one, or maybe two servers), virtualization can still be quite useful for various reasons, least of all being disaster recovery.  If you have a virtualized server that is backed up regularly (of course) and the hardware decides to go tits up on you one day, you can restore the latest backup to a grunty desktop PC (preferably one you thought about adding more RAM to earlier), load your trusty Hyper-V Server R2 USB Boot Key, and have the server back up and running in a jiffy.

Although this post may be a bit of a dog's breakfast (wow, it looks and feels like my brain!), I hope that this collection of thoughts and links about Hyper-V is somewhat helpful - if there's anything that needs clarifying, holler and I'll clarify it (by editing the post, posting a comment or maybe redoing it as an article on our website).

Regards,

The Outspoken Wookie

Monday, January 04, 2010

FreeBSD under Hyper-V

OK.  I'm playing with FreeBSD 8.0 under Hyper-V R2.  I looked at FreeBSD 7.0 under Hyper-V R1 about this time last year and without a kernel patch, it had issues shutting down (and starting, and running...).  Well, the shutdown bug and the starting bug and all others seem to have been addressed fully aside from one slight networking issue.  So here's the lowdown on this one remaining issue...

As there's no synthetic network adapter driver for the "good" NIC in Hyper-V for FreeBSD (nor OpenBSD nor Linux), then you need to use the "bad" NIC - the Legacy Network Adapter.  The issue with this is that it is slow - only 100 Mbps.  Under FreeBSD it is detected as a "de" NIC - the first one being "de0".

You can either configure this during the initial setup of FreeBSD using sysinstall, or by manually editing the /etc/rc.conf file and adding ifconfig_de0="DHCP" to that file.

There seems to be an issue with the way Microsoft built this adapter as under FreeBSD it doesn't properly obtain a DHCP-assigned address no matter where the DHCP server is - on a Windows box, a *nix box or a firewall/router/modem device.  Real, physical "de" NICs work fine.  At least there's a workaround that allows the DHCP-assigned address to work - you need to stop, start and re-acquire the DHCP-assigned address by running:

ifconfig de0 down
ifconfig de0 up
dhclient de0

Now, you can run this manually every time after you reboot the box, however that means that the box is offline until you log into it using Hyper-V Manager.  A better way to handle this is to create an /etc/rc.local file, add these commands to it, then chmod 755 /etc/rc.local to make it an executable file for root.

Obviously, once this has been done, a portsnap fetch then portsnap extract is a good idea.  (Or whatever way you want to keep your FreeBSD ports up to date.)  And then installing any updated portss that are available using ports, portmanager or portupgrade or whatever method floats your boat.

Regards,

The Outspoken Wookie