Sunday, April 11, 2010

OCS - Changing Component UNCs, URLs, etc.

How To Change OCS 2007 Meeting, ABS, Distribution Expansion… URLs and UNC paths

Let me see if this sounds familiar. You decide to configure or reconfigure the UNC paths or URLs for Meeting download location, ABS, Distribution List expansion urls…. However you cannot edit these fields within the GUI. So what now? Well this is where the wbemtest.exe tool comes into play.

This article will provide the procedure for changing the Meeting Content and Metadata UNC paths. The procedure for changing other settings such as URLs for these resources will be similar with respect to using wbemtest.exe however other provisions will have to follow for IIS modifications.

The location for the meeting content folder and the meeting metadata folder are specified during setup and cannot be changed using Office Communications Server 2007. However, those locations can be changed after Office Communications Server is deployed by using the manual steps described in the following sections.

Manually changing the folder location for meeting content and metadata requires completing the following four steps:

1. Creating and configuring the file folders and file shares for meeting content and metadata.

2. Changing WMI settings for meeting content and meeting content metadata folders.

3. Changing the IIS virtual directory to the presentation folder.

4. Restarting the Communications Server Web Conferencing service.

Note: First stop the Web Conferencing service before performing the following steps

To Configure shares for meeting content and metadata

1. If not already created, create the shares for meeting content .

Content Share: \\ServerName\Content

· Standard Edition: Permissions for folders (<contentShare> > Properties > Security)

User Group Access Permissions
RTC Component Local Group Read/Write
Users (Local Group) Read-Only

· Enterprise Edition: Permissions for folders (<ContentShare> > Properties > Security)

User Group Access Permissions
RTCUniversalGuestAccessGroup Read
Read and Execute
List Folder Contents
RTCComponentUniversalServices Read
Read and Execute
Modify
Write

Metadata Share: \\ServerName\Metadata

· Standard Edition: Permissions for folders (<MetadataShare> > Properties > Security)

User Group Access Permissions
RTC Component Local Group Read/Write
   

· Enterprise Edition: Permissions for folders (<MetadataShare> > Properties > Security)

User Group Access Permissions
RTCComponentUniversalServices Read
Read and Execute
Modify
Write
   

Change WMI Setting for Meeting Content and Meeting Content Metadata folders

1. Logon to the Standard Edition or Enterprise Pool server with an account that is a member of the RTCUniversalServerAdmins group

2. From a command prompt run wbemtest.exe

3. In the Windows Management Instrumentation tester window and click Connect.

4. In the Connect dialog box, in Namespace, type root\cimv2, and then click Connect

5. In the Windows Management Instrumentation Tester dialog box, click Query button.

6. Enter the following query

a. Standard Edition Server:
In the Query dialog box, type the query, such as:

Select * from MSFT_SIPDataMCUCapabilitySetting where Backend = “(local)file://///rtc

b. Enterprise Pool:
In the Query dialog box, type the query, such as:

Select * from MSFT_SIPDataMCUCapabilitySetting where Backend = BackendServerName\\DatabaseInstanceName”.

Example (If default instance): Select * from MSFT_SIPDataMCUCapabilitySetting where Backend = "SQLServer"

Note: When entering the sql statement make sure to have a carriage return following the command.

7. In the Query dialog box, click Apply.

8. In the Query Result dialog box, double-click MSFT_SIPDataMCUCapabilitySetting

9. In the Properties box select the property that you wish to change (i.e. MeetingMetadataLocation and MeetingContentLocation), edit the values and enter the correct UNC path and save property.

10. Click Save Object, and then click Close.

11. Click Exit

 

Change WMI Setting for Distribution List Expansion

1. Logon to the Standard Edition or Enterprise Pool server with an account that is a member of the RTCUniversalServerAdmins group.

2. From a command prompt run wbemtest.exe

3. In the Windows Management Instrumentation tester window and click Connect

4. In the Connect dialog box, in Namespace, type root\cimv2, and then click Connect

5. In the Windows Management Instrumentation Tester dialog box, click Query button

  1. Enter the following query

a. Standard Edition Server:
In the Query dialog box, type the query, such as:

Select * from MSFT_SIPGroupExpansionSetting where backend="(local)\\rtc"

b. Enterprise Pool:
In the Query dialog box, type the query, such as:

Select * from MSFT_SIPGroupExpansionSetting where backend = BackendServerName\\DatabaseInstanceName”.

7. In the query results box double-click the results.

8. Select value you wish to edit. Example(ExternalDLExpansionWebURL), and then click Edit Property.

9. In the Property Editor dialog box, click to select the NOT NULL option.

10. In the Value box, type the external Web Farm URL in the following format, and then click Save Property and Save.
https://externalURL.domain.com/abs/Ext/Handler

11. Click Save Object and then click Close.

Change WMI Setting for Address Book Service URL

1. Logon to the Standard Edition or Enterprise Pool server with an account that is a member of the RTCUniversalServerAdmins group.

2. From a command prompt run wbemtest.exe

3. In the Windows Management Instrumentation tester window and click Connect

4. In the Connect dialog box, in Namespace, type root\cimv2, and then click Connect

5. In the Windows Management Instrumentation Tester dialog box, click Query button

  1. Enter the following query

a. Standard Edition Server:
In the Query dialog box, type the query, such as:

Select * from MSFT_SIPAddressBookSetting where backend="(local)\\rtc"

b. Enterprise Pool:
In the Query dialog box, type the query, such as:

Select * from MSFT_SIPAddressBookSetting where backend = BackendServerName\\DatabaseInstanceName”.

7. In the query results box double-click the results.

8. Select value you wish to edit. Example(ExternalURL), and then click Edit Property.

9. In the Property Editor dialog box, click to select the NOT NULL option.

10. In the Value box, type the external Web Farm URL in the following format, and then click Save Property and Save.
https://externalURL.domain.com/abs/Ext/Handler

11. Click Save Object and then click Close.

12. Click Exit.

 

To change the IIS virtual directory to the presentation folder

1. Log on to a server with Web Components installed as a member of the Administrators group or a group with equivalent user rights.

2. Open IIS Manager. Click Start, point to All Programs, point to Administrative Tools, and then click Internet Information Services (IIS) Manager.

3. Expand the computer name, expand Web Sites, expand Default Web Site, expand Etc, expand Place, expand Null, right-click FileTree, and then click Properties

4. On the Virtual Directory tab, do one of the following:

· If the content for this resource is on the local computer, click A directory located on this computer, and then type the path to the meeting content folder that you created in the Local path box.

If the content for this resource is not on the local computer, click A share located on another computer, and then type the path to the meeting content folder that you created in the Network directory box