Accidently deleted a management sever

Hi All,

In my organization we have 5 SCOM management servers. I accidently deleted one of management server and now I am not able to bring it back to Management server group. I tried repairing SCOM installation on deleted server but it is not showing up in either Pending management or Management servers. Please assist.

Thanks

July 31st, 2015 10:50am

Hi,

Are you using 2007 R2 or 2012 RTM?

Free Windows Admin Tool Kit Click here and download it now
July 31st, 2015 11:58am

Hi,

In case you are using 2007 R2, you can just navigate to the SCOM administration portal and check the management server name. 

From there, navigate to the agent managed view and check the number of grey agents reporting to the deleted Management Server and change the reporting management server name for all of them. During changing the management server name, make sure that all of your agents are remotely manageable. If not so, please run the below query on your database to make all the agents remotely manageable and then change the management server then. The account which is running the query must be having write access on the Operations Manager DB.

UPDATE MT_HealthService 
SET IsManuallyInstalled=0 
WHERE IsManuallyInstalled=1

Now, as a next step, go the server from where you deleted the management server role and install the Management Server Role through the SCOM installation kit. It hardly takes 5-10 mins. Make sure that while installing the management server role, provide the correct Management Group name [case sensitive considered]. 

Now, navigate to the SCOM Administration pane and check the health status of the Management server, if healthy now. Then reassign the same management server to earlier agents.

Done!!!

July 31st, 2015 12:07pm

Thanks for your quick response.

We are using SCOM 2012 R2 on Windows server 2008 R2. I moved all the agents to a different Management server then I logged in to deleted Management server and instead of re-installing I repaired the application from Add or remove program and select the option for Management server and Console, restarted the server and waited for an hour but it still not showing up under Administration>Device Management>Management Severs. Also when I tried (just to test) moving the agents to a different Management server but I do not see the deleted server as an option.

Do I have to uninstall and re-install SCOM 2012 R2 from that server or any other option I should try?

Thanks

Free Windows Admin Tool Kit Click here and download it now
July 31st, 2015 1:29pm

Thanks for your quick response.

We are using SCOM 2012 R2 on Windows server 2008 R2. I moved all the agents to a different Management server then I logged in to deleted Management server and instead of re-installing I repaired the application from Add or remove program and select the option for Management server and Console, restarted the server and waited for an hour but it still not showing up under Administration>Device Management>Management Severs. Also when I tried (just to test) moving the agents to a different Management server but I do not see the deleted server as an option.

Do I have to uninstall and re-install SCOM 2012 R2 from that server or any other option I should try?

Thanks

July 31st, 2015 5:22pm

Thanks for your quick response.

We are using SCOM 2012 R2 on Windows server 2008 R2. I moved all the agents to a different Management server then I logged in to deleted Management server and instead of re-installing I repaired the application from Add or remove program and select the option for Management server and Console, restarted the server and waited for an hour but it still not showing up under Administration>Device Management>Management Severs. Also when I tried (just to test) moving the agents to a different Management server but I do not see the deleted server as an option.

Do I have to uninstall and re-install SCOM 2012 R2 from that server or any other option I should try?

Thanks

  • Marked as answer by Kash Houston Monday, August 10, 2015 3:41 PM
Free Windows Admin Tool Kit Click here and download it now
July 31st, 2015 5:22pm

Thanks for your quick response.

We are using SCOM 2012 R2 on Windows server 2008 R2. I moved all the agents to a different Management server then I logged in to deleted Management server and instead of re-installing I repaired the application from Add or remove program and select the option for Management server and Console, restarted the server and waited for an hour but it still not showing up under Administration>Device Management>Management Severs. Also when I tried (just to test) moving the agents to a different Management server but I do not see the deleted server as an option.

Do I have to uninstall and re-install SCOM 2012 R2 from that server or any other option I should try?

Thanks

  • Marked as answer by Kash Houston Monday, August 10, 2015 3:41 PM
July 31st, 2015 5:22pm

i suggest that you should uninstall the deleted Management server and then reinstall it.

Roger

Free Windows Admin Tool Kit Click here and download it now
August 2nd, 2015 11:02pm

You can try the below.

1. Before you perform the below i would suggest you backup the ops db and proceed:

2. Restore the Ops DB from a resent backup which when the MS was there.

If this does not work restore the backup which i mentioned in step 1.

August 3rd, 2015 2:06am

i suggest that you should uninstall the deleted Management server and then reinstall it.

Roger

Free Windows Admin Tool Kit Click here and download it now
August 3rd, 2015 2:58am

i suggest that you should uninstall the deleted Management server and then reinstall it.

Roger

  • Marked as answer by Kash Houston Monday, August 10, 2015 3:41 PM
August 3rd, 2015 2:58am

i suggest that you should uninstall the deleted Management server and then reinstall it.

Roger

  • Marked as answer by Kash Houston Monday, August 10, 2015 3:41 PM
Free Windows Admin Tool Kit Click here and download it now
August 3rd, 2015 2:58am

Thanks for the response.

While uninstalling OM2012R2 I was having some issues with the server. I requested to have this server reimaged. As soon as I get my server back I will re-install OM2012R2 and will inform you guys the outcomes

August 5th, 2015 5:16pm

Thanks for the response.

While uninstalling OM2012R2 I was having some issues with the server. I requested to have this server reimaged. As soon as I get my server back I will re-install OM2012R2 and will inform you guys the outcomes

Free Windows Admin Tool Kit Click here and download it now
August 5th, 2015 9:14pm

Thanks for the response.

While uninstalling OM2012R2 I was having some issues with the server. I requested to have this server reimaged. As soon as I get my server back I will re-install OM2012R2 and will inform you guys the outcomes

  • Marked as answer by Kash Houston Monday, August 10, 2015 3:41 PM
August 5th, 2015 9:14pm

Thanks for the response.

While uninstalling OM2012R2 I was having some issues with the server. I requested to have this server reimaged. As soon as I get my server back I will re-install OM2012R2 and will inform you guys the outcomes

  • Marked as answer by Kash Houston Monday, August 10, 2015 3:41 PM
Free Windows Admin Tool Kit Click here and download it now
August 5th, 2015 9:14pm

Well if the uninstall did not finish and the MS is still showing up in your management group I would suggest contacting PSS support, as the MS will be stuck, in your management group, until they walk you thru the magic process of removing it.

Check this by checking the list of management server in the opsmgr admin console. if the MS is still there, it is stuck.

The server you are rebuilding, Name the server a different name, so it will not cause problems with the OpsMgr DB. 

hope this helps!

August 6th, 2015 12:09am

Ok... Build team instead of re-imaging the server they restored it back to some 30+ days. Now I have the same server with SCOM 2012R2  Management and Console feature installed. I deleted the Health Service store and restarted the Monitoring Services. Server is showing Healthy in Agent Managed but still not showing up in Management Servers. However it is working fine as a management server when I launch console I can see the alerts and put server in maintenance mode.

As per my understanding SCOM should automatically add server in Management server group if the server has this feature installed.

Do I have to do something different ?? I am not sure if the discovery is working or not. any suggestions on how to verify this ??

Please assist.

Free Windows Admin Tool Kit Click here and download it now
August 7th, 2015 5:41pm

Ok... Build team instead of re-imaging the server they restored it back to some 30+ days. Now I have the same server with SCOM 2012R2  Management and Console feature installed. I deleted the Health Service store and restarted the Monitoring Services. Server is showing Healthy in Agent Managed but still not showing up in Management Servers. However it is working fine as a management server when I launch console I can see the alerts and put server in maintenance mode.

As per my understanding SCOM should automatically add server in Management server group if the server has this feature installed.

Do I have to do something different ?? I am not sure if the discovery is working or not. any suggestions on how to verify this ??

Please assist.

August 7th, 2015 9:33pm

Ok... Build team instead of re-imaging the server they restored it back to some 30+ days. Now I have the same server with SCOM 2012R2  Management and Console feature installed. I deleted the Health Service store and restarted the Monitoring Services. Server is showing Healthy in Agent Managed but still not showing up in Management Servers. However it is working fine as a management server when I launch console I can see the alerts and put server in maintenance mode.

As per my understanding SCOM should automatically add server in Management server group if the server has this feature installed.

Do I have to do something different ?? I am not sure if the discovery is working or not. any suggestions on how to verify this ??

Please assist.

  • Marked as answer by Kash Houston Monday, August 10, 2015 3:41 PM
Free Windows Admin Tool Kit Click here and download it now
August 7th, 2015 9:33pm

Ok... Build team instead of re-imaging the server they restored it back to some 30+ days. Now I have the same server with SCOM 2012R2  Management and Console feature installed. I deleted the Health Service store and restarted the Monitoring Services. Server is showing Healthy in Agent Managed but still not showing up in Management Servers. However it is working fine as a management server when I launch console I can see the alerts and put server in maintenance mode.

As per my understanding SCOM should automatically add server in Management server group if the server has this feature installed.

Do I have to do something different ?? I am not sure if the discovery is working or not. any suggestions on how to verify this ??

Please assist.

  • Marked as answer by Kash Houston Monday, August 10, 2015 3:41 PM
August 7th, 2015 9:33pm

Hi There,

I would suggest you to restore the Operationsmanager DB to a state where bot Management servers were present.

As all information is stored in the Ops db, As you delete from the console it deletes the entries from the Ops db, As of i see restoring the machine 30 days back wont help as the entry is deleted from the ops db.

Before you restore the old ops DB, Ensure you backup the existing one as well so it will be helpful to restore during failure.

Also once you restore the Ops DB the Rules / monitors created till the date of backup will be present and not the latest.

So you will need to create the rules / monitors which you created with the duration of the backup.

Post me the results.

Free Windows Admin Tool Kit Click here and download it now
August 8th, 2015 2:33am

Thanks Scott and everyone !!

I will request to build a new server and then go from there. Thanks everyone for responding to my question. I am new to SCOM (as you can tell) and will be posting more questions and hoping to hear back soon from you (experts)

Thanks again

August 10th, 2015 11:47am


As per my understanding SCOM should automatically add server in Management server group if the server has this feature installed.

Do I have to do something different ?? I am not sure if the discovery is working or not. any suggestions on how to verify this ??

Please assist.

No SCOM does not work this way. During the installation process a management server is added to the SCOM DB. there is no easy way to do this, thus why I recommended contacting PSS support. 

If the MS is not in your OpsMgr MG, then you should get the Server re-installed, with a different name, then install opsmgr and add it to your mg, and everything should work fine.

hope this helps!

Free Windows Admin Tool Kit Click here and download it now
August 10th, 2015 11:03pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics