Monday, January 14, 2013

Creating a Conferencing Directory after you delete it

In OCS 2007 R2, the decommission steps are widely documented by both Microsoft Technet and many other bloggers.  And with Lync 2010 and Lync 2013 now being generally available, I find myself cleaning up a few OCS 2007 R2 implementations.  I got fairly comfortable with the steps, and I goofed on the order of things.  I removed the assigned conferencing directories to an OCS pool before I deactivated the Conferencing Attendant.

I found this related post on Lee Desmond's blog, which matched the error I was receiving in my attempted deactivation:

"A call to a subtask failed.: The call to subtask AppServer.GetAppState failed. Pool is not ready."

The error associated was  0xc3FC200D

I searched a while and finally found that I made the mistake of removing the conferencing directory prior to deactivating the Conferencing Attendant.  Simple, enough - I'd just need to create a new conferencing directory.  Only there is not a way to do so in the OCS GUI.  So I had to take to ADSIEdit.msc for this one.

Much of this is thanks to this blog entry, which solves a different issue, but contained most of the knowledge I needed!

Open ADSIEDIT.
Navigate to the following:
CN=Configuration.
CN=Configuration,DC=,DC=com
CN=Services.
CN=RTC Service.
CN=Conference Directories.

Right Click on "CN=Conference Directories".
New -> Object
On the New Windows that opens which says "Select a Class:" choose msRTCSIP-ConferenceDirectory
In the Value Field type 2.
Note:- Value Field corresponds to the Common-Name of the Conference Object that we are creating.

Click on Next.
Click on Finish.

Now under the "CN=Conference Directories" we will see the new Directory Created with name "CN=2".

Now expand the following.
CN=Configuration.
CN=Configuration,DC=,DC=com
CN=Services.
CN=RTC Service.
CN=Pools
CN=
CN=Microsoft
CN=LC Services

Right Click on "CN=LC Services" and go to properties.
Check for the Attribute called distinguishedName.
Copy the value of distinguishedName.

Now expand the following.
CN=Configuration.
CN=Configuration,DC=,DC=com
CN=Services.
CN=RTC Service.
CN=Conference Directories.
Cn=2

Right Click on the "CN=2" and go to the Properties.
Check for the Attribute msRTCSIP-ConferenceDirectory.
Paste the distinguishedName Value here.

Also check for the Attribute msRTCSIP-ConferenceDirectoryId
Enter the Value 2 there.
Now, close and reopen (refresh didn't seem to pull the update) your OCS server console, and you should see your Conferencing Directory ID of "2" show up again.  Now you can deactivate the Conferencing Attendant successfully!

3 comments:

gcballard said...

Thanks! I did this and restarted fe and conferencing service to get past the same issue. Cleaning up previous Lync install, so not super familiar with what happened when.

gcballard said...

Thanks! I started conferencing service and fe (and DB) and did this and got past the error.

Refik Unver said...

distinguishedName It shoul be pasted into
msrtcsip-conferenceDirectoryHomePool. Not msRTCSIP-ConferenceDirectory. Actually there is no msRTCSIP-ConferenceDirectory attribute.