Team blog of MCS @ Middle East and Africa

This blog is created by Microsoft MEA HQ near shoring team, and it aims to share knowledge with the IT community.With its infrastructure and development sides,It brings to you the proven best practices and real world experiences from Subject Matter Experts
Follow Us On Twitter! Subscribe To Our Blog! Contact Us

Is AD integration or manual SCOM agents installation required to allow Automatic Windows Agent Failover between multiple SCOM 2012 Management Servers?

Is AD integration or manual SCOM agents installation required to allow Automatic Windows Agent Failover between multiple SCOM 2012 Management Servers?

  • Comments 2
  • Likes

Introduction:

I observed that some IT professionals confused about System Center Operations Manager (SCOM) 2012 windows agents failover requirements, and the raised question was do I need to configure SCOM Active Directory Integration or do manual agents implementation or use PowerShell to allow windows agents to do automatic failover between multiple SCOM management servers? or should I wait and delay SCOM agents deployment until deploying System Center Configuration Manager to deploy SCOM agents? and the simple answer is “No” need, and below you can find more details about from where confusion come and why you do not have to wait until AD integration or Configuration Manager be implemented to push SCOM windows agents, and how to verify that SCOM windows agents failover working properly.

 

Detailed Description:

First, confusion come because some documentation and blog posts shows how to distribute windows agents through SCOM management servers using AD integration or PowerShell Scripts to automate agents assignment through different SCOM management servers which is very good, however this is not mandatory specially for small environment that includes less than 100 windows agents, and the reason behind is that you can distribute the windows SCOM agents though the SCOM management servers while pushing the agents from SCOM management console, so simply you can select which management server will be the primary management server for agents that you are going to push right now as shown in below diagram that you can scroll down and select which management server will be the primary management server for agents that will be implemented within this wizard:

clip_image002

So the simplest way for small to medium windows servers environment is to push SCOM agents between the available management servers in the same management servers pool, so for example if you have two management servers automatically will be member in the same management servers pool then you can push 50% of agents to have SCOM management server-1 as their primary management server and then push the other 50% of agents to have SCOM management server-2 as their primary management server.

To verify windows agents failover between the different management servers simply you need to stop one of the management servers (disconnect from network or shutdown the management server) and check the Operations Manager event viewer in one of the managed computers by the stopped SCOM management server so you will see event ID 21006 as shown below telling you that there is a problem to connect to his management server.

clip_image004

If heart beat configuration kept with default value which is 60 seconds then another event ID 21015 will be generated as shown below telling you that OpsMgr was unable to set up a communications channel to the agent primary management server.

clip_image005

3 Seconds later you will see a new event ID 21017 will be generated as shown below telling you that OpsMgr has successfully failed over to the secondary management server

clip_image006

The good point here is that when the windows agent primary server come back running agent will fail back automatically to its primary management server.

 

Conclusion:

As a conclusion, SCOM windows agents automatic failover does not require AD integration or PowerShell scripting or Configuration Manager or manual agents installation specially for small to medium environment and agents distribution between different SCOM management servers can be accomplished through push agents wizard, and windows agents failover can be simply verified from event viewer.

Comments
  • Hi Meged very good article which explains in a concise form the failover behavior. One question, you specify no additional requirements are needed for small or medium environment. What about large one, say about 1'000-2'000 devices? Do you see some drawback using the default behavior for large environment?

  • Thanks Maurizio, For large dynamic environment AD integration is easier to assign agents to SCOM server automatically from AD while agent installed as a part of O.S. deployment, however in general no drawback to use the normal agent installation as above.

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment