<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Edwin M SarmientoWARNING:the CID values for both test machines are the same &#8211; Edwin M Sarmiento</title>
	<atom:link href="https://www.edwinmsarmiento.com/warningthe-cid-values-for-both-test-machines-are-the-same/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.edwinmsarmiento.com</link>
	<description>Intentional Excellence</description>
	<lastBuildDate>Mon, 13 Apr 2026 21:00:49 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
<site xmlns="com-wordpress:feed-additions:1">84283043</site>		<item>
		<title>WARNING:the CID values for both test machines are the same</title>
		<link>https://www.edwinmsarmiento.com/warningthe-cid-values-for-both-test-machines-are-the-same/</link>
		<comments>https://www.edwinmsarmiento.com/warningthe-cid-values-for-both-test-machines-are-the-same/#respond</comments>
		<pubDate>Sun, 12 Jul 2009 17:43:00 +0000</pubDate>
		<dc:creator>Edwin M Sarmiento</dc:creator>
				<category><![CDATA[DTCPing]]></category>
		<category><![CDATA[MSDTC]]></category>
		<category><![CDATA[virtual machine]]></category>
		<guid isPermaLink="false">http://bassplayerdoc.wordpress.com/2009/07/12/warningthe-cid-values-for-both-test-machines-are-the-same</guid>

				<description><![CDATA[There are a thousand or more issues that can come up with virtualization if not done properly. One of which is having the same machine SID in the domain in case you decide to join them to one. This happens a lot of times especially when a virtual machine is created from a template or [&#8230;]]]></description>
					<content:encoded><![CDATA[<p><span style="font-family:arial;">There are a thousand or more issues that can come up with virtualization if not done properly. One of which is having the same machine SID in the domain in case you decide to join them to one. This happens a lot of times especially when a virtual machine is created from a template or cloned from another virtual machine without using the appropriate tools like <a href="http://support.microsoft.com/kb/302577">Sysprep</a> from Microsoft</span></p>
<p>One unique incident occurred to me while trying to troubleshoot a MS DTC communication issue between SQL Server instances. A client of ours requested for assistance to fix a distributed query that uses MS DTC. Apparently, communication between the two SQL Server instances is not happening. My usual round of troubleshooting started with a series of network connectivity tests, ranging from PING to TELNET to NETSTAT to whatever is necessary to make sure that communications between the servers are working fine. That led me to look for ways to check for connectivity specifically with MSDTC. One tool from Microsoft is <a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=5e325025-4dcd-4658-a549-1d549ac17644">DTCPing</a>, a utility to help troubleshoot MS DTC firewall issues. While I know for a fact that firewall is not an issue in this particular case, I&#8217;ve decided to give it a shot. Running the DTCPing utility on both servers gave me this error message in the log</p>
<p><span style="font-style:italic;color:#cc0000;font-family:lucida grande;">WARNING:the CID values for both test machines are the same</span></p>
<p>A quick Google search led me to this <a href="http://blog.wadewegner.com/index.php/2007/08/13/warning-the-cid-values-for-both-test-machines-are-the-same/">blog </a>post and made me think that the servers might have been cloned. Sure enough, when I asked the customers about the history of the servers, they were indeed cloned VMWare images. They didn&#8217;t use Sysprep to prepare the images after the cloning process, hence, the reason for having the same CID values. There&#8217;s nothing wrong with VMWare here. It&#8217;s just the process that&#8217;s pretty screwed up. What are the chances of two machines having the same GUID values which are supposed to be globally unique across the enterprise? Very slim unless they are inappropriately cloned.</p>
<p>I followed the steps outlined in the blog post to fix the CID values</p>
<ul>
<li><span style="font-family:arial;">U<span style="font-family:arial;">se <span style="font-size:85%;"><span style="font-weight:bold;">Add/Remove Windows Components</span></span> to remove <span style="font-size:85%;"><span style="font-weight:bold;">Network DTC</span></span>.</span></span></li>
<li><span style="font-family:arial;">Run <span style="font-size:85%;"><span style="font-weight:bold;">MSDTC -uninstall</span></span> in the command-line</span></li>
<li style="font-family:arial;">Delete the MSDTC keys in in the registry</li>
</ul>
<p><span style="font-weight:bold;font-size:85%;"><span style="font-family:arial;">HKLM/Software/Microsoft/Software/MSDTC</span><br />
<span style="font-family:arial;"> HKLM/System/CurrentControlSet/Services/MSDTC</span><br />
<span style="font-family:arial;"> HKEY_CLASSES_ROOTCID </span></span></p>
<ul style="font-family:arial;">
<li>Reboot the server</li>
<li>Run <span style="font-weight:bold;font-size:85%;">MSDTC -install</span> in the command</li>
<li>Use <span style="font-size:85%;"><span style="font-weight:bold;">Add/Remove Windows Components</span></span> to add the <span style="font-size:85%;"><span style="font-weight:bold;">Network DTC</span></span> back.</li>
<li>Restart the <span style="font-size:85%;"><span style="font-weight:bold;">Distributed Transaction Coordinator </span></span>service</li>
</ul>
<p><span style="font-family:arial;">Following these steps helped solve the MSDTC issue but sure enough, another issue surfaced. Since SQL Server uses MSDTC in a few of its processes like executing distributed queries, the installation got screwed up big time. When we used the server to test a disaster recovery process for the entire SQL Server instance, restoring the <span style="font-size:85%;"><span style="font-weight:bold;">master </span></span>database became a real pain. I spent hours trying to restore the <span style="font-size:85%;"><span style="font-weight:bold;">master </span></span>database but to no avail. The resolution was to simply uninstall and re-install SQL Server. Only then was I able to restore the <span style="font-size:85%;"><span style="font-weight:bold;">master</span></span> database successfully. Lesson learned: if the foundation is screwed up, anything built on top of it will surely be the same. That applies to just about anything, whether you&#8217;re building a server or developing a character. </span></p>
<div class="blogger-post-footer"><img decoding="async" src="https://blogger.googleusercontent.com/tracker/92377218009570869-1746477989810663347?l=bassplayerdoc.blogspot.com" alt="" width="1" height="1" /></div>
]]></content:encoded>
			

		<wfw:commentRss>https://www.edwinmsarmiento.com/warningthe-cid-values-for-both-test-machines-are-the-same/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
				<post-id xmlns="com-wordpress:feed-additions:1">196</post-id>	</item>
	</channel>
</rss>