Last year I posted the process for updating the internal OCS URLs. From time to time I’ve found it necessary to do this for various reasons. Most commonly this is necessary if a customer does not have a reverse proxy in place and/or is not using a SAN certificate that includes both the external web farm FQDN as well as the pool FQDN.
The biggest difference with R2 is that you have to enter the WMI string in a query in order to find and edit it. This was done for performance reasons since enumerating all the instances of some classes can be a CPU-intensive operation.
First, here are the URLs you will modify:
MSFT_SIPAddressBookSetting - InternalURL
MSFT_SIPClientUpdaterSetting- InternalURL
MSFT_SIPDataMCUCapabilitySetting - InternalClientContentDownloadURL
MSFT_SIPGroupExpansionSetting - InternalDLExpansionWebURL
MSFT_SIPPSTNConferencingSetting- InternalURL
MSFT_SIPUpdatesServerSetting - InternalUpdatesDownloadURL, InternalUpdatesStoreURL
To find and modify the settings I decided to use CIM Studio since the interface is more intuitive than wbemtest. CIM Studio is part of the WMI Tools package, which can be downloaded here. Once installed, launch CIM Studio from the Start/Programs menu:
It launches in a browser using an ActiveX control, which you may need to allow depending on your security settings:
Once it is open it will prompt you for the namespace. If you are running this from the OCS front end then the default (root\CIMv2) is accurate. You can also connect to a remote machine using \\machinename\root\cimv2. You will be prompted to logon as the current user or specify credentials:
Now that you are connected the main screen will appear:
Now, because of the changes in R2 we can’t just find the class and click the Instances button like we used to. You need to run a WQL query to find the specific instance that you want to use. To do this, click the WQL Query button towards the top right of the window.
Your query is a simple SELECT statement that finds the instance you need to work with. In OCS this is derived from the backend pool information. For an enterprise pool the backend will be SQLServer\\SQLInstance (yes, the double backslashes are correct). For Standard Edition you can use OCSServerName\\rtc or (local)\\rtc. Therefore your SELECT statement will look something like this:
SELECT * from msft_sipaddressbooksetting where backend="evan-terra1\\rtc"
If successful, this will return a result:
Double click that result and the properties will be displayed. This one area where CIM Studio is much easier to use than wbemtest. Simply modify the appropriate property (InternalURL in this case) and click the Save button.
Repeat this find/modify process for the class/property values that I mentioned at the beginning of the post and you will be all set.
Hi Mike. Great post. but how do I know the correct url for all that services??
Thanks!!
Posted by: Juan Herrera | 08/23/2010 at 10:31
By default the internal URL will be the pool URL. If you are going through this process then you can change it to another URL of your choosing.
Posted by: Mike Stacy | 08/24/2010 at 11:34