How to set RpcClientAccessServer for a Exchange 2010 mailbox database to a load balancer

9,915

For those that want the answer. Use the commandlet New-ClientCasArray to create your FQDN for the CAS array. Then use Get-MailboxDatabase | Set-MailboxDatabase -RPCClientAccessServer “FQDN” to set all your existing mailbox databases (if you have already created some) to use the new CAS array.

Share:
9,915

Related videos on Youtube

Archit Baweja
Author by

Archit Baweja

All round developer

Updated on September 18, 2022

Comments

  • Archit Baweja
    Archit Baweja over 1 year

    I have 2 Exchange 2010 servers each with a Mailbox Database. I have also setup a Hardware Load Balancer (KEMP LoadMaster 2200 to be precise) to load balance the CAS role access.

    My HLB has an IP of 192.168.1.100. I've setup the DNS A record for mail.mydomain.com to point to 192.168.1.100. However when I try to set the RpcClientAccessServer on a mailbox database using

    Set-MailboxDatabase "My Mailbox Database" -RpcClientAccessServer mail.mydomain.com
    

    I get an error saying

    Exchange server "mail.mydomain.com" was not found. Please make sure you have typed it correctly.
    + CategoryInfo          : NotSpecified: (:) [], ManagementObjectNotFoundException
    + FullyQualifiedErrorId : 4082394C
    

    Any ideas?

    • azethoth
      azethoth almost 13 years
      What does the command Get-ClientAccessArray return?
    • Archit Baweja
      Archit Baweja almost 13 years
      Yup that was the problem. Hadn't setup a CAS array for my HLB's DNS A record. Thanks Tatas.