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 2 comments

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:

Wait! Are you going to migrate your old legacy VM´s?

February 9th, 2014 No comments

So I have in several posts described different ways on moving from one hypervisor to another with your VM´s. There are several different choices when it comes to the transitioning phase, some more automated than others.

iStock_000016604674XSmall-300x199

But wait!! Yea I know the virtualization is Gods gift to the IT but it also carries some responsibilities. The technique gives you as the IT admin the possibility to run old legacy operating systems almost forever.

One big thing in the Move projects is to also take into account if the workload running can be upgraded within the OS, not just moved to another virtualization platform. Surely you do not want to describe on your CV that in your last employment you had Windows 2003 Servers as Domain Controllers for instance. Compare it with VHS, do you still watch movies and record stuff on the 80/90´s system?

Tangled video tape

First of all you can use the Microsoft Assessment and Planning toolkit to analyze what of your workloads can be upgraded ( I know, it does not look at your third party server applications that needs some brushing of and upgrading also)

When you have analyzed and got some workloads that can be migrated then check out this page on what tools and wizards you can use to actually smoothen the process for those windows roles and features running on your old and soon to be unsupported OS to an new version! As you can see below, Windows 2008 R2 is coming to the last date of mainstream support!

win2008r2e

Yes I know that this often can be a quite burden on the IT department to carry out this kind of transformation projects and for several company-critical applications this can also become a serious cost that someone has to approve or maybe decide to decommission if they live outside of the support window!

Categories: General, Virtualization, Win2012 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:

New Toy: Surface 2 RT

February 2nd, 2014 No comments

09-23SurfaceFamily_PageSo I have been a Apple fan for some while now and yesterday I was at a local electronic store and tested the Surface 2. This resulted in me coming home with an RT :-P

I really like the speed and the functionallity of this device.

Maybe I will start looking at the Pro as the RT has some limits but it is fast and I can take care of several of my daily tasks. Had loved if it was possible to run not just PowerShell but also the ISE. Found some suggestions to utilize Azure IaaS with a RDS desktop with the software and tools not available in the RT and maybe that would work :-)

Skormklipp

By the way, this post was also written on the device, will tomorrow change to the type keyboard instead ….

 

 

Categories: General 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:

SCVMM 2012 R2 and deploying VM´s with altered name on vhdx

January 20th, 2014 2 comments

I observed a question on the technet forums regarding if it was possible to change name of the virtual hard disk when deploying a virtual machine or template from System Center Virtual Machine Manager, and the answer is yes.

Having a few hundred VM´s and all of them having the same name of the vhdx as the template might not look so good.

So how to solve this then, first of is when deploying new VM´s you should change the name and that can only be done in the VMM GUI when deploying to a host and not to a cloud. Notice that I create the VM from the template in the library view of the console.

Screen Shot 2014-01-20 at 12.20.07

When using this way the console automatically fills in the guest os name. When creating a VM from a template in the VM´s and Services view that has to be filled in manually.

Screen Shot 2014-01-20 at 12.22.27

So how to get the name of the VM also on the vhdx that holds the VM´s operating system, as I described above, you have to select deploy to a host and not a cloud (of course, when the VM has been created it can be updated with a cloud)

Screen Shot 2014-01-20 at 12.24.29

Then when you come to the configure settings view in the wizard, the option to change the vhdx name appears,

Screen Shot 2014-01-20 at 12.32.54

Surely you find that having vhdx that has the same name as the VM instead of the generic library vhdx name of win2012-std.vhdx more suitable?

In the next post I will show you how to change the names of the disks on already deployed VM´s.

 

Categories: Hyper-V, SCVMM, Virtualization Tags:

VMM Configuration Analyzer for 2012 R2

January 17th, 2014 No comments

In the upgrading of a VMM 2012 Sp1 to R2 I wanted to test and run the Configuration Analyzer. When clicking on the link from the VMM R2 GA media you should be observant that it points you to the wrong place though, as you can see on the following screendump there is a link on the splash screen.

Screen Shot 2014-01-17 at 09.59.27

And when pressing that link you will arrive at the following site, which is wrong! So do not start downloading the stuff from this as these files are for the VMM 2012.

Screen Shot 2014-01-17 at 11.04.08

The right site is at the following link:  http://www.microsoft.com/en-us/download/details.aspx?id=41555 and looks like this, do also notice that it is an analyzer for the whole System Center suite so you can do analyzing of all your different SysCtr servers.

Screen Shot 2014-01-17 at 11.05.18

You can also at this technet site read more about how it works and what prerequisites you have to install first.

Categories: SCVMM, Virtualization Tags:

SCVMM VM property dialog crash console with missing vhd(x)

January 14th, 2014 No comments

Today I was at a customer and they had an interesting error in their virtualization environment with Hyper-V 2012 and SC VMM 2012 Sp1 (yes I know, it is not R2 but we are working on it). One of their Hyper-V hosts had a hardware memory failure which lead to the host crashing and the VM´s restarting on other hosts..

during this the VM´s that was on that host got an error in the VMM db, looking and handling the VM´s from Hyper-V manager or failover cluster manager was no problem. Every time we tried to refresh the VM´s showed the following error and the job did not succeed.

Screen Shot 2014-01-14 at 14.36.51

And when we tried to look at the properties on the VM from VMM the console just died, and that happened every time..

Screen Shot 2014-01-14 at 14.28.50

So how could we find the VM´s that was suffering from this, well PowerShell could be used and with the following we could get the amount of VM´s and also easily get a list of the VM´s names.

Screen Shot 2014-01-14 at 13.26.15

So how could we fix this then,

There is a cmdlet in VMM with a parameter that can be used,  Remove-SCVirtualMachine -Force , this will remove the VM but not the virtual hard disk as it cannot find it..

Screen Shot 2014-01-14 at 16.20.21

But because we want to keep the VM we will do a bit of a workaround

  1. Stop the vm in VMM  by Stop-SCVirtualMachine own01  (even if the vhd(x) is not seen by VMM it will shut down the actual VM)
  2. Remove the VM from the cluster in Failover cluster manager or with powershell (this will only remove the cluster instance but not the actual VM)
  3. Start the VM in Hyper-V manager or with PowerShell  Get-VM own01 -ComputerName HV01 | Start-VM
  4. Remove the VM from the VMM with Powershell using the -force  Get-SCVirtualMachine own01 | Remove-SCVirtualMachine -Force (as I have removed the VM from the cluster VMM cannot find it and delete the vm´s xml file etc)
  5. Add the running VM to the cluster again with hyper-V PowerShell and failover cluster powershell using Get-VM own01 -ComputerName HV01 | Add-VMToCluster (Get-Cluster HVCL30)
  6. refresh VM´s in VMM and see that now the own01 vm can open properties

The reason I start the VM after removing it from the failover cluster is that VMM should think it is in stopped state, because that makes it easier to remove! And as in Hyper-V 2012 I can add a running VM to a cluster I do not have to keep the VM shut down during the whole process but just to get it into the right state in VMM :-)

Not the easiest way but hey who had said that VMM was self-healing :-P And yes we are in the process of upgrading to R2 and hopefully this error will not reemerge in that version….

 

Creating Hyper-V 12 R2 Cluster from Windows Server 12/VMM

January 10th, 2014 1 comment

I got a question about an error that occured when creating a Hyper-V 2012 R2 cluster from VMM 2012 R2 and the errorlog stated the following:

“Error (25325) The cluster creation failed because of the following error: An error occurred while performing the operation.. “

In the troubleshooting I found that the VMM 2012 R2 was running on a Windows Server 2012 Standard (which is fully supported). But as VMM uses the failover cluster cmdlets from the OS where installed it fails creating the R2 cluster as it is not supported to manage Windows 2012 R2 from a Windows 2012.

looking at the technet article regarding Server Manager it has a good table about support:

Screen Shot 2014-01-10 at 13.53.35

 

I have done some upgrades from VMM 2012 SP1 to 2012 R2 and have always in that process changed the operating system first to the latest version so this issue has not appeared for me before.

Testing to create a Hyper-V 2012 R2 cluster from a windows 2012 failover cluster manager gives the following error :

Screen Shot 2014-01-10 at 14.12.35

Categories: Hyper-V, SCVMM, Virtualization, Win2012 Tags: