<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>A Friend, when in need of help with Microsoft Forefront Security Products</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/nitinsingh/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/nitinsingh/feed.xml</link>
    <description>When you think you need some help on ISA/TMG and UAG. I will be there for your help.</description>
    <lastBuildDate>Wed, 17 Apr 2019 03:11:46 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Unable to install Microsoft Azure Recovery Services Agent(MARS) on the Hyper-V server in a Hyper-V to Azure ASR(Azure Site Recovery) scenario</title>
      <link>https://docs.microsoft.com/archive/blogs/nitinsingh/unable-to-install-microsoft-azure-recovery-services-agentmars-on-the-hyper-v-server-in-a-hyper-v-to-azure-asrazure-site-recovery-scenario</link>
      <pubDate>Wed, 10 Feb 2016 11:45:17 GMT</pubDate>
      <dc:creator><![CDATA[Nitin S]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/nitinsingh/2016/02/10/unable-to-install-microsoft-azure-recovery-services-agentmars-on-the-hyper-v-server-in-a-hyper-v-to-azure-asrazure-site-recovery-scenario/</guid>
      <description><![CDATA[&#160;  In this scenario we had some Issues with VM replication on Azure. So customer had removed...]]></description>
      <content:encoded><![CDATA[<p>&#160;</p>  <p>In this scenario we had some Issues with VM replication on Azure. So customer had removed the Protection completely and he was trying to configure it again. In this process he had also uninstalled the ASR Provider as well from the Hyper-V server and even the ASR Agent was also uninstalled it seems.</p>  <p>So we installed the Provider first on the Hyper-V host and then we were trying to install the MARS Agent, but that was just failing to even launch the Wizard.</p>  <p>&#160;</p>  <p>After researching a bit on this issue, we found out that this type of issue can occur if the following registry key exists on the Hyper-V Host while installing the MARS Agent:</p>  <p>&#160;</p>  <p>HKCR\Installer\UpgradeCodes\9E3CC81A48FC05646B4407520C8CC01D</p>  <p>&#160;</p>  <p>We searched for the above Registry key and it was present on the Server. SO we went ahead and Renamed the key <strong>9E3CC81A48FC05646B4407520C8CC01D </strong>To <strong>9E3CC81A48FC05646B4407520C8CC01D_OLD </strong>and then we tried to re-install the MARS Agent again on the Hyper-V server. This time we were able to launch the Agent installation Wizard successfully and we could configure it fine as well.</p>  <p>&#160;</p>  <p>So, this was one more case where it proved that how the Stale Registry entries can cause issues with the new installations or set ups.</p>  <p>&#160;</p>  <p><strong>Author:</strong></p>  <p><strong>Nitin Singh</strong></p>  <p><strong>Support Escalation Engineer</strong></p>  <p><strong>Microsoft Security and Manageability Division</strong></p>]]></content:encoded>
    </item>
    <item>
      <title>Unable to Add an SOFS Storage on the System Centre 2012 R2 Virtual Machine Manager Server</title>
      <link>https://docs.microsoft.com/archive/blogs/nitinsingh/unable-to-add-an-sofs-storage-on-the-system-centre-2012-r2-virtual-machine-manager-server</link>
      <pubDate>Wed, 10 Feb 2016 11:16:38 GMT</pubDate>
      <dc:creator><![CDATA[Nitin S]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/nitinsingh/2016/02/10/unable-to-add-an-sofs-storage-on-the-system-centre-2012-r2-virtual-machine-manager-server/</guid>
      <description><![CDATA[&#160;  The set up in this case was that we had a two node Windows Storage Server 2012 R2 based...]]></description>
      <content:encoded><![CDATA[<p>&#160;</p>  <p>The set up in this case was that we had a two node <strong>Windows Storage Server 2012 R2 based Scale Out File Server </strong>Cluster. </p>  <p>When we were trying to add this SOFS Storage in VMM using the &quot;Add Storage Devices Wizard&quot; we were getting the following error at the stage &quot;Discover and import storage device information&quot;:</p>  <p><b></b></p>  <p><b></b></p>  <p><b>Storage discovery of provider {0869e333-12f6-44c7-b6b7-7139530a18c9} for user usramdom\svc.vmm failed from 101VMM01.magnetek.com with error code 46010. </b></p>  <p><b></b></p>  <p><b>Specify valid provider, port and user credentials for storage discovery. </b><b>ID: 26101.</b></p>  <p><strong></strong></p>  <p>As we do on most of the VMM cases , we collected the VMM Debug ETL tracing in this case as well using the steps mentioned in the article below:</p>  <p><strong></strong></p>  <p><a title="https://support.microsoft.com/en-us/kb/2913445" href="https://support.microsoft.com/en-us/kb/2913445"><strong>https://support.microsoft.com/en-us/kb/2913445</strong></a>&#160;</p>  <p>&#160;</p>  <p>After collecting the VMM logs, we analysed the trace logs and saw the errors below:</p>  <p>&#160;</p>  <p>569 [0]053C.139C::‎2016‎-‎01‎-‎28 11:04:23.065 [Microsoft-VirtualMachineManager-Debug]4,4,SCXStorageService.cs,1578,Found provider TargetServer = , Name = Storage Spaces Management Provider, Type = 1, ObjectId = {<b>1}\<font style="background-color: #ffff00">\101VMM01\root/Microsoft/Windows/Storage/Providers_v2\SPACES_StorageProvider.ObjectId</font>=&quot;{0869e333-12f6-44c7-b6b7-7139530a18c9}&quot;,</b> URI = , UniqueId = {0869e333-12f6-44c7-b6b7-7139530a18c9}:101VMM01,{00000000-0000-0000-0000-000000000000}</p>  <p>580 [0]053C.139C::‎2016‎-‎01‎-‎28 11:04:24.174 [Microsoft-VirtualMachineManager-Debug]4,4,WsmanAPIWrapper.cs,2436,WinRM: URL: [http://101vmm01.magnetek.com:5985], Verb: [INVOKE], Method: [Discover], Resource: [<font style="background-color: #ffff00">http://schemas.microsoft.com/wbem/wsman/1/wmi/root/microsoft/windows/storage/MSFT_StorageProvider?ObjectId={1}\\101VMM01\root/Microsoft/Windows/Storage/Providers_v2\SPACES_StorageProvider.ObjectId=&quot;{0869e333-12f6-44c7-b6b7-7139530a18c9</font>}&quot;],{00000000-0000-0000-0000-000000000000}</p>  <p>1051 [0]053C.139C::‎2016‎-‎01‎-‎28 11:04:27.<b>252 [<font style="background-color: #ffff00">Microsoft-VirtualMachineManager-Debug]4,4,SCXStorageService.cs,1984,SCX SMIS operation on provider {1}\\101VMM01\root/Microsoft/Windows/Storage/Providers_v2\SPACES_StorageProvider.</font></b><font style="background-color: #ffff00">ObjectId=&quot;{0869e333-12f6-44c7-b6b7-7139530a18c9}&quot; failed with&#160;&#160; CIMStatusCode&#160;&#160;&#160; CIMStatusCodeDescription&#160; from&#160;&#160; ErrorSource&#160; of&#160;&#160; ErrorSourceFormat&#160; and&#160;&#160; ErrorType&#160; with&#160;&#160; Message&#160;&#160;&#160; MessageArguments&#160;&#160;&#160; MessageID&#160;&#160;&#160; OtherErrorSourceFormat&#160;&#160;&#160; OtherErrorType&#160;&#160;&#160; PerceivedSeverity&#160;&#160;&#160; ProbableCause&#160;&#160;&#160; ProbableCauseDescription&#160;&#160;&#160; RecommendedActions&#160;&#160;&#160; OwningEntity ,{00000000-0000-0000-0000-000000000000}</font></p>  <p>&#160;</p>  <p>Then I did some more research on the above Errors and found out that this type of issue can occur if there was an SOFS storage added earlier to the VMM server and was later removed, but it leaves some Registry entries behind, which causes this issue.</p>  <p>We had to look for <strong>ConnectionSubsystems</strong> Registry keys on the VMM server under the location below:</p>  <p>&#160;</p>  <p><strong>HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\StorageManagement\SpacesSMP\ConnectedSubsystems</strong> </p>  <p>&#160;</p>  <p>And there we found out that we had some entries from your Old SOFS cluster which was earlier added to VMM but then later removed from there. But these registry entries were still hanging in there due to some reason.We took the complete Backup of the Registry on VMM. Then we deleted the stale entries of the Old SOFS Cluster from the above Registry Key and then we rebooted the VMM server.</p>  <p>After that when we tried to add the new SOFS Storage on the VMM server, we could add it successfully now.</p>  <p>So, as you can see, the main issue here was the stale Storage registry entries which were still sticking there in the Registry due to some reason.</p>  <p>&#160;</p>  <p><strong>Author:</strong></p>  <p><strong>Nitin Singh</strong></p>  <p><strong>Support Escalation Engineer</strong></p>  <p><strong>Microsoft Security and Manageability Division</strong></p>]]></content:encoded>
    </item>
    <item>
      <title>Virtual Machine Protected using Azure Site Recovery keeps on going to Resynchronization State randomly and then ReSynch will also Fail</title>
      <link>https://docs.microsoft.com/archive/blogs/nitinsingh/virtual-machine-protected-using-azure-site-recovery-keeps-on-going-to-resynchronization-state-randomly-and-then-resynch-will-also-fail</link>
      <pubDate>Mon, 31 Aug 2015 07:00:53 GMT</pubDate>
      <dc:creator><![CDATA[Nitin S]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/nitinsingh/2015/08/31/virtual-machine-protected-using-azure-site-recovery-keeps-on-going-to-resynchronization-state-randomly-and-then-resynch-will-also-fail/</guid>
      <description><![CDATA[&#160;  This Post will take you through an issue where a VM Protected using ASR in a Hyper-V to...]]></description>
      <content:encoded><![CDATA[<p>&#160;</p>  <p>This Post will take you through an issue where a VM Protected using ASR in a Hyper-V to Azure scenario, keeps on going in a Resynchronization state randomly. And when we try to ReSynch, it fails</p>  <p>&#160;</p>  <p>We see the below Error for the VM on the Hyper-V Host On-Prem:</p>  <p>&#160;</p>      <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/34/68/metablogapi/3618.image_02A884D2.png" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-34-68-metablogapi/3618.image_5F00_02A884D2.png"><img title="image" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/34/68/metablogapi/5633.image_thumb_4F6EDC19.png" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-34-68-metablogapi/5633.image_5F00_thumb_5F00_4F6EDC19.png" width="691" height="611" /></a></p>  <p>&#160;</p>  <p>And then the ReSynch was also failing with the Error below:</p>  <p>&#160;</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/34/68/metablogapi/5861.image_638A8953.png" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-34-68-metablogapi/5861.image_5F00_638A8953.png"><img title="image" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/34/68/metablogapi/4520.image_thumb_672B34E1.png" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-34-68-metablogapi/4520.image_5F00_thumb_5F00_672B34E1.png" width="705" height="276" /></a></p>  <p>&#160;</p>  <p>While reviewing the configuration, we came to know that this VM had two Disks, the OS Disk was of around 100 Gigs and the Data Disk was Exactly 1 TB in Size. </p>  <p>According to the Article below the Maximum Disk Size supported for the Data Disk in ASR is 1 TB:</p>  <p>&#160;</p>  <p><a title="http://azure.microsoft.com/en-us/blog/protecting-large-data-disks-using-azure-site-recovery/" href="http://azure.microsoft.com/en-us/blog/protecting-large-data-disks-using-azure-site-recovery/">http://azure.microsoft.com/en-us/blog/protecting-large-data-disks-using-azure-site-recovery/</a>&#160;</p>  <p>&#160;</p>  <p>So, looking at the above limitation of ASR, we decided to Shrink the Data Disk Size by around 100 GB, so that it can come down to 900 GB. And as soon as we did that, we did not see the VM going into the Resynchronization state anymore.</p>  <p>We monitored it for a few days and we still didn’t see any issues.</p>  <p>&#160;</p>  <p><strong>Author:</strong></p>  <p><strong>Nitin Singh</strong></p>  <p><strong>Support Escalation Engineer</strong></p>  <p><strong>Microsoft Security and Manageability Division</strong></p>]]></content:encoded>
    </item>
    <item>
      <title>Unable to Add Hosts from Untrusted Domain to the SCVMM 2012 R2 Server</title>
      <link>https://docs.microsoft.com/archive/blogs/nitinsingh/unable-to-add-hosts-from-untrusted-domain-to-the-scvmm-2012-r2-server</link>
      <pubDate>Thu, 30 Jul 2015 15:04:52 GMT</pubDate>
      <dc:creator><![CDATA[Nitin S]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/nitinsingh/2015/07/30/unable-to-add-hosts-from-untrusted-domain-to-the-scvmm-2012-r2-server/</guid>
      <description><![CDATA[&#160;  Here is another very interesting issue that I worked on a few days back.  Let me first give...]]></description>
      <content:encoded><![CDATA[<p>&#160;</p>  <p>Here is another very interesting issue that I worked on a few days back.</p>  <p>Let me first give you some history about the environment. We had a Few Untrusted Hosts in the perimeter network added to VMM and we tried to update the Host Agent to UR 6 on those Hosts, as the VMM was upgraded to UR 6 as well. But when we tried to upgrade the Agent of those Hosts it gave the below error:</p>  <p><b>Error 10436: Virtual Machine Manager does not support updating or re-associating an agent on a host that is in a non-trusted domain or on a perimeter network.</b></p>  <p><strong></strong></p>  <p>Which was expected according to the Blog Post below:</p>  <p><strong></strong></p>  <p><a title="http://blogs.technet.com/b/scvmm/archive/2015/05/19/how-to-update-untrusted-hosts-in-system-center-2012-r2-virtual-machine-manager.aspx" href="http://blogs.technet.com/b/scvmm/archive/2015/05/19/how-to-update-untrusted-hosts-in-system-center-2012-r2-virtual-machine-manager.aspx">http://blogs.technet.com/b/scvmm/archive/2015/05/19/how-to-update-untrusted-hosts-in-system-center-2012-r2-virtual-machine-manager.aspx</a></p>  <p>&#160;</p>  <p>But then the customer removed those Hosts from Cluster from VMM. And then he was trying to add them back. But now the Host machines were not even getting added back to the Cluster and they stayed in Pending status. Also, we exported the Host Certificates from the Hosts to VMM’s Trusted People Store as it was not happening automatically. And we also updated the VMM agent on the Hosts to UR 6 version manually as well.</p>  <p>And then we again tried to Add the Hosts back to the Cluster in VMM, but it again failed. So, we collected the VMM traces while trying to add the Hosts in the cluster and we saw the below error there:</p>  <p>&#160;</p>  <p><b>SecureCredential savedCredential, String&amp; certificate) *** Carmine error was: CannotRetrieveCertificateError (20909); HR: 0x80072746 *** Host1.Contoso.Com ** The underlying connection was closed: An unexpected error occurred</b></p>  <p><strong></strong></p>  <p><strong>And the Error Code 0x80072746 translates as below:</strong></p>  <p><b>err 0x80072746</b></p>  <p><b># as an HRESULT: Severity: FAILURE (1), FACILITY_WIN32 (0x7), Code 0x2746</b></p>  <p><b># for hex 0x2746 / decimal 10054</b></p>  <p><b>&#160; WSAECONNRESET&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; winerror.h</b></p>  <p><b># An existing connection was forcibly closed by the remote</b></p>  <p><b># host.</b></p>  <p><b># 1 matches found for &quot;0x80072746&quot;</b></p>  <p><strong></strong></p>  <p>As we can see above error is showing that the Remote Host is closing the connection. So to check further on why the Host is closing the connection, we collected a simultaneous Network Capture on the VMM server and the Host while trying to reproduce the issue. And here is what we saw in the Network Capture:</p>  <p><b><u>Network Capture on VMM:</u></b></p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/34/68/metablogapi/7571.clip_image002_272FE276.jpg" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-34-68-metablogapi/7571.clip_5F00_image002_5F00_272FE276.jpg"><img title="clip_image002" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="clip_image002" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/34/68/metablogapi/2677.clip_image002_thumb_3498862D.jpg" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-34-68-metablogapi/2677.clip_5F00_image002_5F00_thumb_5F00_3498862D.jpg" width="1064" height="205" /></a></p>  <p><b><u>Same Communication on the Host:</u></b></p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/34/68/metablogapi/3527.clip_image004_25F06AF9.jpg" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-34-68-metablogapi/3527.clip_5F00_image004_5F00_25F06AF9.jpg"><img title="clip_image004" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="clip_image004" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/34/68/metablogapi/0361.clip_image004_thumb_6C6FEBB2.jpg" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-34-68-metablogapi/0361.clip_5F00_image004_5F00_thumb_5F00_6C6FEBB2.jpg" width="1078" height="209" /></a></p>  <p><strong></strong></p>  <p>So as we can see in the above Network Captures<strong>, </strong>we are getting a SSL Client HELLO on the host from the VMM server, but the Host is not responding with a SERVER HELLO on top of that, which we should expect to see after that. And that’s what looks to be the root cause here.</p>  <p>And because we see the behaviour mentioned above, we had to collect the WinRM listener’s output from the Host and as expected it shows that it is NOT listening on HTTPS on Port 5986, it only had a listener for HTTP Port 5986 as shown below and that is why it doesn’t have the Certificate Bound to it as well:</p>  <p>&#160;</p>  <p>Output for the command&#160; <strong>winrm e winrm/config/listener:</strong></p>  <p>Listener</p>  <p>&#160;&#160;&#160; Address = *</p>  <p>Transport = HTTP</p>  <p>Port = 5986</p>  <p>&#160;&#160;&#160; Hostname</p>  <p>&#160;&#160;&#160; Enabled = true</p>  <p>&#160;&#160;&#160; URLPrefix = wsman</p>  <p>CertificateThumbprint&#160; &lt;&lt;&lt;&lt; It is Blank </p>  <p>&#160;&#160;&#160; ListeningOn = 127.0.0.1, 169.254.2.213, Other IP Addresses</p>  <p>&#160;</p>  <p>We should have expected to see a WinRM Listener for HTTPS Protocol on Port 5986, bound to a valid certificate, which was not the case here.</p>  <p>So we followed the following action plan to delete the current listener and create a new WinRM listener for Port 5986, for the correct protocol HTTPS&#160; and bound to a valid certificate of the Host:</p>  <p>-<strong> WinRM Listener configuration was adjusted</strong></p>  <p><strong>o Deleted the listener</strong></p>  <p><strong>winrm delete winrm/config/listener</strong></p>  <p><strong>o Recreated the listener</strong></p>  <p><strong> winrm create winrm/config/Listener?Address=*+Transport=HTTPS&#160; @{Hostname=&quot;&lt;serverfqdn&lt;&quot;;CertificateThumbprint=&quot;&lt;SCVMM Agent certificate thumbprint&gt;&quot;}</strong></p>  <p>&#160;</p>  <p>After doing this we could see the listener correctly on the Host. Then we re tried to add the Hosts back to the VMM server and it was successful this time.</p>  <p>It was a lot of work done on this Issue, that’s why I wanted to share it with you all, so that if some one else hits the same issue, he would not have to put all these efforts again in resolving it.</p>  <p>I hope it will be helpful.</p>  <p>&#160;</p>  <p><strong>Author:</strong></p>  <p><strong>Nitin Singh</strong></p>  <p><strong>Support Escalation Engineer</strong></p>  <p><strong>Microsoft Security and Manageability Division</strong></p>]]></content:encoded>
    </item>
    <item>
      <title>Getting Error “Another machine with the same SMBIOSGUID is found” while Adding a Host in SCVMM</title>
      <link>https://docs.microsoft.com/archive/blogs/nitinsingh/getting-error-another-machine-with-the-same-smbiosguid-is-found-while-adding-a-host-in-scvmm</link>
      <pubDate>Thu, 30 Jul 2015 14:11:16 GMT</pubDate>
      <dc:creator><![CDATA[Nitin S]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/nitinsingh/2015/07/30/getting-error-another-machine-with-the-same-smbiosguid-is-found-while-adding-a-host-in-scvmm/</guid>
      <description><![CDATA[&#160;  So I am back to share some more interesting issues with you all.  In this particular case we...]]></description>
      <content:encoded><![CDATA[<p>&#160;</p>  <p>So I am back to share some more interesting issues with you all.</p>  <p>In this particular case we were trying to add a Host machine to SCVMM 2012 R2. And although the Server was getting added in VMM, we were seeing the Error below in the Jobs:</p>  <p>&#160;</p>  <p><b>Error (21201)</b></p>  <p><b>Another machine with the same SMBIOSGUID is found.</b></p>  <p><b></b></p>  <p><b>Recommended Action</b></p>  <p><b>An SMBIOS GUID should uniquely identify the machine. Please provide the correct value or contact the machine manufacturer to help update the hardware with correct information.”</b></p>  <p>&#160;</p>  <p>So we removed the Host from VMM and we gathered the VMM traces while trying to add the Host back. And here is what we saw in the Logs:</p>  <p>&#160;</p>  <p>   <br />649597 [1]1384.199C::‎2015‎-‎06‎-‎09 16:43:13.243 [Microsoft-VirtualMachineManager-Debug]4,4,SqlContext.cs,727,Disposing (SqlContext#264d9) {[rw] <font style="background-color: #ffff00">AddHostSubtask.RunSubtasktx</font> = (SqlTransaction#7af68b) System.Data.SqlClient.SqlTransaction, currentTxRecord = (SqlTransactionRecord#22e) commandList: { n=1 { tx:(SqlTransactionRecord#22e) NQ:&quot;<font style="background-color: #ffff00">dbo.prc_PMM_PhysicalMachine_Update(@Id</font>=52f61feb-cf0e-4b91-b44f-cfb70683590c, @BMCType=0, @BMCModule=, @BMCAddress=, @BMCPort=, <font style="background-color: #ffff00">@SMBiosGuid=xxxxxxxxxxxxxxxxxx</font>)&quot;, @6/9/2015 4:43:13 PM [+00:00:00.0468823] } } txRecordList: { n=1&#160; { tx#558 AddHostSubtask.RunSubtask() +00:00:00.1103098 ReadCommitted canRetry: false commands: { n=1 { tx:(SqlTransactionRecord#22e) NQ:&quot;dbo.prc_PMM_PhysicalMachine_Update(@Id=52f61feb-cf0e-4b91-b44f-cfb70683590c, @BMCType=0, @BMCModule=, @BMCAddress=, @BMCPort=, @SMBiosGuid=375d451b-9a1f-4b15-a4f0-9c70b1a7566b)&quot;, @6/9/2015 4:43:13 PM [+00:00:00.0468823] } } } } , conn = (SqlConnection#1a31af) { State: Open Database: VirtualManagerDB DataSource: Server.contoso.com\SCVMM,1433 PacketSize: 8000 ServerVersion: 11.00.3153 StatisticsEnabled: False WorkstationId: USATRAME0914 } },{00000000-0000-0000-0000-000000000000}    <br />649630 [2]1384.199C::‎2015‎-‎06‎-‎09 16:43:13.328 [Microsoft-VirtualMachineManager-Debug]4,2,Task.cs,287,CarmineException [ex#36e] caught by SubtaskRun (catch CarmineException) [[(CarmineException#3368) { Microsoft.VirtualManager.Utils.CarmineException: Another machine with the same SMBIOSGUID is found.&#160; An SMBIOS GUID should uniquely identify the machine. Please provide the correct value or contact the machine manufacturer to help update the hardware with correct information. ---&gt; </p>  <p>&#160;</p>  <p>Looks like VMM Is trying to Update the Stored Procedure &quot;dbo.prc_PMM_PhysicalMachine_Update&quot; in SQL Database with the Object ID 52f61feb-cf0e-4b91-b44f-cfb70683590c and the SMBIOSGUID and that's where it fails.</p>  <p>&#160;</p>  <p>So we followed the action plan below to first find the UUID of the Cluster node and then removed the existing entry of that Host from the DB:</p>  <p>&#160;</p>  <p>1. Open an elevated command prompt and run wmic csproduct get uuid on the Cluster node with which we have the issue </p>  <p>2. That will give us the SMBIOS ID for that server</p>  <p>3. Check that the UUID exists in the SCVMM DB under the tbl_PPM_Physicalmachine&#160; table. </p>  <p>4. Once you verify that the above UUID exists, take a VMM DB backup and then delete the UUIDs from the VMM db.</p>  <p>&#160;</p>  <p>And after following the action plan, we were able to add the Host back to VMM, without any issues and Errors.</p>  <p>&#160;</p>  <p><strong>Author:</strong></p>  <p><strong>Nitin Singh</strong></p>  <p><strong>Support Escalation Engineer</strong></p>  <p><strong>Microsoft Security and Manageability Division</strong></p>]]></content:encoded>
    </item>
    <item>
      <title>What Happens when the Domain Connectivity from the SCVMM server Breaks</title>
      <link>https://docs.microsoft.com/archive/blogs/nitinsingh/what-happens-when-the-domain-connectivity-from-the-scvmm-server-breaks</link>
      <pubDate>Thu, 21 May 2015 10:08:23 GMT</pubDate>
      <dc:creator><![CDATA[Nitin S]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/nitinsingh/2015/05/21/what-happens-when-the-domain-connectivity-from-the-scvmm-server-breaks/</guid>
      <description><![CDATA[&#160;  Friends, I am back with yet another Post on SCVMM(System Centre Virtual Machine Manager). It...]]></description>
      <content:encoded><![CDATA[<p>&#160;</p>  <p>Friends, I am back with yet another Post on SCVMM(System Centre Virtual Machine Manager). It is very simple but still important as it wont tell you about the real issue anywhere in the Errors which you will see on the screen.</p>  <p>&#160;</p>  <p>So, the issue starts from inability to Launch the VMM Console and we see Errors like below:</p>  <p>&#160;</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/34/68/metablogapi/7217.image_00843AFC.png" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-34-68-metablogapi/7217.image_5F00_00843AFC.png"><img title="image" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/34/68/metablogapi/6433.image_thumb_2AF2FCCA.png" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-34-68-metablogapi/6433.image_5F00_thumb_5F00_2AF2FCCA.png" width="585" height="241" /></a></p>  <p>&#160;</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/34/68/metablogapi/5327.image_184093C4.png" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-34-68-metablogapi/5327.image_5F00_184093C4.png"><img title="image" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/34/68/metablogapi/1007.image_thumb_774FB1CD.png" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-34-68-metablogapi/1007.image_5F00_thumb_5F00_774FB1CD.png" width="573" height="267" /></a></p>  <p>&#160;</p>  <p>If we go by the above Errors we will think that it’s a Permissions issue and the user account has gone missing from the RunAs Accounts in VMM.</p>  <p>When you go and check the Local Administrators Group on VMM server you see something like this where instead of the User Accounts we see GUIDs, which might tell that there is some issue going on with the Domain Connectivity:</p>  <p>&#160;</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/34/68/metablogapi/0572.image_044C2290.png" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-34-68-metablogapi/0572.image_5F00_044C2290.png"><img title="image" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/34/68/metablogapi/8360.image_thumb_784CC30C.png" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-34-68-metablogapi/8360.image_5F00_thumb_5F00_784CC30C.png" width="395" height="434" /></a></p>  <p>&#160;</p>  <p>From here we got a clue and we ran the below command to check the Secure Channel to the Domain Controller and that also failed as expected:</p>  <p>&#160;</p>  <p>nltest /sc_verify: Domain.com</p>  <p>&#160;</p>  <p>Then we checked the Event Viewer and we saw the below Events coming there:</p>  <p>&#160;</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/34/68/metablogapi/5432.image_308DCAD6.png" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-34-68-metablogapi/5432.image_5F00_308DCAD6.png"><img title="image" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/34/68/metablogapi/7633.image_thumb_2904EC1A.png" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-34-68-metablogapi/7633.image_5F00_thumb_5F00_2904EC1A.png" width="994" height="190" /></a></p>  <p>&#160;</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/34/68/metablogapi/0488.image_4F696016.png" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-34-68-metablogapi/0488.image_5F00_4F696016.png"><img title="image" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/34/68/metablogapi/2021.image_thumb_6E4264A5.png" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-34-68-metablogapi/2021.image_5F00_thumb_5F00_6E4264A5.png" width="996" height="228" /></a></p>  <p>&#160;</p>  <p>&#160;</p>  <p>After looking at the above Errors, it was confirmed that the issue was with the Domain Connectivity. So we worked on that and after fixing the domain connectivity issue, we were able to Open the VMM console fine.</p>  <p>I hope this will help you addressing similar issues.</p>  <p>&#160;</p>  <p><strong>Author: </strong></p>  <p><strong>Nitin Singh</strong></p>  <p><strong>Support Escalation Engineer</strong></p>  <p><strong>Microsoft Security and Manageability Division</strong></p>]]></content:encoded>
    </item>
    <item>
      <title>Transfer Type is not showing as SAN while trying to Migrate a VM even though the Hosts have SAN storage configured</title>
      <link>https://docs.microsoft.com/archive/blogs/nitinsingh/transfer-type-is-not-showing-as-san-while-trying-to-migrate-a-vm-even-though-the-hosts-have-san-storage-configured</link>
      <pubDate>Wed, 20 May 2015 10:31:50 GMT</pubDate>
      <dc:creator><![CDATA[Nitin S]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/nitinsingh/2015/05/20/transfer-type-is-not-showing-as-san-while-trying-to-migrate-a-vm-even-though-the-hosts-have-san-storage-configured/</guid>
      <description><![CDATA[&#160;  This is another interesting case on which I worked recently where we needed to scratch the...]]></description>
      <content:encoded><![CDATA[<p>&#160;</p>  <p>This is another interesting case on which I worked recently where we needed to scratch the surface in VMM to know what the Root Cause was.</p>  <p>&#160;</p>  <p>We were trying to migrate a VMs in SCVMM from one Host to the other Host. And as both the Hosts had SAN storage configured, most of the VMs were showing the correct “Transfer&#160; Type”. But while migrating a few other VMs we could see the “Transfer Type” as “Network” instead of “SAN”:</p>  <p>&#160;</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/34/68/metablogapi/1321.image_1C650EA8.png" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-34-68-metablogapi/1321.image_5F00_1C650EA8.png"><img title="image" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/34/68/metablogapi/2262.image_thumb_70B6D55C.png" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-34-68-metablogapi/2262.image_5F00_thumb_5F00_70B6D55C.png" width="484" height="314" /></a></p>  <p>&#160;</p>  <p>And we were also getting the Message for “Deployment and Transfer Explanation” as shown above and it said “Virtual Machine resides on a LUN which is not visible to any of the Storage Providers. Which was actually very strange because all the settings for storage were configured correctly.</p>  <p>So to understand what exactly is happening here, we collected the VMM tracing while trying to reproduce the issue as per the Article below:</p>  <p><a title="https://support.microsoft.com/en-us/kb/2913445/en-us" href="https://support.microsoft.com/en-us/kb/2913445/en-us">https://support.microsoft.com/en-us/kb/2913445/en-us</a>&#160;</p>  <p>&#160;</p>  <p>And after we analysed the VMM trace we saw the below message appearing there under the Function <b><font style="background-color: #ffff00">SANMigrationBetweenHAandNonHAHostPrecheck.RunPrecheck</font></b>:</p>  <p>&#160;</p>  <p><b><font style="background-color: #ffff00">DeployLUNNotFoundUsingStorageProvider (26207)</font></b></p>  <p><strong></strong></p>  <p>And also we saw the Below Paths<strong> </strong>being referenced there:</p>  <p><font style="background-color: #ffff00">[Microsoft-VirtualMachineManager-Debug]4,4,SANStorageManagementHelper.cs,1342,filePath C:\Windows\system32\vmguest.iso accessPath </font><font style="background-color: #ffff00"><a href="file://\\?\Volume{21fd0518-ea71-11e4-80cb-bc305bee5327}\">\\?\Volume{21fd0518-ea71-11e4-80cb-bc305bee5327}\</a></font></p>  <p>&#160;</p>  <p>So as you can see in the above path, it is trying to access VMGuest.ISO somehow for this VM which is Ofcourse not SAN Capable or on a SAN storage. SO went back and checked the VM settings in VMM to see if that ISO is Mounted on that VM. But to our surprise that VM did not have any ISO mounted.</p>  <p>&#160;</p>  <p>Our further investigation revealed that the VM had a few Check Points configured and those Check Points had this VMGuest.ISO mounted there as shown below:</p>  <p>&#160;</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/34/68/metablogapi/7411.image_28F7DD26.png" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-34-68-metablogapi/7411.image_5F00_28F7DD26.png"><img title="image" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/34/68/metablogapi/3755.image_thumb_2C9888B4.png" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-34-68-metablogapi/3755.image_5F00_thumb_5F00_2C9888B4.png" width="548" height="361" /></a></p>  <p>&#160;</p>  <p>&#160;</p>  <p>So we deleted those CheckPoints from the VM configuration in VMM and after that when we tried to migrate, we now saw the “SAN” option showing up there as “Transfer Type”.</p>  <p>&#160;</p>  <p>As you can see that even if at the surface everything looks fine you can still have some issues in the configuration deep inside causing Problems like this.</p>  <p>Will catch you later in my upcoming Posts…Happy Reading.</p>  <p>&#160;</p>  <p><strong></strong></p>  <p><strong>Author: </strong></p>  <p><strong>Nitin Singh</strong></p>  <p><strong>Support Escalation Engineer</strong></p>  <p><strong>Microsoft Security and Manageability Division</strong></p>]]></content:encoded>
    </item>
    <item>
      <title>Names don’t get resolved from Windows 2012 R2 Virtual Machines which are using NVGRE to connect to the Internet on SCVMM</title>
      <link>https://docs.microsoft.com/archive/blogs/nitinsingh/names-dont-get-resolved-from-windows-2012-r2-virtual-machines-which-are-using-nvgre-to-connect-to-the-internet-on-scvmm</link>
      <pubDate>Mon, 06 Apr 2015 10:40:39 GMT</pubDate>
      <dc:creator><![CDATA[Nitin S]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/nitinsingh/2015/04/06/names-dont-get-resolved-from-windows-2012-r2-virtual-machines-which-are-using-nvgre-to-connect-to-the-internet-on-scvmm/</guid>
      <description><![CDATA[&#160;  This was a very interesting and weird issue which I worked upon a few days back.  We had a...]]></description>
      <content:encoded><![CDATA[<p>&#160;</p>  <p>This was a very interesting and weird issue which I worked upon a few days back.</p>  <p>We had a few Hosts running 2008 R2 VMs and 2012 R2 VMs. We had a mix of Virtual Networking as well. Some of the VMs were using the VLAN enabled Networks. And some other were using NVGRE Networking, where the VMs Network will point to another VM which acts as a Gateway to the Internet to these VMs. You can get more information about NVGRE in SCVMM in the article below:</p>  <p><a title="http://blogs.technet.com/b/scvmm/archive/2013/09/17/whitepaper-hybrid-clouds-with-nvgre.aspx" href="http://blogs.technet.com/b/scvmm/archive/2013/09/17/whitepaper-hybrid-clouds-with-nvgre.aspx">http://blogs.technet.com/b/scvmm/archive/2013/09/17/whitepaper-hybrid-clouds-with-nvgre.aspx</a>&#160;</p>  <p>So the issue was that all the Routing was working fine from all the VMs. But only part which was not working was the Name resolution and too only from 2012 R2 VMs. The name resolution was working fine from 2008 R2 VMs. Which was very odd, as if it would have been an issue with NVGRE configuration in VMM, then even normal Routing would not have worked. But we still went ahead and checked the complete configuration for NVGRE and everything looked to be properly setup.</p>  <p>Then we collected some Network Captures on the Gateway VM while trying name resolution from one of the 2012 R2 VM, and we could see the DNS Queries coming there and in fact we could see those DNS Queries even going out to the Public DNS servers, as shown below:</p>  <p>&#160;</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/34/68/metablogapi/3652.image_68C7E180.png" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-34-68-metablogapi/3652.image_5F00_68C7E180.png"><img title="image" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/34/68/metablogapi/4503.image_thumb_70DF0DD5.png" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-34-68-metablogapi/4503.image_5F00_thumb_5F00_70DF0DD5.png" width="992" height="88" /></a></p>  <p>&#160;</p>  <p>As we can see above the DNS Queries were going out but there was no response which was coming back or atleast we can not see any response in the Network captures.</p>  <p>&#160;</p>  <p>So we did some research on this weird behavior and we found the below Article from one of our MVPs <strong>Thomas Maurer:</strong></p>  <p><strong></strong></p>  <p><a title="http://www.thomasmaurer.ch/2014/03/hyper-v-network-virtualization-nvgre-no-connection-between-vms-on-different-hyper-v-hosts/" href="http://www.thomasmaurer.ch/2014/03/hyper-v-network-virtualization-nvgre-no-connection-between-vms-on-different-hyper-v-hosts/">http://www.thomasmaurer.ch/2014/03/hyper-v-network-virtualization-nvgre-no-connection-between-vms-on-different-hyper-v-hosts/</a><strong>&#160;</strong></p>  <p>&#160;</p>  <p>And we followed the action plan suggested by Thomas in the above Article to Disable the “Encapsulated Task Offload” on the Broadcom NICs on these Hosts where the 2012 R2 VMs were running. </p>  <p>After that the name resolution started working fine on those 2012 R2 VMs as well.</p>  <p>So, as you saw, it was one of those cases where NIC drivers can cause a lot of weirdness.</p>  <p>&#160;</p>  <p>Again thanks to <strong>Thomas Maurer </strong>for his Excellent Article which helped us in resolving this issue<strong>.</strong></p>  <p><strong></strong></p>  <p><strong></strong></p>  <p><strong>Author:</strong></p>  <p><strong>Nitin Singh</strong></p>  <p><strong>Support Escalation Engineer</strong></p>  <p><strong>Microsoft Security and Manageability Division</strong></p>]]></content:encoded>
    </item>
    <item>
      <title>Getting Errors like ‘Quota Update Failed’ and ‘Out of Sync’ while trying to perform all the Operations for Plans on Azure Site using SCVMM</title>
      <link>https://docs.microsoft.com/archive/blogs/nitinsingh/getting-errors-like-quota-update-failed-and-out-of-sync-while-trying-to-perform-all-the-operations-for-plans-on-azure-site-using-scvmm</link>
      <pubDate>Thu, 02 Apr 2015 07:00:20 GMT</pubDate>
      <dc:creator><![CDATA[Nitin S]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/nitinsingh/2015/04/02/getting-errors-like-quota-update-failed-and-out-of-sync-while-trying-to-perform-all-the-operations-for-plans-on-azure-site-using-scvmm/</guid>
      <description><![CDATA[&nbsp;

&nbsp;

Symptoms

This is one of the other very Interesting VMM cases I worked on recently ....]]></description>
      <content:encoded><![CDATA[&nbsp;

&nbsp;

<b><font size="3"><u>Symptoms</u></font></b>

This is one of the other very Interesting VMM cases I worked on recently . The issue was that we were not able to perform any operations from the Azure Admin Portal including deleting users, deleting subscription for a user and we were getting Errors like 'Plan Out Of sync'&nbsp; and &lsquo;Quota update failed &lsquo;.&nbsp; And infact when we tried to delete one of the subscriptions, it said the &ldquo;There is no Subscription associated with the Tenant&rsquo;'

&nbsp;

<font size="3"><u><strong>Troubleshooting</strong></u></font>

&nbsp;

As there are multiple components involved in the case of Private Clouds like Azure Pack, SPF (Service Provider Foundation) and VMM, the first thing we needed to make sure is that we have latest versions of all these three components installed. Azure Pack should have UR 5 installed, VMM should also have UR 5 installed for VMM Console and Server, and SPF should have UR 4 installed (these versions are as per the current availability, it will keep changing in the future as and when new versions are released for these components). 

SO, we confirmed that all the three components were on the latest versions.

Then we decided to collect Logs while trying to reproduce the issue. And the logs which we required were as follows:

1) VMM Tracing

2) SPF Tracing

3) IIS logs from SPF machine

4) FREP logs from SPF machine

&nbsp;

We used the following Batch Files to collect these logs rather than using the usual method of manually collecting the Traces as per the Articles below:

&nbsp;

Debug Tracing for SPF:

<a href="http://support.microsoft.com/kb/2850280">http://support.microsoft.com/kb/2850280</a>

&nbsp;

Debug Tracing for VMM(Virtual Machine Manager):

<a title="http://support.microsoft.com/en-us/kb/2913445" href="http://support.microsoft.com/en-us/kb/2913445">http://support.microsoft.com/en-us/kb/2913445</a>

&nbsp;

Edit batch files to fit you storage locations:

&nbsp;

<font size="3"><u>SPF Tracing:</u></font>

&nbsp;

@Echo OFF

@Echo ***** Delete and old SFP trace settings*****

logman delete spfdebugtrace

@Echo ***** Create SPF trace *****

logman create trace spfdebugtrace -o %SYSTEMDRIVE%SPFlogsSFPLog_%COMPUTERNAME%.ETL -p Microsoft-ServiceProviderFoundation 0xc000000000000000 0x5

@Echo ***** Update SPF trace with PowerShell *****

logman update spfdebugtrace -p Microsoft-Windows-PowerShell 0xf0010000000003ff 0x5

@Echo ***** Update SPF trace with ActivityEventSource *****

logman update spfdebugtrace -p ActivityEventSource 0x0 0xff

@Echo ***** Start SPFtrace *****

logman start spfdebugtrace

@Echo ***** --- Repro issue --- *****

@Echo ***** --- Press a key to stop --- *****

pause

@Echo ***** Stopping SPFtrace *****

logman stop spfdebugtrace

@Echo ***** Delete SFP trace settings**********

logman delete spfdebugtrace

&nbsp;

<font size="3"><strong><u>VMM tracing:</u></strong></font>

&nbsp;

@Echo OFF

@Echo ***** Delete and old VMM trace files *****

logman delete VMM

@Echo ***** Create VMM trace *****

logman create trace VMM -v mmddhhmm -o %SYSTEMDRIVE%VMMlogsVMMLog_%COMPUTERNAME%.ETL -cnf 01:00:00 -p Microsoft-VirtualMachineManager-Debug -nb 10 250 -bs 16 -max 512 

@Echo ***** Start VMM trace *****

logman start vmm

@Echo ***** --- Repro issue --- *****

@Echo ***** --- Press a key to stop --- *****

pause

@Echo ***** Stopping VMM trace *****

logman stop vmm

&nbsp;

We converted the SPF &amp; VMM traces using NETSH on the machines. E.g.

<font style="background-color: #ffff00">netsh trace convert SFPLog_ SPF01_000001.etl</font>

&nbsp;

&nbsp;

<font size="3">Then I looked at the SPF Tracing logs and see the Errors below:</font>

&nbsp;

1 [0]0D2C.0754::&lrm;2015&lrm;-&lrm;03&lrm;-&lrm;27 15:09:21.026 []***

2 [0]0D2C.0754::&lrm;2015&lrm;-&lrm;03&lrm;-&lrm;27 15:09:21.042 [ActivityEventSource]Started activity [HttpRequestActivity, id {8ab952bd-c43f-4ded-b173-50d4055f9341}] parent activity [WebAuthentication Call, id {4659b10b-cf3a-4bcc-9769-f6e1b8663fe5}]&nbsp;&nbsp;&nbsp; Elapsed: 0ms&nbsp; Context: {c477a2fb-8864-4d89-96c7-24bdccee5b94}&nbsp;&nbsp;&nbsp; Properties: <font style="background-color: #ffff00">RequestUrl=[https://wapserver.contoso.local:8090/provider/subscriptions]</font> &amp; x-ms-client-request-id=[e8dbc04c-5381-40ba-8909-69b83a4f3f13] &amp; x-ms-client-session-id=[99459df3-bb71-4f30-9315-1b0c6c916a58] 

3 [0]0D2C.0754::&lrm;2015&lrm;-&lrm;03&lrm;-&lrm;27 15:09:21.058 [ActivityEventSource]Successfully completed activity [HttpRequestActivity, id {8ab952bd-c43f-4ded-b173-50d4055f9341}] parent activity [WebAuthentication Call, id {4659b10b-cf3a-4bcc-9769-f6e1b8663fe5}]&nbsp;&nbsp;&nbsp; Elapsed: 0ms&nbsp; Context: {c477a2fb-8864-4d89-96c7-24bdccee5b94}&nbsp; Duration: 124ms&nbsp;&nbsp;&nbsp; Properties: OriginalPath=[/provider/subscriptions] &amp; RequestUrl=[https://wapserver.contoso.local:8090/provider/subscriptions] <font style="background-color: #ffff00">&amp; <b>SubscriptionId=[]</b></font> &amp; x-ms-client-request-id=[e8dbc04c-5381-40ba-8909-69b83a4f3f13] &amp; x-ms-client-session-id=[99459df3-bb71-4f30-9315-1b0c6c916a58] 

4 [1]0D2C.0754::&lrm;2015&lrm;-&lrm;03&lrm;-&lrm;27 15:09:24.406 [Microsoft-ServiceProviderFoundation]Component: Provider&nbsp;&nbsp;&nbsp;&nbsp; Activity [WebAuthentication Call, id {4659b10b-cf3a-4bcc-9769-f6e1b8663fe5}]&nbsp; Parent activity [none, id {00000000-0000-0000-0000-000000000000}]&nbsp;&nbsp;&nbsp; Elapsed: 0ms&nbsp; Context: {c477a2fb-8864-4d89-96c7-24bdccee5b94}&nbsp;&nbsp;&nbsp; Creating Tenant and linking to stamp TenantName: <u>user.name</u><a href="http://blogs.msdn.commailto:user.name@contoso.com_a7c63b17-c0fb-48bf-bdc4-5f7db1c2610b">@contoso.com_a7c63b17-c0fb-48bf-bdc4-5f7db1c2610b</a>

5 [0]0D2C.0754::&lrm;2015&lrm;-&lrm;03&lrm;-&lrm;27 15:09:24.484 [Microsoft-ServiceProviderFoundation]Component: Provider&nbsp;&nbsp;&nbsp;&nbsp; Activity [WebAuthentication Call, id {4659b10b-cf3a-4bcc-9769-f6e1b8663fe5}]&nbsp; Parent activity [none, id {00000000-0000-0000-0000-000000000000}]&nbsp;&nbsp;&nbsp; Elapsed: 0ms&nbsp; Context: {c477a2fb-8864-4d89-96c7-24bdccee5b94<b>}&nbsp;&nbsp;&nbsp; <font style="background-color: #ffff00">Failed to delete subscription. Reason: Message : The underlying connection was closed: An unexpected error occurred on a send., InnerMessage: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.</font> </b>

6 [0]0D2C.0754::&lrm;2015&lrm;-&lrm;03&lrm;-&lrm;27 15:09:24.489 [Microsoft-ServiceProviderFoundation]Component: Provider&nbsp;&nbsp;&nbsp;&nbsp; Activity [WebAuthentication Call, id {4659b10b-cf3a-4bcc-9769-f6e1b8663fe5}]&nbsp; Parent activity [none, id {00000000-0000-0000-0000-000000000000}]&nbsp;&nbsp;&nbsp; Elapsed: 0ms&nbsp; Context: {c477a2fb-8864-4d89-96c7-24bdccee5b94}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at System.Net.HttpWebRequest.GetResponse()&nbsp;&nbsp;&nbsp;&nbsp; at System.Data.Services.Client.WebUtil.GetResponseHelper(ODataRequestMessageWrapper request, DataServiceContext context, IAsyncResult asyncResult, Boolean handleWebException)&nbsp;&nbsp;&nbsp;&nbsp; at System.Data.Services.Client.QueryResult.ExecuteQuery(DataServiceContext context)&nbsp;&nbsp;&nbsp;&nbsp; at System.Data.Services.Client.DataServiceRequest.Execute[TElement](DataServiceContext context, QueryComponents queryComponents)&nbsp;&nbsp;&nbsp;&nbsp; at System.Data.Services.Client.DataServiceQuery`1.Execute()&nbsp;&nbsp;&nbsp;&nbsp; at System.Data.Services.Client.DataServiceQuery`1.GetEnumerator()&nbsp;&nbsp;&nbsp;&nbsp; at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source)&nbsp;&nbsp;&nbsp;&nbsp; at System.Data.Services.Client.DataServiceQueryProvider.ReturnSingleton[TElement](Expression expression)&nbsp;&nbsp;&nbsp;&nbsp; at System.Linq.Queryable.FirstOrDefault[TSource](IQueryable`1 source)&nbsp;&nbsp;&nbsp;&nbsp; at Microsoft.SystemCenter.Foundation.Provider.SubscriptionResourceProvider.DeleteSubscription(String id) 

7 [0]0D2C.0754::&lrm;2015&lrm;-&lrm;03&lrm;-&lrm;27 15:09:24.490 [Microsoft-ServiceProviderFoundation]Component: Provider&nbsp;&nbsp;&nbsp;&nbsp; Activity [WebAuthentication Call, id {4659b10b-cf3a-4bcc-9769-f6e1b8663fe5}]&nbsp; Parent activity [none, id {00000000-0000-0000-0000-000000000000}]&nbsp;&nbsp;&nbsp; Elapsed: 0ms&nbsp; Context: {c477a2fb-8864-4d89-96c7-24bdccee5b94}&nbsp;&nbsp;&nbsp; <font style="background-color: #ffff00">The underlying connection was closed: An unexpected error occurred on a send. </font>

8 [0]0D2C.0754::&lrm;2015&lrm;-&lrm;03&lrm;-&lrm;27 15:09:24.491 [Microsoft-ServiceProviderFoundation]Component: Provider&nbsp;&nbsp;&nbsp;&nbsp; Activity [WebAuthentication Call, id {4659b10b-cf3a-4bcc-9769-f6e1b8663fe5}]&nbsp; Parent activity [none, id {00000000-0000-0000-0000-000000000000}]&nbsp;&nbsp;&nbsp; Elapsed: 0ms&nbsp; Context: {c477a2fb-8864-4d89-96c7-24bdccee5b94<b>}&nbsp;&nbsp;&nbsp; <font style="background-color: #ffff00">Message : The underlying connection was closed: An unexpected error occurred on a send., InnerMessage: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.</font></b>

&nbsp;

   <br><font size="3">The main error is below:</font> 

   <br>Failed to delete subscription. Reason: Message : The underlying connection was closed: An unexpected error occurred on a send., InnerMessage: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.     <br>I Researched more on the above Error and came to know that it could occur if the <font style="background-color: #ffff00">SubscriptionID=[]</font> which means if it is Blank then we can hit an issue. 

   <br>So now we had to check the Bindings of IIS on SPF and make sure there are no Duplicate Bindings for the same Port and if they are there then we will have to delete the Binding for a specific IP and leave the one with All IPs with the Self Signed Certificate.

&nbsp; <br>We Checked the IIS Bindings on the SPF machine and found out that there were Two Bindings there for HTTPS Port 8090 and the second Binding did not have any IP address bound to it as shown below:

<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/34/68/metablogapi/1447.clip_image002_6B54E35A.jpg" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-34-68-metablogapi/1447.clip_5F00_image002_5F00_6B54E35A.jpg"><img title="clip_image002" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="clip_image002" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/34/68/metablogapi/2705.clip_image002_thumb_38876D97.jpg" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-34-68-metablogapi/2705.clip_5F00_image002_5F00_thumb_5F00_38876D97.jpg" width="562" height="321"></a>

&nbsp;

So we removed that Binding from there and after that we were able to perform all the Operations fine from the Azure site.

&nbsp;

<strong><font size="3">Author:</font></strong>

<strong><font size="3">Nitin Singh</font></strong>

<strong><font size="3">Support Escalation Engineer</font></strong>

<p><strong><font size="3">Microsoft Security and Manageability Division</font></strong></p>]]></content:encoded>
    </item>
    <item>
      <title>Getting Error “Error (2912): "An internal error has occurred trying to contact the server: NO_PARAM: NO_PARAM” while trying to Deploy a Virtual machine in System Center Virtual machine Manager(SCVMM)</title>
      <link>https://docs.microsoft.com/archive/blogs/nitinsingh/getting-error-error-2912-an-internal-error-has-occurred-trying-to-contact-the-server-no_param-no_param-while-trying-to-deploy-a-virtual-machine-in-system-center-virtual-machin</link>
      <pubDate>Tue, 31 Mar 2015 08:21:52 GMT</pubDate>
      <dc:creator><![CDATA[Nitin S]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/nitinsingh/2015/03/31/getting-error-error-2912-an-internal-error-has-occurred-trying-to-contact-the-server-no_param-no_param-while-trying-to-deploy-a-virtual-machine-in-system-center-virtual-machin/</guid>
      <description><![CDATA[&#160;  Here is another interesting VMM issue on which I worked recently.  We were getting the...]]></description>
      <content:encoded><![CDATA[<p>&#160;</p>  <p>Here is another interesting VMM issue on which I worked recently.</p>  <p>We were getting the following Error in the VMM Jobs while trying to deploy a VM:</p>  <p><b><font style="background-color: #ffff00">Error (2912): &quot;An internal error has occurred trying to contact the &lt;HOST_NAME&gt; server: NO_PARAM: NO_PARAM</font></b></p>  <p><strong></strong></p>  <p><strong>This Error can come if the VMM certificate of the managed Hyper-V host in the VMM server certificate store does not match with the VMM certificate on the managed host.</strong>&#160;</p>  <p>&#160;</p>  <p>So we collected the VMM Tracing to see what’s happening here and here is what we saw in the Trace:</p>  <p>&#160;</p>  <p><font style="background-color: #ffff00">02.c01.local:5985], Verb: [INVOKE], Method: [AddPeerCertificate], Resource: [http://schemas.microsoft.com/wbem/wsman/1/wmi/root/scvmm/AgentManagement],{00000000-0000-0000-0000-000000000000}</font></p>  <p><font style="background-color: #ffff00">[2]06E8.15A0::?2015?-?03?-?23 18:26:28.161 [Microsoft-VirtualMachineManager-Debug]0,4,CertificateServices.cpp,1104,CCertificate::GetSubjectName: certificate issued to: [Host1.contoso.local],{00000000-0000-0000-0000-000000000000}</font></p>  <p><font style="background-color: #ffff00">[2]06E8.15A0::?2015?-?03?-?23 18:26:28.161 [Microsoft-VirtualMachineManager-Debug]0,4,CertificateServices.cpp,165,CCertificate::GetRightRootStoreName: store name according to platform: [TRUSTEDPEOPLE],{00000000-0000-0000-0000-000000000000}</font></p>  <p><font style="background-color: #ffff00">[2]06E8.15A0::?2015?-?03?-?23 18:26:28.161 [Microsoft-VirtualMachineManager-Debug]0,4,CertificateServices.cpp,1153,CCertificateServices::GetSCVMMCertificate: looking for certificate for [Host1.contoso.local] in [TRUSTEDPEOPLE],{00000000-0000-0000-0000-000000000000}</font></p>  <p>&#160;</p>  <p>As we can see that VMM is trying to look for the Certificate for the Managed Host in its <b>TRUSTEDPEOPLE</b> Store.</p>  <p>&#160;</p>  <p>We can check the Certificate on the VMM server by navigating to the certificate store (computer account) and check the certificate of the managed host under the Trusted People -&gt; Certificates. Check the Thumbprint on that Certificate and then go to that Host and check the Certificate under Personal -&gt; Certificates, if the Thumbprint of this Certificate and the Thumbprint on this Host’s certificate on the VMM server matches, then its fine, but if it doesn’t match, then it can cause this kind of an issue.</p>  <p>&#160;</p>  <p><u>I have shown an example of how the Certificates should like in an ideal scenario</u>. </p>  <p>&#160;</p>  <p>This Cert below is on VMM server’s “TrustedPeople” Store of one of the Managed Hosts.</p>  <p>&#160;</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/34/68/metablogapi/7571.clip_image002_17518938.jpg" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-34-68-metablogapi/7571.clip_5F00_image002_5F00_17518938.jpg"><img title="clip_image002" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="clip_image002" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/34/68/metablogapi/8422.clip_image002_thumb_244DF9FA.jpg" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-34-68-metablogapi/8422.clip_5F00_image002_5F00_thumb_5F00_244DF9FA.jpg" width="605" height="443" /></a></p>  <p>&#160;</p>  <p>And the Cert below is on the Managed Host itself in its Computer’s Personal Store.</p>  <p>&#160;</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/34/68/metablogapi/8308.clip_image004_6ACD7AB3.jpg" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-34-68-metablogapi/8308.clip_5F00_image004_5F00_6ACD7AB3.jpg"><img title="clip_image004" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="clip_image004" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/34/68/metablogapi/4643.clip_image004_thumb_230E827D.jpg" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-34-68-metablogapi/4643.clip_5F00_image004_5F00_thumb_5F00_230E827D.jpg" width="604" height="449" /></a></p>  <p>&#160;</p>  <p>So, as you can see the Thumbprint of both the Certificate matches. And that’s how it should be. If the Thumbprint of these two Certs doesn’t match then we can get into an issue which we have discussed here.</p>  <p>However in this case the Certificates did not match as expected.</p>  <p>&#160;</p>  <p><strong><u>To fix the issue we had to run the below PowerShell commands:</u></strong></p>  <p>&#160;</p>  <p><strong>$credential = get-credential</strong></p>  <p><strong>Get-VMMManagedComputer -ComputerName &quot;HostName&quot; | Register-SCVMMManagedComputer -Credential $credential</strong></p>  <p>&#160;</p>  <p><strong><u>NOTE:</u></strong> After the first command above we will have to provide the Local Administrator’s Credentials of the Host when prompted.</p>  <p>And after the second command VMM will Import the Host’s Certificate from the Host to the VMM server’s <b>TRUSTEDPEOPLE</b> store.</p>  <p>&#160;</p>  <p>&#160;</p>  <p>After performing the above steps, when we tried to deploy the VM, it got Deployed fine.</p>  <p>&#160;</p>  <p><strong>Author:</strong></p>  <p><strong>Nitin Singh</strong></p>  <p><strong>Support Escalation Engineer</strong></p>  <p><strong>Microsoft Security and Manageability Division</strong></p>]]></content:encoded>
    </item>
  </channel>
</rss>