Tuesday, June 15, 2010

How to change placement of queues and log files in Exchange 2010 HUB and CAS

As a general best practise its recommended to change the default paths for logfiles, to avoid them filling up your System disk.

Exchange 2010 uses the default installation path for all logs and mail queues for HUB and CAS.
To change these you can modify the following files in the Exchange 2010 install folder \bin.
The paths I normally change is the ones specified below:

Edgetransport.exe.config
  • add key="QueueDatabasePath" value = "D:\Exchange\Transport Roles\Data\Queue"
  • add key="QueueDatabaseLoggingPath" value = "D:\Exchange\Transport Roles\Data\Queue"
  • add key="IPFilterDatabasePath" value = "D:\Exchange\Transport Roles\Data\IPFilter"
  • add key="IPFilterDatabaseLoggingPath" value = "D:\Exchange\Transport Roles\Data\IPFilter"
  • add key="TemporaryStoragePath" value = "D:\Exchange\Transport Roles\Data\Temp"
microsoft.exchange.addressbook.service.exe
  • add key="LogFilePath" value="Drive\Folder"

microsoft.exchange.rpcclientaccess.service.exe

  •  add key="LogPath" value="D:\Exchange\RPC Client Access\"

POP3 IMAP config files are located in \v14\ClientAccess\PopImap

Change the following files to set the new log folder for the services:

  
Microsoft.Exchange.Imap4.exe.config
  • add key="TemporaryStoragePath" value = "D:\Exchange\ClientAccess\PopImap\Temp"
  • add key="LogPath" value="D:\Exchange\ClientAccess\Imap4" 
Microsoft.Exchange.Pop3.exe.config

  •  add key="TemporaryStoragePath" value = "D:\Exchange\ClientAccess\PopImap\Temp"
  •  add key="LogPath" value="D:\Exchange\ClientAccess\Pop3"

Always backup your files before you edit them, and to make the change active. You have to restart the services related to the config file.
Regarding NTFS permissions, be sure to grant the correct user on the folder. Some services acts as network service.

2 comments:

williambli92982 said...

Spot on with this write-up, I really think this web site wants far more consideration. I’ll in all probability be once more to learn much more, thanks for that info. casino games

nikkolayebba said...

Hiya! I simply would like to give a huge thumbs up for the nice info you could have right here on this post. I will be coming again to your weblog for extra soon. free online casino slots