Have you ever wondered how you can find the Service Manager database server which is used in your Service Manager environment? This can be done easily by querying the registry on one of your SCSM management servers.
The registry key HKEY_LOCAL_MACHINESOFTWAREMicrosoftSystem Center2010CommonDatabase leads you to the corresponding values DatabaseName and DatabaseServerName
The same registry key found on the Data Warehouse Management Server contains the values for the corresponding Data Warehouse databases together with the DWH database server. Furthermore, the key HKEY_LOCAL_MACHINESOFTWAREMicrosoftSystem Center2010CommonReporting contains the reporting server name as well as the web service URL.