Archive

Author Archive

Hyper-V in new Windows Server technical Preview

October 1st, 2014 No comments

So today Microsoft released their technical previews of Windows 10 and also of Windows Server

As an Hyper-V interested guy I wanted to check out some things in this build, there have already been a blog post about cool features such as rolling cluster updates so that you can have different versions in the Hyper-V cluster and keep the VM´s up all time during an upgrade.

There are some more info on the technet site discussing the different new features:

http://technet.microsoft.com/en-us/library/dn765471.aspx

I downloaded the Windows Server technical preview from my MSDN and started the installation, it was really fast (and yes I have an SSD)

Screen Shot 2014-10-01 at 20.47.40

In this screendump you can see that 5.0.9841.0 version of the PowerShell is included in the server technical preview

Screen Shot 2014-10-01 at 20.16.03

And as you can see there is 182 cmdlets for the new Hyper-V PowerShell module

Screen Shot 2014-10-01 at 20.15.20

After you have moved your 2012 or 2012 R2 VM´s you can update the VM configuration to the latest version but beware that once done that you cannot move those VM´s back to the old Hyper-V host.

Screen Shot 2014-10-01 at 21.48.18

A new feature in this version is also that you can make snapshots (yea I still not like Checkpoint name) that uses VSS, and if that is not available it will fail-back to standard snapshots

Screen Shot 2014-10-01 at 21.44.49

And still in this version you can via PowerShell enable Processor compability for those Windows NT server ;-)

Screen Shot 2014-10-01 at 21.49.22

Screen Shot 2014-10-01 at 21.50.33

When I get some more time I will dig some more into it and do a follow up post

happy testing!

 

Categories: Hyper-V, Powershell, Virtualization Tags:

Hyper-V Failover Cluster Validation – think twice

September 22nd, 2014 No comments

I was talking to some guys with a quite solid VMware background and they were working on setting up a Hyper-V cluster with Windows Azure Pack as frontend.

Their environment was a traditional setup with Hyper-V hosts connecting to a SAN with FC thus using CSV´s for storing the VM´s. All VM´s including their management was configured on these hosts.

As a best practice they ran the Failover Cluster Validation (and yes you should run it or you won’t get support) but as I will show you, they had an unwanted restart of their VM´s including the one they had failover cluster manager started so look and think twice before starting that validation with all tests!

with no HA – VM´s there are not so much to think about but once you add VM´s there is, and it can have some consequences…

If you in the wizard add the CSV volume to the test  you can see the warning showing that you will get the VM´s stopped doing the validation,

Screen Shot 2014-09-22 at 10.55.27

Going next in the wizard and then going back the warning has disappeared!

Screen Shot 2014-09-22 at 10.56.39

But of course in the Confirmation it still says that the VM roles will be stopped but if you are in a hurry and start the validation then all VM´s on the CSV volumes will be stopped and then started and maybe that was not what you had intended from the beginning!

Screen Shot 2014-09-22 at 10.56.27

So look and select the options carefully when doing a validation of a cluster with production workloads in :-)

Categories: Hyper-V, Virtualization Tags:

Automation the future of IT Operations or prepare to die

September 19th, 2014 No comments

So you are an IT Pro or maybe an CIO or CTO and have been sleeping under your desk the latest years or so? But the IT Operations departments are under a lot of stress these days coping in being able to deliver the services to the business in the pace that they demand! Do you recognize this? For example your development division request 50 VM´s and wanted them yesterday, Your response is that come back in a week or two….

Many IT departments are seeing their internal customers such as Dev or Business going outside of the organisation and buying their services directly from Azure or another public cloud provider delivered instantly and that also cheaper than you could produce internally..

Here the Hybrid way of thinking becomes important and why, well you will not be able to compete with all the services that the public cloud can give you in a cheaper and more reliable way so IT Operations of tomorrow will utilize the public cloud as their own and be able to use it for their needs where their private cloud lacks functionality or capacity and in that way respond to the requests from the departments.

Giving the users an self service portal where they can order and see the cost of their engagements is an important part of this and when you implement this you have to have  automation as a key part because the users want things to happen when they press the build button!

51075482-98cb-11e3-82f1-12313b12ccaf-large

Taking Microsofts Azure data centers as an example, they have automated enormously and that from the physical layer all the way into the virtual machines and networks. How does this automation gain you with your environment and becoming more agile and not just run around putting out fires but being able to address the needs of the company IT challenges today and also tomorrow!

Some say that we are in the second machine age and that the IT will have to change big time. Just look at the public cloud Company’s and their services, if they would have done things in a traditional way they would have to charge xx times the amount the charge for their services and also be xx more manpower on the data centers to cope with the day to day operation.

In the latest year Microsoft have released several automation solutions that have been developed and gives you the tools for this must-have automation platform. First of is the Service Management Automation (SMA) which is a robust orchestration engine based on PowerShell workflows and this has also been released as Azure Automation. Secondly we have Microsofts investment in Desired State Configuration and here this also utilize PowerShell. The DSC have some development left but it is so powerful and really large web services utilize this today and keeping their massive services compliant and up to date! DSC can be used for provisioning different things including third party software solutions and for example, Microsoft Azure offers different web services (jomla, wordpress etc) deployed in an automated way probably with some DSC technology behind the curtains.

Of course this gigantic automation project will not be done over a night and will cost quite a bit of money in initial investment but the winning and surviving IT Department is the one successful in their automation processes!

9 years ago I started an onboarding automation process and on that time I had VB script to work with but that manual labor every time a new employee was hired was painful and so boring and already at that time I found the will and inspiration to learn techniques to automate. Still today there are several processes in companies that are perfect candidates for automation but for some reason still being done manually…

Let me help you get Strategic in your IT (automation) delivery!

Categories: Automation, General Tags:

Error 21161 when doing Bare-Metal deployment on VMM 2012 R2

September 13th, 2014 1 comment

Yesterday I was testing Bare-Metal deployment on a VMM 2012 R2 with a new Hyper-v image and got the error 21161 during the process of making a physical machine into a Hyper-V Server.

Screen Shot 2014-09-12 at 13.40.25

I did of course check the library server (which was the same as the VMM server) and also that the vhdx that contains the Hyper-V image was in the library. I also checked the profile where the reference to the VHDx is and everything looked good.

The error was resolved when checking out the library server properties and changing to a host group instead of the default.

Screen Shot 2014-09-12 at 11.37.18

I have been deploying servers from this VMM before and why it started to complain right now is a mystery and I will dig and see if I can find the reason and if I do you will get an update on the blog, but now you know how to get it running :-)

Update: Daniel Clarke mentioned my fix, In the VMM I have as this error occured I had not updated to UR3 during the time between the deployments which would otherwise had maybe explained the error. I have now updated the server to UR3 and can still do bare-metal deploy.

happy deployment!

Categories: Hyper-V, SCVMM, Virtualization Tags:

New Emulex drivers available at HP support

September 9th, 2014 No comments

I have been helping a customer a while with their Hyper-V environment and now I saw on twitter that HP had new Emulex drivers that could be downloaded so I thought that I should give it a try, there has been quite a storm about the problems with VMQ and Emulex and if you want to read more about that you can check out this link to my friends at Hyper-V.nu . My experience of this problem is that it have been on Gen8 HP blades with a newer Emulex networking on them. Right now I only had G7 to test on.

Screen Shot 2014-09-09 at 21.43.55

 

As a best practice I run the Hyper-V hosts in Core but that did not give me any issues when installing (yes I use VMM bare-metal deployment and will after verified success update that to have this latest drivers )

Screen Shot 2014-09-09 at 21.59.07

 

As it is networking drivers I lost my RDP session for a few seconds before it was fully installed and then I could see the result

Screen Shot 2014-09-09 at 21.59.45

 

And checking with powershell Get-NetAdapter I can verify that the GUI is not lying :-P

 

Screen Shot 2014-09-09 at 22.08.19

And also you can see that the VMQ is enabled for my two NIC´s

Screen Shot 2014-09-09 at 22.44.37

 

Here you can find the HP drivers for in this case a HP BL460 G7 .

Categories: Hyper-V, Virtualization Tags:

Going from an iPhone to a Windows Phone

September 8th, 2014 No comments

I have now in a couple of weeks been testing a Nokia Lumia 930 phone and it is soon time to return it. Importantly that need to be said here is that I have been using iPhones since 2008 and also for a short while I used an Android phone and quite quickly went back to the iPhone.

The iPhone and Apple has been very successful with their devices since the first came out. The amount of apps available for IOS is huge and companies and governments also have adapted and created usable apps for making the life of the user smooth.

The Windows Phone in it´s earlier versions have had its ups and downs and I have not seen it as a possible replacement before the version 8 of the OS and later..

Now as I have lived with the phone and tried to adapt I can really say that I like it.. the build quality is magnificent and the screen looks great, it is fast and I can manage my daily tasks, it is obvious that the development of the OS have got some attention and Microsoft have thought through how the phone should work and with the new features like for instance Cortana it is in the edge of Phone OS development..

nokia-lumia-930-groen

Still I miss my banks app but they say that it is coming this year so when that one have arrived I can buy me self a beutiful Lumia ;-)

Some of the apps I have installed:

  • Waze
  • SAS Scandinavian Airlines
  • Skype
  • Spotify
  • SVT Play
  • Swish
  • Yammer
  • Amazon Kindle
  • Easy Park
  • Facebook Beta
  • GoPro
  • Instagram Beta
  • Lync 2013
  • Netflix
  • Office Lens
  • PC Remote
  • Twitter
  • WinRunner

There are of course more apps that would make it into the cut and the development of new apps go blazing fast so just because your favorite app right now only exist for Android or IOS that will change in a near future. I think we will see a fast changing map now that Microsoft owns the phone division of NOKIA and can make the momentum for devices and solutions that would attract new users that most likely could have been stuck with an iPhone before..

So when you are going to change device next time, think twice and look at the Lumia phones!

Categories: General Tags:

PowerShell v5 September preview available

September 4th, 2014 No comments

Today I was just checking my tweets and saw that the PowerShell team had released a new build of the Windows Management Framework v5, this time its the September build and it works only on Windows Server 2012 R2 or Windows 8.1 and if you have a previous version that was released in july of the v5 you have to uninstall that first and then you can install this version

here is a quote from the PowerShell team at http://blogs.msdn.com/b/powershell/archive/2014/09/04/windows-management-framework-5-0-preview-september-2014-is-now-available.aspx

The following is a list of all the new scenarios enabled since May 2014:

  • Generate Windows PowerShell cmdlets based on an OData endpoint
  • Manage .ZIP files with new cmdlets
  • DSC Authoring Improvements in Windows PowerShell ISE
  • New Attribute for defining DSC meta-configuration
  • Use partial configurations DSC
  • Cross-computer synchronization through DSC
  • Get the current DSC configuration status
  • Compare, Update, and Publish DSC configurations
  • Audit Windows PowerShell usage by transcription and logging
  • Extract and parse structured objects out of string content
  • Extend the item noun to enable Symbolic Links
  • Develop with classes in Windows PowerShell
  • Register a PSRepository with PowerShell Get
  • Network Switch management through Windows PowerShell (improvements)

I used a Azure VM to test and install this version

win framework5preview

install

restart

And once rebooted I can check via Get-Host what version I am actually running

ps5

Categories: Powershell Tags:

Review of VMM 2012 R2 Cookbook 2nd edition

August 20th, 2014 No comments

I have had the privilege to read the book System Center 2012 R2 Virtual Machine Manager Cookbook – Second Edition by Edvaldo Alessandro Cardoso

Screen Shot 2014-08-20 at 20.32.29

This is a Cookbook with tons of recipes that will help you setup and configure VMM 2012 R2.  With the Cookbook format you easily can get information and knowledge in the area that you need and use it as a reference.

The content includes

  • VMM Architecture
  • Upgrading from previous versions
  • Installing VMM 2012 R2
  • Installing a HA VMM
  • Configuring Fabric resources
  • Deploying VMs and services
  • Managing VMware ESXi and Citrix Xen
  • Managing hybrid clouds
  • Integration with SCOM
  • Scripting with Powershell in VMM

I can really recommend this book even if you know some about VMM, Edvaldo gives some more insights and information that can help you in your work!

If you want to buy this book you can do this at the following link http://bit.ly/1s7qAqO

Categories: SCVMM, Virtualization Tags:

Moving on or moving back, starting on a new job!

July 23rd, 2014 No comments

Hope that you all have a nice summer!

10559781_10152270251048549_2007985263628310737_n

I have been busy with vacation and taking care of the family the latest couple of weeks! But there is some news I want to share with you, Tomorrow I will work my last day at Lumagate and then a new adventure will start at my old employer Real Time Services.

My role will be Chief Technical Architect – Microsoft Solutions, within this I will be responsible for offerings and design with hybrid clouds based on Azure and all its features, Hyper-V and office 365. With the new functionality that Azure continuously delivers it will be exiting times ahead getting customers to utilise and see the benefits with an hybrid cloud environment.

Real Time Services is also in a new exciting phase with a recent merger with two other companies making a larger and broader company that will be able to be a better solution provider and also make a serious commitment on Microsoft Cloud OS. The other companies that is part of the merger are PMCG and Skypoint.

If you want to contact me from now on use the following details :-)

 

photo

Categories: General Tags:

Running CentOS 7 on a gen2 VM in Hyper-V

June 27th, 2014 No comments

In my latest blog I was exploring the possibility to get a Redhat Linux to work in a generation 2 VM and I was also explaining that I had some issues with the CentOS version 7 that is currently being developed and that issue was with the EFI boot and it was malfunctioning!

Now as of yesterday 25 of June when there was a new release I could actually get a working CentOS 7 in a generation 2 VM on my lab environment!

So to get the fresh build installed on a Gen2 HyperV 2012 R2 VM you can do the following,

here I found the Boot ISO -> http://buildlogs.centos.org/centos/7/os/x86_64-latest/images/ and downloaded the boot.iso and configured it to be used for boot in my test-VM and as I described in the other post I unchecked the Secure boot also

Screen Shot 2014-06-17 at 23.01.24

Once booted I connected the network and then added the path to the repository

Screen Shot 2014-06-17 at 22.30.29

The path to be added was http://buildlogs.centos.org/centos/7/os/x86_64-latest/ , by using -latest in the path you will get the latest build instead of some old maybe not so well working version, as described on their page the distribution is still being developed

Screen Shot 2014-06-27 at 00.19.07

 

And then choosing what roles to install and partitioning of the disk and then start the installation :-)

Screen Shot 2014-06-27 at 00.20.33

Once installed you can see that it now nicely boots into CentOS and I can log in

Screen Shot 2014-06-26 at 23.51.57

And you can see that it utilizes the Dynamic Memory function of Hyper-V also

Screen Shot 2014-06-26 at 23.53.36

 

 

Categories: Hyper-V, Virtualization Tags: