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

putting a list of servers in maintenance with powershell

$
0
0

Hello I am quite new with Powershell and with SCOM, but I am trying to put a list of servers into maintenance and I created this script:

New-SCOMManagementGroupConnection-ComputerNameServername

$ServerList=Get-Content"\\servername\Users\Automatisering\_Infrastructure\PS Scripts\Scom Maintenance\servers.txt"

$Hours=Read-Host"How many hours do you want to set the maintenance?"

$Time=((Get-Date).AddHours($Hours))

$Comment=Read-Host"What is your comment for setting the maintenance?"

ForEach($Serverin$ServerList)

{

$HostName="$Server*"

Try

{

$Instance=Get-SCOMClassInstance-Name$HostName

Start-SCOMMaintenanceMode-Instance$Instance-EndTime$Time-Comment$Comment-ReasonPlannedOther-ErrorActionContinue-PassThru

}

Catch

{

"error$server"

}

}

but I receive for some servers the following error:

start-SCOMMaintenanceMode : The client has been disconnected from the server. Please call ManagementGroup.Reconnect() to reestablish the connection.

At \\Servername\Users\Automatisering\_Infrastructure\PS Scripts\Scom Maintenance\ScomMaintenance.ps1:14 char:25

+ ... Start-SCOMMaintenanceMode -Instance $Instance -EndTime $T ...

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

+ CategoryInfo : InvalidOperation: (Microsoft.Syste...anceModeCommand:StartSCMaintenanceModeCommand) [Start-SCOMMaintenanceMode], ServerDisconnectedException

+ FullyQualifiedErrorId : ExecutionError,Microsoft.SystemCenter.OperationsManagerV10.Commands.StartSCMaintenanceModeCommand

I am trying to figure out what is going wrong, especially this isn't happening for every server that I want to put in maintenance.

Hopefully someone can help me out or point me to right direction.

Thank you in advance!

Regards,

Jay




Looking for a backup SMS notification solution

$
0
0

I haven't had to deploy one of these in awhile.  Has anyone experience with a hardware solution for an HP proliant 380 server for SMS secondary notifications?  I saw that the modem or device must support SMS PDU mode.

All cluster disk have disappeared in scom

$
0
0

SCOM 2012R2 UR9

Windows Server Cluster Disks Monitoring 6.0.7303.0

So , we have missed some cluster disk free space situation and after some investigation  i can see that there are totally 

No cluster disk on monitoring. They all gone.

Cluster Disks Discovery/Cluster Shared Volume Discovery/Cluster Name Discovery are enabled by default and they are not turned off by overrides. No errors on agents where cluster disks are

What can i do for troubleshooting ?


none


Determine which machines are using which management packs

$
0
0

Is there a way to see which machines are using which management packs?

We know that the MPs are loaded on the scom management servers but we are not sure which machines are using our Universal Linux MP, or our Windows 2008 R2 MP, etc.

Maybe this is a sql query?

Thanks in advance.


Thanks Lance

Server 2012 mount points not alerting in SCOM 2007 R2

$
0
0

Still using SCOM 2007 R2. We have the MP for 2012 installed and the discovery for mount points enabled. I can see the mount points as logical disks. However, SCOM does not alert when free space gets below the alert threshold.

Logical disks on 2012 servers with drive letters do not have the same issue and alert when they should.

Is this a known issue with monitoring mount points on 2012 servers from SCOM 2007 and, if so, is there a fix for it?

Thanks


Kenny

Performance Details for Windows Logical Disk Drive

$
0
0

Hi,

Here we have a requirement to find total C:\ drive disk space on each windows agent servers and how much free space is available on these agents. We tried to pull the reports using Reporting tab, as we have 900+ agents are configured, its getting DB error. Do we have any alternate way to fetch the details from Data Warehouse DB server using SQL query. I am not familiar with SQL tables and views as well with SQL queries. If you guys knows the table / views name where the logical disk space performance reports being pulled out, pls share the details. Will take the help from our internal SQL team to pull the details.

We are using SCOM 2012 Management servers and the SQL box is 2012

The desired output is like;

1.Agent Name

2.Total Disk space

3.Available disk free space


Regards, Rajeev Parambil

SNMP OID monitoring caveat

$
0
0

Hello,

I have a network device (router01.contoso.com) being monitored in SCOM 2012 R2 using SNMP.  I'm using a community string (secretWord) to monitor it.  I'm able to pull Processor/MEM/Interface details.

I want to monitor BGP connection details on a virtual interface by probing a specific OID, however, that OID is only accessible by specifying a different community string (specialSecretWord).

Creating a SNMP monitor is no problem.

My question - Is there a way to use different community strings to query the same device?  If so, how?

Thank you in advance,

KB

SCOM 2016 Technical preview 4 not able to install additional management server

$
0
0

Dear all,

In SCOM 2016 Technical preview 4 is it possible to install additional management server ? 

74KMS


Ports to be opened for SCOM 2012 R2

$
0
0

Hi

We are looking for a doc for ports to be opened in network firewall for SCOM 2012 R2

Thanks in advance


LMS

Is SCOM autoclosing rules?

$
0
0

Hi,

Bear with me, a somewhat complicated story here.

One of our servers ASR booted two some days ago but we didn't notice it (the Heartbeat Failure and Failed to Connect to Computer went from new to close and thus we didn't see it because our View only shows New alerts).

Although, since it was an ASR boot, our "HP Windows (WMI ASR reboot occorued."-alert should trigger, and it did! But somehow it went to Closed immediatley with no sign on who closed it. So the question is, why did SCOM close it automatically? Since its a rule, no auto-resolve is configured (screenshots attached below).

We also have a custom rule that reacts on Eventid 6008 in the System log (The previous shutdown at xx:xx:xx on xxxx-xx-xx was unexpected) that is also set to Closed with no trace on who actually Closed it.

Also - we received the "SQL Server Broker disabled"-alert two days before all this, could that have something to do with it?

Thanks for your help.

SCOM 2012 SP1 - windows 2003 monitoring agent health green but operation system monitor Unmonitored.

$
0
0

I have one windows 2003 which has updated to scom 2012 SP1 UR9 but it cannot be monitor in SCOM 2012 SP1 which showing its operating system "unmonitored" - all the hardware and OS related not discovered at all.

If i changed it back to monitor using SCOM 2007R2, i do not have any issue.

Scom data warehouse

$
0
0

Hi ,

Recently i had put my server on maintenance mode , now all of my state is ok and working but when i saw

Data Warehouse Connectivity and Processes State is was not monitored

And when i ran Get-SCOMClassInstance -Name "*dw*" in powershell

I recieved :

HealthState     InMaintenanceMode  DisplayName
-----------     -----------------  -----------
Uninitialized         False        OperationsManagerDW

what do i do ?

thanks  


Unable to run Remove-SCOMDisabledClassInstance

$
0
0

Hey, 

Has anyone else run across this issue? I am attempting to run the command Remove-SCOMDisabledClassInstance from the Operations Manager Shell and i get the following message.

PS C:\> Remove-SCOMDisabledClassInstance
**WARNING** This operation WILL result in class instances and relationships being permanently deleted.  This operation i
s irreversible and will likely result in a significant amount of activity in the operational database.  Are you sure you
 want to do this? [Y/N]

y

Started.  This operation may take a very long time to complete.

Remove-SCOMDisabledClassInstance : Could not find stored procedure
'dbo.p_DiscoverySourcesEligibleForDeletionDueToOverridesProcedure'.
At line:1 char:1
+ Remove-SCOMDisabledClassInstance
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (Microsoft.Syste...nstancesCommand:RemoveSCDisabledClassInstancesComma
   nd) [Remove-SCOMDisabledClassInstance], UnknownDatabaseException
    + FullyQualifiedErrorId : ExecutionError,Microsoft.SystemCenter.OperationsManagerV10.Commands.RemoveSCDisabledClas
   sInstancesCommand

Health Service limits SCOM 2012 R2 UR4

$
0
0

"Health Service limits: maximum 128 dataitems per a workflow, maximum 5120 dataitems simultaneously"

The above statement seems to be somewhat known between SCOM admins. Is there any authoritative source for this information or any way to measure these values?

Are these values applicable to Health Services running only on Agents or also Management Servers/Gateways?

PS.

I know in UR 5 there are some registry keys that allow to override the hard coded value for the agent :https://support.microsoft.com/en-us/kb/3023138

Thanks.


http://mariusene.wordpress.com/

SCOM alerts when using Group Scope for user profile

$
0
0

Hi, I have an issue with proper display alerts for operators. I have some groups with specific objects and I scoped operator role for that groups only. Objects are displayed correctly in SCOM Console but I get also warning alerts from SCOM itself in Active Alerts view like "Operations Manager failed to start a process" or "Worklfow Initialization: Failed to start workflow that run a process or script"

Those objects in groups are windows computers and vmware.

Anyone know why this might be happening?

 

Powershell Script to install URs

$
0
0

Hi,

Is there a PowerShell script about that can install a UR to a list of servers (e.g. the amd64-agent .msp file from UR9) from my SCOM server?

(I'm finding that too often many hours are spent in updating agents that fail to get the updates from the SCOM GUI and for those that are manually installed).

Thx very much,

John Bradshaw


Run As Account does not exist on the target system or does not have enough permissions on SQL 2008

$
0
0

I facing problem on few SQL 2008 where it keep triggering  "Run As Account does not exist on the target system or does not have enough permissions" even though i found out the NT\authority system is assigned as SYSADMIN by default. It having problem to access certain database.

Management Group: CSC-ML. Script: DiscoverSQL2008Files.js : Cannot login to database 

Export from Report Builder 3.0 into SCOM

$
0
0

Hello everyone,

===

As you can tell from the subject, I`m having difficulties exporting a report that I made on Report Builder.   I could save it as rdl file but i can only open that report through the Report Builder itself.   I have this report runs a query to read from MS SQL server.   It runs smooth, is there any way i can have this report into SCOM?

===

Regards

Abdullah

High availability of monitoring solution

$
0
0

hi Team,

We have 3 MS servers in Data center 1 and 1 in other data center 2, in total 4 MS servers in a single management group.

as per the "All Management Servers Resource Pool" alert failure is caused by  "Majority of collection Management Servers are not running".

just want to understand more on this.

what is the minimum number of MS servers to be online. this will help me in planning a simple DR activity and HA test.

If 3 MS goes down in data center 1 will the MS in data cent 2 takeover all the roles or do we need to have extra MS.




RajKumar

You could be our Fabulous February System Center Guru!

$
0
0

Fabulous February is here at last!

This is the month some of the greatest names in TechNet Wiki history will step forth and give us knowledge!

That's YOU by the way!

Drop us a little ray of sun, a few lines of love, or virtual valentine!

Your revelations could enrich so many more if you copied it for posterity into the wiki of wisdom

We need heroes! We need YOU! Join us and grow your reputation amongst some of the greats of the community!

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.

 

January's entries are now being judged, but below are December's mighty winners and contenders!

Guru Award BizTalk Technical Guru - December 2015  

Gold Award Winner

Peter LindgrenBizTalk: Create SSO Bindings Without Joining Active Directory (AD) DomainSK: "Very good article"
SW: "Pragmatic Approach in Development Environment"

Silver Award Winner

Steef-Jan WiggersBizTalk Server : Call external code in an orchestrationSW: "Good explanation and demonstration when to use/call external code in an orchestration."
SK: "Great work here"

Guru Award Forefront Identity Manager Technical Guru - December 2015  

Gold Award Winner

Wim BeckFIM2010: Outbound System Scoping Filter SyntaxSøren Granfeldt: "The best"
PG: "Nice solution, very helpful"

Silver Award Winner

Jeff IngallsHow to Use PowerShell to Create a CSV of FIM/MIM Metaverse ConnectionsPG: "Nice solution, well documented, very helpful"
Søren Granfeldt: "Very interesting read"

Guru Award Microsoft Azure Technical Guru - December 2015  

Gold Award Winner

XAML guyIoT Suite - Under The Hood - Remote MonitoringAS: "Very good article. Just made me play around with the stuff."
JH: "Good explanation of the remote monitoring sample of the IoT Suite. More articles about the IoT Suite are more than appreciated."

Silver Award Winner

Sajid Ali KhanJumpStart into Big Data with HDInsightJH: "Nice article to get started with HDInsight. Lots of easy to follow graphics."
AS: "Nice post. But somehow I really wanted to jump start with Big Data without having to deal with Hadoop :)"

Bronze Award Winner

Ken CenerelliAzure Infographics and Visio TemplatesAN: "Just listing infographics does not add any value for the users. One can just stop by: https://azure.microsoft.com/en-us/documentation/infographics/ and review / download all"
JH: "Good collection of the infographics available for Azure."

Guru Award Miscellaneous Technical Guru - December 2015  

Gold Award Winner

Ken CenerelliCommand Prompt improvements in Windows 10Richard Mueller: "Very interesting and useful information. Well written and explained."

Silver Award Winner

SYEDSHANUASP.Net Web Photo Editing Tool Using HTML 5Richard Mueller: "Lots of well commented code. Good images. Good use of Wiki guidelines. We could use an "Other Resources" section."

Bronze Award Winner

Hussain Shahbaz KhawajaVisual Studio Community for Java DevelopersRichard Mueller: "Good images. We could use links and references."

Guru Award SharePoint 2010 / 2013 Technical Guru - December 2015  

Gold Award Winner

Danish IslamSharePoint: Filter Dropdown values on List InfoPath form based on Current UserRichard Mueller: "Good use of Wiki guidelines. Great images. The "See Also" is good, but because the links are not Wikis, it should be "Other Resources"."

Silver Award Winner

Jesper ArneckeSharePoint 2013 - Workflow Manager – Scripted InstallationRichard Mueller: "Lots of code. References are good, but we could use a "See Also" section."

Bronze Award Winner

Danish IslamSharePoint: Hiding or Ordering Fields on Default List FormsRichard Mueller: "Great use of Wiki guidelines. We can use some references."

Guru Award Small Basic Technical Guru - December 2015  

Gold Award Winner

SYEDSHANUMicrosoft Small Basic: Painting Tool Using Graphics WindowRZ: "This is very nicely done! Fantastic tool for painting and illustrating the drawing capabilities of SmallBasic"

Silver Award Winner

Ed Price - MSFTSmall Basic Sample: Leap Year CheckerRZ: "Leap year calculation is always interesting -- the rules are always just a bit more complicated than you expect :)"

Guru Award SQL BI and Power BI Technical Guru - December 2015  

Gold Award Winner

Greg Deckler (Quick Solutions)Merge Query with MPT: "Greg, nice tip. It's good to see how simple M script techniques like this can supercede the out-of-the-box script generated by the UI tool. I'll use this often."

Guru Award SQL Server General and Database Engine Technical Guru - December 2015  

Gold Award Winner

Ronen ArielySQLCLR: Percentage User-Defined Aggregate FunctionsDurval Ramos: "This article is interesting, but needs more details to demonstrate how to create and use an assembly .Net on SQL Server"

Guru Award System Center Technical Guru - December 2015  

Gold Award Winner

C Sharp ConnerSolution - Correctly restoring Data Warehouse and Registering to SCSM when Cube Process Jobs have gone BadAB: "Nice solution"
Nicolas Bonnet: "Thank you for posting this C Sharp Corner :)"

Silver Award Winner

Adin ErmieService Manager 2012 R2 Installation Fails To Identify SQL Server Instance, and Throws ‘Access Denied’ ErrorNicolas Bonnet: "Nice tip Adin, trhanks"
AB: "Useful read!"

Guru Award Transact-SQL Technical Guru - December 2015  

Gold Award Winner

Naomi NT-SQL: Finding Difference in Columns in the TableDurval Ramos: "This article provides an useful solution to compare values. A very well written and good article that have "Conclusion" to the reader"
Richard Mueller: "Great article. Good use of Wiki guidelines and good code examples."
Samuel Lester: "Outstanding solution! Thanks again for the great depth of your submissions! Job well done!"

Silver Award Winner

Natig GurbanovHow to find incorrect datetime data from "Char" format columnDurval Ramos: "An interesting article about how to use ISDATE function "
Richard Mueller: "Grammar needs work and references would help."
Samuel Lester: "Another good tip, thanks again"

Bronze Award Winner

Natig GurbanovSql Server:Unusual String FunctionsRichard Mueller: "A good effort, but grammar needs work and we could use more explanation."
Samuel Lester: "Fun tip, thanks for covering this rarely discussed function"
Durval Ramos: "Nice, could do with some more work"

Guru Award Universal Windows Apps Technical Guru - December 2015  

Gold Award Winner

Umer QureshiHow to create and use custom controlJH: "Nice article. Love the animated pictures."

Silver Award Winner

Sajid Ali KhanJumpStart With Data Binding in UWPJH: "Very informative article about data binding. Unfortunately some of the pictures are missing."

Bronze Award Winner

Umer QureshiIntroduction To Data Binding Using Model ClassJH: "Good example of one of the greatest features of XAML."

Guru Award Visual Basic Technical Guru - December 2015  

Gold Award Winner

tommytwotrainSpace Invaders game using a DataTable and DataGridViewAnthony D. Green: "Bonus points for being fun. It's also well presented and informative."
AN: A great fun article, well laid out too"
Richard Mueller: "A very well written article. Lots of code and good references."
Carmelo La Monica: "Very nice work, is very good to see a game with Datagrid. Congrats for work and vb net code."

Silver Award Winner

SYEDSHANUExternal Program Text Read using VB.NETCarmelo La Monica: "Nice article, great animate images and vb net code."
AN: "Very nice article, lots to read and love"
Anthony D. Green: "Well structured but needs some proof reading. It's an informative example of using the Win32 API through P/Invoke but lacks sufficient motivation for the example."
Richard Mueller: "Grammar needs work and we could use references."

Bronze Award Winner

.paul.InputDialog DemoRichard Mueller: "Great examples and code."
Carmelo La Monica: "Great work, very interesting sample and code. Congrats."
ANThe article is too short/simple. It re-implements funtionality available in the platform without demonstrating clear benefit. It's more of a code sample than an article.

Guru Award Visual C# Technical Guru - December 2015  

Gold Award Winner

Anil KumarC# Delegate – a silent hero behind modern programmingJaliya Udagedara: "Explains one of the most important types in .NET Framework. It would have been good if explained with more sample code."
Carmelo La Monica: "Fantastic topic, great code, congrats!"

Silver Award Winner

Qasim ChaudhryHow To Customize Identity in ASP.NET MVC5Jaliya Udagedara: "Good! Step by step guide to customize ASP.NET Identity."
Carmelo La Monica: "I'm not expert of AspNet, but this article is very useful and detailed in all parts!"

Bronze Award Winner

SYEDSHANUSPC CP and Cpk Chart in C# Windows FormsCarmelo La Monica: "Fantastic, i mean is similar to tool for debug, great work."
Jaliya Udagedara: "Needs some explanations to the code."

Guru Award Wiki and Portals Technical Guru - December 2015  

Gold Award Winner

Andy ONeillTechNet Guru Iconography SuggestionsRichard Mueller: "What fun! Lots of good ideas here. Gets me thinking."

Guru Award Windows PowerShell Technical Guru - December 2015  

Gold Award Winner

Ken CenerelliList Services With PowerShellRichard Mueller: "Well written article. The "See Also" section should only include Wiki articles, so those links could go in the "References" section."

Guru Award Windows Presentation Foundation (WPF) Technical Guru - December 2015  

Gold Award Winner

Andy ONeillSeasons GreetingsPeter Laker: "Yey for the seasonal article!"

Silver Award Winner

Umer QureshiDifference between Grid and StackPanelPeter Laker: "Nice explanation, thanks Umer"

 

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!

Viewing all 11941 articles
Browse latest View live


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