Strategy to manage Baselines to your Fabric Infrastructure

Hello folks,

With the following workflow we can see an entire upgrade cycle of a baseline. With this, when is the second Wednesday of every month we will upgrade PRE to check if all updates applied to Hyper-V works fine. To start with this we synchronize SCVMM for download all new updates from Update Server and we will notify managers that we will upgrade all Hosts groups for PRE. Done that we will analyze what updates are necessary for our hosts and we will add to the Baseline. Next week we start to upgrade one single host, member of a cluster, in a Hosts Group starting a Maintenance Mode and Scanning and Remediating it. If some update or the hyper-v host has a problem we will check which the cause is and we will solve it. If it finish fine we do the same for the others hyper-v hosts in the same cluster, if it´s ok then we do a maintenance mode and a scan and remediate for every one of all hosts groups for PRE. When we finish for all hosts groups in PRE and all is ok we will start with PRO in the next week. If some update or host has a problem we will check which the cause is and we will solve it.

I’m sorry, I have wrote this design in spanish.

Workflow de Baselines 0.1

Regards!

Anuncios

Error between Management pack versions and SCVMM after upgrade SCVMM 2012 R2 to CU4

Hi friends!

After upgrade SCVMM 2012 R2 CU3 to CU4 I have seen in the VMM console on the connector between SCVMM and OpsMgr 2012 R2 CU4 an incompatibility with the Management Pack version and the SCVMM version.

vmmops01

Management pack Microsoft.SystemCenter.VirtualMachineManager.PRO.Library version 3.2.7672.0 is incompatible with this version of Virtual Machine Manager
Management pack Microsoft.SystemCenter.VirtualMachineManager.PRO.V2.Library version 3.2.7672.0 is incompatible with this version of Virtual Machine Manager
Management pack Microsoft.SystemCenter.VirtualMachineManager.Pro.2008.Library version 3.2.7672.0 is incompatible with this version of Virtual Machine Manager
Management pack Microsoft.SystemCenter.VirtualMachineManager.Library version 3.2.7672.0 is incompatible with this version of Virtual Machine Manager
Management pack Microsoft.SystemCenter.VirtualMachineManager.2012.Discovery version 3.2.7672.0 is incompatible with this version of Virtual Machine Manager
Management pack Microsoft.SystemCenter.VirtualMachineManager.2012.Monitoring version 3.2.7672.0 is incompatible with this version of Virtual Machine Manager
Management pack Microsoft.SystemCenter.VirtualMachineManager.2012.Reports version 3.2.7672.0 is incompatible with this version of Virtual Machine Manager
Management pack Microsoft.SystemCenter.VirtualMachineManager.PRO.V2.HyperV.HostPerformance version 3.2.7672.0 is incompatible with this version of Virtual Machine Manager
Management pack Microsoft.SystemCenter.VirtualMachineManager.Pro.2012.Diagnostics version 3.2.7672.0 is incompatible with this version of Virtual Machine Manager
Management pack Microsoft.SystemCenter.VirtualMachineManager.2012.Discovery version 3.2.7672.0 is incompatible with this version of Virtual Machine Manager

Seeking on internet I saw entries talking to change a key in the registry of the SCVMM server. In my case this key was correct and I didn´t it.

https://social.technet.microsoft.com/Forums/projectserver/en-US/1392e940-c8b6-4004-bbc5-9173b19ae59e/management-pack-microsoftsystemcentervirtualmachinemanagerprolibrary-version-3160320-is?forum=virtualmachinemgrproscintegration

http://technet.microsoft.com/en-us/library/hh882396.aspx#BKMK_registry

And also Kevin Holman talk about it:

http://blogs.technet.com/b/kevinholman/archive/2012/08/21/integrating-vmm-2012-and-opsmgr-2012.aspx

But I´m lucky, the registry key issue it´s ok in my SCVMM 2012 R2 CU4 version and I only need to rebuild the connection between SCVMM and OpsMgr and the problem is gone.

vmmops03

Here we remove and rebuild the connection:

vmmops02

Appear the wizard

vmmops04

Add OMS that is RMS and Service Account (In my case Service Account comes configured)

vmmops05

Add connection user name (I used the same user than on the past window)vmmops06

Finish the wizard.

vmmops07

Now the problem is gone!

vmmops08

Regards!

SCVMM powershell error after upgrade to CU4

Hi all!

Yesterday I have been upgrading to CU4 for SCVMM 2012 R2 CU3 console and I found the following error when I open powershell from VMM Console:

Get-SCVMMServer : The type or name syntax of the registry key value IndigoTcpPort under Software\Microsoft\Microsoft
System Center Virtual Machine Manager Administrator Console\Settings is incorrect.
Ensure that the type of value name is correct; the name is not empty, contains only valid characters and is less than
255 characters.
At line:1 char:409
+ … $vmmserver_VAR=Get-SCVMMServer ServerNameXXXXXX -UserRoleName ‘Administrator’;
+ ~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], CarmineException
+ FullyQualifiedErrorId : Microsoft.VirtualManager.Utils.CarmineException

indigoVMM2

To solve the problem I have delete under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft System Center Virtual Machine Manager Administrator Console\Settings the key IndigoTcpPort (Reg_SZ) and I did a new one with the same name but to be reg_Dword and with a decimal value of 8100, this is:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft System Center Virtual Machine Manager Administrator Console\Settings]
“IndigoTcpPort”=dword:00001fa4

indigoVMM

Regards!

How to recover an ip lost on a VM bad deployment with SCVMM

Hi!

Sometimes when I´m doing a deployment of various VM via scripting in my test lab and some thing fail for some reason as my smb file share are out of space or something like this the ip assigned to the machine is blocked… you have not the new virtual machine and you loose one ip from the pool.

The solution to that situation is the following:

First of all execute from PS Get-SCIPAddress

ippools

Second we seek the name of the virtual machine bad deployed and we copy the ip address.

Third we execute the following command with the ip address that we want to liberate $ip = get-scipaddress -IPAddress “100.64.35.122”

Fourth we execute the command $ip | revoke-scipaddress to recover the ip.

Also, is more easy to do from the GUI… then go to Fabric Pane/Logical Networks and there over the Pool where you are deploying vms do right click and push on Inactive Address. Select All and push Release. Easy no? 🙂

ippoolgui

Regards!

Regional settings overrided to en-US when using a vm template from SCVMM 2012

Hi guys,

These days I´m deploying VM from vm templates. We found that when you deploy a new vm from a VM Template the regional settings are configured en-US, overriding other settings.

I found an article that fix this issue http://support.microsoft.com/kb/2709539 and in my case the I only have needed the following:

$template = Get-SCVMtemplate | where {$_.Name -eq “Template_Name”}
$settings = $template.UnattendSettings;

$settings.add(“oobeSystem/Microsoft-Windows-International-Core/UserLocale”,”es-ES”)
$settings.add(“oobeSystem/Microsoft-Windows-International-Core/InputLocale”,”040a:0000040a”)

Set-SCVMTemplate -VMTemplate $template -UnattendSettings $settings

You can check the regional settings for all vmtemplates with the following PS1 sintaxis (change 2vNICs by other equal in all vmtemplates):

Get-SCVMtemplate | where {$_.Name  -like “*2vNICs*”}  | fl name,unattendsettings

Regards!

Published Update Rollup 2 for System Center 2012 R2 Virtual Machine Manager

Hi!

Today MS has published a new rollup for SCVMM 2012 R2, this is Update Rollup 2 and here I put the link http://support.microsoft.com/kb/2932926

For a good installation remember:

  • First install server update package (KB2932926)
  • Second apply sql script
  • Third install admin console update package (KB2932942)

Regards!