Showing posts with label Update Rollup. Show all posts
Showing posts with label Update Rollup. Show all posts

Tuesday, July 28, 2015

Re-associate orphaned virtual machine with its VM role in System Center 2012 R2 with Update Rollup 7

If you have been using Azure Pack and the VM Cloud Provider, you have most likely been tempted to use the concept of VM Roles too.

VM Roles is a powerful technology that makes it possible for you to provide a lot more than just a sysprep’d operating system to your tenants. Through a resource extension, a VM Role can be deployed with any application you’d like, ready to go for the tenants.

However, there has been some challenges since the release of Azure Pack and VM Roles.
Some of the challenges has been related to Azure Pack directly, and some of the challenges has been related to Virtual Machine Manager.
I won’t cover everything here, but the following picture should summarize some of the challenges of a VM Role and a stand-alone VM, where some parts such as “static disk” wasn’t enabled for VM Roles before UR5. With UR6, we also got support for Gen2 VMs as part of the VM Roles.



Also note that “backup” and “DR” on VM Role is categorized as a “no go”.

Luckily and as usual, David and his great team at Microsoft has listened to our feedback – and with Update Rollup 7 for Virtual Machine Manager 2012 R2, we are now able to re-associate a VM Role!

Background:

A couple of months ago, I reached out to the VMM team through David Armour and explained a rather bad situation for him that one of my customer suddenly was in the middle of.
It turned out that several of my MVP friends also had experienced similar issues and this was becoming a critical issue for those customers. Here’s some details around the problem we saw:

In the case of some underlying storage issues in the cloud environment, many of the virtual machines that was running in VMM, SPF and Azure Pack ended up in a pretty bad state, and the only way to solve it was to generate new IDs for those VMs.

Now, this sounds very tempting and applicable in certain scenarios. But given the fact that the VMs actually were part of a VM Role in Azure Pack, turned out to be a bad experience.
Once a VM is no longer associated with the VM Role in WAP, it will appear as a stand-alone VM with no way for you to perform advanced operations through the tenant portal. The VM Role itself will appear as an orphaned object.

Our biggest challenge in this satiation was:

1)      There was no way to re-associate a VM instance with a VM role once this relationship was broken (so Remove-SCVirtualMachine with –Force parameter was not an option)
2)      If we could re-associate with a VM role (once the VM appeared in VMM again with new ID), the usage would be broken for that VM. Yes the customer was actually using the usage API in WAP to charge their tenants.

For this customer the issue was most likely caused by some underlying storage problems. However, you could easily end up in a similar situation by using native Microsoft technologies such as backup/restore and DR through Hyper-V Replica/ASR. Or simplier, by removing and adding a host/cluster to a VMM Cloud

With Update Rollup 7, we have finally support for re-associate both an orpahned VM from a VM Role and a Service Template deployment.

Example of a PowerShell cmdlet that will join an orphaned virtual machine to a VM Role:

$myvm = Get-SCVirtualMachine –Name “KN01”
$myVMRole = Get-CloudResource –Name “mywebservice”
Join-SCVirtualMachine –VM $myvm –VMRole $myVMRole

For more information, please read the following KB:




Monday, April 29, 2013

Update Rollup 2 for VMM 2012 SP1

Last but not least, the Update Rollup 2 for System Center 2012 SP1 – Virtual Machine Manager became available last week.

Important note:

You must uninstall Update Rollup 1 prior to installing Update Rollup 2.

If you install Update Rollup 2 from Microsoft Update Catalog without uninstalling Update Rollup 1, you should uninstall both 2 and 1 before installing 2 again.

Also note that Update Rollup 2 won’t be available through WSUS if Update Rollup 1 is installed.


After you have installed Update Rollup 2, you must update the VMM agents on your servers in Fabric. The servers will have a warning that requires your attention, and you can simply right click on the servers and proceed to update the agent. This won’t require any reboots.

Bug fixes:

A lot has been fixed related to networking, virtual network adapters, logical switches, uplink port profiles, extensions, classification and so on. I have encountered many of these bugs in the field myself and it’s great to have them solved.

Virtual Machine Manager Server (KB2826405) and Administration Console (KB2826392)

Issue 1

The SUSE Linux Enterprise Server 11 operating system is missing from the Linux OS list.



Issue 2

A virtual machine cannot start after migration from Windows 7 to Windows 8 when the DiscardSavedState method is used.



Issue 3

A connection to the VMware virtual machine remote console session cannot be established.



Issue 4

Externally published VMNDs are filtered incorrectly.



Issue 5

When you remove a virtual switch extension property or edit a virtual switch extension manager connection string, a user-interface generated script also removes the HostGroups that are associated with VSEM.



Issue 6

UPPSet is not set on a physical network adapter when you add the network adapter to a team and when the network adapter is the first in the list of network adapters.



Issue 7

The default gateway is missing on a host virtual network adapter after you add a second physical network adapter to the logical switch.



Issue 8

Static IP pool that has the first address in a subnet fails for external network type.



Issue 9

VMM crashes during host refresher when VMM is unable to create a CimSession with the remote host.



Issue 10

Standard (legacy) virtual switch creation on Windows 8 hosts with management virtual network adapter does not preserve the IP properties of the physical network adapter.



Issue 11

The administration user interface crashes with a NullReferenceException error when you click Remediate on a host instead of a virtual network adapter.



Issue 12

The Virtual Machine Manager user interface displays a network adapter in a "Not Connected" state.



Issue 13

The Virtual Machine Manager stops responding with high CPU usage for five to ten minutes when you configure a VMND that has 2,000 network segments.



Issue 14

The host virtual network adapter property for a management adapter does not show port classification.



Issue 15

Live Migration fails at 26 percent when the network adapter is attached to an isolated virtual machine network.



Issue 16

The Virtual Machine Manager Service crashes when a virtual machine that does not have a port profile is migrated to a cluster by using a logical switch that has a default port profile set.



Issue 17

Running Dynamic Optimizer on a cluster with incompatible host CPUs causes a Virtual Machine Manager Service crash.



Issue 18

The Host refresher crashes for any host that has the RemoteFX role enabled.



Issue 19

The minimum memory for dynamic memory greater than 32GB is a security risk.



Issue 20

The status of the network adapter is displayed as Not Connected in Virtual Machine Manager.