My Blog is dedicated to share ideas/knowledge about IT & the World Economy
Monday, September 21, 2009
Replication technology with Exchange 2010
Question on Multi-subnet clusters and using static routes with Exchange 2007 CCR on Windows Server 2008

- The “public” interface of each node resides in different subnets with the “private” interfaces residing in a stretched subnet.
- The “public” interface of each node resides in different subnets with the “private” interfaces also residing in different subnets.
- Open the network connections control panel.
- Choose the advanced menu (if menu is disabled, enable it by selecting Organize –> Layout –> Menu Bar).
- Select advanced settings from the advanced menu.
- On the adapters and bindings tab, ensure that the “public” interface is first in the list, with all secondary interfaces following after.
- IP Address 192.168.0.100
- Subnet Mask 255.255.255.0
- Default Gateway 192.168.0.254
- IP Address 10.0.0.1
- Subnet Mask 255.255.255.0
- Gateway on network 10.0.0.254
- IP Address 192.168.1.100
- Subnet Mask 255.255.255.0
- Default Gateway 192.168.1.254
- IP Address 10.0.1.1
- Subnet Mask 255.255.255.0
- Gateway on network 10.0.1.254
Exchange 2010 HA - Database Availability Group (DAG)

DAG Information
How to provision a Domain Controller as File Share Witness for an Exchange 2010 DAG
Database Availability Group (DAG) in Exchange 2010
Saturday, September 5, 2009
If you have more than one public folder database in your organization, do NOT put it on a CCR cluster
- If you have a single Mailbox server in your Exchange organization and that Mailbox server is a clustered mailbox server in a CCR environment, the Mailbox server can host a public folder database. In this configuration, there is a single public folder database in the Exchange organization. Thus, public folder replication is disabled. In this scenario, public folder database redundancy is achieved using CCR; CCR maintains two copies of your public folder database.
- If you have multiple Mailbox servers you can host a public folder database in a CCR environment provided that there is only one public folder database in the entire Exchange organization. In this scenario, public folder database redundancy is also achieved by using CCR. In this configuration, there is a single public folder database in the Exchange organization. Thus, public folder replication is disabled.
- If you are migrating public folder data into a CCR environment, you can use public folder replication to move the contents of a public folder database from a stand-alone Mailbox server or a clustered mailbox server in an SCC to a clustered mailbox server in a CCR environment. After you create the public folder database in a CCR environment, the additional public folder databases should only be present until your public folder data has fully replicated to the CCR environment. When replication has completed successfully, all public folder databases outside of the CCR environment should be removed, and you should not host any other public folder databases in the Exchange organization.
- If you are migrating public folder data out of a CCR environment, you can use public folder replication to move the contents of a public folder database from a clustered mailbox server in a CCR environment to a stand-alone Mailbox server or a clustered mailbox server in an SCC. After you create the additional public folder database outside of the CCR environment, the public folder database in the CCR environment should only be present until your public folder data has fully replicated to the additional public folder databases. When replication has completed successfully, all public folder databases inside of all CCR environments should be removed and all subsequent public folder databases should not be hosted in storage groups that are enabled for continuous replication.
- If a successful scheduled Lossless outage occurs, the public folder database will come online and public folder replication should continue as expected.
- If an unscheduled outage occurs, the public folder database will not come online until the original server is available and all logs for the storage group hosting the public folder database are available. If any data is lost as a result of the outage, CCR will not allow the public folder database to come online when public folder replication is enabled. In this event, the original node must be brought online to ensure no data loss, or the public folder database must be re-created on the clustered mailbox server in the CCR environment and its content must be recovered using public folder replication from public folder databases that are outside the CCR environment.
Friday, January 2, 2009
Exchange Server 2007 Hub Transport and Client Access Server on the Same NLB Cluster
In order to keep the number of servers down in a high availability environment, administrators have been looking at using Network Load Balancing (NLB) for CAS and then co-locating the HT role on each node of the NLB cluster to also provide high availability for the HT role.
This configuration can work, and it really is not too difficult to configure. It is extremely important to note that using NLB to load balance the default SMTP receive connectors (using port 25) is not supported and is completely unnecessary since they are load balanced for all intra-Exchange communications like HT to HT communications. However, using NLB to provide redundancy and load balancing for connections to HTs that are hosting Client SMTP receive connectors (using port 587) is fully supported and may be desireable if you have a large number of external SMTP/POP and SMTP/IMAP clients that need to connect to this receive connector.
The steps that you need are to:
- Setup two servers running Windows Server 2003 with two NICs in each server
- Install Exchange Server2007 Hub Transport and Client Access Service (CAS) on each server
- Configure one NIC for the Network Load Balance cluster and setup the other NIC in a separate network so it can be managed through that IP address
- Configure NLB with Unicast and even load balancing
- Setup the port rules:
- Port 25 to 25 for both TCP and UDP and select the radio button to disable this port range (this will exclude port 25 from being listed to using the virtual IP address of the NLB cluster, but still allow the individual server IPs to still listen to port 25)
- Port 465 to 465 for both TCP and UDP and selected the radio button to disable this port range
- Port 80 to 80 for both TCP and UDP and set affinity to none (I recommend "none" so you can easily test and verify that it works)
- Port 587 to 587 for both TCP and UDP, affinity none (this is for the client SMTP receive connector)
- Port 443 to 443 for both TCP and UDP, affinity none
- Port 110 to 110 for both TCP and UDP, affinity none
- Port 993 to 993 for both TCP and UDP, affinity none
- Port 143 to 143 for both TCP and UDP, affinity none
- Port 995 to 995 for both TCP and UDP, affinity none
- With affinity set to none, you can more readily test the CAS (after updating the web pages to show which server is actually responding) and verify that the load is being shared. You can also test to make sure the NLB cluster does not respond to SMTP on port 25, which it shouldn't if you set it right, and verify that each server does respond to SMTP as an individual server name.
- You can configure protocol logging for the other protocols and telnet to the ports using the NLB IP address to see if they are loading balancing like they should. You can also use the NLB IP for the testing by sending and receiving messages and checking the message tracking logs to see that the traffic was being balanced. It all worked.
NOTE: You may want to change affinity to either single (especially if it is being used internally) or Class C (especially if it is accessible from the Internet) once your testing is done.
Good luck, and have lots of fun!
----------------------------------------------------------------------------------------