SCOM Agent Failovering

Fadil Ck 381 Reputation points
2023-05-29T05:07:52.7633333+00:00

Hi All,

We are using SCOM 2019, there are 4 Management servers (MS) in our environment. We planning to do some testing. As part of this 2 of the management servers will be down. We hope that the agents reporting to them will failover to the MS that will be up. All the agents open on port 5723 to all the 4 MS.

How do we know that the agents are fail-overed during the testing? Will it reflects in the Agent Managed Section? If not, is there any way to know they are currently reporting to which MS?

System Center Operations Manager
System Center Operations Manager
A family of System Center products that provide infrastructure monitoring, help ensure the predictable performance and availability of vital applications, and offer comprehensive monitoring for datacenters and cloud, both private and public.
1,602 questions
0 comments No comments
{count} votes

Accepted answer
  1. XinGuo-MSFT 22,231 Reputation points
    2023-05-30T01:55:16.02+00:00

    Hi,

    In your scenario, you intend to test if the agents can fail over to the remaining Management Servers when two of them are down. When an agent loses communication with its primary management server, it will try to fail over to a secondary management server or a gateway server. The agent will fail over to the first available secondary management server or gateway server according to its configured failover management servers.

    To check if the agents have failed over to the remaining Management Servers, you can view the agents' managed servers in the Agent Managed section of the Administration workspace in the Operations console. The agents' managed servers page shows the current primary management server for each agent. For example, the primary management server where the agent was initially reporting might show "Down" or "Not Monitored". If an agent has failed over to a new primary management server, then the new primary management server should appear in this list.

    You can also use PowerShell to check the current primary management server for all agents. Connect to the operations manager shell and use the below command:

    Get-SCOMAgent | Select-Object DisplayName, PrimaryManagementServerName
    

    This command lists all the agents in your management group and their current primary management server. If an agent has failed over to a new primary management server, then the new primary management server name should appear in this list.

    Reference:

    Configure Agent Failover to Multiple Gateway Servers

    Monitoring Failover Cluster with Operations Manager

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.