Share via


Removing a Gateway Server from a Management Group

 

Updated: May 13, 2016

Applies To: System Center 2012 R2 Operations Manager, System Center 2012 - Operations Manager, System Center 2012 SP1 - Operations Manager

Throughout the life cycle of your System Center 2012 – Operations Manager implementation, you might need to modify the structure and configuration of your deployment. In the case of gateway servers, these types of changes can stem from the decommissioning of an untrusted domain so that monitoring is no longer required or from the old server hardware being replaced with new hardware. To remove a gateway server from service, complete the following steps.

Overview of Decommissioning a Gateway Server

  1. Configure all objects that are being managed by the gateway server to use a different primary management server. For an agent-managed computer, this means using either another gateway server or a management server.

  2. Uninstall the gateway server software from the server.

  3. Delete the gateway server from the management group.

Configure Managed Objects to Use an Alternate Primary Management Server

Gateway servers can manage three different types of objects: agent-managed computers, agentless-managed computers, and network devices acting as a proxy agent.

To configure agent-managed computers to use a different primary management server using the Operations console

  1. Log on to a management server with an account that is a member of the Administrators role for the Operations Manager management group.

  2. In the Operations console, click the Administration button.

  3. In the Administration pane, expand Administration, expand Device Management, and then click Agent Managed.

  4. In the Agent Managed pane, select the computers for which you want to change the primary management server, right-click them, and then select Change Primary Management Server.

    Note

    The Change Primary Management Server option will be unavailable if Active Directory Domain Services was used to assign any of the selected computers to the management group.

  5. In the Change Management Server dialog box, select the new management server from the list, and then click OK. The change takes effect on the agent after its next update interval.

Alternatively, this configuration can be changed on the agent-managed computer itself using either of the following two procedures.

To change the primary management server for agent-managed computers by using the MOMAgent.msi setup wizard

  1. Log on to the agent-managed computer with an account that is a member of the Administrators security group for the computer.

  2. In Add or Remove Programs, click Change for System Center Operations Manager 2012 Agent.

    Note

    The Agent Setup Wizard can also be run by double-clicking MOMAgent.msi, which is located on the Operations Manager installation media.

  3. In the System Center 2012 – Operations Manager Agent Setup Wizard, click Next.

  4. On the Program Maintenance page, select Modify, and then click Next.

  5. On the Management Group Configuration page, leave Specify Management Group information selected, and then click Next.

  6. In the next Management Group Configuration page, do the following:

    1. Type the name of the Management Server.

    2. Type in a value for Management Server Port, or leave the default 5723.

    3. Click Next.

  7. On the Ready to Install page, review the settings, and then click Install to display the Installing the System Center 2012 - Operations Manager Agent page.

  8. When the Completing the System Center 2012 - Operations Manager Agent Setup wizard page displays, click Finish.

To change the primary management server for agent-managed computers using MOMAgent.msi from the command line

  1. Log on to the agent-managed computer with an account that is a member of the Administrators security group for the computer.

  2. Open the command window.

  3. At the prompt, run the following command:

      %WinDir%\System32\msiexec.exe /i \\path\Directory\MOMAgent.msi /qn USE_SETTINGS_FROM_AD=0 MANAGEMENT_GROUP=MG1 MANAGEMENT_SERVER_DNS=MS2.Domain1.net
    

    This command reconfigures the agent to use MS2.Domain1.net as its primary management server for management group MG1.

    Note

    Microsoft Windows Installer public properties must be uppercase, such as PROPERTY=value. For more information about Windows Installer, see Windows Installer in the Microsoft Developer Network library.

    If the Domain Name System (DNS) and Active Directory names for the management server differ, the MANAGEMENT_SERVER_AD_NAME property also needs to be set to the fully qualified Active Directory Domain Services name.

Redirecting Agentless-Managed Computers and Network Devices

To change the proxy agent for agentless-managed computers and network devices

  1. Log on to a management server computer with an account that is a member of the Operations Manager Administrators role for the Operations Manager management group.

  2. In the Operations console, click the Administration button.

  3. In the Administration pane, expand Administration, expand Device Management, and then click Agentless Managed. If you are working with a network device, select Device Management and then Network Devices.

  4. In the Agentless Managed pane, select the agentless-managed computers for which you want to change the proxy agent, right-click them, and then select Change Proxy Agent. Or if you are working with a network device, in the Network Devices pane, select the network devices for which you want to change the proxy agent, right-click them, and then select Change Proxy Agent.

  5. In the Change Proxy Agent dialog box, select the computer you want to be the new proxy agent, and then click OK.  

The final steps in removing a gateway server from a management group are straightforward:

  • Log on to the gateway server with an account that has administrative rights.

  • In Add or Remove Programs, select System Center Operations Manager 2012 Gateway, and then click Remove.

In the Operations console, in the Administration view, under Device Management, Management Servers, select the gateway server, right-click it, and then click Delete.

Deleting the Gateway Server

The final steps in removing a gateway server from a management group are straightforward:

  • Log on to the gateway server with an account that has administrative rights.

  • In Add or Remove Programs, select System Center Operations Manager 2012 Gateway, and then click Remove.

In the Operations console, in the Administration view, under Device Management, Management Servers, select the gateway server, right-click it, and then click Delete.