Use the Set-ManagementServer-GatewayManagementServer command in Command Shell as shown in the following example to configure a gateway server to failover to multiple management servers. The commands can be run from any Command Shell in the management group.
To configure gateway server failover to multiple management servers
-
Log on to the gateway server with an account that is a member of the Administrators role for the management group.
-
On the Windows desktop, click Start, point to Programs, point to System Center Operations Manager, and then click Command Shell.
-
In Command Shell, follow the example described in the next section.
Example
The following example can be used to configure gateway server failover to multiple management servers.
Copy Code | |
---|---|
$primaryMS = Get-ManagementServer | where {your filter here} $failoverMS = Get-ManagementServer | where {your filter here} $gatewayMS = Get-ManagementServer | where {your filter here} Set-ManagementServer -GatewayManagementServer: $gatewayMS -PrimaryManagementServer: $primaryMS -FailoverServer: $failoverMS |
In the preceding example, you will need to create a filter statement for the first three commands. The following is an example of a filter command written to find the computer contoso.com that will be assigned to the $failoverMS variable:
Copy Code | |
---|---|
$failoverMS = Get-ManagementServer | where {$_.Name –eq ’contoso.com’ } |
For help with the Set-ManagementServer command, type the following in the Command Shell window.
Copy Code | |
---|---|
Get-help Set-ManagementServer -full |
See Also
Tasks
How to Configure Agent Failover to Multiple Gateway Servers in Operations Manager 2007How to Deploy the Gateway Approval Tool in Operations Manager 2007
How to Deploy the Gateway Server Using MOMGateway.msi in Operations Manager 2007
How to Remove the Gateway Server in Operations Manager 2007
How to Use the Gateway Approval Tool in Operations Manager 2007
Concepts
About Gateway Server in Operations Manager 2007Did you find this information useful? Please send your suggestions and comments about the documentation.