<?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>Brad&#039;s Tech Blog &#187; The OpsMgr Connector could not connect to</title>
	<atom:link href="http://bradstechblog.com/tag/the-opsmgr-connector-could-not-connect-to/feed" rel="self" type="application/rss+xml" />
	<link>http://bradstechblog.com</link>
	<description>Microsoft technologies like: System Center Operations Manager, and whatever else comes up at the office.</description>
	<lastBuildDate>Wed, 09 Nov 2011 16:36:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>SCOM: I screwed up the OpsMgr Health Service</title>
		<link>http://bradstechblog.com/scom/scom-i-screwed-up-the-opsmgr-health-service</link>
		<comments>http://bradstechblog.com/scom/scom-i-screwed-up-the-opsmgr-health-service#comments</comments>
		<pubDate>Wed, 23 Jul 2008 14:00:00 +0000</pubDate>
		<dc:creator>Brad Hearn</dc:creator>
				<category><![CDATA[SCOM]]></category>
		<category><![CDATA[health service]]></category>
		<category><![CDATA[OpsMgr]]></category>
		<category><![CDATA[servicePrincipalName]]></category>
		<category><![CDATA[System Center Operations Manager]]></category>
		<category><![CDATA[System Centre Operations Manager]]></category>
		<category><![CDATA[The OpsMgr Connector could not connect to]]></category>

		<guid isPermaLink="false">http://bradstechblog.com/?p=3</guid>
		<description><![CDATA[Have you ever seen this in Microsfts System Center Operations Manager (SCOM)? The OpsMgr Connector could not connect to MSOMHSvc\rms01.local haha, I have. Using a domain account is not supported and will not allow you to start the service. But it will register a second servicePrincipalName to the domain account. If this happens the agents [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Have you ever seen this in Microsfts System Center Operations Manager (SCOM)?</strong></p>
<p><strong>The <span id="SPELLING_ERROR_0" class="blsp-spelling-error">OpsMgr</span> Connector could not connect to <span id="SPELLING_ERROR_1" class="blsp-spelling-error">MSOMHSvc</span>\<span id="SPELLING_ERROR_2" class="blsp-spelling-error">rms</span>01.local </strong><br />
<strong></strong><br />
<strong><span id="SPELLING_ERROR_3" class="blsp-spelling-error">haha</span>, I have.</strong></p>
<p>Using a domain account is not supported and will not allow you to start the service. But it will register a second <span id="SPELLING_ERROR_4" class="blsp-spelling-error">servicePrincipalName</span> to the domain account. If this happens the agents will no longer be able to communicate with the server. Or at least until the duplicate <span id="SPELLING_ERROR_5" class="blsp-spelling-error"><strong>servicePrincipalName</strong></span> is removed.</p>
<p>I found this out during the test phase when I changed the service <span id="SPELLING_ERROR_6" class="blsp-spelling-error">login</span> account during trouble shooting the health service. (The original problem with the health service was that it would keep failing and stopping. The resolution was never found, and that was with an open <span id="SPELLING_ERROR_7" class="blsp-spelling-corrected">Microsoft</span> call. We reinstalled the server and that resolved it. However the <span id="SPELLING_ERROR_8" class="blsp-spelling-error">servicePrincipalName</span> was still messed up in active directory.)</p>
<p>The following is what I have documented and used to fix this.<br />
<!-smartads-><br />
<span id="more-3"></span></p>
<p>Here is a clipping from another post (<a href="http://www2.wolzak.com/index.php?option=com_frontpage&amp;Itemid=1">http://www2.wolzak.com/index.php?option=com_frontpage&amp;<span id="SPELLING_ERROR_9" class="blsp-spelling-error">Itemid</span>=1</a>) on this that I found.</p>
<p>To generate a list of accounts that the <span id="SPELLING_ERROR_10" class="blsp-spelling-error">SPNs</span> are registered to, run the following command at the command prompt.</p>
<p>1. From the domain controller, open a command prompt and then type the following string: <span id="SPELLING_ERROR_11" class="blsp-spelling-error">ldifde</span> -f domain.<span id="SPELLING_ERROR_12" class="blsp-spelling-error">txt</span><br />
2. Open the text file in Notepad and then search for the <span id="SPELLING_ERROR_13" class="blsp-spelling-error">SPN</span> that is reported in the event log. ServiceClass/host.domain.com (in this case look for <span id="SPELLING_ERROR_14" class="blsp-spelling-error">MSOMHSvc</span>/<span id="SPELLING_ERROR_15" class="blsp-spelling-error">rms</span>01.local)<br />
3. Note the user accounts under which the <span id="SPELLING_ERROR_16" class="blsp-spelling-error">SPN</span> is located and the organizational unit the accounts reside in….the <span id="SPELLING_ERROR_17" class="blsp-spelling-error">userPrincipalName</span> should be located directly above the <span id="SPELLING_ERROR_18" class="blsp-spelling-error">servicePrincipalName</span> registration as in the example below.<br />
<span id="SPELLING_ERROR_19" class="blsp-spelling-error">userPrincipalName</span>: <a href="mailto:useraccount@domain.com">useraccount@domain.com</a><br />
<span id="SPELLING_ERROR_20" class="blsp-spelling-error">servicePrincipalName</span>: ServiceClass/host.domain.com</p>
<p>Use one of the following options to delete the account <span id="SPELLING_ERROR_21" class="blsp-spelling-error">SPN</span> registrations from the accounts that should not contain registrations to ServiceClass/host.domain.com. (i.e. Typically any accounts containing an <span id="SPELLING_ERROR_22" class="blsp-spelling-error">SPN</span> registration for SeriviceClass/host.domain.com that services are not explicitly starting with). Make sure you know which credentials you want to keep (in this case the system account or the domain administrator) and see to it that the service is running with the credentials you want to use. Delete the other one.</p>
<p><strong>Using <span id="SPELLING_ERROR_23" class="blsp-spelling-error">ADSIEdit</span></strong></p>
<p>1. Add <span id="SPELLING_ERROR_24" class="blsp-spelling-error">ADSIEdit</span> to the <span id="SPELLING_ERROR_25" class="blsp-spelling-error">MMC</span> and bind to the domain using the Domain well known naming context.<br />
2. Navigate to each user account you previously documented as having a duplicate <span id="SPELLING_ERROR_26" class="blsp-spelling-error">SPN</span> registration and right click the account and select properties.<br />
3. Scroll through the list of attributes until you see <span id="SPELLING_ERROR_27" class="blsp-spelling-error">servicePrincipalName</span>, double click <span id="SPELLING_ERROR_28" class="blsp-spelling-error">servicePrincipalName</span> and remove the duplicate <span id="SPELLING_ERROR_29" class="blsp-spelling-error">SPN</span> registration and click on OK and exit <span id="SPELLING_ERROR_30" class="blsp-spelling-error">ADSIEdit</span>.</p>
<p><strong>Using <span id="SPELLING_ERROR_31" class="blsp-spelling-error">SetSPN</span><br />
</strong><br />
1. From the command prompt type the following command and hit enter.<span id="SPELLING_ERROR_32" class="blsp-spelling-error">setspn</span> -D ServiceClass/host.domain.com:Port <span id="SPELLING_ERROR_33" class="blsp-spelling-error">AccountName</span></p>
<p><strong>Make sure to test before performing this operation in a production environment.</strong></p>
<p><strong></strong></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><span style="font-size: small; font-family: Times New Roman;">Brad Hearn</span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><span style="font-size: small; font-family: Times New Roman;">Enterprise Server Analyst</span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><a href="http://bradstechblog.com/">http://bradstechblog.com/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://bradstechblog.com/scom/scom-i-screwed-up-the-opsmgr-health-service/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

