Quantcast
Channel: Operations Manager - General forum
Viewing all 11941 articles
Browse latest View live

PowerShell to create groups in SCOM

$
0
0

Is there a simple powershell command to create groups with explicit members in SCOM from a list? Maybe a CSV file?

For Example:

Group A : "Network Devices in Location-Panama City"

Firewall 1- IP:10.xxx.xxx.xxx

Router 1 - IP:10.xxx.xxx.xxx

Switch 1- IP:10.xxx.xxx.xxx

Switch 2- IP:10.xxx.xxx.xxx

Switch 3- IP:10.xxx.xxx.xxx

I have 1,000's+ of network devices and need to assemble them in groups.


Z


SCOM Maintenance exe

$
0
0

hello All,

I would like to know if there is any .exe for putting the SCOM servers in Maintenance mode.(In Future date). 

Any pointers would be great. 

I have a list of servers which would go to MM in SCOM 2012 R2 in future and the timings are random. 

Regards.


Priyabrata

Server Down Gray Agent - SCOM 2012 R2

$
0
0

Hello all,

I am completely new to SCOM and evaluating it. I've deployed the agents and set up monitors, from what I can tell, but when a server goes offline it does not trigger any alerts and instead just changes the status to gray. I understand that this is because the heartbeat is no longer communicating, however shouldn't it be considered an alert when a server is down? Can someone help point me to what I am missing. I want to raise alerts when my servers go offline and I thought that this was the default when using agents. Thanks guys.

-Kevin

SCOM 2012 R2 Conflicts with SCCM 2012 R2 Client

$
0
0

Hello.

Several weeks ago Health Service on our SCOM 2012 R2 UR6 began hang for some time or paused (until manual resume) every night (about 0:00).

When I remove SCCM 2012 R2 SP1 client from server, problem was solved but the problem returns after SCCM client reinstallation.

I set "NotifyOnly" parameter for CCM Eval Task to "TRUE" and update SCOM to UR7 but nothing happens.

SCOM update override via powershell why does script 2 not store the updated override ??

$
0
0

just curious - I have a solution, but I am trying to understand what is wrong:

this first simple script works (has a fixed GUID)

$servername = myServer
$addition = "andre"
######################################################################
$mp1 = Get-SCOMManagementPack -DisplayName 'My_MP'
$o = $mp1.GetOverrides()
foreach ($ov in $o)
{
    if ($ov.parameter -eq "Arguments" -and $ov.contextinstance -eq "04e18d3e-5a73-70e2-32f4-d5333151d712")
    {
        $ov.Value = $ov.value + "," + $addition
        $ov.status = "PendingUpdate"
        $ov
        $mp1.verify()
        $mp1.Acceptchanges()
        break
    }
}


now, because I am not sure in which MP the override might be stored, I load all overrides in the management group, step thru them, and I get the windows computer object, so I have the GUID (instead of hardcode it like above)

$servername = myServer
$addition = "andre"

$MG = Get-SCOMManagementGroup -ComputerName $RMS #get all existing overrides $criteria = ([string]::Format("Name like '%'")) $searchCriteria = new-object Microsoft.EnterpriseManagement.Configuration.MonitoringOverrideCriteria($criteria)$overrides = $MG.GetMonitoringOverrides($searchCriteria) #now lets first find the windows computer instance for which we want to create/update the override. $cl = Get-SCOMClass -DisplayName "windows computer" $ci = Get-SCOMClassInstance -Class $cl | where { $_.DisplayName -eq $servername } #let's step thru all existing overrides foreach ($ov in $overrides) { if ($ov.ContextInstance -eq $ci.id.guid
-and $ov.parameter -eq "Arguments") { #if we get here, it means we have found an existing override
# for the right computer instance and the right parameter value #lets first get the mp in which the override is stored $mon = Get-SCOMMonitor -Id $ov.Monitor.ToString().split("=")[1] if ($mon.DisplayName -eq "Accounts") { #right monitor too, lets update the MP. $mp_ov_name = $ov.GetManagementPack().Name $mp1 = Get-SCOMManagementPack -Name $mp_ov_name $OverrideValue = $ov.value if (($OverrideValue.split(",")) -notcontains $addition) { $ov.Value = $ov.value + "," + $addition $ov.status = "PendingUpdate" $mp1.Verify() $mp1.AcceptChanges() break } Else { write-host "Addition is already in override" } } } }

looks good I thought, when I step thru it, everything seems fine, the override is OK, it is update etc, Acceptchanges takes a while, but, the override is not updated....

the solution is:

$servername = myServer
$addition = "andre" ###################################################################### $MG = Get-SCOMManagementGroup -ComputerName $RMS #get all existing overrides $criteria = ([string]::Format("Name like '%'")) $searchCriteria = new-object Microsoft.EnterpriseManagement.Configuration.MonitoringOverrideCriteria($criteria)$overrides = $MG.GetMonitoringOverrides($searchCriteria) #now lets first find the windows computer instance for which we want to create/update the override. $cl = Get-SCOMClass -DisplayName "windows computer" $ci = Get-SCOMClassInstance -Class $cl | where { $_.DisplayName -eq $servername } #let's step thru all existing overrides foreach ($oo in $overrides) { if ($oo.ContextInstance -eq $ci.id.guid -and $oo.parameter -eq "Arguments") { # if we get here, it means we have found an existing override for the right computer instance and the right parameter value $mon = Get-SCOMMonitor -Id $oo.Monitor.ToString().split("=")[1] if ($mon.DisplayName -eq "_BHI Monitor Unauthorized Accounts") { #lets first get the mp in which the override is stored $mp_ov_name = $oo.GetManagementPack().Name $mp1 = Get-SCOMManagementPack -Name $mp_ov_name $o1 = $mp1.GetOverrides() foreach ($ov in $o1) { if ($ov.parameter -eq "Arguments" -and $ov.contextinstance -eq $ci.id.guid) { $OverrideValue = $ov.value if (($OverrideValue.split(",")) -notcontains $addition) { $ov.Value = $ov.value + "," + $addition $ov.status = "PendingUpdate" $ov $mp1.verify() $mp1.Acceptchanges() break } Else { write-host "Addition is already in override" } } }

} } }


The only explanation I can think of is that the override that I selected out of the $overrides (collection of ALL Overrides in SCOM) does not have a direct relationship with the $mp1 in the 2nd example. but... when I do a $oo.GetManagementPack(), it shows me the reference to the MP where it is stored in.....

so in the last (3rd) example, I determine the mp, load the mp, and "again" load all the overrides stored in that single mp and "again" find the override that I want to update. and now when I do $mp1.acceptchanges(), it does work OK....

but, it puzzles me, I have compared the override details, and they are identical, all values that I see are the same....
when debugging the scripts: $ov (the override) in script1, 2 and 3 seems identical I cannot spot a difference



SQL 2014 Management Pack, Duplicate Monitoring Folders

$
0
0

Under Monitoring (in SCOM 2012) I had one 'Microsoft SQL Server' folder which contained my Active Alerts. This is the view I have open all day to monitor all my SQL Servers. With the addition of the SQL2014 management pack, I now have a duplicate 'Microsoft SQL Server' folder which only monitors SQL2014 servers, and my old view only monitors up to 2012.

This is extremely inconvenient as I want only one view I can keep on my screen with ALL SQL Server alerts displayed. Is there any way I can simply do this?

     

Health service heartbeat failure Alerts

$
0
0

Hi,

I get health service heartbeat failure alert from a server occasionally and it gets resolved within a minute. Server is neither rebooted nor in hung state. There are other servers as well in the same domain and network, so it can't be a network fluctuation as well. Nothing found in operation manager logs on agent side. Only in the management server logs I can see the Entity XYZ failed to failed to heartbeat logged in and then after a minute entity XYZ is now available. Not sure how to troubleshoot this with almost no information in hand. Anyone please guide me if they had faced the same issue.

Regards,

Daya

SCOM 2012 Data Access Service getting stopped automatically

$
0
0

Hi,

We have SCOM 2012 SP1. In our Pre-Prod Environment the System Center Data Access service is being stopped automatically, though we start/restart the service on both Management servers (PP1SCOM01 server, PP2SCOM01 failover server) - 2 data centers. Due to this problem, we have been getting the below error while trying to connect to SCOM Console.



As per my understanding, we need to start the Data Access, SCM, APM, SCM Config services should be running on both Management Servers. In this scenario, what needs to be done to make the Data Access Service running as expected, without any interruptions. Though we are starting, after some time getting stopped. After starting the service, still we are getting the above message while starting the SCOM Console.

Please advise asap.


Thanks & regards, Naren.


Can't Install SCOM 2012 R2 License Key

$
0
0

Hello, this morning I faced a strange behavior after upgrading my SCOM 2012 SP1 to SCOM 2012 R2, the upgrade was successful but when I opened the SCOM console and went to Help\About I noticed that SCOM is (Eval) version, I kept searching the whole day on how to install the license key and followed ALL the steps you can think of but I had no luck.

I noticed something else also, when I opened the Operations Manager Shell (as an administrator) I receive this error:-

'.\OperationsManager\Functions.ps1' is not recognized as the name of a cmdlet,
function, script file, or operable program. Check the spelling of the name, or
if a path was included, verify that the path is correct and try again.
At line:1 char:34
+ Import-Module OperationsManager; .\OperationsManager\Functions.ps1;
.\Operations ...
+                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (.\OperationsManager\Functions.p
   s1:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

.\OperationsManager\Startup.ps1 : The term '.\OperationsManager\Startup.ps1'
is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify
that the path is correct and try again.
At line:1 char:69
+ Import-Module OperationsManager; .\OperationsManager\Functions.ps1;
.\Operations ...
+
~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (.\OperationsManager\Startup.ps1
   :String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

And when I try to install the license (whether in SCOM shell or Windows Power Shell I receive this error)

Set-SCOMLicense : Specified method is not supported.
At line:1 char:1
+ Set-SCOMLicense
+ ~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (Microsoft.Syste....SetSCOMLicense:SetSCOMLicense) [Set-SCOMLicense], PSNo
   tSupportedException
    + FullyQualifiedErrorId : ExecutionError,Microsoft.SystemCenter.OperationsManagerV10.Commands.Commands.Administrat
   ionCmdlets.SetSCOMLicense

This is really strange behavior as I installed the SCOM license key on another server before and the process went smoothly without issues.

You help is much appreciated as I really can't figure this out.

Thanks ..


Tarek El-Touny MCTS | MCITP EA | MCSA | Microsoft Student Partner


Failed to connect to server

$
0
0

ok, so I built a System Center Manager 2012 R2 Server and used the latest version of Powershell Deployment Tools to do the installation.  The configuration is 16 VM servers of which 4 are running SQL Server 2012 SP2 CU7.  Once PDT is complete, I can access Configuration Mananger, Operations Manager, VMM and Service Manager.  When I run the Windows update which updates the latest CU's for each, I get the following error in Operations Manager (Sames with Service Manager):

Date: 9/15/2015 4:29:52 PM
Application: Operations Manager
Application Version: 7.1.10226.1090
Severity: Error
Message: Failed to connect to server 'SCMOPM001.domain.com'

Microsoft.EnterpriseManagement.Common.ServiceNotRunningException: The Data Access service is either not running or not yet initialized. Check the event log for more information. ---> System.ServiceModel.EndpointNotFoundException: Could not connect to net.tcp://scmopm001.clinlogix.com:5724/DispatcherService. The connection attempt lasted for a time span of 00:00:02.0021014. TCP error code 10061: No connection could be made because the target machine actively refused it 10.0.10.87:5724.  ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 10.0.10.87:5724
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
   at System.ServiceModel.Channels.SocketConnectionInitiator.Connect(Uri uri, TimeSpan timeout)
   --- End of inner exception stack trace ---

Server stack trace: 
   at System.ServiceModel.Channels.SocketConnectionInitiator.Connect(Uri uri, TimeSpan timeout)
   at System.ServiceModel.Channels.BufferedConnectionInitiator.Connect(Uri uri, TimeSpan timeout)
   at System.ServiceModel.Channels.ConnectionPoolHelper.EstablishConnection(TimeSpan timeout)
   at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.OnOpen(TimeSpan timeout)
   at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
   at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
   at System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan timeout)
   at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
   at System.ServiceModel.Channels.ServiceChannel.CallOnceManager.CallOnce(TimeSpan timeout, CallOnceManager cascade)
   at System.ServiceModel.Channels.ServiceChannel.EnsureOpened(TimeSpan timeout)
   at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
   at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
   at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at [0]: 
   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
   at Microsoft.EnterpriseManagement.Common.Internal.IDispatcherService.Connect(SdkClientConnectionOptions connectionOptions)
   at Microsoft.EnterpriseManagement.Common.Internal.SdkDataLayerProxyCore.Initialize(EnterpriseManagementConnectionSettings connectionSettings, SdkChannelObject`1 channelObjectDispatcherService)
   at Microsoft.EnterpriseManagement.Common.Internal.SdkDataLayerProxyCore.CreateEndpoint[T](EnterpriseManagementConnectionSettings connectionSettings, SdkChannelObject`1 channelObjectDispatcherService)
   --- End of inner exception stack trace ---
   at Microsoft.EnterpriseManagement.Common.Internal.ExceptionHandlers.HandleChannelExceptions(Exception ex)
   at Microsoft.EnterpriseManagement.Common.Internal.SdkDataLayerProxyCore.CreateEndpoint[T](EnterpriseManagementConnectionSettings connectionSettings, SdkChannelObject`1 channelObjectDispatcherService)
   at Microsoft.EnterpriseManagement.Common.Internal.SdkDataLayerProxyCore.ConstructEnterpriseManagementGroupInternal[T,P](EnterpriseManagementConnectionSettings connectionSettings, ClientDataAccessCore clientCallback)
   at Microsoft.EnterpriseManagement.Common.Internal.SdkDataLayerProxyCore.RetrieveEnterpriseManagementGroupInternal[T,P](EnterpriseManagementConnectionSettings connectionSettings, ClientDataAccessCore callbackDispatcherService)
   at Microsoft.EnterpriseManagement.Common.Internal.SdkDataLayerProxyCore.Connect[T,P](EnterpriseManagementConnectionSettings connectionSettings, ClientDataAccessCore callbackDispatcherService)
   at Microsoft.EnterpriseManagement.ManagementGroup.InternalInitialize(EnterpriseManagementConnectionSettings connectionSettings, ManagementGroupInternal internals)
   at Microsoft.EnterpriseManagement.ManagementGroup.Connect(ManagementGroupConnectionSettings connectionSettings)
   at Microsoft.EnterpriseManagement.Mom.Internal.UI.Common.ManagementGroupSessionManager.Connect(String server)
   at Microsoft.EnterpriseManagement.Monitoring.Console.Internal.ConsoleWindowBase.TryConnectToManagementGroupJob(Object sender, ConsoleJobEventArgs args)
System.ServiceModel.EndpointNotFoundException: Could not connect to net.tcp://scmopm001.clinlogix.com:5724/DispatcherService. The connection attempt lasted for a time span of 00:00:02.0021014. TCP error code 10061: No connection could be made because the target machine actively refused it 10.0.10.87:5724.  ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 10.0.10.87:5724
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
   at System.ServiceModel.Channels.SocketConnectionInitiator.Connect(Uri uri, TimeSpan timeout)
   --- End of inner exception stack trace ---

Server stack trace: 
   at System.ServiceModel.Channels.SocketConnectionInitiator.Connect(Uri uri, TimeSpan timeout)
   at System.ServiceModel.Channels.BufferedConnectionInitiator.Connect(Uri uri, TimeSpan timeout)
   at System.ServiceModel.Channels.ConnectionPoolHelper.EstablishConnection(TimeSpan timeout)
   at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.OnOpen(TimeSpan timeout)
   at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
   at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
   at System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan timeout)
   at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
   at System.ServiceModel.Channels.ServiceChannel.CallOnceManager.CallOnce(TimeSpan timeout, CallOnceManager cascade)
   at System.ServiceModel.Channels.ServiceChannel.EnsureOpened(TimeSpan timeout)
   at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
   at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
   at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at [0]: 
   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
   at Microsoft.EnterpriseManagement.Common.Internal.IDispatcherService.Connect(SdkClientConnectionOptions connectionOptions)
   at Microsoft.EnterpriseManagement.Common.Internal.SdkDataLayerProxyCore.Initialize(EnterpriseManagementConnectionSettings connectionSettings, SdkChannelObject`1 channelObjectDispatcherService)
   at Microsoft.EnterpriseManagement.Common.Internal.SdkDataLayerProxyCore.CreateEndpoint[T](EnterpriseManagementConnectionSettings connectionSettings, SdkChannelObject`1 channelObjectDispatcherService)
System.Net.Sockets.SocketException (0x80004005): No connection could be made because the target machine actively refused it 10.0.10.87:5724
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
   at System.ServiceModel.Channels.SocketConnectionInitiator.Connect(Uri uri, TimeSpan timeout)

The Data Services is not running and when I try to start it, I get the following in the Application Log:

Event 1000, Application Error

Faulting application name: Microsoft.Mom.Sdk.ServiceHost.exe, version: 7.5.3070.0, time stamp: 0x520d7e93
Faulting module name: KERNELBASE.dll, version: 6.3.9600.17415, time stamp: 0x54505737
Exception code: 0xe0434352
Fault offset: 0x0000000000008b9c
Faulting process id: 0x113c
Faulting application start time: 0x01d0f00ec231db83
Faulting application path: D:\Program Files\Microsoft System Center 2012 R2\Operations Manager\Server\Microsoft.Mom.Sdk.ServiceHost.exe
Faulting module path: C:\Windows\system32\KERNELBASE.dll
Report Id: 02875354-5c02-11e5-80d1-00155d0a1dd2
Faulting package full name: 
Faulting package-relative application ID: 

Event 1026, .NET Runtime

Application: Microsoft.Mom.Sdk.ServiceHost.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: Microsoft.EnterpriseManagement.ConfigurationReaderException
Stack:
   at Microsoft.EnterpriseManagement.ServiceDataLayer.DispatcherService.Initialize(Microsoft.EnterpriseManagement.InProcEnterpriseManagementConnectionSettings)
   at Microsoft.EnterpriseManagement.ServiceDataLayer.DispatcherService.InitializeRunner(System.Object)
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
   at System.Threading.ThreadHelper.ThreadStart(System.Object)

Event 7031 & 7034, Service Control Manager

The System Center Data Access Service service terminated unexpectedly.  It has done this 5 time(s).  The following corrective action will be taken in 60000 milliseconds: Restart the service.

And lastly, Event 26380, OpsMgr SDK Service

The System Center Data Access service failed due to an unhandled exception.  
The service will attempt to restart. 
Exception: 

Microsoft.EnterpriseManagement.ConfigurationReaderException: Feature of type 'Microsoft.EnterpriseManagement.ServiceDataLayer.ISecureStorageManagerFeature, Microsoft.EnterpriseManagement.DataAccessService.Core, Version=7.0.5000.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' cannot be added to the container. ---> Microsoft.EnterpriseManagement.ComponentActivationException: The constructor for the component threw an exception. Please see the inner exception for more details. ---> System.UnauthorizedAccessException: Requested registry access is not allowed. ---> System.Security.SecurityException: Requested registry access is not allowed.
   at Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable)
   at Microsoft.EnterpriseManagement.Security.SecureDataRegistryAccess.GetSecurityRegistryKey()
   --- End of inner exception stack trace ---
   at Microsoft.EnterpriseManagement.Security.SecureDataRegistryAccess.GetSecurityRegistryKey()
   at Microsoft.EnterpriseManagement.Security.SecureStorageManager.Initialize()
   --- End of inner exception stack trace ---
   at Microsoft.EnterpriseManagement.ComponentActivator.Activate[T](ActivationContext`1 context)
   at Microsoft.EnterpriseManagement.SingletonLifetimeManager`1.GetComponent[K]()
   at Microsoft.EnterpriseManagement.FeatureContainer.GetFeatureInternal[T](Type type, String featureName)
   --- End of inner exception stack trace ---
   at Microsoft.EnterpriseManagement.ConfigurationReaderHelper.ReadFeatures(XPathNavigator navi, IContainer container)
   at Microsoft.EnterpriseManagement.ConfigurationReaderHelper.Process()
   at Microsoft.EnterpriseManagement.ServiceDataLayer.DispatcherService.Initialize(InProcEnterpriseManagementConnectionSettings configuration)
   at Microsoft.EnterpriseManagement.ServiceDataLayer.DispatcherService.InitializeRunner(Object state)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart(Object obj)

Event 26339, OpsMgr SDK Service

An exception was thrown while initializing the service container.
 Exception message: Initialize
 Full exception: Feature of type 'Microsoft.EnterpriseManagement.ServiceDataLayer.ISecureStorageManagerFeature, Microsoft.EnterpriseManagement.DataAccessService.Core, Version=7.0.5000.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' cannot be added to the container.

I found some topics about similar but the solutions did not work.  If I restore the servers back to the initial installation, everything works fine again.  The VMM server I found it was KB3074228 & KB3074548 were causing issues with installing Roll up 7 for Ops Manager Console.  I tried not updating .NET, that did not work, just tried the CU for Ops Mgr, that did not work so I am at a loss.

Any suggestions would be appreciated.

SCRIPT to add computer and Health service monitor to SCOM Group from text file

$
0
0

Hi 

I am trying to add 100s of servers into manually created SCOM2012 Group. I want to use power shell script to do this but looks like no scom command-lets available.

I was wondering if any of you guys have use script to populate the manually created Groups with computer and health service objects?

I will appreciate if you guys can share or give us hint on how can we do this.

Thank you

How do I build an override to add a new Event ID expression (from the Operations Manager Log) to a sealed Mgmt Pack

$
0
0

I have a sealed Microsoft Mgmt Pack, System Center Core Monitoring, that restores an alert/monitor back to a Healthy state if it detects the Event IDs 7024 or 2002 in the Operations Manager event log. I want to add the Event ID 7026 to this list, but I'm not able to add it directly because this MP is sealed.

We have an Override MP for the System Center Core Monitoring MP, but I am confused as to how I add this new Event ID in the override MP.

How can I add this new Event ID 7026 so the alert/monitor will enter a Healthy state when it is detected in the Operations Manager log?

Thank you.

  

SCOM 2012 r2 MSMQ 2008R2 queue is not monitored on one server

$
0
0

Hi,

I came across with issue for one msmq server in my environment.Server is 2008 R2 Standart, I have Microsoft Message Queue 2008 R2 management pack.Server is discovered as MSMQ server but in the all queues view i do not see any queues from that server and if i open health explorer i see green empty circle (not monitored) MSMQ queue health rollup. Rest of the servers with msmq ques are discovered and there is no overrides for the monitor of MSMQ for that server.Any chance that somebody has an idea how to fix it.

Balys 

Want to be the Microsoft TechNet System Center Guru for September?

$
0
0

All you have to do is add an article to TechNet Wiki from your own specialist field. Something that fits into one of the categories listed on the submissions page. Copy in your own blog posts, a forum solution, a white paper, or just something you had to solve for your own day's work today.

Drop us some nifty knowledge, or superb snippets, and become MICROSOFT TECHNOLOGY GURU OF THE MONTH!

This is an official Microsoft TechNet recognition, where people such as yourselves can truly get noticed!

HOW TO WIN

1) Please copy over your Microsoft technical solutions and revelations toTechNet Wiki.

2) Add a link to it on THIS WIKI COMPETITION PAGE (so we know you've contributed)

3) Every month, we will highlight your contributions, and select a "Guru of the Month" in each technology.

If you win, we will sing your praises in blogs and forums, similar to the weekly contributor awards. Once "on our radar" and making your mark, you will probably be interviewed for your greatness, and maybe eventually even invited into other inner TechNet/MSDN circles!

Winning this award in your favoured technology will help us learn the active members in each community.

Feel free to ask any questions below.

More about TechNet Guru Awards

Thanks in advance!
Pete Laker


#PEJL
Got any nice code? If you invest time in coding an elegant, novel or impressive answer on MSDN forums, why not copy it over toTechNet Wiki, for future generations to benefit from! You'll never get archived again, and you could win weekly awards!

Have you got what it takes o become this month's TechNet Technical Guru? Join a long list of well known community big hitters, show your knowledge and prowess in your favoured technologies!

SCOM Design Problem

$
0
0

Hi, 

I have a performance rule that gets some data from a database and should query from management servers. Also I want to provide high availability for this rule. Therefore I decided to target it on a custom resource pool which is defined in my MP.  

This is actually a design question. one of approaches can be this:

I created a class which inherited from "windows computers" class and hosted on my pool. My classes and relationships are something like this:

<ClassTypes><ClassType ID="MyPool.TestPool" Accessibility="Public" Abstract="false" Base="SC!Microsoft.SystemCenter.ManagementServicePool" Hosted="false" Singleton="true" Extension="false" /><ClassType ID="TestEnv.MyClass.OnPool" Abstract="false" Base="Windows!Microsoft.Windows.Computer" Accessibility="Public" Hosted="true" Singleton="false" Extension="false" ></ClassType></ClassTypes><RelationshipTypes><RelationshipType ID="TestEnv.MyClass.Hosted.MyPool.HostingRelationship" Accessibility="Public" Abstract="false" Base="System!System.Hosting"><Source ID="Source" MinCardinality="0" MaxCardinality="2147483647" Type="MyPool.TestPool" /><Target ID="Target" MinCardinality="0" MaxCardinality="2147483647" Type="TestEnv.MyClass.OnPool" /></RelationshipType></RelationshipTypes>

Now I can target my rule on this class.

The first question is that should I target the discovery of my class on windows computers or on my pool?

And the second one: Is this a correct approach or is there other approaches which by using them, I can provide high availability for my performance rule?


SCOM 2012 R2 EMS event 26004: unable to open the DhcpAdminEvents event log on computer in other domain

$
0
0

Our environment runs SCOM 2012 R2 with 3 management servers and a couple of gateways for domains without a trust.

One of our managment servers in our domain logs event 26004 every 12 minutes about one of the DHCP servers in one of the untrusted domains. The exact message:

-------------------------------------------------------------------------------------------

The Windows Event Log Provider is still unable to open the DhcpAdminEvents event log on computer 'server1.externaldomain.com'. The Provider has been unable to open the DhcpAdminEvents event log for 583920 seconds.

Most recent error details: The RPC server is unavailable.

One or more workflows were affected by this.

{workflow information}

-------------------------------------------------------------------------------------------

There's 3 of these right after eachother, each with a different affected workflow.

Server1 is being monitored just fine via the gateway of 'externaldomain.com', but somehow the management server in our own domain tries to read the eventlog of server1. I'd suspect that this should be done by the gateway instead of the management server.

I already tried to reboot the management server and reïnstalling the client on server1 as well, with no improvement.

What am I missing here?

How allow operator choose account to run SCOM tasks

$
0
0

Hi all, how are you?


I need to customize a task called  "Computer Management" that comes embedded in almost all Management Packs , for instance the management pack "Windows Server Operating System Library" has "Computer Management" task. The "Computer Management" task runs the command  "%windir%\system32\compmgmt.msc /computer:$Target/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$", so It uses the operator credentials to run that command on the target server.

The problem is that I need that task to run with the predefined "Run as account", or let the operator choose which task credentials to use. I could not figure out how to update or change "Computer Management" task in order to allow the operator to choose which credentials to use for executing the task.

Please, Does someone know if is possible to customize "Computer Management" task in order to let the operator choose which credentials to use?How can I do that?Or should I create another task using the same command line in "Computer Management" task?

I appreciate any help you can give me 

SCOM SQL Dashboard 'No States' for users not in the 'Operations Manager Administrators' role - Operations Manager Log Error 26319

$
0
0

We're facing an issue opening a random SQL Dashboard in SCOM 2012 R2 CU6. When logging in as a user in the'Operator' or 'Author' role no states are displayed in the dashboard. The following error is logged in the Operations Manager Eventlog:

Log Name:      Operations Manager
Source:        OpsMgr SDK Service
Event ID:      26319

An exception was thrown while processing GetSettingsDataSet for session ID uuid:87224f94-d9d9-4427-97e7-4a84f98300c7;id=1.
 Exception message: The creator of this fault did not specify a Reason.
 Full Exception: System.ServiceModel.FaultException`1[Microsoft.EnterpriseManagement.Common.UnauthorizedAccessEnterpriseManagementException]: The creator of this fault did not specify a Reason. (Fault Detail is equal to Microsoft.EnterpriseManagement.Common.UnauthorizedAccessEnterpriseManagementException: The user domain\user does not have sufficient permission to perform the operation.).

The end-user is seeing the following screen:

Thanks in advance.

Regards,

Remco


Distribution application state

$
0
0

Hi.

I create a Distribution application (i put some object to DA and create links) and in diagram i see this:

(Group my object in Critical and Not monitored)

but i don't want group object like this.

How i can change this?

Thanks.


Alert when any windows automatic service gets stopped

$
0
0
I have a request from my Sys Admin team to have an alert or a daily report show any windows automatic service stopped from any windows server. We have about 650 servers in our organization. Is there a monitor or rule that could blanket all of these?

Z

Viewing all 11941 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>