<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>Somaning Turwale Virtualization Blog</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/somaning/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/somaning/feed.xml</link>
    <description>SCVMM/WAP/ASR/APP-V/SCOM - Experience with Private and Public Cloud</description>
    <lastBuildDate>Wed, 17 Apr 2019 03:47:37 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Update Remediation Job Fails At Reboot Computer Step in SCVMM</title>
      <link>https://docs.microsoft.com/archive/blogs/somaning/update-remediation-job-fails-at-reboot-computer-step-in-scvmm</link>
      <pubDate>Fri, 26 Jan 2018 17:06:51 GMT</pubDate>
      <dc:creator><![CDATA[Somaning Turwale]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/somaning/?p=315</guid>
      <description><![CDATA[Recently I was working with a customer on a update remediation issue in SCVMM 2012 R2. When...]]></description>
      <content:encoded><![CDATA[Recently I was working with a customer on a update remediation issue in SCVMM 2012 R2. When remediate operation is performed on the hyper v host.  Scvmm installs the updates and waits for reboot of the host. The step reboot computer use to fail. However, the hyper v host gets rebooted but still scvmm was waiting around 35 mins and eventually it times out with below error.

<em>Error (20502)</em>
<em> Virtual Machine Manager failed to restart the computer mkbhost2.mkb.com.</em>
<em> Recommended Action</em>
<em> Restart the computer somtx1.hoster.cool manually.</em>

<em>Error (2927)</em>
<em>A Hardware Management error has occurred trying to contact server mkbhost2.mkb.com.</em>
<em>WinRM: URL: [https://somtx1.hoster.cool:5985], Verb: [INVOKE], Method: [ScanForUpdates], Resource: [https://schemas.microsoft.com/wbem/wsman/1/wmi/root/scvmm/UpdateManagement]</em>
<em>Unknown error (0x80338043)</em>

<em>Recommended Action</em>
<em>Check that WinRM is installed and running on server somtx1.hoster.cool. For more information use the command "winrm helpmsg hresult" and https://support.microsoft.com/kb/2742275.</em>

<a href="https://msdnshared.blob.core.windows.net/media/2018/01/remediate.jpg"><img width="1086" height="119" class="size-full wp-image-316 alignnone" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/01/remediate.jpg" /></a>

To understand why scvmm was waiting and what it does during that time. I took working scvmm etl trace. You can use the below article to enable etl tracing on scvmm.
<h6><a href="https://support.microsoft.com/en-us/help/2913445/how-to-enable-debug-logging-in-virtual-machine-manager">https://support.microsoft.com/en-us/help/2913445/how-to-enable-debug-logging-in-virtual-machine-manager</a></h6>
In the trace i could see it waits for the host to back online and then tries to connect to wmi service on the hyper v host.

<a href="https://msdnshared.blob.core.windows.net/media/2018/01/vmmetl.jpg"><img width="1685" height="164" class="wp-image-346 size-full" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/01/vmmetl.jpg" /></a>

With that clue i tried to test the WMI connectivity from SCVMM to hyper v host in customer environment. I used "wbemtest" utility to test it. Go to run and type "wbemtest" on scvmm server and provide the hyper v host name as below. Click on connect, it failed with below error.

<a href="https://msdnshared.blob.core.windows.net/media/2018/01/remediate2.jpg"><img width="259" height="295" class="alignnone wp-image-325" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/01/remediate2.jpg" /></a>

Our internal networking team helped us to find out the cause. It turns out that the below updates were missing on VMM server. However, in your case the cause might be different, it may be firewall, wmi port block or missing updates. Remediation to work the scvmm should connect to wmi service on the hyper v host and vice versa.
<h6><a href="https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fsupport.microsoft.com%2Fkb%2F3000850&amp;data=02%7C01%7Cv-sttass%40microsoft.com%7Cc7fe3bd2628941ca49ec08d54e18a672%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636500790212419335&amp;sdata=qKzCZ5jwIbRYtQGrUnd%2FKcqMNnJTV4ZwHWQxpuNo%2FUk%3D&amp;reserved=0">https://support.microsoft.com/kb/3000850</a><span style="color: #000000;font-family: Calibri"> - November 2014 update rollup for Windows RT 8.1, Windows 8.1, and Windows Server 2012 R2                             </span></h6>
<h6><a href="https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fsupport.microsoft.com%2Fkb%2F3013769&amp;data=02%7C01%7Cv-sttass%40microsoft.com%7Cc7fe3bd2628941ca49ec08d54e18a672%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636500790212419335&amp;sdata=ypA0G%2F12KG%2FdBxwsCWc1KJGoGM6zeNVqo49NzKEtHzE%3D&amp;reserved=0">https://support.microsoft.com/kb/3013769</a><span style="color: #000000;font-family: Calibri"> - December 2014 update rollup for Windows RT 8.1, Windows 8.1, and Windows Server 2012 R2                             </span></h6>
<h6><a href="https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fsupport.microsoft.com%2Fkb%2F3172614&amp;data=02%7C01%7Cv-sttass%40microsoft.com%7Cc7fe3bd2628941ca49ec08d54e18a672%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636500790212419335&amp;sdata=ZOjyCzYlspfLg7XTxJqeYr%2FTZpT2hY1GVLn0%2BXUliao%3D&amp;reserved=0">https://support.microsoft.com/kb/3172614</a><span style="color: #000000;font-family: Calibri"> - July 2016 update rollup for Windows RT 8.1, Windows 8.1, and Windows Server 2012 R2                                 </span></h6>
<h6><a href="https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fsupport.microsoft.com%2Fkb%2F3179574&amp;data=02%7C01%7Cv-sttass%40microsoft.com%7Cc7fe3bd2628941ca49ec08d54e18a672%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636500790212419335&amp;sdata=azN%2B4pnOPbjIJedjSgiige%2BhXHBvazHIfOvCtgd9lm4%3D&amp;reserved=0">https://support.microsoft.com/kb/3179574</a><span style="color: #000000;font-family: Calibri"> - August 2016 update rollup for Windows RT 8.1, Windows 8.1, and Windows Server 2012 R2                               </span></h6>
<h6><a href="https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fsupport.microsoft.com%2Fkb%2F4054519&amp;data=02%7C01%7Cv-sttass%40microsoft.com%7Cc7fe3bd2628941ca49ec08d54e18a672%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636500790212419335&amp;sdata=AMONaJSBv4%2B0E8wBPCXIL3r2eT2ip4Dd%2F2rfA%2FXaBlA%3D&amp;reserved=0">https://support.microsoft.com/kb/4054519</a><span style="color: #000000;font-family: Calibri"> - December 12, 2017-KB4054519 (Monthly Rollup)  </span></h6>
<h6><span style="color: #000000;font-family: Yu Gothic"></span></h6>
After installing the above updates on scvmm server the reboot computer job succeeded but scan job was failing. So we ended up installing the above updates on hyper v host as well.

&nbsp;]]></content:encoded>
    </item>
    <item>
      <title>Cluster to Cluster VM Migration Ratings Fail in System Center Virtual Machine Manager(SCVMM 2012 R2)</title>
      <link>https://docs.microsoft.com/archive/blogs/somaning/cluster-to-cluster-vm-migration-ratings-fail-in-system-center-virtual-machine-managerscvmm-2012-r2</link>
      <pubDate>Fri, 02 Jun 2017 15:24:48 GMT</pubDate>
      <dc:creator><![CDATA[Somaning Turwale]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/somaning/?p=245</guid>
      <description><![CDATA[When attempting to move a VM from Cluster1 to Cluster2 the following message is displayed in rating...]]></description>
      <content:encoded><![CDATA[When attempting to move a VM from Cluster1 to Cluster2 the following message is displayed in rating wizard as shown below.

<em>There is not enough disk space on the available volumes.</em>
<em>Maximum disk space on the most appropriate volume, accounting for the host resource utilization  (in megabytes): <strong>971 </strong></em>
<em>The virtual machine requirement (in megabytes): 36865</em>
<em>The maximum available space at the time of evaluation, after considering the virtual machine requirements (in megabytes): <strong>971</strong></em>

<a href="https://msdnshared.blob.core.windows.net/media/2017/06/2.jpg"><img width="685" height="209" class="alignnone size-full wp-image-265" alt="" src="https://msdnshared.blob.core.windows.net/media/2017/06/2.jpg" /></a>

While verifying the volumes on destination cluster  we found that there was only one node which had this volume as shown below. To verify the volumes available for placement: Right click on each node-&gt;click on properties-&gt;Hardware-&gt;storage.

<a href="https://msdnshared.blob.core.windows.net/media/2017/06/3.jpg"><img width="689" height="517" class="alignnone wp-image-275" alt="" src="https://msdnshared.blob.core.windows.net/media/2017/06/3.jpg" /></a>

The error message is stating that "Maximum disk space on the most appropriate volume, <em>accounting for the host resource utilization  (in megabytes): 971"</em> . SCVMM is considering the above volume while evaluating resources and giving the error. This volume exists only on one node.  Other nodes of the cluster doesn't have this volume due to which we  removed the above volume from placement by unchecking the "Available for placement". After this we were able to move the VM to destination cluster.]]></content:encoded>
    </item>
    <item>
      <title>How to Create the Logical Switch on Nano Servers through SCVMM 2016</title>
      <link>https://docs.microsoft.com/archive/blogs/somaning/how-to-create-the-logical-switch-on-nano-servers-through-scvmm-2016</link>
      <pubDate>Fri, 24 Feb 2017 19:11:12 GMT</pubDate>
      <dc:creator><![CDATA[Somaning Turwale]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/somaning/?p=205</guid>
      <description><![CDATA[Nano Server is optimized as a lightweight operating system for running “cloud-native” applications...]]></description>
      <content:encoded><![CDATA[<span style="color: #333333;line-height: 150%;font-family: 'Calibri',sans-serif;font-size: 11pt">Nano Server is optimized as a lightweight operating system for running “cloud-native” applications based on containers and micro-services or as an agile and cost-effective datacenter host with a dramatically smaller footprint, there are important differences in Nano Server versus Server Core or Server with Desktop Experience installations.</span>

Note: This blog is to address the Uplink mode and Teaming mode for Nano server. Rest of the logical switch concept remains same. For more information on Logical switch creation go through below article

<a href="https://technet.microsoft.com/en-us/system-center-docs/vmm/manage/manage-network-logical-switches">https://technet.microsoft.com/en-us/system-center-docs/vmm/manage/manage-network-logical-switches</a>

<span>On Nano server </span><span>NIC Teaming (specifically, load balancing and failover, or LBFO) is not supported. Switch-embedded teaming (SET) is supported instead.</span>

<a href="https://technet.microsoft.com/en-us/windows-server-docs/get-started/getting-started-with-nano-server">https://technet.microsoft.com/en-us/windows-server-docs/get-started/getting-started-with-nano-server</a>

So we need to create logical switch in SCVMM considering the above constraint

Login to SCVMM console &gt; Go to Fabric &gt; Networking &gt; Logical switch

Create new Logical switch, Provide the name for logical switch. Select uplink mode as Embedded Team.

<a href="https://msdnshared.blob.core.windows.net/media/2017/02/nano1.jpg"><img width="756" height="569" class="alignnone wp-image-215 size-full" alt="nano1" src="https://msdnshared.blob.core.windows.net/media/2017/02/nano1.jpg" /></a>

Go through the wizard and select the required options

In uplinks option &gt;click on Add New Uplink Port Profile and provide the name for the profile.

Need to select the Teaming mode as Switch Independent because Nano supports only switch independent. Below is reference article

<cite><a href="https://technet.microsoft.com/en-us/windows-server-docs/networking/technologies/hyper-v-virtual-switch/rdma-and-switch-embedded-teaming#bkmk_modes">https://technet.microsoft.com/en-us/windows-server-docs/networking/technologies/hyper-v-virtual-switch/rdma-and-switch-embedded-teaming#bkmk_modes</a></cite>

Another key difference between NIC Teaming and SET is that NIC Teaming provides the choice of three different teaming modes, while SET supports only <span>Switch Independent</span> mode.

<a href="https://msdnshared.blob.core.windows.net/media/2017/02/Nano2.jpg"><img width="812" height="570" class="alignnone size-full wp-image-225" alt="nano2" src="https://msdnshared.blob.core.windows.net/media/2017/02/Nano2.jpg" /></a>

&nbsp;
<p style="color: #333333;font-family: 'Helvetica Neue';font-size: 10.5pt;margin-top: 0pt;margin-bottom: 7pt">Now we can apply the above logical switch to Nono host which is managed by SCVMM.</p>
If we select other Teaming mode as show below e.g. LACP then will get error while applying to Nono host

<a href="https://msdnshared.blob.core.windows.net/media/2017/02/Nano3.jpg"><img width="757" height="571" class="alignnone size-full wp-image-235" alt="nano3" src="https://msdnshared.blob.core.windows.net/media/2017/02/Nano3.jpg" /></a>

<em>Error (2912)</em>

<em>An internal error has occurred trying to contact the 'nano.hoster.lab' server: : .</em>

<em>WinRM: URL: [<a href="https://nano.hoster.lab:5985/">https://nano.hoster.lab:5985</a>], Verb: [INVOKE], Method: [GetFinalResult], Resource: [<a href="https://schemas.microsoft.com/wbem/wsman/1/wmi/root/scvmm/AsyncTask?ID=1004">https://schemas.microsoft.com/wbem/wsman/1/wmi/root/scvmm/AsyncTask?ID=1004</a>]</em>

<em>Unknown error (0x80078005)</em>

<em>Recommended Action</em>

<em>Check that WS-Management service is installed and running on server 'nano.hoster.lab'. For more information use the command "winrm helpmsg hresult". If 'nano.hoster.lab' is a host/library/update server or a PXE server role then ensure that VMM agent is installed and running. Refer to <a href="https://support.microsoft.com/kb/2742275">https://support.microsoft.com/kb/2742275</a> for more details.</em>]]></content:encoded>
    </item>
    <item>
      <title>Unable to create the Protection Group in Azure Site Recovery Portal</title>
      <link>https://docs.microsoft.com/archive/blogs/somaning/unable-to-create-the-protection-group-in-azure-site-recovery-portal</link>
      <pubDate>Tue, 11 Aug 2015 11:48:35 GMT</pubDate>
      <dc:creator><![CDATA[Somaning Turwale]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/somaning/2015/08/11/unable-to-create-the-protection-group-in-azure-site-recovery-portal/</guid>
      <description><![CDATA[Symptom:
In Hyper v to Azure scenario, we get below error&nbsp;while creating the protection group...]]></description>
      <content:encoded><![CDATA[<p style="margin:0in;font-family:Calibri;font-size:11pt;"><span style="font-weight:bold;">Symptom:</span></p>
<p style="margin:0in;font-family:Calibri;font-size:11pt;">In Hyper v to Azure scenario, we get below error&nbsp;while creating the protection group in azure site recovery portal</p>
<p style="margin:0in;font-family:Calibri;font-size:11pt;">&nbsp;</p>
<p style="margin:0in;font-family:Calibri;font-size:11pt;"><span style="font-style:italic;">&quot;AN ERROR OCCURRED WHILE RETRIEVING THE LIST OF SERVERS&quot; </span></p>
<p style="margin:0in;font-family:Calibri;font-size:11pt;"><span style="font-style:italic;">&nbsp;</span></p>
<p style="margin:0in;font-family:Calibri;font-size:11pt;"><span style="font-style:italic;">&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/94/95/0458.portal.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-94-95/0458.portal.jpg"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/94/95/0458.portal.jpg" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-94-95/0458.portal.jpg" border="0" /></a></span></p>
<p style="margin:0in;font-family:Calibri;font-size:11pt;">We can see an event logged in Hyper v as well<span style="font-style:italic;"> <img alt=" " /></span></p>
<p>To enable the logging&nbsp; login to Hyper V server -&gt;Open the event viewer-&gt; Application and Services Logs -&gt;</p>
<p>Microsoft-&gt;Azure Site Recovery-&gt;Provider-&gt;Operational, right click and enable logging. Once troubleshooting is done disable it.</p>
<p><span style="font-family:book antiqua,palatino;font-size:small;">Log Name:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Microsoft-Azure Site Recovery-Provider/Operational</span><br /><span style="font-family:book antiqua,palatino;font-size:small;">Source:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Microsoft-Azure Site Recovery-Provider</span><br /><span style="font-family:book antiqua,palatino;font-size:small;">Date:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 8/11/2015 9:18:58 PM</span><br /><span style="font-family:book antiqua,palatino;font-size:small;">Event ID:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1001</span><br /><span style="font-family:book antiqua,palatino;font-size:small;">Task Category: None</span><br /><span style="font-family:book antiqua,palatino;font-size:small;">Level:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Error</span><br /><span style="font-family:book antiqua,palatino;font-size:small;">Keywords:&nbsp;&nbsp;&nbsp;&nbsp; </span><br /><span style="font-family:book antiqua,palatino;font-size:small;">User:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SYSTEM</span><br /><span style="font-family:book antiqua,palatino;font-size:small;">Computer:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; somlab2.hoster.cool</span><br /><span style="font-family:book antiqua,palatino;font-size:small;">Description:</span><br /><span style="font-family:book antiqua,palatino;font-size:small;">[s:\1654\1524\Sources\Online\RecSrv\SRS\Service\DRA\DRA\EnvironmentChange\EnvChangeManager.cs:498 RefreshFabricLayout] DRA EnvChangeManager session aborted. Will start again later automatically.Exception details:</span><br /><span style="font-family:book antiqua,palatino;font-size:small;">System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.</span><br /><span style="font-family:book antiqua,palatino;font-size:small;">&nbsp;&nbsp; at System.Collections.Generic.Dictionary`2.get_Item(TKey key)</span><br /><span style="font-family:book antiqua,palatino;font-size:small;">&nbsp;&nbsp; at FabricAdapter.ExtensionMethods.GetNicDetails(ManagementObject vmSettings, Dictionary`2 switches)</span><br /><span style="font-family:book antiqua,palatino;font-size:small;">&nbsp;&nbsp; at FabricAdapter.ExtensionMethods.GetAllVirtualMachineDetails()</span><br /><span style="font-family:book antiqua,palatino;font-size:small;">&nbsp;&nbsp; at FabricAdapter.FabricManagement.GetFabricLayout()</span><br /><span style="font-family:book antiqua,palatino;font-size:small;">&nbsp;&nbsp; at Dra.EnvChangeManager.GetFabricLayoutUpdate(DraFabricLayoutUpdate&amp; update)</span><br /><span style="font-family:book antiqua,palatino;font-size:small;">&nbsp;&nbsp; at Dra.EnvChangeManager.RefreshFabricLayout(Object state)</span></p>
<p><span style="font-size:medium;">&nbsp;<span style="font-weight:bold;">Cause:</span></span></p>
<p style="margin:0in;font-family:Calibri;font-size:11pt;"><span style="font-size:small;">While troubleshooting, found that the VM&#39;s Network Adapter showing configuration error as show below. This can happen if VM is connected to virtual switch that has been deleted.</span></p>
<p style="margin:0in;font-family:Calibri;font-size:11pt;"></p>
<p style="margin:0in;font-family:Calibri;font-size:11pt;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/94/95/5241.hyperv.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-94-95/5241.hyperv.jpg"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/94/95/5241.hyperv.jpg" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-94-95/5241.hyperv.jpg" border="0" /></a></p>
<p style="margin:0in;font-family:Calibri;font-size:11pt;"></p>
<p style="margin:0in;font-family:Calibri;font-size:11pt;"><span style="font-family:book antiqua,palatino;font-size:medium;"><strong>Resolution:</strong></span></p>
<p>1 Ensure that all VM&#39;s doesn&#39;t shows Configuration Error in hyper v server.</p>
<p>2 To fix the Configuration Error,&nbsp;either the NIC has to be connected to proper virtual switch or&nbsp; Not connected.</p>
<p>3 Once the VM NIC status is corrected</p>
<p>4&nbsp;Open an elevated Command Prompt window. To do this, click Start, type cmd, right-click cmd.exe in the results list, and then click Run as administrator.</p>
<p>3 At the command prompt, run the following command:</p>
<p>&nbsp;&nbsp; net stop DRA</p>
<p>&nbsp;&nbsp; net start DRA</p>
<p>4 On the Servers page in the Azure portal, Refresh the hyper v server.</p>
<p>&nbsp;</p>
<p>After you complete these steps, you should be able to create a protection group successfully.</p>
<p></p>]]></content:encoded>
    </item>
    <item>
      <title>How to update untrusted hosts in System Center 2012 R2 Virtual Machine Manager</title>
      <link>https://docs.microsoft.com/archive/blogs/somaning/how-to-update-untrusted-hosts-in-system-center-2012-r2-virtual-machine-manager</link>
      <pubDate>Fri, 05 Jun 2015 10:52:08 GMT</pubDate>
      <dc:creator><![CDATA[Somaning Turwale]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/somaning/2015/06/05/how-to-update-untrusted-hosts-in-system-center-2012-r2-virtual-machine-manager/</guid>
      <description><![CDATA[Please click here ]]></description>
      <content:encoded><![CDATA[<p>Please click <a href="/b/scvmm/archive/2015/05/19/how-to-update-untrusted-hosts-in-system-center-2012-r2-virtual-machine-manager.aspx">here </a></p>]]></content:encoded>
    </item>
    <item>
      <title>Deploying Web server (IIS) Virtual Machine Role through Gallery from WAP Tenant Portal</title>
      <link>https://docs.microsoft.com/archive/blogs/somaning/deploying-web-server-iis-virtual-machine-role-through-gallery-from-wap-tenant-portal</link>
      <pubDate>Tue, 23 Sep 2014 14:51:52 GMT</pubDate>
      <dc:creator><![CDATA[Somaning Turwale]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/somaning/2014/09/23/deploying-web-server-iis-virtual-machine-role-through-gallery-from-wap-tenant-portal/</guid>
      <description><![CDATA[When I tried to deploy the Web server (IIS) VM role from WAP. I ran into multiple issues. I thought...]]></description>
      <content:encoded><![CDATA[<p>When I tried to deploy the Web server (IIS) VM role from WAP. I ran into multiple issues. I thought to share so that it can help others.<br />I imported the IIS gallery item using GRIT 1.2 tool and tried to deploy from the WAP Tenant Portal and got below errors</p>
<p><strong>This I got when I used the manually syspreped VHDX:</strong></p>
<p>Error (13206)<br />Virtual Machine Manager cannot locate the boot or system volume on virtual machine Computer002. The resulting virtual machine might not start or operate properly.</p>
<p><strong>This I got when I used the Convert-WindowsImage.ps1 without including the NetFx3 feature in VHD:</strong></p>
<p>Error (31304)<br />VM Role resource (iis01) was not successfully deployed in the Cloud Service.</p>
<p>Error (22011)<br />VMM failed to enable the specified server features Web-WMI;Web-Request-Monitor;Web-Scripting-Tools;Web-Custom-Logging;Web-Digest-Auth;Web-Windows-Auth;Web-Url-Auth;Web-WHC;Web-Static-Content;Web-Ftp-Server;Web-Mgmt-Console;Web-Default-Doc;Web-ISAPI-Filter;Web-Server;Web-Filtering;Web-App-Dev;Web-Net-Ext45;Web-Log-Libraries;Web-CertProvider;Web-Dyn-Compression;Web-Includes;Web-Basic-Auth;Web-WebServer;Web-Lgcy-Scripting;Web-Http-Logging;Web-IP-Security;Web-Http-Errors;Web-Stat-Compression;Web-CGI;Web-ISAPI-Ext;Web-ASP;Web-AppInit;Web-Ftp-Service;Web-Security;Web-Lgcy-Mgmt-Console;Web-Dir-Browsing;Web-Mgmt-Tools;Web-Http-Redirect;Web-Ftp-Ext;Web-Mgmt-Service;Web-WebSockets;Web-Cert-Auth;Web-Metabase;Web-Performance;Web-Client-Auth;Web-Http-Tracing;Web-Health;Web-Asp-Net45;Web-Net-Ext;Web-Asp-Net;Web-DAV-Publishing;Web-Common-Http;Web-ODBC-Logging;Web-Mgmt-Compat; on the guest virtual machine COMPUTER001. For more information, log on to the virtual machine and view the event log: .</p>
<p>Recommended Action<br />Log on to the virtual machine and view the event logs.</p>
<p></p>
<p>Error (20400)<br />1 parallel subtasks failed during execution.</p>
<p></p>
<p>Error (21952)<br />Application deployment failed for one or more tiers or application hosts in the service iis01. Check job logs to get more information on the failed operation.</p>
<p></p>
<p>Error (22042)<br />The service iis01 was not successfully deployed. Review the event log to determine the cause and corrective actions.</p>
<p><b><span style="font-family:Calibri;">Event Log from the Guest VM which failed to complete IIS installation:</span></b></p>
<p><span>Log Name:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Setup<br />Source:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Microsoft-Windows-Servicing<br />Date:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 9/19/2014 10:35:25 AM<br />Event ID:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 11<br />Task Category: (1)<br />Level:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Information<br />Keywords:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br />User:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SYSTEM<br />Computer:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Computer003<br />Description:<br />Update NetFx3 of package Microsoft .NET Framework 3.0 failed to be turned on. Status: 0x800f0906.</span></p>
<p><b><span style="font-family:Calibri;">Follow the below Steps to successfully deploy the Web server (IIS) Virtual Machine Role:</span></b></p>
<ul>
<li>
<p>Using windows 2012 R2 ISO create the VHDX like below</p>
</li>
<li>
<p>Download the &ldquo;Convert-WindowsImage.ps1&rdquo; from below link</p>
</li>
<li>
<p><a href="https://gallery.technet.microsoft.com/scriptcenter/Convert-WindowsImageps1-0fe23a8f"><span style="color:#0563c1;">https://gallery.technet.microsoft.com/scriptcenter/Convert-WindowsImageps1-0fe23a8f</span></a></p>
</li>
<li>
<p>Open elevated PowerShell, change the parameters according to your environment</p>
</li>
<li>
<p>Then run the command as below</p>
</li>
<li>
<p>Convert-WindowsImage.ps1 -SourcePath D:\Tool\Windows_Server_2012_R2-Datacenter_Edition&ndash;EN-US-X64.ISO -VHDFormat VHDX -VHDType Dynamic -VHDPath &quot;D:\Tool\WAP gallery VHD creation tool\Windows2012R2.vhdx&quot; -SizeBytes 40GB -Edition ServerDataCenter &ldquo;-Feature NetFx3&rdquo;&nbsp;</p>
</li>
<li>
<p>Copy the VHDX to SCVMM library share and refresh the library</p>
</li>
</ul>
<p><b><span>Also Verify the Read-only library share Path is added to cloud properties if it&rsquo;s not added then in tenant portal the VHDX will not list and Capability properties is are also unchecked<br />Cloud Properties:</span></b></p>
<p style="margin-left:30px;"><b><span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/94/95/1.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-94-95/1.jpg"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/94/95/1.jpg" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-94-95/1.jpg" border="0" /></a><br /></span></b></p>
<p style="margin-left:30px;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/94/95/2.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-94-95/2.jpg"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/94/95/2.jpg" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-94-95/2.jpg" border="0" /></a><img alt=" " /></p>
<p><b><span style="font-family:Calibri;font-size:medium;">&nbsp;</span></b><b><span style="font-family:Calibri;">Now Login to SPF server and Follow below Steps to Import the Gallery Item</span></b></p>
<ul>
<li>
<p>Download the GRIT 1.2 tool from below link and Extract it</p>
</li>
<li>
<p><a href="https://gallery.technet.microsoft.com/Gallery-Resource-Import-2273ce71"><span style="color:#0563c1;">https://gallery.technet.microsoft.com/Gallery-Resource-Import-2273ce71</span></a></p>
</li>
</ul>
<ul>
<li>
<p>Open the elevated PowerShell on SPF server</p>
</li>
<li>
<p>Ran the .\GalleryResourceImportTool.ps1 PowerShell&nbsp;</p>
<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/94/95/2.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-94-95/2.jpg"></a></li>
</ul>
<p style="margin-left:30px;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/94/95/3.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-94-95/3.jpg"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/94/95/3.jpg" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-94-95/3.jpg" border="0" /></a></p>
<ul>
<li>
<p>Selected the IIS Gallery Resource and clicked continue</p>
</li>
<li>
<p>In next Wizard click on Virtual Disks Configuration</p>
</li>
<li>
<p>Select the Windows 2012 R2 Standard</p>
</li>
<li>
<p>It will list all the VHD from your Library</p>
</li>
<li>
<p>Select the Syspreped Windows 2012 R2 VHDX as OS disk, Uncheck the &ldquo;Apply Resulting Tags for Family Name&rdquo; then click on Apply these OS disk settings to selected disks and wait until it completes</p>
</li>
<li>
<p>We need at least one Data drive for VM Role, So &nbsp;select on Bland VHDX and click on Apply these Data disk settings</p>
</li>
</ul>
<p style="margin-left:30px;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/94/95/4.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-94-95/4.jpg"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/94/95/4.jpg" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-94-95/4.jpg" border="0" /></a></p>
<ul>
<li>
<p>Now the required Tags are set on OS and Data Disk</p>
</li>
<li>
<p>Click on Gallery Resource Import option</p>
</li>
</ul>
<p style="margin-left:30px;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/94/95/5.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-94-95/5.jpg"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/94/95/5.jpg" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-94-95/5.jpg" border="0" /></a></p>
<ul>
<li>
<p>Select the library server share and click on Import Gallery Resource Extension</p>
</li>
<li>
<p>Once import is successful</p>
</li>
<li>
<p>Go to WAP Admin Portal -&gt;Go to Plans-&gt; Add the Web Server(IIS) gallery item from Gallery item section</p>
</li>
<li>
<p>Login to Tenant Portal and Deploy the Web server (IIS) Virtual Machine Role. It will deploy successfully now</p>
<p>&nbsp;</p>
</li>
</ul>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;</span></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;</span></p>
<p></p>]]></content:encoded>
    </item>
    <item>
      <title>Subscriptions in Windows Azure Pack (WAP) shows “Out of Sync"</title>
      <link>https://docs.microsoft.com/archive/blogs/somaning/subscriptions-in-windows-azure-pack-wap-shows-out-of-sync</link>
      <pubDate>Fri, 14 Mar 2014 12:58:33 GMT</pubDate>
      <dc:creator><![CDATA[Somaning Turwale]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/somaning/2014/03/14/subscriptions-in-windows-azure-pack-wap-shows-out-of-sync/</guid>
      <description><![CDATA[&nbsp;Subscriptions in Windows Azure Pack (WAP) shows &ldquo;Out of...]]></description>
      <content:encoded><![CDATA[<p><span style="font-family:book antiqua,palatino;font-size:small;">&nbsp;Subscriptions in Windows Azure Pack (WAP) shows &ldquo;Out of Sync&quot;</span></p>
<p><span style="font-family:book antiqua,palatino;font-size:small;">&nbsp;</span></p>
<p><span style="font-family:book antiqua,palatino;font-size:small;"><b><span style="text-decoration:underline;">Environment:</span></b></span></p>
<p><span style="font-family:book antiqua,palatino;font-size:small;">WAP and SPF installed on same server</span><br /><span style="font-family:book antiqua,palatino;font-size:small;"> SCVMM: system center virtual machine manager 2012 R2 UR1</span></p>
<p><span style="text-decoration:underline;"><span style="font-family:book antiqua,palatino;font-size:small;"><b>Issue:</b></span></span></p>
<p><span style="font-family:book antiqua,palatino;font-size:small;">Unable to Work with WAP getting error &ldquo;Out of Sync&quot; as show below</span></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/94/95/wap.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-94-95/wap.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/94/95/wap.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-94-95/wap.png" border="0" /></a></p>
<p></p>
<p><span style="font-family:book antiqua,palatino;font-size:small;"><b><span style="text-decoration:underline;">Troubleshooting: </span></b></span></p>
<ul>
<li>
<p><span style="font-family:book antiqua,palatino;font-size:small;">When we try to subscribe plans and we are getting error &ldquo;An error occurred while processing this request&rdquo;</span></p>
</li>
<li>
<p><span style="font-family:book antiqua,palatino;font-size:small;">Followed the below blog of &ldquo;General Troubleshooting List for Windows Azure Pack (WAP) and SPF Integration&rdquo;</span></p>
</li>
<li>
<p><span style="font-family:book antiqua,palatino;font-size:small;"><a href="/b/scvmm/archive/2013/11/12/general-troubleshooting-list-for-windows-azure-pack-wap-and-spf-integration.aspx"><span style="color:#0000ff;">https://blogs.technet.com/b/scvmm/archive/2013/11/12/general-troubleshooting-list-for-windows-azure-pack-wap-and-spf-integration.aspx</span></a></span></p>
</li>
<li>
<p><span style="font-family:book antiqua,palatino;font-size:small;">Still getting the&nbsp; &ldquo;&ldquo;Out of Sync&quot;</span></p>
</li>
</ul>
<p style="margin-left:30px;"><span style="font-family:book antiqua,palatino;font-size:small;">Log Name:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><br /><span style="font-family:book antiqua,palatino;font-size:small;">Source:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Microsoft-ServiceProviderFoundation</span><br /><span style="font-family:book antiqua,palatino;font-size:small;">Date:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2/21/2014 2:43:26 PM</span><br /><span style="font-family:book antiqua,palatino;font-size:small;">Event ID:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 10</span><br /><span style="font-family:book antiqua,palatino;font-size:small;">Task Category: (65524)</span><br /><span style="font-family:book antiqua,palatino;font-size:small;">Level:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Error</span><br /><span style="font-family:book antiqua,palatino;font-size:small;">Keywords:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; None</span><br /><span style="font-family:book antiqua,palatino;font-size:small;">User:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; N/A</span><br /><span style="font-family:book antiqua,palatino;font-size:small;">Computer:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; wap.local</span><br /><span style="font-family:book antiqua,palatino;font-size:small;">Description:</span><br /><span style="font-family:book antiqua,palatino;font-size:small;">Component: Provider&nbsp;</span></p>
<p style="margin-left:30px;"><span style="font-family:book antiqua,palatino;font-size:small;">Failed to create subscription. Reason: Message : An error occurred while processing this request., InnerMessage: &lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;&lt;m:error xmlns:m=&quot;https://schemas.microsoft.com/ado/2007/08/dataservices/metadata&quot;&gt;&lt;m:code /&gt;&lt;m:message xml:lang=&quot;en-US&quot;&gt;An error occurred while processing this request.&lt;/m:message&gt;&lt;m:innererror&gt;&lt;m:message&gt;Invoking method Update of type Microsoft.SystemCenter.Foundation.Psws.Spf.SpfOperationManager failed. Cause of the problem: UserRole update failed on some VMM servers: wilvmmv1;&lt;/m:message&gt;&lt;m:type&gt;Microsoft.Management.Odata.CustomModuleInvocationFailedException&lt;/m:type&gt;&lt;m:stacktrace&gt;&nbsp;&nbsp; at Microsoft.Management.Odata.Core.OperationManagerAdapter.InvokeMethod(IInvoker invoker, String functionName, String resourceTypeName, Boolean ignoreNotImplementedException)&amp;#xD;</span><br /><span style="font-family:book antiqua,palatino;font-size:small;">&nbsp;&nbsp; at Microsoft.Management.Odata.Core.OperationManagerAdapter.CUDRequest(CommandType commandType, ResourceType resourceType, Dictionary`2 properties, Dictionary`2 urlParams)&amp;#xD;</span><br /><span style="font-family:book antiqua,palatino;font-size:small;">&nbsp;&nbsp; at Microsoft.Management.Odata.Core.EntityUpdate.InvokeCommand()&amp;#xD;</span><br /><span style="font-family:book antiqua,palatino;font-size:small;">&nbsp;&nbsp; at Microsoft.Management.Odata.Core.DataServiceUpdateProvider.SaveChanges()&amp;#xD;</span><br /><span style="font-family:book antiqua,palatino;font-size:small;">&nbsp;&nbsp; at System.Data.Services.DataService`1.HandleNonBatchRequest(RequestDescription description)&amp;#xD;</span><br /><span style="font-family:book antiqua,palatino;font-size:small;">&nbsp;&nbsp; at System.Data.Services.DataService`1.HandleRequest()&lt;/m:stacktrace&gt;&lt;m:internalexception&gt;&lt;m:message&gt;UserRole update failed on some VMM servers:&nbsp;&nbsp; </span><br /><span style="font-family:book antiqua,palatino;font-size:small;">&nbsp;&nbsp; at System.Management.Automation.Interpreter.ThrowInstruction.Run(InterpretedFrame frame)&amp;#xD;</span><br /><span style="font-family:book antiqua,palatino;font-size:small;">&nbsp;&nbsp; at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)&lt;/m:stacktrace&gt;&lt;/m:internalexception&gt;&lt;/m:innererror&gt;&lt;/m:error&gt;</span></p>
<ul>
<li><span style="font-family:book antiqua,palatino;font-size:small;">When we tried to check the tenant is created in VMM server we found that the tenant is created</span></li>
<li>
<p><span style="font-family:book antiqua,palatino;font-size:small;">When we checked the jobs in SCVMM we found the below job with error</span></p>
</li>
</ul>
<p style="margin-left:30px;"><span style="font-family:book antiqua,palatino;font-size:small;">Error (20413)</span><br /><span style="font-family:book antiqua,palatino;font-size:small;">VMM encountered a critical exception and created an exception report at C:\ProgramData\VMMLogs\SCVMM.b7cc18df-1adf-435e-9e7a-0e808e02de19\report.txt.</span><br /><span style="font-family:book antiqua,palatino;font-size:small;">&nbsp;</span><br /><span style="font-family:book antiqua,palatino;font-size:small;">Recommended Action</span><br /><span style="font-family:book antiqua,palatino;font-size:small;">See the report for more details and search user forums for well-known failure root causes for self-help.</span></p>
<ul>
<li>
<p><span style="font-family:book antiqua,palatino;font-size:small;">When we looked in to above report file found below information</span></p>
</li>
</ul>
<p style="margin-left:30px;"><span style="font-family:book antiqua,palatino;font-size:small;">&ldquo;EventType=VMM20</span><br /><span style="font-family:book antiqua,palatino;font-size:small;">P1(appName)=vmmservice.exe</span><br /><span style="font-family:book antiqua,palatino;font-size:small;">P2(appVersion)=3.2.7620.0</span><br /><span style="font-family:book antiqua,palatino;font-size:small;">P3(assemblyName)=Utils.dll</span><br /><span style="font-family:book antiqua,palatino;font-size:small;">P4(assemblyVer)=3.2.7620.0</span><br /><span style="font-family:book antiqua,palatino;font-size:small;">P5(methodName)=Microsoft.VirtualManager.DB.SqlRetryCommand.ExecuteNonQuery</span><br /><span style="font-family:book antiqua,palatino;font-size:small;">P6(exceptionType)=Microsoft.VirtualManager.DB.CarmineSqlException</span><br /><span style="font-family:book antiqua,palatino;font-size:small;">P7(callstackHash)=4c11</span></p>
<p style="margin-left:30px;"><span style="font-family:book antiqua,palatino;font-size:small;">SCVMM Version=3.2.7620.0</span><br /><span style="font-family:book antiqua,palatino;font-size:small;">SCVMM flavor=C-buddy-RTL-AMD64</span><br /><span style="font-family:book antiqua,palatino;font-size:small;">Default Assembly Version=3.2.7620.0</span><br /><span style="font-family:book antiqua,palatino;font-size:small;">Executable Name=vmmservice.exe</span><br /><span style="font-family:book antiqua,palatino;font-size:small;">Executable Version=3.2.7510.0</span><br /><span style="font-family:book antiqua,palatino;font-size:small;">Base Exception Target Site=140706051082968</span><br /><span style="font-family:book antiqua,palatino;font-size:small;">Base Exception Assembly name=System.Data.dll</span><br /><span style="font-family:book antiqua,palatino;font-size:small;">Base Exception Method Name=System.Data.SqlClient.SqlConnection.OnError</span><br /><span style="font-family:book antiqua,palatino;font-size:small;">Exception Message=Unable to connect to the VMM database because of a general database failure.</span><br /><span style="font-family:book antiqua,palatino;font-size:small;">Ensure that the SQL Server is running and configured correctly, then try the operation again.</span><br /><span style="font-family:book antiqua,palatino;font-size:small;">EIP=0x00007ff8c0beab78</span><br /><span style="font-family:book antiqua,palatino;font-size:small;">Build bit-size=64</span></p>
<p style="margin-left:30px;"><span style="font-family:book antiqua,palatino;font-size:small;">----------------------------------------------------</span><br /><span style="font-family:book antiqua,palatino;font-size:small;">------------ exceptionObject.ToString() ------------</span><br /><span style="font-family:book antiqua,palatino;font-size:small;">----------------------------------------------------</span><br /><span style="font-family:book antiqua,palatino;font-size:small;">Microsoft.VirtualManager.DB.CarmineSqlException: Unable to connect to the VMM database because of a general database failure.</span><br />Ensure that the SQL Server is running and configured correctly, then try the operation again. ---&gt; System.Data.SqlClient.SqlException: Procedure or function prc_RBS_UserRoleSharedObjectRelation_Insert has too many arguments specified.&rdquo;</p>
<p>&nbsp;<span style="font-family:book antiqua,palatino;font-size:medium;"><b><span style="text-decoration:underline;">Solution:</span></b></span></p>
<p style="margin-left:30px;">&nbsp;<span style="font-family:book antiqua,palatino;font-size:small;">Based on the above findings it looks like we have not applied the SQL script in which comes with SCVMM 2012 UR1 <a href="https://support.microsoft.com/kb/2904712"><span style="color:#0000ff;">https://support.microsoft.com/kb/2904712</span></a></span></p>
<p style="margin-left:30px;"><span style="font-family:book antiqua,palatino;font-size:small;">After applying the script we are able to add the subscriptions successfully and it synced without any errors.</span></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp; </span></p>
<p></p>]]></content:encoded>
    </item>
    <item>
      <title>How to sequence the Microsoft System Center 2012 Configuration Manager Admin Console with Microsoft App-V</title>
      <link>https://docs.microsoft.com/archive/blogs/somaning/how-to-sequence-the-microsoft-system-center-2012-configuration-manager-admin-console-with-microsoft-app-v</link>
      <pubDate>Tue, 15 Jan 2013 09:28:00 GMT</pubDate>
      <dc:creator><![CDATA[Somaning Turwale]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/somaning/2013/01/15/how-to-sequence-the-microsoft-system-center-2012-configuration-manager-admin-console-with-microsoft-app-v/</guid>
      <description><![CDATA[https://blogs.technet.com/b/appv/archive/2013/01/08/how-to-sequence-the-microsoft-system-center-2012-...]]></description>
      <content:encoded><![CDATA[<p><a href="https://blogs.technet.com/b/appv/archive/2013/01/08/how-to-sequence-the-microsoft-system-center-2012-configuration-manager-admin-console-with-microsoft-app-v.aspx?CommentPosted=true#commentmessage">https://blogs.technet.com/b/appv/archive/2013/01/08/how-to-sequence-the-microsoft-system-center-2012-configuration-manager-admin-console-with-microsoft-app-v.aspx?CommentPosted=true#commentmessage</a></p>]]></content:encoded>
    </item>
    <item>
      <title>Whenever Self-Service user role is selected in SCVMM 2008 R2 SP1 Console crashes with error CLR20r3</title>
      <link>https://docs.microsoft.com/archive/blogs/somaning/whenever-self-service-user-role-is-selected-in-scvmm-2008-r2-sp1-console-crashes-with-error-clr20r3</link>
      <pubDate>Tue, 11 Dec 2012 11:30:00 GMT</pubDate>
      <dc:creator><![CDATA[Somaning Turwale]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/somaning/2012/12/11/whenever-self-service-user-role-is-selected-in-scvmm-2008-r2-sp1-console-crashes-with-error-clr20r3/</guid>
      <description><![CDATA[SYMPTOMS
Whenever try to select or right click on the Self-Service user roles in SCVMM console. The...]]></description>
      <content:encoded><![CDATA[<p><span style="font-family: times new roman,times; font-size: medium;"><strong>SYMPTOMS</strong></span></p>
<p><span style="font-family: times new roman,times; font-size: medium;">Whenever try to select or right click on the Self-Service user roles in SCVMM console. The console crashes with below error</span></p>
<p><span style="font-family: times new roman,times; font-size: small;">Description:</span><br /><span style="font-family: times new roman,times; font-size: small;">&nbsp; Stopped working</span></p>
<p><span style="font-family: times new roman,times; font-size: small;">Problem signature:</span><br /><span style="font-family: times new roman,times; font-size: small;">&nbsp; Problem Event Name&nbsp; :&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CLR20r3</span><br /><span style="font-family: times new roman,times; font-size: small;">&nbsp; Problem Signature 01:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; vmmadmin.exe</span><br /><span style="font-family: times new roman,times; font-size: small;">&nbsp; Problem Signature 02:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1.0.523.0</span><br /><span style="font-family: times new roman,times; font-size: small;">&nbsp; Problem Signature 03:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4d432cdf</span><br /><span style="font-family: times new roman,times; font-size: small;">&nbsp; Problem Signature 04:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System.Windows.Forms</span><br /><span style="font-family: times new roman,times; font-size: small;">&nbsp; Problem Signature 05:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2.0.0.0</span><br /><span style="font-family: times new roman,times; font-size: small;">&nbsp; Problem Signature 06:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4f682206</span><br /><span style="font-family: times new roman,times; font-size: small;">&nbsp; Problem Signature 07:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 14d0</span><br /><span style="font-family: times new roman,times; font-size: small;">&nbsp; Problem Signature 08:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 23</span><br /><span style="font-family: times new roman,times; font-size: small;">&nbsp; Problem Signature 09:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System.ObjectDisposedException</span><br /><span style="font-family: times new roman,times; font-size: small;">&nbsp; OS Version:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 6.1.7601.2.1.0.274.10</span><br /><span style="font-family: times new roman,times; font-size: small;">&nbsp; Locale ID:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1033</span></p>
<p><span style="font-family: times new roman,times; font-size: medium;"><strong>CAUSE</strong></span></p>
<p><span style="font-size: small;">The assigned resources (Templates) has been deleted or moved to different location</span></p>
<p><span style="font-size: small;">When Self-Service user role is selected it will try finding the assigned resources. Since assigned resource doesn&rsquo;t exist it will through the above exception</span></p>
<p><span style="font-family: times new roman,times; font-size: medium;"><strong>RESOLUTION</strong></span></p>
<p><span style="font-size: small;">&nbsp;1.&nbsp; Click on start -&gt; All Programs-&gt; Virtual Machine Manager-&gt; right click on &ldquo;Virtual Machine Manager Command Shell&rdquo;&nbsp; Run as Administrator</span></p>
<p><span style="font-size: small;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The below commands will help you to delete the problematic SSP user role from SCVMM</span></p>
<p><span style="font-size: small;"><strong>&nbsp;</strong>2.&nbsp; Get-VMMUserRole &ndash;Name &ldquo;Name of the SSP user role which you want to delete&rdquo; </span></p>
<p><span style="font-size: small;">&nbsp;3.&nbsp;&nbsp;$UR= Get-VMMUserRole &ndash;Name &ldquo;Name of the SSP user role which you want to delete&rdquo;&nbsp;</span></p>
<p><span style="font-size: small;">&nbsp;4.&nbsp;&nbsp;Remove-VMMUserRole &ndash;UserRole $UR</span></p>
<p>&nbsp;</p>
<p><span style="font-family: times new roman,times; font-size: medium;"><strong>MORE INFORMATION</strong></span></p>
<p><span style="font-family: times new roman,times; font-size: medium;"><strong><a href="https://technet.microsoft.com/en-us/library/hh801697.aspx">https://technet.microsoft.com/en-us/library/hh801697.aspx</a></strong></span></p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>Virtual Machine Deployment through Template fail with error 1700 in SCVMM 2008 R2 SP1</title>
      <link>https://docs.microsoft.com/archive/blogs/somaning/virtual-machine-deployment-through-template-fail-with-error-1700-in-scvmm-2008-r2-sp1</link>
      <pubDate>Mon, 20 Aug 2012 11:32:00 GMT</pubDate>
      <dc:creator><![CDATA[Somaning Turwale]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/somaning/2012/08/20/virtual-machine-deployment-through-template-fail-with-error-1700-in-scvmm-2008-r2-sp1/</guid>
      <description><![CDATA[SYMPTOMS:
New virtual machine deployment through the template will fail with the Error 1700 at 1.6...]]></description>
      <content:encoded><![CDATA[<h1><b><span style="font-size: small;" size="3"><span style="font-family: Calibri;" face="Calibri">SYMPTOMS:</span></span></b></h1>
<p><span style="font-size: small;" size="3"><span style="font-family: Calibri;" face="Calibri">New virtual machine deployment through the template will fail with the Error 1700 at 1.6 Virtual machine customize phase. Same time SCVMM Admin Console crashes with error 1612 and Event ID 19999 and 1 are logged to the VM Manager Event log.&nbsp; </span></span></p>
<p><strong><span style="font-size: small;" size="3"><span style="font-family: Calibri;" face="Calibri">Error (1700)<br /></span></span></strong><span style="font-size: small;" size="3"><span style="font-family: Calibri;" face="Calibri">The Virtual Machine Manager Service on the SCVMM server stopped while this job was running. This may have been caused by a system restart.</span></span><span style="font-size: small;" size="3"><span style="font-family: Calibri;" face="Calibri"><br />Recommended Action<br /></span></span><span style="font-size: small;" size="3"><span style="font-family: Calibri;" face="Calibri">To restart this job, navigate to the Jobs view and select the job in the results pane. Then, in the Actions pane, click Restart.</span></span><strong><span style="font-size: small;" size="3"><span style="font-family: Calibri;" face="Calibri"><br /></span></span></strong><span style="font-size: small;" size="3"><span style="font-family: Calibri;" face="Calibri"></span></span></p>
<p><span style="font-size: small;" size="3"><span style="font-family: Calibri;" face="Calibri">Event ID&rsquo;s in VM Manager Event logs:</span></span></p>
<p><span style="font-size: small;" size="3"><span style="font-family: Calibri;" face="Calibri">Log Name:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; VM Manager<br />Source:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Virtual Machine Manager<br />Date:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;8/17/2012 2:09:40 PM<br />Event ID:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<strong>19999</strong><br />Task Category:&nbsp;&nbsp;None<br />Level:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Error<br />Keywords:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Classic<br />User:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;N/A<br />Computer:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SCVMM server<br />Description:<br />Virtual Machine Manager (vmmservice: 1680) has encountered an error and needed to exit the process. Windows generated an error report with the following parameters: <br />Event:VMM20<br />P1(appName):vmmservice<br />P2(appVersion):2.0.4521.0<br />P3(assemblyName):SysPrepInfUtil<br />P4(assemblyVer):2.0.4521.0<br />P5(methodName):M.V.W.UnattendXMLFile..ctor<br />P6(exceptionType):S.IO.FileLoadException<br />P7(callstackHash):7ac4</span></span></p>
<p><span style="font-size: small;" size="3"><span style="font-family: Calibri;" face="Calibri">Source:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Virtual Machine Manager<br />Date:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 8/17/2012 2:09:40 PM<br />Event ID:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1<br />Task Category:&nbsp;&nbsp;&nbsp; None<br />Level:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Error<br />Keywords:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Classic<br />User:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; N/A<br />Computer:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SCVMM server <br />Description:<br />System.IO.FileLoadException: Could not load file or assembly <strong>'Microsoft.ComponentStudio.ComponentPlatformInterface, Version=6.0.0.0</strong>, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (<strong>Exception from HRESULT: 0x80131040</strong>)<br />File name: 'Microsoft.ComponentStudio.ComponentPlatformInterface, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'<br />at Microsoft.VirtualManager.WorkloadCreation.UnattendXMLFile..ctor(String path, Version osVersion,&nbsp;&nbsp; Architecture arch, ProductType ptype)<br />at Microsoft.VirtualManager.WorkloadCreation.UnattendXMLFile.CreateUnattendXMLFile(String path, Version osVersion, Architecture arch, ProductType ptype)<br />at Microsoft.VirtualManager.Engine.VmOperations.CustomizeVMSubtask.createAnswerFile(OSConfig osfg, String answerfilepath)<br />&nbsp;&nbsp; at Microsoft.VirtualManager.Engine.VmOperations.CustomizeVMSubtask.generateAnswerFile()<br />&nbsp;&nbsp; at Microsoft.VirtualManager.Engine.VmOperations.CustomizeVMSubtask.RunSubtask()<br />&nbsp;&nbsp; at Microsoft.VirtualManager.Engine.TaskRepository.SubtaskBase.Run()<br />&nbsp;&nbsp; at Microsoft.VirtualManager.Engine.VmOperations.NewVmFromTemplateSubtask.PostVmCreationCustomize()<br />&nbsp;&nbsp; at Microsoft.VirtualManager.Engine.VmOperations.NewVmSubtaskBase.RunNewVmSubtasks()<br />&nbsp;&nbsp; at Microsoft.VirtualManager.Engine.VmOperations.NewVmSubtaskBase.RunSubtask()<br />&nbsp;&nbsp; at Microsoft.VirtualManager.Engine.TaskRepository.SubtaskBase.Run()<br />&nbsp;&nbsp; at Microsoft.VirtualManager.Engine.TaskRepository.Task`1.SubtaskRun(Object state)<br />WRN: Assembly binding logging is turned OFF.<br />To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.<br />Note: There is some performance penalty associated with assembly bind failure logging.<br />To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].<br />-2146234304</span></span></p>
<p></p>
<p><b><span style="font-size: small;" size="3"><span style="font-family: Calibri;" face="Calibri">CAUSE:</span></span></b></p>
<p><span style="font-size: small;" size="3"><span style="font-family: Calibri;" face="Calibri">This issue occurs if the Virtual Machine Manager Server assembly doesn&rsquo;t match and also If WAIK installed manually</span></span></p>
<p><span style="font-size: small;" size="3"><span style="font-family: Calibri;" face="Calibri">Current version: Microsoft.ComponentStudio.ComponentPlatformInterface, Version=6.1.0.0 </span></span></p>
<p><span style="font-size: small;" size="3"><span style="font-family: Calibri;" face="Calibri">Expected Version: Microsoft.ComponentStudio.ComponentPlatformInterface, Version=6.0.0.0</span></span></p>
<p><b><span style="font-size: small;" size="3"><span style="font-family: Calibri;" face="Calibri">RESOLUTION:</span></span></b></p>
<ol>
<li><span style="font-size: small;" size="3"><span style="font-family: Calibri;" face="Calibri">Take Full Data base back up of Virtual Machine Manager DB</span></span></li>
<li><span style="font-size: small;" size="3"><span style="font-family: Calibri;" face="Calibri">Uninstalled the SCVMM with retain database option</span></span></li>
<li><span style="font-size: small;" size="3"><span style="font-family: Calibri;" face="Calibri">Uninstall &nbsp;WAIK from Add Remove Programs, If exists&nbsp;</span></span></li>
<li><span style="font-size: small;" size="3"><span style="font-family: Calibri;" face="Calibri">Go to C:\Windows\assembly on SCVMM server</span></span></li>
<li><span style="font-size: small;" size="3"><span style="font-family: Calibri;" face="Calibri">Find the Microsoft.ComponentStudio.xxxx components right click and uninstall them</span></span></li>
<li><span style="font-size: small;" size="3"><span style="font-family: Calibri;" face="Calibri">Install the SCVMM 2008 R2 SP1 with existing database, it will install the Correct WAIK&nbsp;</span></span></li>
<li><span style="font-size: small;" size="3"><span style="font-family: Calibri;" face="Calibri">Install the Virtual Machine manager patches </span></span></li>
<li><span style="font-size: small;" size="3"><span style="font-family: Calibri;" face="Calibri">Reboot the Virtual machine manager server</span></span></li>
<li><span style="font-size: small;" size="3"><span style="font-family: Calibri;" face="Calibri">Now try to&nbsp;deploy the VM&nbsp;through templates, it&nbsp;will complete successfully</span></span></li>
</ol>
<p><span style="font-size: small;" size="3"><span style="font-family: Calibri;" face="Calibri"></span></span>&nbsp;</p>]]></content:encoded>
    </item>
  </channel>
</rss>