如何配置多台管理服务器之间的故障转移到一个网关服务器

 

适用对象:System Center 2012 R2 Operations Manager, System Center 2012 - Operations Manager, System Center 2012 SP1 - Operations Manager

使用 Get-ManagementServer GatewayManagementServer Operations Manager 外壳如下面的示例中所示配置网关服务器故障转移到多个管理服务器中的 cmdlet。 可以从管理组中的任何命令外壳运行命令。

若要配置网关服务器向多个管理服务器的故障转移

  1. 登录到网关服务器的管理员角色的管理组的成员的帐户。

  2. 单击 启动, ,单击 所有程序, ,单击 Microsoft System Center 2012, ,单击 Operations Manager, ,然后单击 Operations Manager 外壳

  3. 在 Operations Manager 外壳中运行以下命令:

      $primaryMS = Get-SCOMManagementServer –Name “<name of primary server>”
      $failoverMS = Get-SCOMManagementServer –Name “<name of 1st failover>”,”<name of 2nd failover>”,…,”<name of nth failover>”
      $gatewayMS = Get-SCOMGatewayManagementServer –Name “<name of gateway>”
    
      Set-SCOMParentManagementServer –Gateway $gatewayMS –PrimaryServer $primaryMS
      Set-SCOMParentManagementServer –Gateway $gatewayMS –FailoverServer $failoverMS
    

    有关帮助 集 SCOMParentManagementServer 命令,键入以下命令在命令外壳窗口中。

      Get-help Set-SCOMParentManagementServer -full