New version of the Microsoft Virtual Machine Converter 2.0 and MAT

April 8th, 2014 No comments

Today Microsoft released the long awaited new version of the Virtual Machine Converter (the 1.0 version could be integrated with MAT but had limits in both VMware and Hyper-V latest releases). Microsoft has also released a new version of the MAT (migration automation toolkit) that supports the MVMC 2.0 to automate the migration!

Screen Shot 2014-04-08 at 19.20.57

New Features in MVMC 2.0

MVMC 2.0 release of MVMC includes the following new features:

    • Converts virtual disks that are attached to a VMware virtual machine to virtual hard disks (VHDs) that can be uploaded to Windows Azure.
    • Provides native Windows PowerShell capability that enables scripting and integration into IT automation workflows.
      Note The command-line interface (CLI) in MVMC 1.0 has been replaced by Windows PowerShell in MVMC 2.0.
    • Supports conversion and provisioning of Linux-based guest operating systems from VMware hosts to Hyper-V hosts.
    • Supports conversion of offline virtual machines.
    • Supports the new virtual hard disk format (VHDX) when converting and provisioning in Hyper-V in Windows Server® 2012 R2 and Windows Server 2012.
    • Supports conversion of virtual machines from VMware vSphere 5.5, VMware vSphere 5.1, and VMware vSphere 4.1 hosts Hyper-V virtual machines.
    • Supports Windows Server® 2012 R2, Windows Server® 2012, and Windows® 8 as guest operating systems that you can select for conversion

in the link you can read more about the MVMC functionality

As you can see in the wizard the option to upload the converted VM to Azure directly has been added

Screen Shot 2014-04-08 at 19.21.50

And now in this version we have native PowerShell with the MVMC PS module as described above:

Screen Shot 2014-04-08 at 20.05.11

I will show more in a later post how it can be used and how it works with both migrations to Hyper-V and also directly to Azure :-)

both MVMC and MAT can be read about and downloaded here

Categories: Azure, Hyper-V, Powershell, Virtualization, VMware Tags:

testing the new Microsoft Azure Portal

April 3rd, 2014 No comments

Well as I am a techy nerd I have been checking out and following the Build keynote on Channel 9 and found that they now release the Microsoft Azure Portal, it is in Preview but it looks good! Just hope that this also soon comes to the Windows Azure Pack to the hosters

I have signed in at the Portal.Azure.com and as you can see I get a good overview regarding my subscriptions and how the Azure current status is right now

Screen Shot 2014-04-03 at 19.33.29

right now in the preview I cannot handle my IaaS VM´s and networks yet :-(  but that will probably be updated soon I can think …

Categories: Azure, Virtualization Tags:

Installed Windows 8.1 Update that was available from MSDN today

April 2nd, 2014 No comments

Noticed today that during the Build conference that Microsoft released an update to Windows 8.1 and also for Windows Server 2012 R2.

The improvements have been blogged at this MS link

I downloaded from my MSDN and started installing

Screen Shot 2014-04-02 at 21.21.13

In the Update zip there is a text file describing which KB that should be applied first and in what order.

Screen Shot 2014-04-02 at 21.23.24

No problems during the installation but several reboots though :-P

Screen Shot 2014-04-02 at 21.24.59

And once installed I can among other things see that when logging in I get to the desktop directly and I also can find the power button and search from the startscreen!

Screen Shot 2014-04-02 at 21.44.18

Good luck in your upgrade :-)

Categories: Win8 Tags:

Automated PowerShell to keep your template vhd(x) IC updated

March 31st, 2014 No comments

For the Veeam Seminar I did some digging in how to check and also apply updated integrational components on virtual disks in the System Center VMM library and found Ben´s script which I altered to fit my goal. This is quite convenient based on that you can schedule it and always have updated IC´s on those VHDX in the library.

I check and get the current IC´s from one Hyper-V host and thus based on that if it has been updated I also get that update instead of using a copied IC version locally in the VMM server. The script runs on the VMM server and that is why I use the Mount-DiskImage cmdlet instead of the Mount-VHD as that does not work on a non-hyper-V enabled windows server.

Screen Shot 2014-03-30 at 10.42.33

 

 

 

Recordings and code from SMA and Powershell webinar with Veeam

March 29th, 2014 No comments

Last week I had two webinars together with Veeam in the subject of “Automating daunting virtualization tasks”. Now these have been uploaded and shared on Veeams web. One is in swedish and one in english. during the webinar I show some different tasks that can be managed and handled with the Service Management Automation (SMA) and utilizing PowerShell.

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

here is the english version: http://www.veeam.com/videos/webinar-replay-service-management-automation-akerlund-en-3932.html

and here is the swedish version: http://www.veeam.com/videos/webinar-replay-service-management-automation-akerlund-sw-3649.html

Here are some of the tasks and the PowerShell code,

First one of the tasks was adding VM´s to cluster where I utilize the function in this link

Next task that can be automated that you always will have a percentage free on the C drive for the VM´s (it both shrinks and expands), I am utilizing the generation 2 VM´s so for this to work your VM´s have to be configured with this latest virtual hardware version on Hyper-V 2012 R2

As you can see when I extend the size I make the VHDx about 230 MB larger to be able to set the partition to the size calculated regarding the overhead of the virtual disk, so if I would have tried to make both the VHDx and partition 15GB it would fail..

The rest of the scripts will be uploaded later in a follow up post. Of course there can be improvements in the ways to do things and if you have any comments or ideas please share :-)

 

Azure Iaas VM not activated on my virtual network

March 25th, 2014 No comments

I have been configuring a demonstration environment on Azure and that connected to my local datacenter with S2S VPN.

I created several VM´s in Azure and during that process I connected them to my own network. One thing I noticed once doing this was that these VM´s was not activated.

Screen Shot 2014-03-03 at 08.25.44

The reason for this appeared to be quite easy and as I had the plan to setup a DC with DNS I only added that in the networking dns settings and the gallery VM´s points to a KMS in Azure and as I did not have a name resolution working the VM´s could not be activated. Checking that you can do a name resolution of the following url shows if you have any potential issues..

NSLOOKUP kms.core.windows.net 

So after I added an second DNS (excuse me for adding a google dns, but it is so easy to remember) and started the VM´s I could see that they been successfully activated :-)

Screen Shot 2014-03-25 at 15.44.47

Screen Shot 2014-03-25 at 15.48.28

Happy Azuring :-)

Categories: Azure Tags:

Updated Raiders of the lost Cluster VM´s PowerShell function

March 17th, 2014 No comments

In 2012 I did a blogpost about a PowerShell function to find VM´s on Hyper-V Cluster nodes that was not configured as cluster resources and thus not being Highly Available in case of a hardware failure or maintenance work on the Hyper-V hosts…

687883034_1836208864001_raiders-of-the-lost-ark-imax-trailer-still

I have today made an update to the function so that it only gives the VM´s that have either SMB or CSV storage and not if you for some reason have VM´s residing on local storage within your clusternodes which can be the case for domain controllers or other appliances etc..

Good luck in your raid for the Lost Ark ;-)

Categories: Hyper-V, Powershell, Virtualization Tags:

Veeam webinar 19/3: Automate daunting virtualization tasks with SMA

March 5th, 2014 No comments

On wednesday the 19th of March I will together with Veeam have a web seminar with the topic:

Screen Shot 2014-03-05 at 21.54.12

Automate daunting virtualization tasks  with SMA

Now that you have set up your virtualization environment, you’ll want to automate it. In this webinar, you will learn how to do this with Service Management Automation(SMA) and how to integrate automated tasks into the Hyper-V virtualization environment. You will use different runbooks to automate some boring but necessary tasks that IT admins have to do.

This webinar will show you how to:

  • Automate patching of virtualization hosts
  • Expand virtual hard disks based on usage
  • Automatically update integrational components on VMs
  • Automatically update virtual hard disk templates
  • Clean old snapshots that have been forgotten
  • And more…

If you want to register and be part of this crazy one hour with the Swedish Chef you can do it on the following link

And guess what, It comes in a swedish version also! Check out in the following link and if you understand Swedish, register here!

New book about PowerCLI have been released!

March 5th, 2014 No comments

I have had the pleasure to find a new book about PowerCLI that have been released.

Learning PowerCLI by Robert van den Nieuwendijk

Screen Shot 2014-03-05 at 21.20.24

 

The book has 10 chapters and is truly a bible for a VMware Admin that wants to learn how to utilize PowerCLI in their environment. The book covers the latest version of PowerCLI and PowerShell v3.

If you are new to PowerShell and PowerCLI the first chapters gives you great guidance in how to do basic things and once you feel comfortable you can continue with the other chapters and start automating your daunting tasks as a VI Admin!

I have done some magic with PowerCLI and I can recommend you to add it to your shelf to be comfortable in your career :-)

If you are interested in getting more info on the book please follow this link  http://www.packtpub.com/learning-powercli/book

 

Categories: PowerCLI, Virtualization, VMware Tags:

Windows Server 2012 R2 SOFS with tiering require some disks..

March 2nd, 2014 No comments

I was at a meeting last friday and they where in the process of deploying a Scale Out File Server environment on Windows Server 2012 R2 and that with a Dell jbod box.

MD1220_2

One important thing to consider when designing this is that if you want to use all the features in the new 2012 R2 with storage spaces there are some limits that could imply and affect your design.

If you want the new cool performance intelligent storage tiering in 2012 R2 that can only be used with either simple or mirroring protection on the physical level which result in quite an overhead on disks in your jbods to get some TB for the actual data. If only the deduplication feature would have been supported with server workloads and not just VDI setups, then this would not have been such a big deal.

Screen Shot 2014-03-02 at 08.52.51

Setting up your environment based on this would require some planning and creating several different storage selections where not everything stored on your superperformance auto-tiering parts of your SOFS. Maybe your budget would allow you to fill the JBOD with only SSD´s and then this is no problem :-) but if not you should at least consider creating several different shares where the virtual disks either have storage tiering with mirroring or a plain disk with parity.

I would love to see some development in the SOFS storage integrated with Hyper-V in the same manner that VMware has with their Storage-DRS that could, based on different workloads and their load on different VHDX, be moved between the different datastores not just the tiers. This could be even more refined when adding a StorSimple box and the data that has not been accessed for a while would be offloaded to Azure.

stokage-cloud-StorSimple-Microsoft

Yes I know the StorSimple hardware needs a refresh in their NIC connectivity (in the current boxes there is a 2*1 Gbit active) but hopefully we will see some new hardware in a not to far future. And in an solution where the StorSimple box would be used and connected in a SOFS cluster together with JBOD´s the network bandwidth would not have such a large impact.

 

 

Categories: Hyper-V, Virtualization, Win2012 Tags: