Posted by Ståle Hansen on 17/10/2009
When you are migrating users from Exchange 2003 to Exchange 2007 and 2010, users that uses Outlook 2003 stop seeing Free/Busy on the users after you turn off or remove Exchange 2003. This has happened to me on two occasions now and you also see the following Event ID:
Event ID : 8207
Category : General
Source : MSExchangeFBPublish
Type : Error
Message : Error updating public folder with free/busy information on virtual machine <Exchange2007ServerName> . The error number is 0×80004005
To resolve the situation do the following:
- Open the Exchange Management Shell
- Run the following command
- get-publicfolder -Identity “\NON_IPM_SUBTREE\SCHEDULE+ FREE BUSY” -Recurse | fl name,Replicas
- Notice that at least one of the SCHEDUE+ FREE BUSY folders is missing an Exchange 2010 or Exchange 2007 server listed as a replica. For example, the output may appear as follows:
- Name : EX:/o=contoso/ou=First Administrative Group Replicas : {}
- Run the following to add the Exchange 2007 server as replica for the folder
- Set-publicfolder –identity “\NON_IPM_SUBTREE\SCHEDULE+ FREE BUSY\EX:/o=<netbios domain name>/ou=First Administrative Group” –Replicas “<exchange server>\Second Storage Group\Public Folder Database”
- Verify that the Exchange 2007 server is added as replica
Note All users whose free/busy data is not populated must accept or decline a meeting request to populate the free/busy data.
For more information see: http://support.microsoft.com/kb/945602
Posted in Exchange 2007 | Tagged: Event ID : 8207, Exchange 2003 migration, Exchange 2007, get-publicfolder, kb 945602, Set-publicfolder | Leave a Comment »
Posted by Ståle Hansen on 02/09/2009
To be able to install and run the Exchange Best Practices Analyzer v2.8 on a Server 2008, Vista and Windows 7 you need the following requirements
- Microsoft .NET Framework Version 1.1
- Common HTTP Features
- From Command Prompt run Servermanagercmd.exe -i Web-Common-Http
- If you later need to remove run the command Servermanagercmd.exe -r Web-Common-Http
- When installed, make sure to run as administrator
Posted in Exchange 2007 | Tagged: ExBPA, Exchange Best Practices Analyzer on a Server 2008 64-bit, Server 2008 | Leave a Comment »
Posted by Ståle Hansen on 06/07/2009
I was doing some troubleshooting when I came over an article for automating the process for saving your transcript in PowerShell to a file. The article can be found here : http://blogs.technet.com/benw/archive/2007/07/24/how-to-save-your-exchange-2007-powershell-session-transcript.aspx
In the article the author talks about editing the PowerShell Profile. I cant do this for every customer site I am at, so I have edited the syntax to fit my needs. If this is run after you launch PowerShell the file is saved at the root of your C drive.
CD \
$date = get-date -UFormat %y%m%d
Start-Transcript c:\$date.txt -append -noclobber
This will set the working directory to the root of the C drive (gives you more real estate to work with), defines a variable called $date, and specifies that it will get the date in the format of YearMonthDay (i.e. 090706), then tells Powershell to start the transcript, and it uses the variable we defined earlier to automatically create a new text file based on the current date. Additionally, since the default behavior of start-transcript is to overwrite the previous file, we are telling it to append to an existing file (if present), and the -noclobber tells it to not overwrite the previous file.
Powershell does have some other options here. The Start-Transcript command includes a -Path parameter that you can define, but it is not used here.
Posted in Exchange 2007 | Tagged: Exchange 2007, PowerShell, Start-Transcript | Leave a Comment »
Posted by Ståle Hansen on 30/06/2009
Update March 2010: Many of you reach this site while searching for the Exchange 2010 Visio stencil.
It is not released yet. If you want to be notified when it is released you can monitor the comment
RSS feed for this post, comment on this post, or send me an
email and I will notify you. Meanwhile you can download the Visio stencils for Exchange 2007 and OCS 2007 R2 below. Also check out
Visio stencils for IT Pro posters.
Posted in Exchange 2007, OCS 2007 | Tagged: Exchange visio stencil, OCS visio stencil | Leave a Comment »
Posted by Ståle Hansen on 12/06/2009
From the White Paper: Determining the Scalability of Combined Client Access and Hub Transport Server Roles in Exchange 2007 over at Technet. http://technet.microsoft.com/en-us/library/dd901772.aspx
Conclusion
We found that the Client Access server and Hub Transport server roles can be combined and supported in most environments. Based on the test results, we recommend the following hardware configuration for servers that are running both the Client Access and Hub Transport roles:
- 8 processor cores
- 12 GB of RAM
- Pagefile size, RAM + 10MB (for systems with 8 GB of RAM or less, set pagefile to RAM * 1,5)
The tests showed that a server with 8 processor cores and 12 GB of RAM provides an optimal balance of server costs and scalability. This configuration allows a combined-role server to handle significantly more load than a 4-core server if the number of clients increases and if the clients access processor resources heavily. Clients such as Outlook Web Access and Exchange ActiveSync consume more of the processor resources of a Client Access server than do clients such as Outlook. Increasing processor resources and memory on a Hub Transport server allowed the server to handle an increased average message size. There was a direct correlation between an increase in average message size and greater processor use. Having more available memory also allowed the server to better handle transient events, such as transport queue growth.
Key considerations for supporting the two roles on a single Exchange server are:
- All deployments should take advantage of the transport database maximum cache size recommendations. This helps avoid back pressure events. For more information, see the Exchange Team Blog article New maximum database cache size guidance for Exchange 2007 Hub Transport Server role.
- Consider carefully both RAM and processor requirements when you’re planning server hardware. Be sure you understand the following areas of resource constraint:
- The Hub Transport role is primarily processor and disk intensive.
- The Client Access server role is primarily memory intensive.
- The combined Client Access and Hub Transport server is primarily processor constrained.
- A single 4-core, 8-GB RAM, combined-role server can service the same load as two 2-core, 4-GB RAM, single-role servers.
- A single 8-core, 16-GB RAM, combined-role server can service the same load as two 4-core, 8-GB RAM, single-role servers.
- Based on these tests, we don’t recommend deploying servers with 2 processor cores or 4 GB or less of RAM for use as combined-role servers.
Posted in Exchange 2007 | Tagged: Combined CAS and Hub Roles, Exchange 2007, Exchange HA | Leave a Comment »
Posted by Ståle Hansen on 29/05/2009
The default database size limit for Exchange 2007 Standard Edition RTM is 50 gigabytes (GB). In Exchange 2007 Standard Edition SP1 the limit is 250GB. There is no default database size limit for the Exchange 2007 Enterprise Edition. The Exchange store process checks database size limits periodically and dismounts a database when the size limit is reached. A warning is logged using Event ID 9685 which tells you that the database has exceeded the size limit. You can modify the database size limit by adding or changing a value in the registry.
Database Size Limit is a useful way for administrators to have control over their Exchange environment. The Exchange server will react by dismounting the store if the size gets out of hand, and it is a good way to be sure that the database size never outgrows the logical partition it resides on.
Procedure
- To use the Registry Editor to modify a database size limit
- Start Registry Editor (regedit).
- Locate the following registry subkey:
- HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeIS\<SERVER NAME>\Private-<database GUID>
- You can get the GUID of a database by running the following command in the Exchange Management Shell: Get-MailboxDatabase -Identity “<server name>\<storage group name>\<database name>” | Format-Table Name, GUID
- If the Database Size Limit in GB DWORD exists for the subkey, change its value to the desired size in gigabytes.
- If the Database Size Limit in GB DWORD does not exist for the subkey, create a new DWORD with that name, and then set its value to the desired size in gigabytes
- Restart the Microsoft Exchange Information Store service
- Check evenviewer for the following events:
- Event ID 1216 which tells you how much size is allocated and what the current physical size is
Source: http://technet.microsoft.com/en-us/library/bb232092.aspx
See this great post about Exchange database size and limits: http://blog.sembee.co.uk/archive/2009/07/21/105.aspx
Posted in Exchange 2007 | Tagged: Database Size Limit, Event ID 1216, Event ID 9685, Exchange 2007 | 1 Comment »
Posted by Ståle Hansen on 17/05/2009
There are some key commandlets to use when using EMS to administer Public Folders in Exchange 2007. Here is a short list of useful commands
- For Public Folders
- Get-publicfolder -recurse |fl name,replicas
- For System Folders
- Get-public folder \non_ipm_subtree |fl name, replicas
To Move replicas to Exchange 2007
Moveallreplicas.ps1 –server<sourceserver> -newserver<destinationserver>
Note: Scripts are found at %SystemDrive%\Program Files\Microsoft\Exchange Server\Scripts. To run a script, type the following in the Exchange Management Shell:
[PS] C:\>cd $exscripts
[PS] C:\Program Files\Microsoft\Exchange Server\Scripts>.\Moveallreplicas.ps1
To add or remove a server from a public folder replica’s properties including subfolders you can use the following two scripts:
RemoveReplicaFromPFRecursive.ps1 –TopPubicFolder <\folder> –Server toRemove <servername>
AddReplicatoPFRecursive.ps1 –TopPulblicFolder <\folder> -ServerToAdd <servername>
For more information see this post: http://msexchangeteam.com/archive/2007/06/25/445429.aspx
Posted in Exchange 2007 | Tagged: Exchange 2007, get-publicfolder | Leave a Comment »
Posted by Ståle Hansen on 14/05/2009
To allow application servers to relay through your Exchange 2007 server do the following
- Create a new internal receive connector in EMC
- Add the servers that need to relay
- When created edit the settings and navigate to Permission Groups
- Select only Anonymous users, deselect other options
- Navigate to the Authentication tab
- Deselect every checkbox so that nothing is selected
- Apply changes
- Open EMS and run the following commandlet
- Get-ReceiveConnector “InternalRelay” | Add-ADPermission -User “NT AUTHORITY\ANONYMOUS LOGON” -ExtendedRights “ms-Exch-SMTP-Accept-Any-Recipient”
- Relay should now work for the selected servers
This information was based on this blog, http://msexchangeteam.com/archive/2006/12/28/432013.aspx
Posted in Exchange 2007 | Tagged: Exchange, Exchange 2007, PowerShell, Relay | Leave a Comment »