Pages

Friday, January 14, 2011

Presence issues for Microsoft Lync Server 2010 users viewing OCS 2007 R2 users? Check for Event ID: 14501 and your Lync certificates.

Most of us probably know that presence issues can be caused by a vast amount of reasons and through my testing between the times I intentionally tried to break it, I found 2 reasons and one of it is certificates. Please note that this blog post only points out one of the many reasons so if it doesn’t apply to your situation, move on and continue searching because you’ll find many more reasons as you plow through your Google/BING results.

Problem

-------------------------------------------------------------------------------------------------------------------------------------------------------------------

Update: I realized that the title and explanation at the beginning was a bit ambiguous when I initially wrote this post so I have since changed the title and added the following to clarify which way presence was broken:

Lync Server 2010 User –> viewing –> OCS 2007 User = Presence Unknown

OCS 2007 User –> viewing –> Lync Server 2010 User = Presence is working

I hope this clarifies what the problem is so people coming across this blog post doesn’t end up wasting time if they aren’t experiencing the same issue.

-------------------------------------------------------------------------------------------------------------------------------------------------------------------

While managing to break the integration between Lync Server 2010 and OCS 2007 R2, there was one instance where I had to uninstall Lync Server 2010. The uninstall wasn’t without challenge (see my uninstall post here: http://terenceluk.blogspot.com/2011/01/step-by-step-instructions-for.html) but once I got everything removed and proceeded with the reinstall, things went without any major issues. As I got to the step after:

Setup or Remove Lync Server Components

and before:

Request, Install or Assign Certificates

image

I noticed that the certificate step was labeled as: Complete which I then proceeded to skip and continue to run the: Start Services step. Everything went smoothly and I was able to merge the two topologies without any errors or warnings.

What I noticed after completing the steps and firing up the Lync client was that my Lync user cannot see presence information of the OCS 2007 R2 user.

image

Note: Ignore the address book problem because that’s not the issue.

From here on, I logged onto the legacy OCS 2007 R2 front-end server to review the Office Communications Server event logs and I found 2 errors as shown in the following:

Event ID: 14501

A significant number of invalid certificates have been provided by remote IP address 172.16.1.40 when attempting to establish an MTLS peer. There have been 10 such failures in the last 10 minutes.

Certificate Names associated with this peer were

ocspool3

The serial number of this certificate is

3E783B4E000400000427.

The issuer of this certificate is YourCA

The specific failure types and their counts are identified below.

Instance count - Failure Type

10 C3E93D6A

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

image

Followed by another Event ID: 14501 error:

A significant number of invalid certificates have been provided by remote IP address 172.16.1.40 when attempting to establish an MTLS peer. There have been 10 such failures in the last 10 minutes.

Certificate Names associated with this peer were

ocspool3

The serial number of this certificate is

3E783B4E000400000427.

The issuer of this certificate is YourCA

The specific failure types and their counts are identified below.

Instance count - Failure Type

10 C3E93D6A

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

image

Solution

The solution’s actually quite simple. Since the reused certificates Lync Server 2010 was using was rejected by the OCS 2007 R2 front-end server, simply rerun the certificates wizard and assign new certificates to your Lync server:

image

Once you’ve completed the reissuing and reassigning certificates, you should see the errors cleared on the OCS 2007 R2 front-end server and presence information available to Lync users.

image

Thursday, January 13, 2011

Why am I able to lookup a non UM enabled user and also leave them a voicemail in the auto attendant of Exchange 2007 / 2010?

I received a escalated UM related ticket passed on to me this week because the colleague who was looking at the issue wasn’t a UM expert and while I was able to identify the issue immediately, I thought it’s worthwhile to write a post about the behavior of how Exchange 2007 and 2010 handles directory lookups depending on the option you select.

Problem

The problem the client was having was that they noticed they were able to leave a voicemail for non UM enabled user accounts (i.e. service accounts).  These service accounts were mail enabled but not UM enabled so they were curious as to why they were able to search for the account within the AA’s directory lookup by both:

  1. Speaking the name
  2. Using DTMF to search for their name and email address

Analyzing The Behavior

Between Exchange 2007 and 2010, there isn’t much of a difference for how you can limit directory lookup for callers into the auto attendant:

Exchange 2007

image

Exchange 2010

image

As seen in the screenshots above, the radio button options available for Callers can contact are:

  1. Users within dial plan
  2. Anyone in the default global address list
  3. Anyone in this address list:

Instead of writing with my usual style, I will phrase this post with questions and answers.

Question:  Why are users able to “speak” the service account’s name to lookup this non-UM enabled user?

Answer:  Before I proceed with stating what the problem was, let me reference the following TechNet article about the behavior of these options:  http://technet.microsoft.com/en-us/library/aa996927.aspx

-------------------------------------------------------------------------------------------------------------------------------------------------------------------

When the Unified Messaging server creates a speech grammar file, it examines many directory objects to determine which names should be added to the speech grammar file. The types of objects it processes are based on the scope of the grammar being created. However, for all these objects, Unified Messaging won't add the object to the grammar if the object is hidden from the Exchange 2010 address lists or the msExchHideFromAddressLists attribute is set to true for the object.

  • For the global address list grammar file, Unified Messaging will consider the following:
    • Mail-enabled users
    • Mail-enabled contacts
  • For dial plan grammar files, Unified Messaging will consider the following:
    • UM-enabled users in the specified dial plan
  • For the distribution list grammar file, Unified Messaging will consider the following:
    • Distribution lists that are visible in address lists

A default global address list is created when the Mailbox server role is installed on a computer running Exchange 2010. When the Unified Messaging server role is installed, it creates a grammar file for the global address list based on the speech grammar filters that are configured. If you create custom address lists or distribution lists in your Exchange 2010 organization, additional grammar files will be created for each custom address list or distribution list you create.

-------------------------------------------------------------------------------------------------------------------------------------------------------------------

As stated in the information provided above, if the Callers can contact option is set to Anyone in the default global address list, Mail-enabled users and contacts are actually included in the speech grammar file and, while it doesn’t explicitly state this, allows these accounts to be looked up and transferred to.  So to fix the issue this client had, all I had to do was select the option Users within the dial plan which will thereby limit directory lookups to users who are in the auto attendant’s dial plan and UM enabled.  I’m always a bit confused as to why it behaves this way but I usually recommend that if there is a need for the ability to lookup users across dial plans then use the Anyone in this address list option to get around it even though it means more administrative work.

Question:  Why are users able to use DTMF via keys to look up the service account’s name?

Answer:  DTMF mappings are actually an attribute of the user account.  Further information about where this attribute can be located can be found here: http://terenceluk.blogspot.com/2010/12/how-to-automate-removal-of-values-for.html

Question:  Why are users able to leave a voicemail in both cases?

Answer:  I have no idea what the answer is but have taken the time to post a question on our Microsoft Partner forum.  Just for fun, I actually called into a non UM enabled user:

image image

… to leave a voicemail and when I logged into the account’s OWA, I saw the voicemail sitting there.  Very strange indeed.

image

Question:  What does our Microsoft Partner Forum have to say?

Here’s the response I received:

From your problem description, I understand that there are some non-UM-enabled users in the organization, but those users can still be found when calling in AA. You not want the caller to leave voicemail for them. If my understanding is not correct, please feel free to let me know.

If you do not want the caller to be able to leave a voice mail for a non-UM-enabled user, I suggest you change the contact scope of the Auto Attendant to "Users within dial plan". With the contact scope of "Anyone in the default global address list", the caller is able to find any users in GAL.

Also, non-UM-enabled users are able to receive voicemail as an e-mail with a .wma attachment so that they are able to listen to it from the Inbox folder. However, these users are not able to access the voicemail through Outlook Voice Access. This provides a different way for non-UM-enabled users to receive voicemail.

Guess this is by design.  If I go to TechEd again this year and finally be able to find someone from the Exchange UM product group (I couldn’t find one last year), this will be one of the questions I’ll ask.

Tuesday, January 11, 2011

Ops, I deleted all of my active / running Cisco UCS B Series Servers’ Service Profiles! What do I do now?

I took a bit of time to think about what title I should give this post and while I’m sure no one is going to Google/Bing “Ops”, I figured someone might type in “deleted service profiles” and may end up finding this post.  So without further delay, let’s dive into the problem and resolution.

Problem

In case you’re wondering, no, I didn’t delete any active / running Cisco UCS B Series servers’ Service Profiles.  I was, however, asked to look into a problem where I eventually found that someone else did.  What was interesting about the troubleshooting process was that I was told the following:

“There’s a problem with all of the ESX and ESXi hosts on the blades.”

“It looks like the network is down.”

“The only server that didn’t have a problem was the Windows 2008 server.”

Reviewing the warnings and faults I managed to find the logs didn’t really tell me that the service profile associated to the blade was no longer there and the following was essentially what I saw when my colleague asked me to look at it:

image

Ok, so there are errors and faults with the components and mismatching firmware versions. 

Let’s try reverting / updating the firmware to match the other components.  Result: problem still exists.

Let’s try resetting the connectivity of the NICs:

image

Result: problem still exists.

Ok, let’s try shutting down the server and re-acknowledging it:

image

Result: problem still exists.

What sort of caught my eye during the Re-acknowledge process was this:

image

Notice how the Service Profile field is blank?

Interesting to see that if I left the blade shut down, I see the following:

image

The Service Profile field’s blank!  What’s going on?

This was when I realized someone had deleted 3 service profiles that belonged to blades hosting ESX and ESXi.  The service profile for the Windows Server was still there and hence was humming along.

This was when I recreated a new service profile that matched the old deleted one and tried to assign it.

image

Not good because as you can see, it failed with:

Description: Service profile <profilename> configuration failed due to compute-unavailable,insufficient-resources

ID: 6241031

Cause: configuration-failure

Code: F0327

Original severity: major

Definitely not good.  Can I still boot up this server with an empty service profile?  Hitting the Reset option I get the following:

image image

Error performing reset

image

Error performing reset

Parsing Exception at line : 1 invalid XML character: 23

image

Further deeper digging into the minor faults show:

Description: Assignment of service profile <profilename> to server sys/chassis-1/blade-4 failed

ID: 6241036

Cause: assignment-failed

Code: F0689

Original severity: minor

image

Ok, so now I’m stuck with a server that I shutdown and can longer boot up.  I’d have to say I started feeling a bit nervous even though I did ask which server I could test on that’s not critical and this was what I got.  Note that I was able to boot it up but because I’m writing this post 3 weeks later, I can’t remember how I did it.  What I can remember is that it wasn’t too difficult and it was just a small workaround with the controls available in UCS Manager.

Solution

Now that I finally understood what the problem was and knowing there probably wasn’t a Cisco document that tells you what to do, I sat down and thought about this logically.  The bright idea (or at least I thought so) I had was that since:

  • The server fails to associate with a new profile.
  • The server can still be booted up with the old profile that’s no longer there.
  • UCS Manager maintains information about blades that are added to the chassis.

Perhaps the only way to remove this ghost profile is to decommission the server?  I remember reading in the Cisco documentation that the decommission option allows you to remove a blade from the configuration.  Before I went ahead to ask for permission to do this, I went ahead and did a quick search to confirm what I remember:

http://www.cisco.com/en/US/docs/unified_computing/ucs/sw/gui/config/guide/GUI_Config_Guide_chapter28.html#task_2280EA0F991A4BF7963357C5C20360EF

Decommissioning a Server

This procedure removes the server from the configuration. As long as the server physically remains in the Cisco UCS instance, Cisco UCS Manager considers the server to be decommissioned and ignores it.

image

Ok, now that I’ve confirmed it, I went ahead and asked the manager who owns these blades and have been getting a lot of heat to get it up and going.  The response was: “Just make it happen and get it back up!”

So I proceeded with this theory and went ahead to do the following:

Server Maintenance –> Decommission

image

image

I went ahead to make sure there were no errors during the decommissioning process then proceeded with choosing the Resolve Slot Issue to re-acknowledge the server thus putting it back into the database:

image

image

image

No errors so far:

image

Discovery has started:

image

Overall Status is now unassociated:

image

Let’s now try to associate this blade to a service profile:

image

Looking good:

image

image

Success!

image

From there on, I repeated the same procedure for the other 2 servers and got the blades back up.  Hope this helps anyone out there that may encounter this problem.

Monday, January 10, 2011

Quick note about regenerating an EXISTING GoDaddy SSL certificate to add, remove or replace SAN entries

Due to the various OCS and Exchange UM services we had to change for client, a significant amount of changes were also required to their public certificates.  I had to go through the exercise of using Go Daddy’s tools to regenerate an existing certificate to replace entries and managed to choose the incorrect options twice which resulted in calls to Go Daddy’s customer support to reissue a credit for us.  Seeing how I’ve been prone to making such an error twice, I thought it would be worthwhile to write a post about it.

Problem

You have an existing UCC certificate with, say, 10 entries from Go Daddy and you need to add another entry to it.

Solution

The first step is to use your IIS server (in my case it was version 7) to generate a new CSR.  Once you have completed that, you want to navigate into the Manage Certificates tab within the management tool Go Daddy supplies.

image

DO NOT, I repeat: DO NOT select the certificate and choose “revoke” because by doing so, you’ll render your existing certificate unusable and without a new credit from Go Daddy to create a new one unless you call them.

What you should do is click on the Common Name of the certificate you want to make the changes to.

image

Once you’re in the properties of that certificate, click on the Manage button.

image

Once you see the new window opened, you need to click on: Parse new SANs from a CSR

image

Pasting your new CSR and adding the appropriate SAN entries will allow you to regenerate a new certificate:

image

From here on, your old certificate will show up for another 24 hours before it will be removed.

I’m no GoDaddy certificate administrator expert but I’m one step closer to being one! :)

Quick note about troubleshooting voicemail notifications and missed call logs on a Tanjay / CX700 with OCS 2007 R2

It’s been awhile since I’ve done an OCS 2007 R2 deployment with the Tanjay / CX700 phones and to kick off the new 2011 year, we had a client who were previously using USB phones procured 10 Tanjays for boardrooms and select executives.  What ended up happening with the deployment was that everything went somewhat smoothly until we noticed that the voicemail notification and missed call logs were essentially empty for all the accounts we tested with.

As most of us know, Tanjay / CX700 phones rely heavily on Exchange Server 2007’s Autodiscover service because that’s the way these IP phones retrieve this information.  The following is a direct paste from the document: Communicator_Phone_2007_R2_Deployment.doc:

------------------------------------------------------------------------------------------------------------------------------------------------------------------

Exchange Server 2007 Autodiscover Service

Microsoft Exchange Server 2007 includes a new Exchange service named the Autodiscover service. The Autodiscover service configures client computers that are running Microsoft Office Outlook 2007. The Autodiscover service can also configure supported mobile devices. The Autodiscover service provides access to Exchange features for Outlook 2007 clients that are connected to an Exchange messaging environment. The Autodiscover service must be deployed and configured correctly for Outlook 2007 clients to automatically connect to Exchange features, such as the offline address book, the Availability service, and Unified Messaging (UM).

For more information, see the Exchange Server TechCenter topic How to Configure Exchange Services for the Autodiscover Service at http://go.microsoft.com/fwlink/?linkid=141087.

------------------------------------------------------------------------------------------------------------------------------------------------------------------

Drilling further into the document, we will be able to find the following information that details the process about retriving Outlook contacts, call logs and voicemails:

------------------------------------------------------------------------------------------------------------------------------------------------------------------

Retrieving Outlook contacts, call logs, and voice mail

Communicator Phone Edition retrieves Outlook contacts, call logs, and voice mails and displays them on the device. Communicator Phone Edition does this by accessing the Exchange Server 2007 Client Access Server (CAS) and retrieving the information by using Exchange Web Services (EWS). Communicator Phone Edition locates the Exchange Server 2007 CAS by using an A record that is in DNS. It uses the SMTP domain of the primary e-mail address for the user to locate the A record. The primary e-mail address is sent to the device during the sign-in process through in-band provisioning. The A record it is querying is in the following order.

https://<SMTP domain>/autodiscover/autodiscover.xml, https://autodiscover.<SMTP domain>/autodiscover/autodiscover.xml, and http/ https redirect.

Outlook 2007 uses Active Directory Service Connections Points (SCP) and DNS SRV records to locate Exchange Server 2007 CAS. However, the device does not support these additional methods.

The Autodiscover service finds and presents the various URLs that are used to interact with Exchange Web Services and information about how to connect Outlook 2007 to Exchange Server 2007. The device uses those URLs to retrieve the Outlook contacts, call logs, and voice mails from Exchange Server 2007.

 

Communicator Phone Edition Querying of Exchange Server 2007

The device must be able to resolve to the Exchange Web Services URL and connect to it using HTTP or HTTPS.

Note:

If HTTPS is enabled, the certificate must be trusted by the device.

· Communicator Phone Edition tries to connects to the Exchange Server 2007 Autodiscover service in the following order:

· https://<SMTP domain>/autodiscover/autodiscover.xml

· https://autodiscover.<SMTP domain>/autodiscover/autodiscover.xml

· http -> https redirect

· On successful response, Communicator Phone Edition connects to the Exchange Web Service URL in the Autodiscover response XML.

· The certificate from Exchange Server 2007 must be trusted.

------------------------------------------------------------------------------------------------------------------------------------------------------------------

With this information, let me note the 2 problems we had in this environment:

Problem #1 – Exchange Autodiscover

Exchange autodiscover wasn’t exactly broken because we did include an entry with the internal domain in the public certificate we were using.  We did this so that internal autodiscover would work and also because the client specifically said that they do not and will not publish autodiscover on the internet due to security concerns.  This meant that we ended up getting a SAN certificate with 5 entries that we used for OCS and Exchange services.  With that being said, the problem with this environment is that the external and internal domain name are different.  The following are the details:

External: domain.com

Internal: inside.domain.com

Reviewing the document, we can see that the Tanjay would do the following:

It uses the SMTP domain of the primary e-mail address for the user to locate the A record. The primary e-mail address is sent to the device during the sign-in process through in-band provisioning.

This would not have been a problem if the external and internal domain were the same but in this environment, they were and the certificate we had on the CAS server only had: autodiscover.inside.domain.com.  If we were to open up a user account’s email address tab via Exchange Management Console, we would see that their primary address was userName@domain.com and not userName@inside.domain.com.  What we ended up having to do was add an entry into the SAN properties of the certificate to include autodiscover.domain.com.

Problem #2 – Trusted Certificate Chain

The second problem we had was that the public certificate we used (issued by GoDaddy) was issued by a subordinate CA which was not trusted by the Tanjay / CX700.  What we ended up doing was publish it within Active Directory with the certutil command so that the Tanjay would trust it.  More information can be found on the following blog post: http://blogs.technet.com/b/ucspotting/archive/2008/09/29/how-to-publish-a-personal-certificate-chain-ca-for-communicator-phone-edition-aka-tanjay.aspx

Tanjay / CX700 phones were never really my forte and the last deployment I had with phones was over a year ago so I’m glad I had to go through this troubleshooting process that pretty much served as a refresher.  Please also note that these are only 2 of the problems we had an there are plenty more reasons as to why you would experience such a problem.

Sunday, January 9, 2011

Missing 1.4 firmware option when updating UCS B Series infrastructure components from 1.3

I received a call from a colleague earlier last week about a problem updating the firmware for a new UCS B Series infrastructure that he was deploying.  Just an hour ago I had showed him where to download the packages and how to FTP or TFTP it onto the 6120 Fabric Interconnects but what was interesting was how I was initially stumped when we initiated a desktop share and he showed me how only certain components had 1.4 as an option while all the others did not.  The following is basically what I saw initially:

image

Notice how 1.4(1i) was an option for the IO Modules but not the Interface cards?

image

So after browsing around trying to figure out what the problem was, I remembered that unlike the older 1.3 firmware, there was more than one package to download when updating to version 1.4.  Reviewing the Packages tab of the UCSM he was working with confirmed that he only had the ucs-k9-bundle-infra.1.4.1i.A.bin downloaded:

image

I explained that this bundle only contained a subset of the files he needed to update all the components and ended up sending him a screenshot of the bundle ucs-k9-bundle-b-series.1.4.1i.B.bin which he was missing:

image

Once he downloaded that package and uploaded it, he was able to proceed with updating the other components. 

The following is a link to a forum post with more information about the packages required (note there are 4 in total): 

https://supportforums.cisco.com/message/3254903

image

Saturday, January 8, 2011

Mouse non responsive when configuring Cisco UCS C210 M2 server with LSI MegaRAID’s WebBIOS utility

I ran into an issue a month ago while configuring a Cisco UCS C210 M2 server with a LSI MegaRAID controller where the mouse and keyboard would become non responsive as soon as I get into the WebBIOS utility. 

image

After hitting Ctrl-H in the screen above, I would have a non responsive keyboard and mouse:

image

I had limited time to troubleshoot the problem because of my schedule so I went ahead and posted a question on the Cisco forums: https://supportforums.cisco.com/message/3255131#3255131

Has anyone experienced having their mouse and keyboard not being responsive when they get into the LSI MegaRAID configuration screen after hitting Ctrl H?  I noticed that the keyboard and mouse doesn't respond when I use the console cable so I went ahead and setup CIMC with an IP so I can launch the KVM console from remote but I still get the same problem.  I've already tried updating the firmware from 1.2a to 1.2b but still can't seem to get it to work.  The attached screenshot is where the mouse and keyboard becomes non responsive.

The response I received from another community member was the following:

Terence,

Have you updated the BIOS to the latest?  -> 1.2.1a

http://www.cisco.com/cisco/software/release.html?mdfid=283001983&flowid=7214&softwareid=282911017&release=1.2.1a&rellifecycle=&relind=AVAILABLE&reltype=latest

Also try to toggle the "Legacy USB Support" option in the BIOS.

Regards,

Robert

-------------------------------------------------------------------------------------------------------------------------------------------------------------------

Update: I just took some time over the weekend to try disabling “Legacy USB Support” with the new firmware that’s installed and it looks like it does indeed cause the mouse and keyboard to become non responsive in the WebBIOS utility.  I guess I remembered wrong about toggling it during the troubleshooting process.  In case anyone is wondering, the reason why I disabled it is because of the problem in the following post: http://terenceluk.blogspot.com/2010/11/vmware-esxi-410-stuck-at-initializing.html

I’ve tried toggling the “Legacy USB Support” already without any luck and while I tried updating the CIMC firmware to the latest version at the time to 1.2(1b), I didn’t try updating the BIOS.  By the time I got some time to look at this problem again, a newer version of the CIMC and BIOS was out so I went ahead to update them and it ended up fixing the problem.  I’m not sure if this is a common problem or not but I suspect it isn’t because many more other users would have experienced this but just in case a select few run into this strange behavior, I will list the information for the firmware I had problems with and firmware version that ended up fixing the problem.

Firmware version I had this problem with:

BIOS Version: 1.2.1a

CIMC Version: 1.2(1b)

Firmware version that fixed the problem:

BIOS Version: 1.2.2f

CIMC Version: 1.2(2d)

image

-------------------------------------------------------------------------------------------------------------------------------------------------------------------

My guess is that my problem had less to do with the firmware version but more so with something else that was changed after the firmware was updated.  I doubt I’d really find the root cause of this but I’m glad it’s fixed as it was always at the back of my head even when I was laying on the beach during my vacation. :)