Exchange 2010 - Load balancing transaction logs in a DAG
I have a single Exchange 2010 DAG. Within the DAG, I have two mailbox servers. I have 2 DB's mounted on server A, and 3 DB's mounted on server B.
The size and quantity of transaction logs on server A always seem to be larger. It might be the nature of the mailboxes on server A, but I was wondering if there is a tool or script to verify best practices for how the transaction logs should be configured.
Thanks
Ron
I have a single Exchange 2010 DAG. Within the DAG, I have two mailbox servers. I have 2 DB's mounted on server A, and 3 DB's mounted on server B.
The size and quantity of transaction logs on server A always seem to be larger. It might be the nature of the mailboxes on server A, but I was wondering if there is a tool or script to verify best practices for how the transaction logs should be configured.
Thanks
Ron
So one of the DBs is not replicated? Im not sure what you mean by "how the transaction logs should be configured".
You only real choices are disk location, whether you want to lag a copy or if you want to enable circular logging. Things that with 2 mailbox servers you wouldn't want do other than define the disk location. Otherwise, there isn't much to configure as far
as the logging.
Twitter!: Please Note: My Posts are provided “AS IS” without warranty of any kind, either expressed or implied.
Similar Messages
-
Exchange 2010 Excessive Archive Transaction Logs
I've got an Exchange 2010 environment with about 225 users over 6 mailbox DB's with corresponding Archive DB's.
They're seeing log files for the archive DB's growing by about 25-30% of the total DB size daily. Those logs are generally about 8 x the logs generated by the corresponding primary mailbox database.
Something like
DB1 = 20GB daily average logs 2GB
DB1Archive = 90GB daily average logs ~28GB
I don't see any Retention policies that have duplicated Tags and the Default policy has no tags assigned.
The customer wants to continue with their existing backup process of weekly fulls and daily incremental/differentials, and missing two days is enough to max out their transaction log volumes. (which are as large as their combined database size).
The archive db's have been in place for at least 12 weeks now so it's not just initial population, which is obvious by the fact that the archive db's are much larger than the original db's and the total logs in a week exceed the DB volumes by 2-3 times.Hi,
First, please make sure there is no corruption in the retention policies.
If there is no corruption, I recommend you create a new archive mailbox database and move archive mailbox to this new database to check result.
Besides, here is a similar thread for your reference.
http://social.technet.microsoft.com/Forums/en-US/77845ba9-96c4-4b94-8d55-b47c51ef8974/exchange-2010-archive-transaction-logs?forum=exchange2010
Hope this is helpful to you.
Best regards,
Belinda Ma
TechNet Community Support -
Exchange 2013 Load Balancing Question
Hey Everyone,
I have recently started building up my companies Exchange 2013 environment and ran into some questions that I can't seem to find clear answers for on Google.
First, a little bit about my set up:
2 CAS Servers
2 Mailbox Servers
Citrix NetScaler load balancing the external URL (Controlling all incoming ports 25, 80, 443, 587, 993, and 995) to both of my CAS servers
This is not doing SSL offloading, it's just forwarding encrypted traffic to the CAS servers
I have configured a DAG between the 2 mailbox servers and am able to actively move the database my user account is on between the 2 copies with outlook disconnecting / reconnecting in about 10 - 15 seconds of moving it.
My questions started when I saw what Outlook was filling in for the "Server" field once autodiscover set it up. I found this very strange server name in it: *** Email address is removed for privacy ***
Once I read up on it, I think i understand what it does. If i understand correctly, this weird URL is sort of like an old CAS array from Exchange 2010. When I started testing the failover is when I started running into issues.
When I shut down one of my mailbox servers, my outlook will lose connection and it won't come back. The mailbox database that my user account is on successfully failed over to the other DAG copy but outlook never correctly connects. I
believe this issue has something to do with the new CAS functions of Exchange 2013 since DAG works fine.
If I look at my "Connection Status" in Outlook, I see that there are several connections open. All of them have a Proxy server address of "exchange.domain.com" and out of the 3 that show up there, they are all pointed to
the weird URL mentioned above.
Whew, long post but let me summarize my questions below:
1) If exchange is configured to be fully redundant, why does my outlook disconnect when I shut down one of the servers?
2) What is the weird URL pointing to that I mentioned above that is showing in outlook?
3) How can I get outlook to correctly not lose it's connection when any 1 of the servers goes down?
Thanks,
ZacHi,
According to your description, it seems that the load balancer did not configure successfully.
I recommend you refer to the following article to configure the load balancer for Exchange 2013 :
http://blogs.vmware.com/vsphere/2012/11/load-balancing-using-vcloud-networking-and-security-5-1-edge.html
Hope this helps!
Thanks.
Niko Cheng
TechNet Community Support -
BizTalk 2010 Load Balancing Not So Balanced
Ok here's our scenario.
1. One Orchestration running under HostInstanceProcess on 3 servers in the same Groupe using 3 different domain accounts
2. That Orchestration has a reference to Utilities dll, which in turns calls a stored procedure using ADO.net code
3. We run that orchestration, it gets around 2000 de-batched messages and for those 2000 messages it calls that ADO.net code
4. Back in that database we run sp_who to check how many connections are made from each machine, and we find that over 60% connections are always made from one particular BizTalk machine and it's not one off, I've seen it atleast 7 to 8 times, that machine
always has most number of connections, for example if there are 120 connections in total, 80 connections are from Server 1 while rest from others.
5. We put a Max Pool connections in the connection string to 250 (default is 100) but that doesn't make any difference.
6. This interface is facing a lot of connection time outs from the database, hence this investigation is done
7. The same interface works perfectly fine on BizTalk 2006 R2, it's connecting to the same database (so can't be a database issue), it has 2 servers, which make almost same number of connections to the DB when I check with sp_who, so load balancing seems
to working as expected in BizTalk 2006 R2.
So my question, I know BizTalk is supposed to do load balancing in a round robin fashion which should equally distribute the load but in my example in BizTalk 2010, it's not doing that clearly, it's overloading one server with almost 70% of the requests,
what could be the reason for this? Host instances are set-up similarly in all servers. Any help greatly appreciated.
Regards
SyedBizTalk load balancing works in Round Robin fashion only for the new messages, while in case of instance subscription message will be routed to server holding dehydrated orchestration instance.
So the server having dehydrated instances will receive the correlated response along with the new incoming message.
So you can see one server slightly overloaded.
Thanks,
Prashant
Please mark this post accordingly if it answers your query or is helpful. -
Exchange 2010 - deleting IIS Advanced log entries
Hi
I am trying to increase the free space on the system drive of our Exchange 2010 servers. Is it OK to delete the entries in
inetpub - Logs - Advanced Logs?
Thanks
J.Hello,
You can also use a scheduled script:
https://social.technet.microsoft.com/Forums/systemcenter/en-US/d989b249-0159-41fc-b78c-1f1d91ce8bb3/inetpublogslogfilesw3svc1-getting-very-large?forum=configmgrgeneral
Thanks,
Simon Wu
TechNet Community Support -
Exchange 2010 Mail Submission Service Logging
Hi,
Is there a way to log all submitted messages from outlook clients (online mode) so I can see what is happening to messages that are getting stuck in the Outbox from the server's perspective?
Thank you.If you look at the logging section in this post
http://blogs.technet.com/b/rmilne/archive/2013/11/20/exchange-2010-tweaks.aspx
add key="LoggingTag" value="ConnectDisconnect, Logon, Failures, ApplicationData, Warnings, Throttling" />.
You can also add ROP logging, which are the individual Outlook commands sent, by adding the tag to the above line.
This gets *VERY* busy. *VERY* quickly, so maybe try this out on a test box first to see what that gives you.
Cheers,
Rhoderick
Microsoft Senior Exchange PFE
Blog:
http://blogs.technet.com/rmilne
Twitter: LinkedIn:
Facebook:
XING:
Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose. -
Hi All,
I have configured sap web dispatcher for load balaning with log-on grp. I am using Netweavre 7.01 with DB2 on linux.
My scenario is as -
Database is on -192.168.1.1
portal1 is on - 192.168.1.5
portal2 is on - 192.168.1.10
sap web dispatcher is on - 192.168.1.20
I dnt want ppl to use any portal URL to access it but What I want is that ppl should access only sap web dispatcher(192.168.1.20) and should be redirected on the available portal resource.
I can define -
wdisp/server_0 =portal1
wdisp/server_1 =portal2
wdisp/J2EE/group_info_location = portal1 (log-on grp configured on portal1)
In the above scenario what should be web dispatcher URL, I should be giving to the users to login ??????
Many thanx in advanceHi,
In the above scenario what should be web dispatcher URL, I should be giving to the users to login ??????
below will be the URL to be provided for users
http://<webdispatcher hostname>:81NN/irj/portal
<webdispatcher hostname> === hostname of webdispatcher
81NN == NN is nothing but instance no of webispatcher.
Thanks
Anil -
Exchange Performance load balancing
We have a single Exchange Server with 2 mailbox databases, MB01 and MB02.
Each user is split among the 2 databases. and Each database has its own hard drive location, e:\maildatabase\mb01 and f:\maildatabase\mb02. now the 2 drives are at 85% capacity and the server;s 32Gb memory is in 95-98% physical and commit memory.
I want to introduce a 2nd Server with same specs to reduce the load on the 1st, how do I go about this?
1. do I bring up the 2nd exchange server and move some mailbox over? and force users to only look for the 2nd?
2. Do I do DAG but it means only 1 server is active which would not help my cause
Note: I have 400 users and 78% are OWA users.Hi MAS,
thanks for the suggestions, actually the log files are in a separate drive and the mailbox database as well.
Yes I am going to deploy another Exchange Server, my challenge is
1. do I split up the database even further into small database per department and spread the mailbox database between the 2 exchange?
Currently the 2 database are about 600GB each
break them into 300GB each and move 2 300GB to new server
Have certain IP/Subnet connect to either servers to reduce work load
DAG the Servers as a way to keep backup. However the resources required would have
dropped
These are just some of my thought,
Question are these doable and SMART? -
Exchange 2010 / Outlook 2010 "client error in synchronization log"
Exchange
2010:
Error
in Synchronization Log
19:28:32 Error synchronizing
folder
19:28:32 [8004010F-501-8004010F-0]
19:28:32 The
client operation failed.
19:28:32 Microsoft
Exchange Information Store
19:28:32 For
more information on this failure, click the URL below:
19:28:32 http://www.microsoft.com/support/prodredirect/outlook2000_us.asp?err=8004010f-501-8004010f-0
Please
assist with this error. Is it serious? The URL provided does not offer nor reflect any worthwhile information. Thanks.The error means that the client hasn’t located the resource it’s looking for
Does the error appear on all outlook clients?
Do you use organizational forms library? (KB
933358)
The error can be caused by incorrect permission on the “EFORMS REGISTRY”, so please run the cmdlet below to check the permission on
the Default group, the permission should be “Reviewer”
Get-PublicFolderClientPermission “\NON_IPM_SUBTREE\EFORMS REGISTRY”
Per my research, you can avoid this error by removing all the subfolders in the “EFORMS REGISTRY” folder, if you don’t use organizational
forms library. But, please use the Get-PublicFolderStatistics cmdlet to verify that no items under the “EFORMS REGISTRY” folder before. And, if the error still appears, please remove the OST file and then recreate the mail profile
Please run ExBPA against the exchange servers for health/permission check
Notes: If forms library replicas are added to Exchange 2010 servers, 80004005-501-4B9-560
will appear in the sync message, yet it can be safely ignored
Resources:
“The Organizational Forms Library has been deleted and re-created after the .ost file has synchronized the library” section
in You receive an error message when you try to synchronize your offline folder file if the Organizational Forms Library on your Exchange computer has
been re-created or cannot be located
James Luo
TechNet Subscriber Support (http://technet.microsoft.com/en-us/subscriptions/ms788697.aspx)
If you have any feedback on our support, please contact [email protected] -
Im not udnerstanding why i would want to use a Layer 4 HLB device for Exchange 2013? From my understanding Layer 4 doesnt have the ability to look at what the client is requesting from the serer and make decisions accordinly. We have multiple services running
on Exchange 2013, (OWA,EAS,EWS) if one of the services went down, for example EWS, would a layer 4 load balancer be able to route EWS request from clients to a working EWS service while still distributing traffic evenly for the reamining working services across
the CAS arrays? If not i think i would stick with using a layer 7 HLB
Thanks
Bulls on ParadeHello,
It is recommended that you visit the vendor's web site for the latest information regarding product specifications, capacity, country support and documentation including release
notes and known issues.
We can start from the following link:
Exchange Server 2010 load balancer deployment
http://technet.microsoft.com/en-us/exchange/gg176682.aspx
Thanks,
If you have feedback for TechNet Subscriber Support, contact
[email protected]
Simon Wu
TechNet Community Support -
Hi
Two node Exchnage 2010 DAG. All server roles on the same boxes.
CAS high availability using Cisco load balancer.
We have some applications they are relaying using Exchange 2010 Hub. They are configured using the vip of the load balancer.
The problem is, that they are unable to relay to external recipients, internal is no problem. Using the Hub directly works fine.
What could be the problem?
Regards
PeterFor those who still monitor this thread,
The issue here is that the HLB is not configured to Use Source IP. In the Netscaler world, this is configured on a device or load balancer level and is referred to as USIP. (Use Source IP) If Source IP is not configured, the HLB will pass
the traffic to Exchange using the HLB's interface. You can configure this IP as an allowed IP address on your relay connector, but this is a big security risk as previously stated because all traffic that is routed through the HLB has rights to relay.
Concerning the network guy in PeterN22's post, open connections can be a problem and can cause port saturation if you are using an (*) as a wildcard on your RPC load balancing service. I have had much better luck, across all my load balanced deployments
(Citrix, Kemp, Cisco, etc.), when I use static port assignments on all load balanced services. For example:
SMTP - 25
RPC - 59532
OAB - 59533
HTTPS - 443
POP - 110
etc.
Exchange 2013 load balancing is now stateless and doesn't rely on Source IP, but this same issue with SMTP will occur if Source IP is not used. I know this is a recap of some of the other posts, but hopefully the additional information is helpful for
someone who may come across this post. -
DataCenter Activation //Exchange 2010
Hi,
One of my client is activating exchange services from secondary datacenter. Could you expert folks please review this & let me know if you see any issues and help me make this easier to achieve
with little to no interruption.
Some background:
The activation of secondary datacenter is needed because we’ll be migrating the current primary datacenter to new facility which will then become the new primary datacenter. And to support Email services uptime/SLA, we’ll be activating the services
to secondary datacenter meanwhile, post successful datacenter migration we’ll then have to failback the services this new datacenter.
Exchange Environment: We’ve 2 Multirole exchange 2010 SP3 servers at each site. One pair F5 Load balancer (GTM & LTM configuration) at each site. Each site has IronPort
for outgoing email. UM gateways are configured in cluster spanning both sites. Each site has its own CAS array. Webmail & autodiscover records are published to public DNS
Here is a plan.
Route public traffic from Primary site F5 LoadBalancer pair to Secondary site F5 LoadBalancer pair. (Change webmail/autodiscover host name to
secondary datacenter & Flush the cache on DNS server)
Change the internal DNS server record for CAS Array, Webmail, SMTP Relay, Internal autodiscover etc to point to secondary datacenter
Either rename the secondary CAS array as Primary CAS array or set the primary CAS array to secondary site
Change all the exchange Virtual directory external URL as public webmail mail URL and internal URL will have local Secondary site CAS array followed by
directory type.
Configure OWA redirection on IIS
Change Iron port/HUB server to ensure source transport server is now secondary hub server and smart host is secondary ironport
Replicate relay connector to secondary hub transport server so applications can relay emails via these servers
UM servers gateway exists at both sites and SIP trunk is configured so I don’t see any need for change
Move OAB to secondary exchange server
Login to server in the Secondary datacenter & run
Stop-DatabaseAvailabilityGroup -Identity DAG01 -ActiveDirectorySite Primary
Verify StoppedMailboxServer should list all mailbox servers in the primary datacenter and the StartedMailboxServers should list all mailbox servers in the recovery datacenter
Verify that the cluster services on all Exchange servers that were accessible in the primary datacenter were cleaned up & Ensure the startup type for Cluster Service is set to disabled
Stop the Cluster service on each DAG member in the Secondary datacenter.
Run the restore command from secondary exchange servers as below
Restore-DatabaseAvailabilityGroup –Identity DAG01 -ActiveDirectorySite Secondary
-AlternateWitnessDirectory:<AWSPath> -AlternateWitnessServer:<AWSName>
Verify that the DAG members are up and the Cluster Group is online
Activate/Mount the databases now
Shut down primary Datacenter exchange servers, & Necessary SAN backend. Move the hardware to new datacenter. Plug them in and turn them on &
if the exchange server/SAN come backup online properly then login to primary exchange server & run.
Start-DatabaseAvailabilityGroup –Identity DAG01 -ActiveDirectorySite primary
Ensure DAG members are up and the Cluster Group is online
Set-DatabaseAvailabilityGroup –Identity DAG01 -WitnessServer <WSName>
-AlternateWitnessServer <AWSName>
Move active database copies to primary datacenter.
Repeat step 1 to 9 to turn the things back on primary datacenter.
Let me know if this can be further improved or rather simplified.
Regards, Pushkal MishrA, This posting is provided “AS IS” with no warranties and confers no rights. I request you to test the solution in lab and post successful outcome you should try this on production.Hi,
To get the traffic to DR site, you need to change the DNS record to point to the VIP of the LB in the second site.
Here is a related thread which may help you to understand this for your reference.
http://social.technet.microsoft.com/forums/exchange/en-US/704695d4-dfb2-40dd-ad58-46b34dc1aa38/exchange-2010-site-resiliency-cas-array-failover
About DAG datacenter failover, the following article can provide us the useful information.
Datacenter Switchovers
http://technet.microsoft.com/en-us/library/dd351049(v=exchg.141).aspx
Hope this helps.
Best regards,
Belinda
Belinda Ma
TechNet Community Support -
Rename existing Exchange 2010 database in DAG
Hello,
I want to rename one existing database on our exchange 2010 server. This database is in DAG and hosting around 1000 users. So not possible to create a new mailbox database and move.
How can I rename the database?
After renaming it, what will happen to the Copy database on another server as it is in DAG.
Thanks,
MihirAppreciate your response, Andy.
To clear my doubt,
If I am ok to reseed the passive copy, then I can follow below steps, Correct?
--> Remove Passive copy
--> Remove Database files and Log files on this passive server manually
And
"1. Then will a New database with this new name be created?"
--> On Move database, I will mention same location, but just
rename .edb file. So a exact copy of new database with this new name will be created. Correct?
--> And then I can delete the old named .edb, Correct?
Thanks. -
VMware vCloud Load Balancing SSL / HTTP
Hi,
I'm having issues with enabling SSL Health check for my CAS VMs, works fine when I select TCP however doesn't work when I change health check to SSL. This relates to a previous issue I've raised (http://social.technet.microsoft.com/Forums/office/en-US/0b3e2573-99ed-49a0-9fbb-c46a629dcc50/exchange-2013-load-balancing-owaecp?forum=exchangesvravailabilityandisasterrecovery
TCP is great but would much prefer to do an SSL check instead;
Tests servers using SSLv3 client hello messages. The server is considered valid only when the response contains server hello messages.
This url helps,
http://blogs.vmware.com/vsphere/2012/11/load-balancing-using-vcloud-networking-and-security-5-1-edge.html
The only other issue is I have a redirect at root mail.domain.com => mail.domain.com/owa Could that be the issue because of the re-direct!
Thanks ;)Hi,
Try to redirect to HTTPs. More details as below:
Simplify the Outlook Web App URL
http://technet.microsoft.com/en-us/library/aa998359(v=exchg.150).aspx
How to configure Exchange to redirect OWA HTTP requests to HTTPS requests in IIS 7
http://support.microsoft.com/kb/975341
Please correct me if there is any misunderstanding.
Also find some external resource for your reference:
Add a Pool Server to an Edge Gateway
http://pubs.vmware.com/vcd-51/index.jsp?topic=%2Fcom.vmware.vcloud.admin.doc_51%2FGUID-C12B3954-155F-48AF-9855-E0DE026752D0.html
Introduction to Gateway Services: Load Balancing
http://vcloud.vmware.com/using-vcloud-hybrid-service/tutorials/introduction-to-gateway-services-load-balancing
Disclaimer:
Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make sure
that you completely understand the risk before retrieving any suggestions from the above link.
Thanks
Mavis
Mavis Huang
TechNet Community Support -
Load balance business connectors
Hi experts,
We have 4 business connectors 4.7 version running on 5 different servers, Currently we are facing the problem of frequent restart on all of them. I would like to know is there any way we can load balance so that new Idoc processing request will go to the least used server. Also would like to know if increase in number of IDoc in flow will affect the performance of the business connectors.
Regards,
SureshHi,
Please check the below from this article.
https://social.technet.microsoft.com/Forums/exchange/en-US/749e64d6-9924-4150-bac0-ce4174896fb6/relaying-using-load-balancer?forum=exchange2010
For those who still monitor this thread,
The issue here is that the HLB is not configured to Use Source IP. In the Netscaler world, this is configured on a device or load balancer level and is referred to as USIP. (Use Source IP) If Source IP is not configured, the HLB will pass
the traffic to Exchange using the HLB's interface. You can configure this IP as an allowed IP address on your relay connector, but this is a big security risk as previously stated because all traffic that is routed through the HLB has rights to relay.
Concerning the network guy in PeterN22's post, open connections can be a problem and can cause port saturation if you are using an (*) as a wildcard on your RPC load balancing service. I have had much better luck, across all my load balanced deployments
(Citrix, Kemp, Cisco, etc.), when I use static port assignments on all load balanced services. For example:
SMTP - 25
RPC - 59532
OAB - 59533
HTTPS - 443
POP - 110
etc.
Exchange 2013 load balancing is now stateless and doesn't rely on Source IP, but this same issue with SMTP will occur if Source IP is not used. I know this is a recap of some of the other posts, but hopefully the additional information is helpful for
someone who may come across this post.
Maybe you are looking for
-
Transfering a case structure to event structure
Hi, I am trying to transfer case structures that are currently set up to a control that if on prompt the user where to save and then save all following files to that location till end of program and if off the do nothing. I would like to enable these
-
.swf image comes out lighter than the source
I'm creating a simple animation in AE from a jpeg image. I bring up some text on the image. When I create the .swf file, the background that the text appears on is lighter than the original jpeg in the Safari browser. Since this animation "tiles" int
-
Hi, A datafile of my database has been deleted from the OS and cannot be recovered. The related tablespace exits in the database. I want to drop this tablespace, but oracle does not allow me to do so. I dont have the backup of the datafile. Can somet
-
Stock in quality after posting UD
Hi experts We are facing problem after quality clearance through qa32 some stocks are still showing in quality but entire stock shows in posted & status is showing.In short term characterstics field its showing 55,I checked the field it shows the bel
-
Fast website development?
I'm primarily a print designer, but more of my clients are requesting web-based solutions. I've designed about 10 websites total, but all of them were done with GoLive, for which I received professional training. Although I own Dreamweaver CS5, my wo