Archive

Archive for the ‘Hyper-V’ Category

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:

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 :-)

 

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!

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:

Why are my Hyper-V hosts in VMM reporting “Needs Attention”?

February 27th, 2014 No comments

If you are kind of new to System Center VMM console and wondering why after a while your hosts responds “Needs Attention” and checking the host properties and seeing that everything looks green in the status, then continue and read this post!

Screen Shot 2014-02-27 at 10.18.10

Screen Shot 2014-02-27 at 12.31.28

You can just extend the console by right-click the hosts bar and add the column with “Agent Version Status” and then you can see the reason for host status,

Screen Shot 2014-02-27 at 10.23.49

The reason for this “Upgrade Avail” is that the VMM server has been updated with some new patches/updates that came with Windows Update and now you need to update your hosts to have the new agent to properly talk to the VMM Server.

That can of course be done with PowerShell if you have quite some hosts…  You can of course also get the list of which hosts that need an update,

Screen Shot 2014-02-27 at 10.41.28

And then with the following command also update the hosts that need to

Screen Shot 2014-02-27 at 10.53.23

If you are wondering why I am filtering on Agent-Version -ne “0.0″ is because in this environment there are several VMware hosts and they do not have a VMM agent but is recognised as managed hosts and appear when getting the “managed computers”

Good luck :-)

Categories: Hyper-V, Powershell, SCVMM, SysCtr, Virtualization Tags:

Nutanix for Hyper-V – the future for your datacenter!

February 20th, 2014 1 comment

Today I had the opportunity to see an Nutanix deployed cluster with Hyper-V. If you have not heard about Nutanix before I urge you to go and check out their website and see how it works. Basically their solutions use local storage for massive performance and their Controller VM has direct access to the disks (a set of SSD and HDD) that also has tiering and dedup and present the storage to the Hyper-V node with a SMB 3 file share, for resiliency the data is replicated to other nodes so in case of an failure your VM´s will start up on another node with all the data.

nutanixhyp2

When you buy an Nutanix solution the Windows 2012 R2 is installed on delivery and you will only configure networking and add the nodes to the Active Directory, so getting your Hyper-V enironment up and running is quite a breeze with this 2U x 4 node solution and it can scale with more 2U sets and this can also be added after you are up and running to scale with your added loads!

nutanixhyperv

As you can see on the features you get both TRIM and ODX functionallity with the solution allowing you to clone or create VM´s within the box in just seconds and also reclaim storage when removing data and VM´s! As you will always use the local controller VM there is no need for SMB Multichannel.

The nutanix will work with your System Center environment and can be automated with VMM and Orchestrator.

I will do a more thorough post about the configuration and setup when I get my hands on a Nutanix-platform!

Categories: Hyper-V, Virtualization Tags:

Finally the MAT4Move has been released, but where to find it?

February 3rd, 2014 No comments

Now I found the release of the Migration Automation Toolkit for Double-Take Move. As I described in an earlier post I was waiting for this and now it was released.

It is as described in the readme, a technology preview and for users with PowerShell skills.

Screen Shot 2014-02-03 at 16.58.05

And it has not yet appeared on the Gallery but you can find it on the Vision Solutions Support site (where you will need an account to login), and on the Move download page you see it on the top :-)

Screen Shot 2014-02-03 at 16.44.46

 I will write a more thorough article about how the experience to use it compared to the Vision Solutions Double-Take System Center toolkit in a later blog post!

Categories: Hyper-V, Virtualization, VMware Tags:

Test of Altaro Backup v4 for Hyper-V

January 28th, 2014 No comments

There are some backup vendors that nowadays have support for Hyper-V and host level backup. I have been testing some of them but also wanted to check how the Altaro Hyper-V Backup solution works.

I cannot complain about the ease of installing and getting started on the Altaro solution. I like the install wizard that directly recognises if I am trying to install on a cluster node or a single hyper-v instance.

 Screen Shot 2014-01-27 at 19.12.51

It is fully supported to install on a core or full version of Hyper-V 2012 and also 2012 R2.

When I tested to install on my one-node Hyper-V 2012 R2 cluster it found and promoted the node as a master controller.

Screen Shot 2014-01-27 at 19.14.03

It was really easy to configure the VM´s that should be included in the backup and then schedule a backup job.

Some really nice features in the Altaro are:

  • Offsite backup with wan acceleration
  • Exchange Item Level restore
  • Remote Management Console
  • Fast Hyper-V backup/restore
  • Compression/Encryption
  • Live Backup of Linux VM´s
  • Instant-Boot from backup

If you register then you get a trial that works in 30 days and have the full feature-set. You can also download the free version and that gives you the possibility to do backups on two VM´s forever :-) but with some limitations..

 

Categories: Hyper-V, Virtualization Tags: