📜 ⬆️ ⬇️

Experienced trivia-2 or "What should I do with all this mail"?

The continuation of the cycle of posts about "experienced trivialities", about the nuances, examples, scripts, solutions of various interesting or routine tasks that I had to face during the years of work of the windows admin.
The pilot issue dealt with the task “to determine which user is working on which computer”, today we will discuss the problem of mail database growth and one of the ways to solve it on the MS Exchange server.

Formulation of the problem

The essence of the problem was trivial - a VERY BIG VOLUME of postal bases. At that time, it was about 800 GB lying on the same server (in fairness, I must say that the server handled the load at the very least, although the Exchange 2003 32-bit was a bit of a nuisance to it).

The specifics of the company imposed the following restrictions:

Monsieur knows a lot about perversions, or solutions

Strategically, the solution to the problem was generally understandable - you need to enter quotas on mailboxes (it can be differentiated depending on the department, user needs, etc.) and transfer old letters to archives. The whole question was how it is better (for admins) and more convenient (for users) to do. There were several options, and I began to work them out “on cats”.


What happened in the end.

Finally, I remembered the law of the inventor of the bicycle, and decided to manually repeat what was already done, but in conjunction with Exchange 2010 - Outlook 2010 (for those who do not know I recommend reading the documentation, such functionality as archive boxes appeared in this version of Exchange, and, according to reviews of friends, works quite well). The result is this:
')
  1. First of all, I migrated to Exchange 2007 , since there is such an opportunity - to miss a sin. Separately tinkering configured OWA through ISA. It became a little easier because 2007 64-bit and understands a lot of RAM, which is something, and I have never regretted this good for servers.
  2. for each user who did not fit into the predefined quota, a phantom user "Username archive " with the alias arc.username was created , and he accordingly also had a mailbox. For a change, I made them all the Equipment type, so that you can later be guaranteed to be distinguished from ordinary workers. Respectively, the rights were distributed so that an ordinary user has full access to the box of his “phantom”
  3. Hid all phantoms from the Global Address List , “for order”, and grouped them into separate Database in the Storage group, where Circullar logging is enabled and which lie on a large-large RAID partition.
  4. In the same Storage Group were also so-called. SAT boxes where logging of especially important users merged.
  5. For each user, the support connected his phantom colleague to Outlook, and pumped all mail into the phantom box, which fell under the archive criterion.
  6. Anyone who has an archive can now remotely, through OWA, quietly rummage in it, a small instruction has been written on this subject for particularly dull.
  7. The size of the “operational” Exchange databases, those that turn every day, and backed up 3 times a week, decreased to an acceptable 200 GB
  8. Archive databases are backed up less frequently, along with boxes of Security Councils, once a week, on weekends. By the time we have time to remarkably (and after updating the version of the backup server in general, they began to make a full backup of all the mail in 25 hours).

The downside is that the user has to transfer letters to the archive (unlike, for example, the Exchange 2010 bundle - Outlook 2010, where it can be configured automatically), focusing on Exchange notifications when the quota threshold is reached. But on the other hand, it became even a plus, because during manual transfer, users just sort their mail as they see fit, according to their own criteria.

To be continued.

Source: https://habr.com/ru/post/121917/


All Articles