Ask a questionAsk a question
 

AnswerCannot delete agents on cluster nodes

  • Friday, July 24, 2009 7:15 PMBubslg Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Help!  We've decommissioned an Exchange cluster.  The physical nodes have been turned off and I'm now trying to delte them from SCOM.  When I try to delete the agents from "Agent Managed" view I get the message:

    "Agent is managing other devices and cannot be uninstalled.  Plese resolve this issue via Agentless Managed view in Administration prior to attempting uninstall again."

    If I try to delete the virtual nodes from the "Agenless Managed" view, nothing happens.  How do I delete these??

Answers

  • Wednesday, October 14, 2009 6:26 AMGraham DaviesModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Hi Dean

    The official answer was given by Anders - that is an official KB Article that says it can't be done. And it is correct - from the GUI (supported) it can't be done.

    The hack that Marius mentions and I give the full url to above has worked for me but as ever, use at your own risk.

    A PSS call is always good for reassurance but they will just point you back at the official response:
    http://technet.microsoft.com/en-us/library/dd827187.aspx

    Trying to change "act as proxy" will have no effect. I am not defending the official answer but at the moment that is the way it is. Please feel free to add this to the connect site so that we can all get it fixed.

    It is important to follow a process to decommission servers with OpsMgr agents.

    Cheers

    Graham



    View OpsMgr tips and tricks at http://systemcentersolutions.wordpress.com/

All Replies

  • Friday, July 24, 2009 7:54 PM.Anders BengtssonMVP, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Has Code
    Are you running R2? I found this http://technet.microsoft.com/en-us/library/dd827187.aspx 

    You cannot uninstall or delete an agent from a node in a cluster

    When you try to uninstall or delete an agent from a node in cluster, the following error message is displayed:

    Agent is managing other devices and cannot be uninstalled. Please resolve this issue via Agentless managed view in Administration prior to attempting uninstall again.

    Notice that the agent can be uninstalled from the node that is agentlessly managing the virtual servers. However, the agent cannot be uninstalled from the node that is managing the virtual servers.

    Workaround: None at this time.


    Anders Bengtsson | Microsoft MVP - Operations Manager | http://www.contoso.se
  • Friday, July 24, 2009 8:20 PMBubslg Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Yeah, I think I saw that as well.  THere's got to be a way to get rid of them?????  I don't like having dead agents sitting sround in my console :(.
  • Sunday, July 26, 2009 3:02 PMbt07 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    You might want to check http://ops-mgr.spaces.live.com/blog/cns!3D3B8489FCAA9B51!163.entry or http://www.techlog.org/archive/2008/07/29/stale_computer_objects_in_oper , I am not sure if there is any supported way of doing this as "Workaround: None at this time" is noted in  http://technet.microsoft.com/en-us/library/dd827187.aspx.
  • Sunday, July 26, 2009 3:23 PM.Anders BengtssonMVP, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I think the one at techlog is when you delete a agent under the administrator workspace, but the computer is still under the monitoring workspace. You can mark it as deleted in the database, but editing directly in the database is not supported I belive.
    Anders Bengtsson | Microsoft MVP - Operations Manager | http://www.contoso.se
  • Monday, July 27, 2009 9:19 PMMarius SutaraMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Proposed Answer
    only way to get rid of it is thru direct access to DB which will nullify your warranty. If you can create similar cluster environment again, then proper steps are:

    How to decommission a cluster monitored by System Center Operations Manager 2007

    Introduction

    This article describes the steps necessary to stop monitoring a cluster that will be decommissioned and is currently being monitored with System Center Operations Manager 2007.

    More Information

    In order to remove monitoring of the cluster, perform the following steps

    1.       Remove the Operations Manager agent from all nodes of the cluster being decommissioned

    2.       Ensure that all the cluster nodes (including the virtual cluster nodes) are no longer visible in the Operations Manager console by checking the Agent Managed  and Agentless Managed views under the Administration section of the Operations Manager console.

    3.       Proceed with decommissioning the cluster

     

    Applies to

    Microsoft System Center Operations Manager 2007 RTM, SP1 and R2 editions

     
    now one of the guys here did this, but again, this is not supported

    Used this article http://ops-mgr.spaces.live.com/blog/cns!3D3B8489FCAA9B51!163.entry and only did step 3

     

    UPDATE dbo.[BasemanagedEntity]

    SET IsDeleted = 1

    where BaseManagedEntityID=’<# from event log here>’  

     

     


    Marius Sutara
    My MSDN blog

    This posting is provided "AS IS" with no warranties, and confers no rights. Use of attachments are subject to the terms specified at http://www.microsoft.com/info/cpyright.htm
  • Tuesday, September 22, 2009 10:11 PMFelyjos Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hello,

    "Remove the Operations Manager agent from all nodes of the cluster being decommissioned"
    Is it through Add/remove Program or by another method?

    Thanks,
    Dom

    Altiris Support / System Center Configuration Manager Support
  • Wednesday, September 23, 2009 3:39 PMLayneR Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I have the same question as Felyjos.  If you're unable to uninstall an cluster node agent from the console, http://technet.microsoft.com/en-us/library/dd827187.aspx, how are you supposed to validate step 2 in Marius' post? 

    2. Ensure that all the cluster nodes (including the virtual cluster nodes) are no longer visible in the Operations Manager console by checking the Agent Managed  and Agentless Managed views under the Administration section of the Operations Manager console.

    Uninstalling an agent from add/remove programs will not remove it from the SCOM console, correct?
  • Monday, October 12, 2009 5:45 PMPete Zerger - MVPMVP, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Bubslg, it seems multiple answers have been unmarked. Any update on if or how you  resolved this?
    Pete Zerger, MVP-OpsMgr and SCE | http://www.systemcentercentral.com
  • Monday, October 12, 2009 5:54 PMGraham DaviesModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Proposed Answer
    If the cluster has decommissioned (as was stated in the original post) then the 2 correct answers are:

    a) Anders - it can't be done (well, at least not in a supported way)

    b) Marius - using the blog link supplied (which isn't supported but does work - I have had to do it on a customer site where they decommissioned the cluster without following the proper process). Close your eyes, clench your buttocks and pray ... works everytime (at your own risk) ;-)
    http://ops-mgr.spaces.live.com/blog/cns!3D3B8489FCAA9B51!163.entry

    Cheers

    Graham
    View OpsMgr tips and tricks at http://systemcentersolutions.wordpress.com/
  • Tuesday, October 13, 2009 9:46 PMBubslg Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Most of the proposed answers don't answer the original question "How do I get rid of previously decommisioned cluster nodes from SCOM?".  The only proposed answer that might actually be an answer is the one mentioning hacking the DB.  I haven't been able to confirm that one yet, haven't had time.  I want to run this problem through PSS and see what the "Official" answer is.

    Dean
  • Wednesday, October 14, 2009 4:10 AMJavoMejia Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    i have not seen the error that you mention but what if you uncheck the "act as a proxy" option before deleting the agent?

    Best Regards,



    MCSE + Security, TS Exchange 2007, TS SCOM 2007
  • Wednesday, October 14, 2009 6:26 AMGraham DaviesModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Hi Dean

    The official answer was given by Anders - that is an official KB Article that says it can't be done. And it is correct - from the GUI (supported) it can't be done.

    The hack that Marius mentions and I give the full url to above has worked for me but as ever, use at your own risk.

    A PSS call is always good for reassurance but they will just point you back at the official response:
    http://technet.microsoft.com/en-us/library/dd827187.aspx

    Trying to change "act as proxy" will have no effect. I am not defending the official answer but at the moment that is the way it is. Please feel free to add this to the connect site so that we can all get it fixed.

    It is important to follow a process to decommission servers with OpsMgr agents.

    Cheers

    Graham



    View OpsMgr tips and tricks at http://systemcentersolutions.wordpress.com/
  • Wednesday, October 14, 2009 4:10 PMDan RogersMSFTUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Yes, add-remove programs.
    Microsoft Corporation
  • Sunday, October 18, 2009 5:30 PMDaniele GrandiniMVP, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Proposed Answer
    Hi Bubslg and hi all, I tried to summarize cluster issues in this post http://nocentdocent.wordpress.com/2009/10/18/r2-and-cluster-monitoring-time-is-running-out/ I set a possible solution, even if it is unsupported, for your issue as well.

    - Daniele, Microsoft MVP OpsMgr This posting is provided "AS IS" with no warranties, and confers no rights. http://nocentdocent.wordpress.com http://www.progel.it