As most of you probably know SCSM 2012 SP1 comes with built-in SCOM 2012 SP1 agent. You juts install your SCSM SP1 management server and late you can configure your SCOM 2012 SP1 agent from the control panel. So far seems good but there could be situation where your SCSM management server is working normal and your SCOM agent is failing for some reason. So one of the solution would probably be to re-install the SCOM agent right? But how to do that as SCSM management server and the SCOM agent are connected tightly? The solution is to reinstall the SCSM management server. Heavy task but at least there is a solution. So here are the general steps you need to follow to do that:
1. Backup your SCSM management server.
2. Backup the encryption key of the SCSM management server.
3. Uninstall the SCSM management server from Control Panel.
4. Remove any registry keys left from the installation. Examples:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft Operations Manager
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\System Center
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\System Center Operations Manager
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HealthService
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MOMConnector
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OpsMgr Config Service
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OMCFG
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OMSDK
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OpsMgr Config Service Per Agent
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OpsMgr SDK Service
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\System Center Management APM
5. Install SCSM 2012 SP1 management server again with the encryption key you’ve backed up.
6. Configure SCOM SP1 agent from the Control Panel.
This information was provided by Travis Wright – PM @ Microsoft. Thanks Travis for the support. I haven’t tested this but if you are in such situation and you have backup do not be afraid to try it.
————————–UPDATE———————————————–
After some discussions with community members we discovered that SCSM 2012 Self Service Portal SP1 role does not install builtin SCOM agent. The only way to install SCOM agent is to do it prior installing SSP role. Of course to re-install the agent will mean that you have to remove SSP role, re-install the SCOM agent and install SSP role. But be careful with that approach because you may loose some portal customizations you have done. Also I am not sure if MSFT will support such approach of installing the SCOM agent prior SSP role. I would recommend to monitor that server agentless.
I’ve also spoke to Travis Wright and he stated that SCSM team does not have plans to add bultin SCOM agent on the SSP role in any of the future URs.
Really? Is it just me, or does this seem like the worst solution in the world. I mean, really? “Just reinstall your SCSM Management Server”? What if you only have 1? now you need to make a second one just to be able to do this? Or do you recommend an environment rebuild because a person has made so many customizations?
Hi Andrew,
For now this seems the only solution if you want tot reinstall the SCOM agent. Of course if your SCOM agent is broken they might be other ways to fix it depending on the situation. If you have only one SCSM server it is ugly solution. The downside is that the same solution is applicable to SCSM DW management server which is always one in the environment.
My whole though is that it’s a real waste. Microsoft’s only answer to pretty much anything ever is “just go ahead an reinstall. Nevermind that it’s production, and you have data, and maybe your customizations took months to fully get implemented, and a number of things simply can’t be exported so you’ll have to start again”. I don’t know if anyone else in the world is truly bothered by this answer from one of the largest software makers in the world who has the most resources, and money and the only people who understand what they actually did, but it really is starting to rub me the wrong way.
I deal with a lot of issues during a year, and a lot of vendors, 99% of them will actually work to find a solution since the answer of “just reinstall everything” simply does not work for pretty much anyone I know.
MS should take responsibility and step up to the plate, find out why it’s not working, and find a solution.
I have a DW, after the upgrade, I pushed out the agent (why did this even need to be done? why did this even work?) and BANG! Not a single issue, DW is now reporting to SCOM. Management server? Not a freaking chance. The Self Service Portal….still won’t install, and didn’t install with the SP1 media. The thing that burns me about this is that there is STILL no monitoring for my SharePoint server since I can’t get the agent installed.
Why is there ZERO documentation on getting this working on the portal server? Why did it not install WITH the media? Why are the event logs on the management server saying that the AD DS needs to be configured, even though it is?
Too many questions and frustrations and not enough real answers.
Hi Andrew,
I understand your frustration but let me just state out that the provided solution here is not an official Microsoft resolution. If this was the official Microsoft solution it would be published by knowledge base article. This solution is provided “AS IS” (you can read the disclaimer). If you have this issue I can just you to contact Microsoft Support. They might have other available solution for this. About Microsoft support I have mixed feelings because there is definitely room for improvement but I have experience with support teams for other products for different companies and there are a lot more worst cases.
Once again I would like to state that this is not official Microsoft resolution and it is not resolution for every issue with SCOM agent on SCSM server.
After much research, I have found that the only “apparent” way to get the SCSM Management Server correctly registering on the SCOM server is to get the AD DS configured 100%. Within 10 minutes of completing that task, my management server started checking in to SCOM. I thought I would let you know.
I still haven’t got the self service portal server working as I can’t install the agent in any fashion yet. Still investigating that option. Without this, SharePoint is still not monitored either.
Regards,
Andrew Handerson
What about other server running System Center components, like SCCM? how do you install the SCOM 2012 agent on them? Only new to the SCOM, but it seems like you are unable to monitor any windows servers that have a System Center component installed on them.
Hi Aaron,
SCSM and SCOM share the same architecture and that is why SCOM agent is bult in SCSM.
The other components does not share same architecture with SCOM so you install SCOM agent on SCCM, SCAC, SCDPM and SCO like on any other server. No issue there.
This solution does not work for a stand-alone SSP server 😦
Hi Vanessa,
Do you mean Self-Service Portal of SCSM installed on a server without SCSM Management and SCSM DW Management Roles?
Solution is applicable only to Servers with SCSM Management Roles and SCSM DW Management Roles because they have built-in SCOM agent in them. All other servers can have SCOM agent the old way.
Hi Stanislav
When you install the SSP and no other SCSM roles on a server, it doesn’t generate the OpsMgr agent – I tested various scenarios with this configuration, and none of them provided an OpsMgr agent on a stand-alone SSP server.
You can, however, uninstall the SSP, install the OpsMgr agent and then reinstall the SSP.
Hi Vanessa,
SCSM SSP role does not contain bultin SCOM agent. The bultin SCOM agent is present only on SCSM Management servers and SCSM DW management servers.
On SCSM SSP server you just install the SCOM agent the regular way like on any other server in your environment.
I upgraded SCSM 2012 to SCSM2012 SP1. I do not see a SCOM 2012 SP1 agent installed on the mgmt servers. Is the SCSM upgrade supposed to install a SCOM SP1 agent as well? … or only new deployments?
Hi Devon,
On upgrade you should also receive the built-in in SCOM agent.
So you do not have Operations Manager Agent in Control Panel?
In such case you can try the solution I am proposing or contact MSFT support and open case but they probably will advise you the same thing.
Hi Stani,
believe it or not I have a customer, which is in this exact situation: the SCOM Agent is not functioining properly on the SCSM Mgmt und DW servers, it cannot be uninstalled and most probably the performance counters are corrupt. So I will have to take adantage of yourr post and follow the instructions in order to reinstall the SCSM Mgmt and DW servers. I have two questions related to this:
1. Can I use the existing DBs or are they any special considerations regarding the DBs when reinstalling the servers?
2. What about the SCSM SSP? Do i have to reinstall it also?
Many thanks in advance for your reply, it is of great help as I have seen not only to me 🙂
BR,
STU
Hi Stoyan,
1. You should use the existing DBs to retain your data.
2. SCSM SSP installation does not installs SCOM agent. You do not need to re-install SCSM SSP. If it is on the same server as the MGMT Server I guess re-install is not needed.
Hi Stani,
as it seems I will put the action plan from Travis Wright to the test 🙂
I will post an update as soon as I am ready.
Thanks again for the great Support.
Regards,
STU
Great. Remember to backup encryption keys, databases and servers as anything can happen.