"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??
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:
Copy CodeAgent 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.
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
Used this article http://ops-mgr.spaces.live.com/blog/cns!3D3B8489FCAA9B51!163.entryand only did step 3
UPDATE dbo.[BasemanagedEntity]
SET IsDeleted = 1
where BaseManagedEntityID=<# from event log here>
now one of the guys here did this, but again, this is not supported
"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
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?
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
Dean
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,
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
I faced the same issue on Clustered Mailbox Servers & resolved it by:
1- Uninstalling the agents manually from all nodes
2- deleting the managment packs (all dependent as well)
3- I went to Agentless Managed, and deleted the cluster resource
4- I went to agent managed & then i successfully deleted the agents
Well, here we are 5 years later and still no real resolution to this problem, even with 2 major revisions of the software!! What's going on M$?? I still cannot properly remove SCOM agents from cluster nodes in a clean and supported fashion in SCOM 2012! Please Micro$oft FIX THIS PROBLEM!!!!!!Same here. Same issue over and over. My clients server guys love it when this happens year over year.
Hi There,
Correct but alternate not recommended option is to Delete it directly from the Ops DB By using the below query
UPDATE dbo.[BasemanagedEntity]
SET IsDeleted = 1
where Fullname like '%SCOM Agent FQDN%