SCOM 2012 Gateway server failover configuration

You can failover SCOM gateway to multiple SCOM MS.You must have minimum 2 or more MS server.Below example we have 3 SCOM MS & 2 Gateway server.
Please run the below shell command on operation shell.
$primaryMS = Get-ManagementServer | where {$_.Name –eq ‘Primary SCOM MS’ }
$failoverMS = Get-ManagementServer | where {$_.Name –eq ‘Failover SCOM MS’}
$gatewayMS = Get-ManagementServer | where {$_.Name –eq ‘Gateway Server Name’ }
Set-ManagementServer -GatewayManagementServer: $gatewayMS -PrimaryManagementServer: $primaryMS -FailoverServer: $failoverMS

Advertisements