in

Gateway failover check

Last post 04-14-2008 9:08 PM by nealeb. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 04-11-2008 3:34 AM

    • youngy
    • Top 50 Contributor
    • Joined on 04-11-2008
    • Posts 1

    Gateway failover check

    Hi all,

    I was looking around here the other day after having a nightmare with setting up Gateway failover - I should thank Pete Z for his document, so much better than MS kit.

    Anyway..........on this site: http://blogs.technet.com/momteam/

    I found this script:

    # Get all gateway management servers so we can see what is setup
    $GWs = Get-ManagementServer | where {$_.IsGateway -eq $true}

    $GWs | sort | foreach {
           Write-Host "";
           "Gateway MS    :: " + $_.Name;
           "--Primary MS  :: " + ($_.GetPrimaryManagementServer()).ComputerName;
           $failoverServers = $_.getFailoverManagementServers();
           foreach ($managementServer in $failoverServers) {
                  "--Failover MS :: " + ($managementServer.ComputerName);
           }
    }
    Write-Host "";

    Which I run on any MS server or even the RMS in the shell and it returns the gateways and their failover setup.

    Hope someone else finds it helpful

     

     

     

     

  • 04-14-2008 9:08 PM In reply to

    • nealeb
    • Top 10 Contributor
    • Joined on 03-27-2008
    • Tulsa
    • Posts 4

    Re: Gateway failover check

    Nice find! I will talk Pete about adding that to the document.

    Neale Brown, MCSA(Messaging)
    Contributor, SystemCenterForum.org
    URL:http://www.systemcenterforum.org
    mailto : nealeb AT gmail.com
Page 1 of 1 (2 items)
Powered by Community Server (Commercial Edition), by Telligent Systems