<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: OCPM 4.0.1 discovery fails in Microsoft Virtualization Discussions</title>
    <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/OCPM-4-0-1-discovery-fails/m-p/91695#M3996</link>
    <description>&lt;P&gt;The discovery and monitoring scripts used by OCPM are called using the Windows PowerShell and are run under the context of the default action account in SCOM. This account should have a Windows profile created to run the PowerShell script.&amp;nbsp;If this account is not used to log in to the SCOM server before running the OCPM SCOM Management pack, the discovery and monitoring tasks will fail to run the PowerShell script.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you Perform the following steps and retry the operation&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Log in to the SCOM server with the default action account.&lt;/LI&gt;&lt;LI&gt;Restart the SCOM service.&lt;/LI&gt;&lt;LI&gt;Run a manual discovery in SCOM.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also please refer to this KB article.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="https://kb.netapp.com/support/index?page=content&amp;amp;id=S%3A2020050&amp;amp;actp=LIST"&gt;https://kb.netapp.com/support/index?page=content&amp;amp;id=S%3A2020050&amp;amp;actp=LIST&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 09 Oct 2014 12:11:25 GMT</pubDate>
    <dc:creator>vinith</dc:creator>
    <dc:date>2014-10-09T12:11:25Z</dc:date>
    <item>
      <title>OCPM 4.0.1 discovery fails</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/OCPM-4-0-1-discovery-fails/m-p/91681#M3995</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just installed OCPM 4.0.1 on Windows 2012 R2 with SCOM 2012 R2 and added my cDot systems.&lt;/P&gt;&lt;P&gt;When I try a discovery I get this error message.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;BR /&gt;The&amp;nbsp;PowerShell&amp;nbsp;script&amp;nbsp;failed&amp;nbsp;with&amp;nbsp;below&amp;nbsp;exception&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;System.Management.Automation.MethodInvocationException:&amp;nbsp;Exception&amp;nbsp;calling&amp;nbsp;"CreateDomain"&amp;nbsp;with&amp;nbsp;"3"&amp;nbsp;argument(s):&amp;nbsp;"The&amp;nbsp;specified&amp;nbsp;user&amp;nbsp;does&amp;nbsp;not&amp;nbsp;have&amp;nbsp;a&amp;nbsp;valid&amp;nbsp;profile.&amp;nbsp;Unable&amp;nbsp;to&amp;nbsp;load&amp;nbsp;'Microsoft.EnterpriseManagement.HealthService.Internal,&amp;nbsp;Version=7.0.5000.0,&amp;nbsp;Culture=neutral,&amp;nbsp;PublicKeyToken=31bf3856ad364e35'."At&amp;nbsp;line:40&amp;nbsp;char:12&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;+&amp;nbsp;return&amp;nbsp;[AppDomain]::CreateDomain("OC.Cluster.OM.Powershell.NonDefaultAppDoma&amp;nbsp;...&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;+&amp;nbsp;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;at&amp;nbsp;System.Management.Automation.ExceptionHandlingOps.ConvertToMethodInvocationException(Exception&amp;nbsp;exception,&amp;nbsp;Type&amp;nbsp;typeToThrow,&amp;nbsp;String&amp;nbsp;methodName,&amp;nbsp;Int32&amp;nbsp;numArgs,&amp;nbsp;MemberInfo&amp;nbsp;memberInfo)&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;at&amp;nbsp;CallSite.Target(Closure&amp;nbsp;,&amp;nbsp;CallSite&amp;nbsp;,&amp;nbsp;RuntimeType&amp;nbsp;,&amp;nbsp;String&amp;nbsp;,&amp;nbsp;Object&amp;nbsp;,&amp;nbsp;Object&amp;nbsp;)&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;at&amp;nbsp;System.Dynamic.UpdateDelegates.UpdateAndExecute4[T0,T1,T2,T3,TRet](CallSite&amp;nbsp;site,&amp;nbsp;T0&amp;nbsp;arg0,&amp;nbsp;T1&amp;nbsp;arg1,&amp;nbsp;T2&amp;nbsp;arg2,&amp;nbsp;T3&amp;nbsp;arg3)&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;at&amp;nbsp;System.Management.Automation.Interpreter.DynamicInstruction`5.Run(InterpretedFrame&amp;nbsp;frame)&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;at&amp;nbsp;System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame&amp;nbsp;frame)&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;Script&amp;nbsp;Name:&amp;nbsp;Discovery.ps1&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;One&amp;nbsp;or&amp;nbsp;more&amp;nbsp;workflows&amp;nbsp;were&amp;nbsp;affected&amp;nbsp;by&amp;nbsp;this.&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;Workflow&amp;nbsp;name:&amp;nbsp;DataONTAP.Cluster.DataONTAP.Cluster.Discovery.Task&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;Instance&amp;nbsp;name:&amp;nbsp;XXXX&amp;nbsp;&amp;nbsp;&lt;BR /&gt;Instance&amp;nbsp;ID:&amp;nbsp;XXXX&amp;nbsp;&amp;nbsp;&lt;BR /&gt;Management&amp;nbsp;group:&amp;nbsp;XXXX&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;Error&amp;nbsp;Code:&amp;nbsp;-2130771918&amp;nbsp;(Unknown&amp;nbsp;error&amp;nbsp;(0x80ff0032)).&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This only happening when I´m using the predefined Run As Account. Where can I define this account?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;IMG align="center" height="332" alt="1.png" border="0" src="https://community.netapp.com/t5/image/serverpage/image-id/347i4DDCBBD253C4ECB4/image-size/original?v=mpbl-1&amp;amp;px=-1" title="1.png" width="295" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hoping someone can help&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;</description>
      <pubDate>Thu, 09 Oct 2014 08:26:15 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/OCPM-4-0-1-discovery-fails/m-p/91681#M3995</guid>
      <dc:creator>michaelalbers</dc:creator>
      <dc:date>2014-10-09T08:26:15Z</dc:date>
    </item>
    <item>
      <title>Re: OCPM 4.0.1 discovery fails</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/OCPM-4-0-1-discovery-fails/m-p/91695#M3996</link>
      <description>&lt;P&gt;The discovery and monitoring scripts used by OCPM are called using the Windows PowerShell and are run under the context of the default action account in SCOM. This account should have a Windows profile created to run the PowerShell script.&amp;nbsp;If this account is not used to log in to the SCOM server before running the OCPM SCOM Management pack, the discovery and monitoring tasks will fail to run the PowerShell script.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you Perform the following steps and retry the operation&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Log in to the SCOM server with the default action account.&lt;/LI&gt;&lt;LI&gt;Restart the SCOM service.&lt;/LI&gt;&lt;LI&gt;Run a manual discovery in SCOM.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also please refer to this KB article.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="https://kb.netapp.com/support/index?page=content&amp;amp;id=S%3A2020050&amp;amp;actp=LIST"&gt;https://kb.netapp.com/support/index?page=content&amp;amp;id=S%3A2020050&amp;amp;actp=LIST&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Oct 2014 12:11:25 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/OCPM-4-0-1-discovery-fails/m-p/91695#M3996</guid>
      <dc:creator>vinith</dc:creator>
      <dc:date>2014-10-09T12:11:25Z</dc:date>
    </item>
    <item>
      <title>Re: OCPM 4.0.1 discovery fails</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/OCPM-4-0-1-discovery-fails/m-p/91703#M3998</link>
      <description>&lt;P&gt;Works great, thanks a lot!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Oct 2014 12:46:14 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/OCPM-4-0-1-discovery-fails/m-p/91703#M3998</guid>
      <dc:creator>michaelalbers</dc:creator>
      <dc:date>2014-10-09T12:46:14Z</dc:date>
    </item>
    <item>
      <title>Re: OCPM 4.0.1 discovery fails</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/OCPM-4-0-1-discovery-fails/m-p/124332#M5107</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;May I ask you if you got a working link for this Knowledge Base article you posted?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Matthias&lt;/P&gt;</description>
      <pubDate>Tue, 18 Oct 2016 14:53:07 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/OCPM-4-0-1-discovery-fails/m-p/124332#M5107</guid>
      <dc:creator>KlausnerIT</dc:creator>
      <dc:date>2016-10-18T14:53:07Z</dc:date>
    </item>
    <item>
      <title>Re: OCPM 4.0.1 discovery fails</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/OCPM-4-0-1-discovery-fails/m-p/124452#M5108</link>
      <description>&lt;P&gt;I'm having similar issues. But the KB Article URL link is broken?&lt;/P&gt;</description>
      <pubDate>Thu, 20 Oct 2016 08:31:16 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/OCPM-4-0-1-discovery-fails/m-p/124452#M5108</guid>
      <dc:creator>lostcase</dc:creator>
      <dc:date>2016-10-20T08:31:16Z</dc:date>
    </item>
  </channel>
</rss>

