Custom Rule Rename in SCOM 2012
Hi. I have renamed a rule I set up and it shows the new name in Rules, but when it alerts the 'name' field in active alerts still seems to show the old name. If I want it to show the new name am I guessing that I would have to delete the rule and recreate
it?
Hello, No you don't have to recreate the rule. In the console, chose authoring, find your rule, right click on your rule and chose properties. Select configuration and under responses select Alert, and chose edit and change the Alert Name.
Good Luck.
Rickard
Similar Messages
-
Migration of Fxcop Custom Rules to Visuatl Studio 2012
I have an existing custom rule which was written in visual studio 2008 using fxocp SDK 1.35 and Microsoft.CCI 1.35. Now i am migrating it to latest version of Fxcop 11.0 and Microsoft .cci 11.0 using Vistual Studio 2012.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
//using Microsoft.FxCop.Sdk.Introspection;
//using Microsoft.Cci;
using Microsoft.FxCop.Sdk;
using System.Collections;
using System.IO;
namespace LDOFxCopCustomRules.Rules.Design
class DisposableObjectsShouldBeDisposed : BaseDesignRules
string sFileName = System.Configuration.ConfigurationSettings.AppSettings["FolderForOutput"] + "\\" + @"DisposableObjectsShouldBeDisposed.Xls";
bool bDisplayErrors = String.IsNullOrEmpty(System.Configuration.ConfigurationSettings.AppSettings["FolderForOutput"]);
//string sExceptionLogFileName = @"D:\RTE.txt";
static string sLockString = "Lock";
string sFormat = "{0}\t{1}\t{2}\t{3}\n";
string sAssemblyName;
string sClassName;
string sLineNumber;
// Fields
private Hashtable m_fieldsOwnedByType;
private Hashtable m_fieldsWithDispose;
private Method m_method;
// Methods
public DisposableObjectsShouldBeDisposed()
: base("DisposableObjectsShouldBeDisposed")
this.m_fieldsWithDispose = new Hashtable();
this.m_fieldsOwnedByType = new Hashtable();
if (!bDisplayErrors && !File.Exists(sFileName))
if (!bShowInAllReport)
lock (sLockString)
File.WriteAllText(sFileName, string.Format(sFormat, "Assembly", "Class", "Method (fully qualified name)", "Line number"));
public override ProblemCollection Check(Member member)
string sTemp = member.FullName;
bool bFinally = false;
bool bDataReader = false;
bool bDisposedCalled = false;
int nDataReaderCount = 0;
Local oCheckLocal;
Method oMethod = null;
int nCurrent = 0;
InstructionList oList = null;
this.m_method = RuleUtilities.GetMethod(member);
if (this.m_method == null)
return null;
this.m_fieldsWithDispose.Clear();
this.m_fieldsOwnedByType.Clear();
//if (!this.m_method.DeclaringType.IsAssignableTo(SystemTypes.IDisposable))
// return null;
//if (RuleUtilities.ExtendsControl(this.m_method.DeclaringType))
// return null;
//if (!RuleUtilities.IsDisposeBool(this.m_method) && (!RuleUtilities.IsDisposeMethod(this.m_method) || HasDisposeBoolMethod(this.m_method.DeclaringType)))
// return null;
if (this.m_method.DeclaringType.IsAssignableTo(SystemTypes.IDisposable))
if (RuleUtilities.ExtendsControl(this.m_method.DeclaringType))
return null;
if (!RuleUtilities.IsDisposeBool(this.m_method) && (!RuleUtilities.IsDisposeMethod(this.m_method) || HasDisposeBoolMethod(this.m_method.DeclaringType)))
return null;
sClassName = m_method.DeclaringType.Name.Name;
sAssemblyName = m_method.DeclaringType.DeclaringModule.ContainingAssembly.ModuleName;
MemberList members = this.m_method.DeclaringType.Members;
for (int i = 0; i < members.Length; i++)
switch (members[i].NodeType)
case NodeType.Field:
Field field = members[i] as Field;
if (!field.IsStatic && field.Type.IsAssignableTo(SystemTypes.IDisposable))
this.m_fieldsWithDispose[field] = null;
break;
case NodeType.InstanceInitializer:
case NodeType.Method:
this.VisitMethod(members[i] as Method);
break;
new DisposeVisitor(this.m_fieldsWithDispose).Visit(this.m_method);
if (this.m_fieldsWithDispose.Count > 0)
foreach (Field field2 in this.m_fieldsWithDispose.Keys)
if (this.m_fieldsOwnedByType.Contains(field2))
string str = RuleUtilities.Format(this.m_method.DeclaringType);
string str2 = RuleUtilities.Format(field2.Type);
sLineNumber = field2.SourceContext.StartLine.ToString();
Problem item = new Problem(base.GetResolution(new string[] { str, field2.Name.Name, str2 }), field2.Name.Name);
if (bDisplayErrors)
base.Problems.Add(item);
else
if (bShowInAllReport)
lock (LockClass.objLockAllReport)
File.AppendAllText(sSingleReportName, string.Format(sSingleReportFormat, sAssemblyName, sClassName, m_method.FullName, sLineNumber, "DisposableObjectsShouldBeDisposed"));
else
lock (sLockString)
File.AppendAllText(sFileName, string.Format(sFormat, sAssemblyName, sClassName, m_method.FullName, sLineNumber));
else
if (member.NodeType == NodeType.Method)
oMethod = member as Method;
// The below block is to identify if any of the method's class is implemented from the interface IDataReader.
// If that is the case, the method will be skipped and next method will be picked.
// Ideally, this should be changed to scanning each class, skipping if it has implemented IDataReader and then
// scan the methods for proper usage of IDataReader. But due to time constraints, this change is not done
TypeNode typ = oMethod.DeclaringType;
InterfaceList intList = typ.Interfaces; // get the list of interfaces of the class and check for IDataReader
foreach (Interface intf in intList)
if (intf.FullName.Contains("IDataReader"))
return null;
// Start the actual logic
if (oMethod != null)
oList = oMethod.Instructions;
Instruction oInstruction;
for (nCurrent = 0; nCurrent < oList.Length; nCurrent++)
oInstruction = oList[nCurrent];
if (oInstruction.OpCode == OpCode._Locals)
LocalList oLocalList = oInstruction.Value as LocalList;
int nCount = oLocalList.Length;
for (int nIdx = 0; nIdx < nCount; nIdx++)
if (oLocalList[nIdx].Type.Name.Name == "IDataReader")
bDataReader = true;
nDataReaderCount++;
if (nDataReaderCount > 0)
if (oInstruction.OpCode == OpCode._Finally)
bFinally = true;
if (bFinally)
if (oInstruction.OpCode == OpCode.Callvirt)
oCheckLocal = oList[nCurrent - 1].Value as Local;
if (oCheckLocal != null && oCheckLocal.Type != null && oCheckLocal.Name != null && oCheckLocal.Type.Name.Name != null && oCheckLocal.Type.Name.Name == "IDataReader")
bDisposedCalled = true;
//nDataReaderCount--;
// Microsoft.FxCop.Sdk.Problem oProblem = new Microsoft.FxCop.Sdk.Problem(base.GetResolution(sTemp1), oMethod.Name.Name);
if (bDataReader && !bDisposedCalled)
sClassName = oMethod.DeclaringType.Name.Name;
sAssemblyName = oMethod.DeclaringType.DeclaringModule.ContainingAssembly.ModuleName;
sLineNumber = nCurrent > 0 && nCurrent < oList.Length? oList[0].SourceContext.StartLine.ToString().Trim() : string.Empty;
if (bDisplayErrors)
Microsoft.FxCop.Sdk.Problem oProblem = new Microsoft.FxCop.Sdk.Problem(base.GetResolution(sTemp), sClassName);
base.Problems.Add(oProblem);
else
if (bShowInAllReport)
lock (LockClass.objLockAllReport)
File.AppendAllText(sSingleReportName, string.Format(sSingleReportFormat, sAssemblyName, sClassName, m_method.FullName, sLineNumber, "DisposableObjectsShouldBeDisposed"));
else
lock (sLockString)
File.AppendAllText(sFileName, string.Format(sFormat, sAssemblyName, sClassName, oMethod.FullName, sLineNumber));
return base.Problems;
private static bool HasDisposeBoolMethod(TypeNode type)
MemberList members = type.Members;
int num = 0;
int length = members.Length;
while (num < length)
Method method = members[num] as Method;
if ((method != null) && RuleUtilities.IsDisposeBool(method))
return true;
num++;
return false;
public override Statement VisitAssignmentStatement(AssignmentStatement assignment)
MemberBinding target = assignment.Target as MemberBinding;
if (target != null)
Field boundMember = target.BoundMember as Field;
if (((boundMember != null) && (boundMember.DeclaringType == this.m_method.DeclaringType)) && (assignment.Source is Construct))
this.m_fieldsOwnedByType[boundMember] = null;
return base.VisitAssignmentStatement(assignment);
// Properties
public override TargetVisibilities TargetVisibility
get
return TargetVisibilities.All;
// Nested Types
private class DisposeVisitor : StandardVisitor
// Fields
private Hashtable m_fieldsWithDispose;
private Method m_method;
private Hashtable m_recursionCache = new Hashtable();
private Hashtable m_variableToFieldMap = new Hashtable();
// Methods
internal DisposeVisitor(Hashtable fieldsWithDispose)
this.m_fieldsWithDispose = fieldsWithDispose;
public override Statement VisitAssignmentStatement(AssignmentStatement assignment)
Local target = assignment.Target as Local;
if (target != null)
MemberBinding source = assignment.Source as MemberBinding;
if (source != null)
Field boundMember = source.BoundMember as Field;
if ((boundMember != null) && (boundMember.DeclaringType == this.m_method.DeclaringType))
this.m_variableToFieldMap[target] = boundMember;
return base.VisitAssignmentStatement(assignment);
public override Method VisitMethod(Method method)
this.m_method = method;
return base.VisitMethod(method);
public override Expression VisitMethodCall(MethodCall call)
MemberBinding callee = call.Callee as MemberBinding;
if (callee != null)
Method boundMember = callee.BoundMember as Method;
if (boundMember == null)
return base.VisitMethodCall(call);
MemberBinding targetObject = callee.TargetObject as MemberBinding;
Field key = null;
if (targetObject == null)
Local local = callee.TargetObject as Local;
if (local != null)
key = this.m_variableToFieldMap[local] as Field;
else
key = targetObject.BoundMember as Field;
if (((key != null) && this.m_fieldsWithDispose.ContainsKey(key)) && (((boundMember.Name.Name == "Dispose") || (boundMember.Name.Name == "Close")) || ((boundMember.Name.Name == "Clear") && boundMember.DeclaringType.IsAssignableTo(FrameworkTypes.HashAlgorithm))))
this.m_fieldsWithDispose.Remove(key);
else if ((boundMember.DeclaringType == this.m_method.DeclaringType) && !this.m_recursionCache.Contains(boundMember))
this.m_recursionCache[boundMember] = null;
this.VisitMethod(boundMember);
return base.VisitMethodCall(call);
Below errors are raised. Please let me know the solution
1. Error 2 Inconsistent accessibility: base class 'Microsoft.FxCop.Sdk.StandardVisitor' is less accessible than class 'LDOFxCopCustomRules.Rules.Design.DisposableObjectsShouldBeDisposed.DisposeVisitor' D:\LDOFxCopCustomRules\DisposableObjectsShouldBeDisposed.cs 287 23 LDOFxCopCustomRules
Error 3 'Microsoft.FxCop.Sdk.StandardVisitor' is inaccessible due to its protection level D:\LDOFxCopCustomRules\DisposableObjectsShouldBeDisposed.cs 287 40 LDOFxCopCustomRules
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
//using Microsoft.FxCop.Sdk.Introspection;
//using Microsoft.Cci;
using Microsoft.FxCop.Sdk;
using System.Collections;
using System.IO;
namespace LDOFxCopCustomRules.Rules.Design
class AvoidUnusedParameters : BaseDesignRules
string sFileName = System.Configuration.ConfigurationSettings.AppSettings["FolderForOutput"] + "\\" + @"AvoidUnusedParameters.Xls";
bool bDisplayErrors = String.IsNullOrEmpty(System.Configuration.ConfigurationSettings.AppSettings["FolderForOutput"]);
//string sExceptionLogFileName = @"D:\RTE.txt";
static string sLockString = "Lock";
string sFormat = "{0}\t{1}\t{2}\t{3}\n";
string sAssemblyName;
string sClassName;
string sLineNumber;
private Hashtable m_parameterUsage;
public AvoidUnusedParameters()
: base("AvoidUnusedParameters")
this.m_parameterUsage = new Hashtable();
if (!bDisplayErrors && !File.Exists(sFileName))
if (!bShowInAllReport)
lock (sLockString)
File.WriteAllText(sFileName, string.Format(sFormat, "Assembly", "Class", "Method (fully qualified name)", "Line number"));
public override ProblemCollection Check(Member member)
Method method = member as Method;
if (!ShouldAnalyze(method))
return null;
this.m_parameterUsage.Clear();
if (CallGraph.FunctionPointersFor(method).Length > 0)
return null;
if (method.DeclaringType.IsAssignableTo(SystemTypes.Delegate))
return null;
if (RuleUtilities.IsEventHandling(method))
return null;
if (RuleUtilities.IsVisualBasicModule(method.DeclaringType.DeclaringModule) && (method.Name.Name == "Dispose__Instance__"))
return null;
if (RuleUtilities.HasCustomAttribute(method, SystemTypes.ConditionalAttribute))
return null;
for (int i = 0; i < method.Instructions.Length; i++)
switch (method.Instructions[i].OpCode)
case OpCode.Ldarg_0:
case OpCode.Ldarg_1:
case OpCode.Ldarg_2:
case OpCode.Ldarg_3:
case OpCode.Ldarg_S:
case OpCode.Ldarga_S:
case OpCode.Ldarg:
case OpCode.Ldarga:
Parameter parameter = method.Instructions[i].Value as Parameter;
this.m_parameterUsage[parameter] = null;
break;
sClassName = method.DeclaringType.Name.Name;
sAssemblyName = method.DeclaringType.DeclaringModule.ContainingAssembly.ModuleName;
sLineNumber = method.SourceContext.StartLine.ToString();
for (int j = 0; j < method.Parameters.Length; j++)
Parameter key = method.Parameters[j];
if (!this.m_parameterUsage.ContainsKey(key))
FixCategories breaking = FixCategories.Breaking;
if (!method.IsVisibleOutsideAssembly)
breaking = FixCategories.NonBreaking;
string str = RuleUtilities.Format(method);
string name = method.Parameters[j].Name.Name;
Problem item = new Problem(base.GetResolution(new string[] { name, str }), name);
item.FixCategory = breaking;
if (bDisplayErrors)
base.Problems.Add(item);
else
if (bShowInAllReport)
lock (LockClass.objLockAllReport)
File.AppendAllText(sSingleReportName, string.Format(sSingleReportFormat, sAssemblyName, sClassName, method.FullName, sLineNumber, "AvoidUnusedParameters"));
else
lock (sLockString)
File.AppendAllText(sFileName, string.Format(sFormat, sAssemblyName, sClassName, method.FullName, sLineNumber));
this.m_parameterUsage.Clear();
return base.Problems;
private static bool IsVSUnitTestInitializer(Method method)
if ((method.IsStatic && (method.ReturnType == SystemTypes.Void)) && ((method.Parameters.Length == 1) && (method.Parameters[0].Type.Name.Name == "TestContext")))
for (int i = 0; i < method.Attributes.Length; i++)
AttributeNode node = method.Attributes[i];
if ((node.Type.Name.Name == "AssemblyInitializeAttribute") || (node.Type.Name.Name == "ClassInitializeAttribute"))
return true;
return false;
private static bool ShouldAnalyze(Method method)
if (method == null)
return false;
if ((method.Parameters.Length == 0) && method.IsStatic)
return false;
if (method.IsVirtual)
return false;
if (method.IsExtern)
return false;
if (method.IsAbstract)
return false;
if (RuleUtilities.IsFinalizer(method))
return false;
if (method.Name.Name == "__ENCUpdateHandlers")
return false;
Module declaringModule = method.DeclaringType.DeclaringModule;
if (method.Name.Name.StartsWith("__", StringComparison.Ordinal) && RuleUtilities.IsAspAssembly(declaringModule))
return false;
if (RuleUtilities.IsISerializableConstructor(method))
return false;
if (IsVSUnitTestInitializer(method))
return false;
if (RuleUtilities.MethodOrItsTypeMarkedWithGeneratedCode(method))
return false;
return true;
// Properties
public override TargetVisibilities TargetVisibility
get
return TargetVisibilities.All;
Below Errors are raised
Error 8 The name 'SystemTypes' does not exist in the current context D:\AvoidUnusedParameters.cs 53 49 LDOFxCopCustomRules
Error 9 'Microsoft.FxCop.Sdk.RuleUtilities' does not contain a definition for 'IsVisualBasicModule' D:\AvoidUnusedParameters.cs 61 27 LDOFxCopCustomRules
Error 11 'Microsoft.FxCop.Sdk.BaseIntrospectionRule.FixCategories' is a 'property' but is used like a 'type' D:\AvoidUnusedParameters.cs 98 17 LDOFxCopCustomRules
Error 12 The best overloaded method match for 'Microsoft.FxCop.Sdk.RuleUtilities.Format(Microsoft.FxCop.Sdk.AttributeNode)' has some invalid arguments D:\AvoidUnusedParameters.cs 103 30 LDOFxCopCustomRules
Error 13 Argument 1: cannot convert from 'Microsoft.FxCop.Sdk.Method' to 'Microsoft.FxCop.Sdk.AttributeNode' D:\AvoidUnusedParameters.cs 103 51 LDOFxCopCustomRules
Error 14 The name 'SystemTypes' does not exist in the current context D:\AvoidUnusedParameters.cs 136 55 LDOFxCopCustomRules
Error 16 The type or namespace name 'Module' could not be found (are you missing a using directive or an assembly reference?) D:\LDOFxCopCustomRules\AvoidUnusedParameters.cs 180 9 LDOFxCopCustomRules
Error 17 'Microsoft.FxCop.Sdk.RuleUtilities' does not contain a definition for 'IsAspAssembly' D:\AvoidUnusedParameters.cs 181 90 LDOFxCopCustomRules
Error 18 'Microsoft.FxCop.Sdk.RuleUtilities' does not contain a definition for 'MethodOrItsTypeMarkedWithGeneratedCode' D:\AvoidUnusedParameters.cs 193 27 LDOFxCopCustomRulesHi sathishkumarV,
I am trying to involve someone familiar with this topic to further look at this issue. There might
be some time delay. Appreciate your patience.
Best Regards,
Jack
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Count of time to opening the customer's card in Siebel by SCOM 2012 R2
Hello!
I need to know how long opens a customer's card in Siebel.
It is possible to implement by SCOM 2012 R2?
Problem for me is, the link doesn't open by GET method, is opened by javascript:.....(.....)
Something like this
https://[link]/start.swe?SWERowId=.....SWEView=ContaсHi,
As far as I know, SCOM can be used to collect performance datas from monitored object, but the time used to open a link is not a data of performace that can be collected.
And there is build way to get the time used by default. So it is suggested to find other way to do this, such as scripting.
Regards,
Yan Li
Regards, Yan Li -
SCOM 2012 Open Custom Dashboard directly in Console
I wanted to display a dashboard on a big Screen .
I was looking for options and with the help i could find , we could open it using Web console on the TV , or Sharepoint Site or Visio diagram
then i found we could open the particular view directly using SCOM console (If it is installed)
Using something like: Microsoft.MOM.UI.Console.exe /ViewName:View_f0e6e6d99131451985140cb5f020028e.
This is valid for SCOM 2007 R2
Is there an similar option for SCOM 2012, I want to to show a particular dashboard that we created using this method.
I am following this article
http://www.peppercrew.nl/index.php/2011/04/scom-open-view-direct-in-console/I tried this $mg.GetMonitoringViews() | where {$_.displayname -like "*My Distributed
App*" | select Name
However i am not able to fetch the Distributed Application view that i created.
Is distributed application different from View. I somehow aint able to find it when using the Powershell or SQL
I even tried to fetch from SQl Database as well using http://www.peppercrew.nl/index.php/2011/04/scom-open-view-direct-in-console/ -
Hi,
I am getting an issue during a SCOM 2012 R2 installation while creating the SCOM DataWarehouse database. Setup seems to timeout during creating the datawarehouse database. I can see all database files created in windows explorer on the SQL server before
setup rolls the SCOM install back.
Has anyone seen this issue before or know how to help resolve it?
Appreciate your help, below is the SCOM installation log:
Thanks
Marc
[13:27:27]: Always: :Creating Database: OperationsManagerDW
[13:35:28]: Warn: :Warning:Retry on SQL error -2: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
[13:43:28]: Warn: :Warning:Retry on SQL error -2: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
[13:51:29]: Warn: :Warning:Retry on SQL error -2: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
[13:59:30]: Warn: :Warning:Retry on SQL error -2: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
[14:07:30]: Warn: :Warning:Retry on SQL error -2: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
[14:15:31]: Warn: :Warning:Retry on SQL error -2: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
[14:23:31]: Warn: :Warning:Retry on SQL error -2: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
[14:31:32]: Warn: :Warning:Retry on SQL error -2: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
[14:39:32]: Warn: :Warning:Retry on SQL error -2: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
[14:47:33]: Warn: :Warning:Retry on SQL error -2: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
[14:55:33]: Error: :DB operations failed with SQL error -2: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
: Threw Exception.Type: System.Data.SqlClient.SqlException, Exception Error Code: 0x80131904, Exception.Message: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
[14:55:33]: Error: :StackTrace: at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at Microsoft.EnterpriseManagement.OperationsManager.Setup.Common.SqlRetryHandler.ExecuteNonQuery(SqlCommand sqlCommand, Int32& result)
at Microsoft.EnterpriseManagement.OperationsManager.Setup.Common.SqlRetryHandler.Execute[T](SqlCommand sqlCommand, SqlRetryPolicy retryPolicy, GenericExecute`1 genericExecute)
[14:55:33]: Error: :Inner Exception.Type: System.ComponentModel.Win32Exception, Exception Error Code: 0x80131904, Exception.Message: The wait operation timed out
[14:55:33]: Error: :InnerException.StackTrace:
[14:55:33]: Error: :Error:Failed to execute sql command. Setup has reached maximum retry limit.
[14:55:33]: Warn: :Sql error: 11. Error: -2. Error Message: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
[14:55:33]: Error: :Exception running sql string
DECLARE @sql NVARCHAR(MAX);
SET @sql = 'CREATE DATABASE ' + QUOTENAME(@DatabaseName) + '
ON PRIMARY(NAME=MOM_DATA,FILENAME=''' + REPLACE(@Filename, '''', '''''') + ''',SIZE=' + CAST(@Size AS VARCHAR) + 'MB,MAXSIZE=UNLIMITED,FILEGROWTH=' + CAST(@FileGrowth AS VARCHAR) + 'MB)
LOG ON(NAME=MOM_LOG, FILENAME=''' + REPLACE(@LogFilename, '''', '''''') + ''',SIZE=' + CAST(@LogSize AS VARCHAR) + 'MB,MAXSIZE=UNLIMITED,FILEGROWTH=' + CAST(@LogFileGrowth AS VARCHAR) + 'MB)';
EXEC(@sql);: Threw Exception.Type: System.Data.SqlClient.SqlException, Exception Error Code: 0x80131904, Exception.Message: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
[14:55:33]: Error: :StackTrace: at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at Microsoft.EnterpriseManagement.OperationsManager.Setup.Common.SqlRetryHandler.ExecuteNonQuery(SqlCommand sqlCommand, Int32& result)
at Microsoft.EnterpriseManagement.OperationsManager.Setup.Common.SqlRetryHandler.Execute[T](SqlCommand sqlCommand, SqlRetryPolicy retryPolicy, GenericExecute`1 genericExecute)
at Microsoft.EnterpriseManagement.OperationsManager.Setup.DBConfigurationHelper.DBConfiguration.RunSqlCommandsList(IEnumerable`1 sqlCommands)
[14:55:33]: Error: :Inner Exception.Type: System.ComponentModel.Win32Exception, Exception Error Code: 0x80131904, Exception.Message: The wait operation timed out
[14:55:33]: Error: :InnerException.StackTrace:
[14:55:33]: Always: :Failed to create and configure the DB with exception.: Threw Exception.Type: System.Data.SqlClient.SqlException, Exception Error Code: 0x80131904, Exception.Message: Timeout expired. The timeout period elapsed prior to completion
of the operation or the server is not responding.
[14:55:33]: Always: :StackTrace: at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at Microsoft.EnterpriseManagement.OperationsManager.Setup.Common.SqlRetryHandler.ExecuteNonQuery(SqlCommand sqlCommand, Int32& result)
at Microsoft.EnterpriseManagement.OperationsManager.Setup.Common.SqlRetryHandler.Execute[T](SqlCommand sqlCommand, SqlRetryPolicy retryPolicy, GenericExecute`1 genericExecute)
at Microsoft.EnterpriseManagement.OperationsManager.Setup.DBConfigurationHelper.DBConfiguration.RunSqlCommandsList(IEnumerable`1 sqlCommands)
at Microsoft.EnterpriseManagement.OperationsManager.Setup.DWConfigurationHelper.DWConfigurationProcessor.RunAdminScripts(String sqlServerInstance, Nullable`1 port, String databaseName, Int64 dbSize, Int64 logSize, String dbPath, String logPath)
at Microsoft.EnterpriseManagement.OperationsManager.Setup.DWConfigurationHelper.DWConfigurationProcessor.ConfigureDataWarehouseDatabase(String sqlServerInstance, Nullable`1 port, String databaseName, Int64 dbSize, Int64 logSize, String dbPath,
String logPath)
[14:55:33]: Always: :Inner Exception.Type: System.ComponentModel.Win32Exception, Exception Error Code: 0x80131904, Exception.Message: The wait operation timed out
[14:55:33]: Always: :InnerException.StackTrace:
[14:55:33]: Error: :CreateDataWarehouse failed: Threw Exception.Type: System.Data.SqlClient.SqlException, Exception Error Code: 0x80131904, Exception.Message: Timeout expired. The timeout period elapsed prior to completion of the operation or
the server is not responding.
[14:55:33]: Error: :StackTrace: at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at Microsoft.EnterpriseManagement.OperationsManager.Setup.Common.SqlRetryHandler.ExecuteNonQuery(SqlCommand sqlCommand, Int32& result)
at Microsoft.EnterpriseManagement.OperationsManager.Setup.Common.SqlRetryHandler.Execute[T](SqlCommand sqlCommand, SqlRetryPolicy retryPolicy, GenericExecute`1 genericExecute)
at Microsoft.EnterpriseManagement.OperationsManager.Setup.DBConfigurationHelper.DBConfiguration.RunSqlCommandsList(IEnumerable`1 sqlCommands)
at Microsoft.EnterpriseManagement.OperationsManager.Setup.DWConfigurationHelper.DWConfigurationProcessor.RunAdminScripts(String sqlServerInstance, Nullable`1 port, String databaseName, Int64 dbSize, Int64 logSize, String dbPath, String logPath)
at Microsoft.EnterpriseManagement.OperationsManager.Setup.DWConfigurationHelper.DWConfigurationProcessor.ConfigureDataWarehouseDatabase(String sqlServerInstance, Nullable`1 port, String databaseName, Int64 dbSize, Int64 logSize, String dbPath,
String logPath)
at Microsoft.SystemCenter.Essentials.SetupFramework.InstallItemsDelegates.OMDataWarehouseProcessor.CreateDataWarehouse()
[14:55:33]: Error: :Inner Exception.Type: System.ComponentModel.Win32Exception, Exception Error Code: 0x80131904, Exception.Message: The wait operation timed out
[14:55:33]: Error: :InnerException.StackTrace:
[14:55:33]: Error: :FATAL ACTION: CreateDataWarehouse
[14:55:33]: Error: :FATAL ACTION: DWInstallActionsPostProcessor
[14:55:33]: Error: :ProcessInstalls: Running the PostProcessDelegate returned false.
[14:55:33]: Always: :SetErrorType: Setting VitalFailure. currentInstallItem: Data Warehouse Configuration
[14:55:33]: Error: :ProcessInstalls: Running the PostProcessDelegate for OMDATAWAREHOUSE failed.... This is a fatal item. Setting rollback.
marc nalderHi,
Based on the log, I recommend you use the following way to test SQL connectivity.
You can use a UDL file to test various connectivity scenarios, create a simple text file, rename the extension from TXT to UDL, fill out the necessary information on the connection tab then test the connection, and troubleshoot as necessary
if it fails to connect.
For more information, please review the link below:
The easy way to test SQL connectivity
http://blogs.technet.com/b/michaelgriswold/archive/2014/01/06/the-easy-way-to-test-sql-connectivity.aspx
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place. -
SCOM 2012 R2 System Performance Report issue
Dear All,
We have SCOM 2012 R2 with SQL Server 2012.
For last few days we are stucked with SCOM System Performance Report. We are trying to achieve following:
Generate a report of last 15 days of all the following components in a single report.
Get Memory Utilization of a Particular Server in Line Chart form with Horizontal counter showing 0 to 100% Utilization and vertical couter showing Time line. Also showing total Memory of the server.
Get Processor Utilization report of a Particular Server in Line Chart form with Horizontal counter showing 0 to 100% Utilization and vertical couter showing Time line. Also showing process installed on the server.
Get Disk Time report with (I/O) MB / Sec in Line Chart form.
I have tried creating a sample with photo editor to provide you better understanding of my requirement.
We can go for customizing reports with Report builder or any other tool which can help us achieve this task. Need your suggestion for the above.
Thanks
VN1) open the url http://reportserver/reports where reportserver is your report server
2) navigate the folder Microsoft.systemCenter.Datawarehouse.Report.library
3) click the arrow of report Microsoft.SystemCenter.Datawarehouse.Report.Performance and select download
4) repeat setp 3) for Microsoft.SystemCenter.Datawarehouse.Report.Performance.rpdl
5) rename its file name and upload its into the folder Microsoft.systemCenter.Datawarehouse.Report.library
6) click the arrow of report which you upload on step 5) and select manage
7) update its DataWarehousMain --> A shared data source as /Data Warehouse Main
8) update Custom data source as Credentials are not required and click Apply
9) click the arrow of report which you upload on step 5) and select Edit in Report Builder
10) right click the unwanted part and delete
Roger -
View Process Peak on SCOM 2012 Console
Hi guys,
I need your help for the following question.
Is there any way to view in SCOM 2012 Console the process that generates a memory o disk peak on a monitored machine? Until now, only I can see an alert for the resource peak, but I can't identify the process that generates it.
Regards,
RodrigoSCOM does not monitor the memory usage per process base. If you want to do it, you should create a custom rule.
Roger -
Custom Rule - Count of Event ID
I have a custom rule in SCOM 2012 for event ID 4648 in the security log. This will only alert when parameter 6 equals a specific user id. That works fine.
But, I want to get a count of how many times event id 4646 appears in the log for this user. How do I do that?
Thank you in advance.Adding more info:
How an Alert is Produced
http://technet.microsoft.com/en-us/library/hh212847.aspx
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place. -
SCOM 2012 Alerts for Ping Network Device
Hi
I have SCOM 2012 and configure Rule for Ping my Network Device.
My question is, How to Configure Alert for send mail when timeout is detected on Rule?. Step by step documentation? I see tab Alerts on the monitor but Generate Alerts option is greyed out.
thanks.More info:
How to test email notification settings in Operations Manager
https://support.microsoft.com/kb/934756?wa=wsignin1.0
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place. -
Discovery Issues with OnCommand Plug-in 4.1 for SCOM 2012 R2
I have a customer who has a NetApp cluster with FAS8040s running 8.2.1 in cluster-mode. The have SCOM 2012 R2 UR6 and the OnCommand 4.1 SCOM plug-ins. I can do an initial discovery of the cluster and it pulls back the SVM, but no other objects are discovered...no LIFs, no Nodes, no Volumes etc. I've been over the install doc many times and have not found where I might be doing something wrong. I've also searched on the interwebs and found a few suggestions, but none have changed the outcome. I've ensured the overrides are appropriate and to be sure its not a rights thing, I'm using "the" admin account. I see no indication of issues in:- The OnCommand Event Log- The OC.SCOM.logs (even in debug mode)- The SCOM task status Any help would be greatly appriciated.
We are now using a Domain account and I still can't get any further. Below are the only indications of issues I can find. ******************************************************************************** Log Name: Operations Manager
Source: Health Service Modules
Date: 8/3/2015 6:27:00 PM
Event ID: 22406
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: SCOM_SERVER
Description:
The PowerShell script failed with below exception
System.Management.Automation.MethodInvocationException: Exception calling "CreateDomain" with "3" argument(s): "The specified user does not have a valid profile. Unable to load 'Microsoft.EnterpriseManagement.HealthService.Internal, Version=7.0.5000.0, Culture=neutral, PublicKeyToken=121212121212121212'."At line:40 char:12
+ return [AppDomain]::CreateDomain("OC.Cluster.OM.Powershell.NonDefaultAppDoma ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
at System.Management.Automation.ExceptionHandlingOps.ConvertToMethodInvocationException(Exception exception, Type typeToThrow, String methodName, Int32 numArgs, MemberInfo memberInfo)
at CallSite.Target(Closure , CallSite , RuntimeType , String , Object , Object )
at System.Dynamic.UpdateDelegates.UpdateAndExecute4[T0,T1,T2,T3,TRet](CallSite site, T0 arg0, T1 arg1, T2 arg2, T3 arg3)
at System.Management.Automation.Interpreter.DynamicInstruction`5.Run(InterpretedFrame frame)
at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
Script Name: Monitoring.ps1
One or more workflows were affected by this.
Workflow name: DataONTAP.Cluster.Monitoring.GetDataProtectionLagTimePerformanceData.Rule
Instance name: Storage virtual machine SVM_NAME.
Instance ID: {UUID_STRING}
Management group: MG
Log Name: Security
Source: Microsoft-Windows-Security-Auditing
Date: 8/3/2015 6:28:00 PM
Event ID: 4666
Task Category: Application Generated
Level: Information
Keywords: Audit Failure
User: N/A
Computer: SCOM_SERVER
Description:
An application attempted an operation:
Subject:
Client Name: OC_ACTION_ACCOUNT
Client Domain: DOMAIN
Client Context ID: 111122222333
Object:
Object Name: IsUserAdministrator
Scope Names: 50585907-7858-4488-ab9c-13e0eaac08be
Application Information:
Application Name: Microsoft System Center
Application Instance ID: 22350934216
Access Request Information:
Role: Role
Groups: Group
Operation Name: User_IsAdministrator__Check (142)
Log Name: Security
Source: MOMSDK Service Security
Date: 8/3/2015 6:28:00 PM
Event ID: 26401
Task Category: (3)
Level: Information
Keywords: Classic,Audit Failure
User: DOMAIN\OC_ACTION_ACCOUNT
Computer: SCOM_SERVER
Description:
Data access operation: User_IsAdministrator__Check
Data access method: IsUserAdministrator
User name: DOMAIN\OC_ACTION_ACCOUNT
sessionId: uuid:UUID_STRING;id=NUM
******************************************************************************** -
SCOM 2012 SP1 - Show on event view all snmp trap (SNMP monitoring work)
Hello everybody,
Sorry for my english, I write normaly in french, but we have more result in english.
I have a problem with SCOM 2012. I try to catch all snmp traps sended by a 2960 CISCO switch on a EventView with a specific rule (Authoring->Rule->Collection Rules -> Event Based -> SNMP Trap (Event) based on the object target "Node")
I creat a specific management pack juste for the rule and the views.
SNMP Monitoring - CISOC 2960 => It's OK, I can have the processor state, utilization, etc ...
SNMP Monitoring Ubuntu computer => It's OK, I can have all the state I want.
SNMP Traps => The switch or the computer send traps over the network, and I can see in wireshark, the server receive the traps
SNMP Service (Windows service) => Disabled
SNMP trap (Windows service) => Disabled
Health Service (Windows service) => Enabled
Port 162 UDP => Open and listenning by the MonitoringHost.exe
Firewall rules => Everythinks is OK
SNMP Trap send version is => 2c
SNMP Monitoring device version is => 2c
I try too many of solution on different web site like :
http://scom-2012.blogspot.ch/2012/07/setting-up-snmp-monitoring-in-scom-2012.html
http://social.technet.microsoft.com/Forums/systemcenter/en-US/731661b9-10a1-4d3f-ba83-8e84d25ab760/event-collection-for-network-devices-scom-2012
http://social.technet.microsoft.com/Forums/systemcenter/en-US/a15bce49-fb62-4fd4-93cf-f87c3b734d58/snmp-trap-based-monitoring?forum=operationsmanagergeneral
http://social.technet.microsoft.com/Forums/systemcenter/en-US/41f5b6ef-c8b9-461d-bdcb-81fde5a89f50/scom-2012-unable-to-monitor-snmp-traps?forum=operationsmanagergeneral
http://social.technet.microsoft.com/Forums/systemcenter/en-US/4051fbd1-06f1-49e0-9ad4-4cbe4d2d7d4d/discover-windows-computer-as-network-device-w-snmp?forum=operationsmanagerauthoring
http://technet.microsoft.com/en-us/library/hh563870.aspx
http://social.technet.microsoft.com/Forums/en-US/cad1d3f9-594f-4f06-a5aa-660ccc2e9192/snmp-trap-based-monitoring-in-scom-2012-sp1?forum=operationsmanagerauthoring
http://social.technet.microsoft.com/Forums/en-US/41f5b6ef-c8b9-461d-bdcb-81fde5a89f50/scom-2012-unable-to-monitor-snmp-traps?forum=operationsmanagergeneral
http://social.technet.microsoft.com/Forums/en-US/e05a1c8f-7280-4f80-86cf-aabb4269bb87/scom-2012-customizing-snmp-trap-event-data?forum=operationsmanagergeneral
http://social.technet.microsoft.com/Forums/en-US/6826f6a6-bbc3-444b-9b18-288d7fedac3e/scom-unable-to-monitor-snmp-traps?forum=operationsmanagergeneral
http://social.technet.microsoft.com/Forums/en-US/7cd1571a-d292-4efc-9921-5a068f6f1691/scom-2012-sp1-ur2-snmp-monitoring?forum=operationsmanagermgmtpacks
Do you know a workaround? Or a different way to catch all the traps from a network device and show them (traps) on a event views.
Thank you in advance.
KimBaxZ
Computer expert system technologyHello Yan Li,
I read your link, and I found this :
The network devices must be discovered and registered as ICMPSNMP devices.
And when I make the dicovery the first time, ICMP doesn't work, so I put only SNMP. This morning I tried with ICMP and SNMP, but the same problem come to me. And I found the rootcause of the problem with this post : http://www.code4ward.net/main/Blog/tabid/70/EntryId/105/Troubleshooting-Network-Discovery-in-SCOM-2012.aspx
I allowed the SNMP service, ping, and Health Service, just after I try a second time to dicover my device and it's work (ICMP and SNMP).
I recreat all my management pack and the rule. And now it's work! Thank you very much for your help!!
Have a nice day
Best regards
KimBAxZ
Computer expert system technology -
How to create a group in SCOM 2012 R2 based on SCCM Collection?
Is there a way to create a group in SCOM 2012 R2 based on sccm collection? I am planning to use that group for maintenance mode.
Thanks, SamerHi,
I think you could query all the collectin members from SCCM database then use powershell to add them to a specific OU.
How to Create Groups in Operations Manager
http://technet.microsoft.com/en-us/library/hh298605.aspx
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place. -
Getting Error code -2130771961 while Discovering Cross platform server from SCOM 2012 r2.
Below is the Error
Unexpected DiscoveryResult.ErrorData type. Please file bug report.
ErrorData: Microsoft.SystemCenter.CrossPlatform.ClientLibrary.Common.SDKAbstraction.TaskInvocationException
Task invocation failed with error code -2130771961. Error message was: Creation of module with CLSID "{ED8C18C7-FEF4-488D-AAAF-830366BF0B40}" failed with error "Illegal operation attempted on a registry key that has been marked for deletion."
in rule "Microsoft.Unix.HostEntryResolution.Task" running for instance "Linux Resource Pool" with id:"{7337E4AE-136A-1099-B024-2F4633B1AE1A}" in management group "pslmgmt".
at System.Activities.WorkflowApplication.Invoke(Activity activity, IDictionary`2 inputs, WorkflowInstanceExtensionManager extensions, TimeSpan timeout)
at System.Activities.WorkflowInvoker.Invoke(Activity workflow, IDictionary`2 inputs, TimeSpan timeout, WorkflowInstanceExtensionManager extensions)
at Microsoft.SystemCenter.CrossPlatform.ClientActions.DefaultDiscovery.InvokeWorkflow(IManagedObject managementActionPoint, DiscoveryTargetEndpoint criteria, IInstallableAgents installableAgents)
can some one please help me ?Hi Pandit,
Have you tried restarting the SCOM service on the management server that you are performing the discovery on? Refer below articles for more information.
http://social.technet.microsoft.com/wiki/contents/articles/4966.troubleshooting-unixlinux-agent-discovery-in-system-center-2012-operations-manager.aspx
http://www.systemcentercentral.com/forums-archive/topic/scom-2012-r2-discovery-was-not-succesful-for-solaris/
Thanks,
Janaka
Janaka Rangama MCT MIEEE MBCS (Please take a moment to Vote as Helpful and/or Mark as Answer, where applicable.) -
Issue upgrading SCOM 2012 SP1 to SCOM 2012 R2
I have been having a really fun time trying to get my test SCOM 2012 SP1 environment upgraded to SCOM 2012 R2. I initially had an issue with the DB server not accepting connections to SMB which was causing the upgrade to fail stating database permission
issues (that was a fun one to troubleshoot). Once I figured out that problem I am now getting an error in the OpsMgrSetupWizard log that is stating the following:
[14:46:47]: Always:
:LaunchMsiSetup: Complete: 2 seconds
[14:46:47]: Error:
:LaunchMsiSetup: Failed, return code: 1612
[14:46:47]: Error:
:Error:Failed to uninstall previous MOM product on this machine, cannot proceed with upgrade
[14:46:47]: Error:
:Error:Failed to uninstall Operations Manager Agent on this machine. This is fatal error, we cannot proceed with upgrade
[14:46:50]: Error:
:LaunchMSI: MSI E:\Setup\AMD64\Server\OMServer.msi returned error 1603
[14:46:50]: Error:
:ProcessInstalls: Install Item Management Server failed to install. We did not launch the post process delegate.
In the application log I am getting the following error:
"Product: System Center Operations Manager 2012 Server -- The Operations Manager management server cannot be installed on a computer on which the Operations Manager agent, Operations Manager gateway, System Center Essentials, or System Center Service
Manager is already installed. These must be uninstalled to proceed."
I have verified that I don't have any of these installed and have even gone so far as to remove my Config man agent and System Center Endpoint Protection just in case it was getting confused with System Center Essentials.
I am at a loss as to what to try next. Any suggestions?Hi,
Check if you have the following registry. If so, please back it up first, then delete for a test.
HKEY_CLASSES_ROOT\Installer\UpgradeCodes\C96403E8AD6025B4F9E1FE9C574E34AE
Also, please uninstall MOM product and Operations Manager Agent manually to check the result.
Upgrading System Center 2012 SP1 - Operations Manager to System Center 2012 R2
http://technet.microsoft.com/en-us/library/dn249707.aspx
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place. -
Manage DPM servers, running DPM jobs, etc from SCOM 2012 SP1
Hi,
Little background about our systems.
We have a dedicated SCOM 2012.
We have 22 DPM servers, DPM 2010 and DPM 2012 (we are upgrading to 2012 SP1, we have customers that still using Windows 2003 servers) to be managed by SCOM
We have a few DPM servers that are not located on the same domain as the SCOM server (untrusted domain).
Some problem we have
1. When we try to manage the DPM servers from the SCOM server.
From SCOM 2012 server I can “Manage DPM server” that are located in our domain but I cannot manage DPM servers located on untrusted domains (customer’s domains). I receive the below error message
"Unable to connect to <untrusted domain DPM SERVER> ID: 948
Verify that the DPM service is running on this computer"
I guess it’s because the account that I’m using to run SCOM server located in our domain and does not have the permission to open the DPM console on the untrusted domain. So I wonder if it is possible to use “RUN AS profiles/accounts”
to solve this issue, and how?
2. I have installed SCOM 2012 Operations Manager Console on my computer and then installed DPM Central Console.
When I select one dpm server (from my computer), that is on our domain, and then click “Manage DPM server” I got this error message
"Unable to connect to <our domain DPM SERVER> ID: 33333
1. Verify that the DPM service is running on this computer (YES)
2. Verify that the current user has been added to at least one of the roles in Operations Manager. (YES)
3. Open Operations Manage console and then try launching the DPM Console (THAT IS WHAT I AM TRYING TO DO)
4. If you have re-imported the management pack recently, the role configuration may be corrupt. Open the DPM-specific roles and check if the roles have task assigned to them. If not, delete the roles and recreate the...."
When I click on “Get more information” I get this error message.
"You don´t have access permission to connect to the System Center Data Access service on <SCOM SERVER>. Please check if it is a permission issue".....
Do you know why I cannot connect to any DPM server on our own domain?
Why do I get access permission error on my computer but not on the SCOM server (using the same account)?
What should we do to be able to connect to DPM servers that are on untrusted domain?
3. Is it possible to see Last Recovery Point date/time in SCOM alerts?
For me it is the first thing I look at. If it has failed 10 min ago it is not critical.
But if it is a date and time more than 1 day old, then it is critical.
I hope someone can help us with this
Br
SvBohoHi,
To manager DPM, I think we may need to add the account to local admin group of the DPM server.
In addition, to connect to DPM the user needs permissions to DPM/SQL Server DPMDB.
For your DCs, have your enabled agent proxy option? If not, please enable that option for all DCs.
To monitor DPM with SCOM, please also go through the below links:
http://kevingreeneitblog.blogspot.com/2011/10/managing-and-monitoring-system-center.html
http://damatisystemcenter.com/2013/10/14/monitor-data-protection-manager-2012-using-scom-2012-sp1/
Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
Regards,
Yan Li
Regards, Yan Li
Maybe you are looking for
-
How to pass text to Material Sales text, item note, while creating a sales
hi , i tried my level best with the help of friends (SDN). but i am unable to reach the target. my requirement is to enter text into 1) material sales text 2) item note 3) packing note 4) delivery text 5) purchase order t
-
Need help reinstalling Yosemite/Question about external hard drive
I have an early MacBook Pro and I have to reinstall Yosemite because I've been getting nothing but spinning beach balls, slow loading, lag in type showing up, and wi-fi issues. I took the laptop to the Genius Bar at the Apple store last week and the
-
Missing G/L account in Financial statement - FC10
Hello Experts, I'm running report RFBILA00 (TC: FC10 or S_ALR_87012284) Financial statement comparison between 2 periods, and I don't see one particular G/L account. I checked Financial statement version and this account is properly assigned to subtr
-
Brand new Pavilion laptop how to turn on my integrated wed cam
I need help when i try to use skype the computer said mi camara is turn off wow i turn on my camara thankyou
-
Moving cursor moves screen around
I'm sure there's a simple solution to my problem, I'm just not sure what I did to cause it. I am using a Kensington wireless keyboard and mouse with my G5 and when I pressed several of the keys such as Shift/Cntrl/Alt (not sure which combination) whi