We have a 2 node Exchange 2010 server setup with a DAG. I really didn't want to use Public Folders, but we need them for a legacy app. I created two public folder databases, one on each node because you can't make PF databases part of the DAG. They replicate to each other. Right now, I have one of the PF databases selected in the DAG as the default public folder database. It doesn't look like you can select a failover.
My question is: Is there any way to load balance across these two PF databases? Or if I can't do that, can I set them up to failover automatically if one goes down? It looks like right now I can only have one PF database on one node in use at a time, and if that node goes down, public folders go down as well.
The public folder replicas and the default public folder database for a mailbox server are two different things.
The public folder tree is an organization-level entity, unrelated to any physical database; each folder can have one or more replicas, residing on various mailbox servers.
When a user needs to actually access a PF, Outlook connects to the nearest-available public folder database which contains a replica of that folder; this is an automated process, and doesn't need any user or admin intervention. So, if each and every folder is replicated to both of your mailbox servers, then your public folder databases are already higly available: should one of the servers fail, your clients would automatically connect to the other one.
The default public folder database is a configuration setting of every mailbox database; it specifies to which PF database users whose mailboxes reside on that mailbox database will first try to connect in order to access public folders, and where new folders will be physically created when they are created by one of those users. This actually doesn't have any importance at all if all of your folders are replicated to all of your servers: as I said above, failover will be handled automatically, and folders that get created on one server will be very quickly replicated to the other one.
If your public folders databases have been created and mounted and everything is replicated to both of them, you shouldn't have to worry at all about their availability; PF replication has been around for quite a while, and has been very thoroughly tested. So much, actually, that there was no need to include PF databases into DAGs exactly because they already have built-in redundancy.
I'm not sure that is the case, our mailbox DBs are in a dag and are highly available. when one node fails the public folders become inaccessible.
Do we need to run below when failover? I have PF setup on two servers in a DAG, when active MBX server is down, the clients (Outlook and OWA) still trying to contact the offline server, even on Outlook restart.
Set-MailboxDatabase -PublicFolderDatabase pfserver2010