Thursday, October 21, 2010

The Microsoft Exchange server reported 0x80190194 the operation failed….. OAB

Platform: Migration from Exchange 2003 to Exchange 2010. This is another issue come up after successful migration

Issues: Downloading offline address book generation fallowing errors on outlook clients.

The Microsoft Exchange server reported 0x80190194 the operation failed

image

First thing I think you need to check if you are having similar issues are

  • Check application logs to see if anything pertains the same issue
  • Find out what database the users is residing in ( problems user) and check the PF folder database ( is it pointing correct server )
  • Offline address book , can you create another one and let it replicate and use this new one on this DB to see if this resolves the issue?
  • Go to properties of OAB , make sure Version2, and Version 3 , enabled, public folder distribution enables and correct PF server is in there

image

If you are still having troubles

  • Delete the files under ( C:\Program Files\Microsoft\Exchange Server\Client Access\OAB )
  • Create new OAB
  • Restart the Microsoft Exchange File Distribution service and make sure the OAB is got generated on the directory mentioned above.

You can also keep watching application logs, increase the diagnostic logon if necessary on the CAS servers.

Respectfully,
Oz Casey, Dedeal
MCITP (EMA), MCITP (SA)
MCSE 2003, M+, S+, MCDST
Security+, Project +, Server +
http://smtp25.blogspot.com/ (Blog
http://telnet25.spaces.live.com/ (Blog)
http://telnet25.wordpress.com/ (Blog)

Tuesday, October 19, 2010

Deleted mailboxes will not appear in EMC

if you accidently delete user mailbox from EMC or got confused about Disable & Remote and clicked on remove for particular user and now needing to get the mailbox yet able to see it under disconnected mailbox , recipient configuration?

image

image

image

** Deleted mailbox will be visible after online maintenance runs and completes** so if you do not want to wait and wish to re-connect the disconnected mailbox to another AD user object here is what you need to do run Clean-MailboxDatabase  CMDLET.

image

Get-Mailboxdatabase | Clean-MailboxDatabase

This will clean  all DBs in given  SMTP organization.

My mail server name is mail2 , I would use fallowing CMDLET, substitute mail2 to your own mail server name.

image

Get-Mailboxdatabase | Where{ $_.Server –eq “mail2”}| clean-MailboxDatabase

Understanding Disconnected Mailboxes

Respectfully,
Oz Casey, Dedeal
MCITP (EMA), MCITP (SA)
MCSE 2003, M+, S+, MCDST
Security+, Project +, Server +
http://smtp25.blogspot.com/ (Blog
http://telnet25.spaces.live.com/ (Blog)
http://telnet25.wordpress.com/ (Blog)

Wednesday, October 13, 2010

DAG with two Servers will databases fail over automatically if one server dies?

This seems to be one of the most asked question and answer will be yes and also no it depends the given setup scenario. I think the main point to understand is the new attribute called “RpcClientAccessServer” and the term Middle tier speaking of MAPI locating user mailbox.

let me try to elaborate in a simple way , now in your scenario you have two server member of let's say DAG1

  • Ex1= DB1, DB2, DB3, DB4
  • EX1= DB1, DB2, DB3, DB4

image

Now let’s take a look at your MAPI clients (they are the outlook clients) if I am user A and my mailbox is located on DB1 , how will I get to my mailbox?

In a simple way, I open outlook , my outlook finds out the DNS server configured in the TCP/IP Stack and DNS server finds out what DC (Domain controller to talk too) , DC has bunch of information in regards to my E210 Servers and their configurations , the DAG configuration is also is located in the ADDS database.

My outlook simply is trying to find out which mail server to connect too to get the mails. So outlook says, hey I need to know the mailbox box for user A , which mail server I need to connect too???? The DC will check ADDS database and look for attribute

 

RpcClientAccessServer=ServerName
  • This is where the magic happens , this attribute tells the MAPI client & clients which DB to connect too.

Great, if you have not configured your CAS array yet, the attribute is set to first CAS server introduced within the SMTP domain, so most likely EX1 in this example ( Assuming we installed EX1 first and have not configured CAS Array yet)

Now let’s make assumption of this to connect this information to your question , you have two servers called EX1 and EX2 and you have 4 DB on these servers ( each)

Ex1= DB1, DB2 (Mounted, ACTIVE) --------DB3,DB4 (Healthy, WAITING TO BE ACTIVE IF NEEDED)

Ex2= DB3, DB4 (Mounted, ACTIVE)-------DB1,DB2 (Healthy, WAITING TO BE ACTIVE IF NEEDED)

 

  • If user A mailbox is located on DB3 meaning my outlook needs to connect to DB4 on EX2 to get my mail.
  • Now, I open my outlook
  • Outlook asked the question-What is the value of the attribute
  • RpcClientAccessServer
  • Outlook Gets the Answer  by finding out the value in the attribute called RpcClientAccessServer=EX1
  • EX1 says hey the DB is mounted-ACTIVE on EX2 this time
  • DNS give the IP Address to MAPI to connect too
  • I get connected to EX2

This is the story about “Middle Tier” has been removed from MAILBOX to CAS servers, you no longer connect to your mailbox server directly.

  • Now lets come back to your question, EX1 is hard DOWN !!!!!! crashed what happens ????
  • You go through same process and get same answer which is RpcClientAccessServer=EX1
  • Your Outlook tries to connect to EX1 ( Which has blue screen) won’t happen , you see the Christmas balloon “Outlook trying to retrieve blah blah and desktop start difficult to manage (-: , uppsssss

**** IN reality EX2 is perfectly up and running you cannot get to it**** Because the ADDS is telling you to connect to RpcClientAccessServer=EX1

  • To remedy this now we configured this attribute RpcClientAccessServer=outlook.mycompnay.com

I made this up “outlook.mycompnay.com” call it anything you like this is DNS A record

  • outlook.mycompnay.com=X.X.X.X ( IP Address)

Now

  • EX1=10.10.10.100
  • EX2=10.10.10.101

outlook.mycompnay.com=10.10.10.10 ,  Are you seeing what is going on here??????

  • If EX1 is death, all I need to do is to do to DNS and update the IP Address of existing A record
  • outlook.mycompnay.com=10.10.10.101
  • NOW THIS IS EX2 which will make your outlook happy (-:

To make this automated you need load balancer or use poor man method to update DNS (-: your own

Create a Database Availability Group

http://technet.microsoft.com/en-us/library/dd351172.aspx

Respectfully,
Oz Casey, Dedeal
MCITP (EMA), MCITP (SA)
MCSE 2003, M+, S+, MCDST
Security+, Project +, Server +
http://smtp25.blogspot.com/ (Blog
http://telnet25.spaces.live.com/ (Blog)
http://telnet25.wordpress.com/ (Blog)