
Monday, March 26, 2012
Exchange edition compared

Thursday, June 16, 2011
Kaspersky 8 Update Availability – forefront SP2 Rollup
Tuesday, February 1, 2011
Exchange 2010: DAG Features
Friday, January 29, 2010
New features Available in Exchange Server 2007 SP2:
Sunday, December 27, 2009
Post Step after Exchange server 2010/2007 and Make it Live:
Saturday, November 14, 2009
Message Routing in Exchange 2007 vs. Exchange 2003 Multisite Environment:
Sunday, October 25, 2009
Configuring LCR – Local Continuous Replication:
Hi friends,
This article briefs the configuring LCR in the exchange 2007 server. As it name implies, the local continuous replication is the new feature in the exchange 2007 and it has the local copy of the database just like a mirror. Either you can do either in GUI or powershell, here I have explained in the powershell
Design the structure first, for example will have the below for our configuration,
SG1 – storage group name, SG1DB1 – database
Source system path (disk1): c:\SG1
Source log path (disk1): c:\SG1\log
Source edb path (disk1): c:\SG1\DB
Destination system path (disk2): D:\SG1LCR
Destination system path (disk2): D:\SG1LCR\log
Destination system path (disk2): D:\SG1LCR\DB
1. Enabling Database copy,
#Enable-DatabaseCopy –identity ‘servername\sg1\sg1db1’ –CopyEdbFilePath ‘D:\SG1LCR\DB\SG1DB1.edb’
2. Enabling Storage group copy,
#Enable-StorageGroupCopy –identity sg1 –CopyLogFolderPath ‘D:\SG1LCR\log’ -CopySystemFolderPath ‘D:\SG1LCR\DB’
3. To check the status of the replication,
#Get-StorageGroupCopyStatus
The LCR Configuration has been completed now; you can check the logs which are copied from the source to the destination and also any new generated logs will automatically seed to the destination location as we defined above.
Restore from the LCR copy:
Let us assume that if something goes wrong with the source database, we are in a position to restore from the replica. So, let’s see how to do the restore,
1. Dismount the database - #dismount-database sg1db1
2. Restore from replica - #Restore-StorageGroupCopy –identity ‘servername\sg1’
3. Mount the database back - #mount-database sg1db1
4. Now, the point to be noted is old LCR configuration of SG1DB1 is no more enabled. Please enable the LCR for this Storage group again and also clear the old logs so that it will start seeding from the source from the first.
Hope the above is useful.
Thanks
Logan
971-552596187 logu_microsoft@hotmail.com
Difference types of Mailbox in Exchange 2007:
Unlike previous version of exchange, the general mailbox has been classified into four types. But there are few difference b/w each type.
1. User Mailbox – for traditional user mailbox.
2. Room Mailbox – for meeting rooms
3. Equipment Mailbox – for equipments like projector, TV, etc. It is just like creating AD accounts for such objects.
4. Linked Mailbox – Hosting mailbox for users in separate forest.
In the above, the core mailbox attributes are same except few are different.
1. Basic notification GUI symbol is different for each object.
2. Resource mailbox (i.e., both room and equipment mailbox) are by default will be in the disabled state.
3. In OWA à Options, we have the “resource setting” only for the resource mailbox.
4. In creating a calendar meeting either in outlook or OWA, we have the scheduling assistant for configuring the meeting in which, “Select room” option will there and will list the entire room mailbox available in the organisation.
5. Also while adding attendees in the address bar, in the address book window; we will have the classified option as “default global address list” and “All rooms”. The latter is specifically designed to list the room mailbox alone.
6. On the attribute side, Isresource attribute of a mailbox will be set as “True” for the resource mailbox and “False ” for the user mailbox. The attribute resourcetype attribute will be set as “room” and “equipment” respectively.
Useful Powershell command:
To get the resource mailbox,
#get-mailbox where-object { $_.isresource –eq ‘true’ }
To get the resource mailbox related attribute,
#get-mailbox where-object { $_.isresource –eq ‘true’ } fl res*
To convert user mailbox to resource mailbox
#set-mailbox mailboxname –type room
Hope the above is useful.
Thanks
Logan
971-552596187 logu_microsoft@hotmail.com
Exchange server 2007 Services.
Types of clustering in exchange 2007:
This article explains the different types of clustering technology available with the exchange 2007 server. The exchange 2007 version has some new exciting features in terms of the high availability. It has four types of clustering and which has its own level of fault tolerance and availability. I have also added the diagram for better understanding.
1. Single copy clusters(SCC):
# This cluster type is similar to the one as in previous exchange versions. In fact it is exactly similar to the one in exchange 2003.
# Uses a single copy of database is shared between the nodes of the cluster.
# The database copy is stored in the SAN Storage device and also at any point of time the database will be owned by single node.
# Fault tolerance – There is chance of SOP i.e., Single point of failure. SCC environment works great if a node/server fails, but still Database failure in the SAN will cause the damage.
Wednesday, September 30, 2009
Recipient limit feature in exchange server 2003 and 2007
In Exchange 2003:
In processing of email message, the recipient limits are applied after the expansion of the recipients. The expansion is nothing but the designated expansion server will expand all group lists, it will have the individual and non-duplicated recipient entries. So, if a user is having a recipient cap set to 50, when a user try to send a mail to a distribution list of 60 members, the result only the first 50 users of the expanded list will receive the mail, for the rest it will through the respective NDR.
In Exchange 2007:
But, in exchange 2007, the recipient limits are applied in the hub transport server role before the expansion of the recipient limits. In simpler words, expanded DL members are not counted in turn it will be counted as a single recipient. So, if a user is having a recipient cap set to 50, when a user try to send a mail to a distribution list of 60 members, the result all the users will be able to receive the mails henceforth it just count DL as a single recipient.
Hope the above is informative
Thanks
Logan
971-552596187
Logu_microsoft@hotmail.com
Saturday, August 22, 2009
Deploying Edge Transport Server Role:
1. Basic server check-up likes recommended hardware resources and server 2003/2008 OS, latest SP and appropriate patches.
2. N/w Card configuration – Two NIC cards, one for public/external and the other for private/internal.
3. Check the Name resolution between hub transport and the edge server. Also configure the edge server for the external name resolution.
Set-TransportServer -Identity ExEdge01 –ExternalDNSAdapterEnabled $false –ExternalDNSServers
Note : If the name resolution b/w hub and edge server doesn’t work, then the edge synchronisation fails.
4. Installing ADAM SP1 : Active Directory Application Mode SP1 is the one which acts as a tunnel passage for passing the limited AD related i.,e Domain related information from Hub transport server to the edge server.
5. Install Core edge exe : Run the setup.exe from the exchange installation disk, go for the custom type installation, select the edge server and complete the installation.
6. Check the Edge related configuration EMC, will find option like antispam, accepted domains and others, I will leave this up to you for exploring.
7. Since Exchange 2007 rollup 4 has some important updates, install the rollup 4 package also.
8. Restart the edge server after completing the above and run the command “test-servicehealth” to check all edge related services are up and running.
9. Ports to be opened : Edge server used custom ports for communication with the hub server. If firewall is placed in b/w hub server and edge server, the following ports have to be opened.
• LDAP 50389/tcp
• Secure LDAP 50636/tcp
• SMTP 25/tcp
• RDP 3389/tcp (optional)
10. Creating the edge subscription file in Edge server,
New-EdgeSubscription -FileName "C:\EdgeSubscriptionInfo.xml"
11. Copy the xml file to the Hub server.
12. Mapping the edge subscription file in Hub Server,
New-EdgeSubscription -filename "C:\EdgeSubscriptionInfo.xml" -CreateInternetSendConnector $true -site "Default-First-Site-Name"
13. By Default, the edge synchronisation happens at four hour intervals. For immediate sync,
Start-EdgeSynchronization
14. Edge server is ready, just verify connectors in Edge EMC console, will show the current hub server related connectors.
Hope the above is informative.
Thanks
Logan
Logu_microsoft@hotmail.com | 971552596187
Saturday, August 15, 2009
To list the DB size in all mailbox server
###############################################
# Script for finding all the database size in GB present in the organization.
# please use redirect '<' for reporting# Eg, .\Tofinddbsize.ps1 > report.txt
$exchangeservers = Get-ExchangeServer where-object {$_.admindisplayversion.major -eq 8 -and $_.IsMailboxServer -eq $true }
foreach ($server in $exchangeservers)
{
$db = Get-MailboxDatabase -server $server
foreach ($objItem in $db)
{
$edbfilepath = $objItem.edbfilepath
$path = "`\`\" + $server + "`\" + $objItem.EdbFilePath.DriveName.Remove(1).ToString() + "$"+ $objItem.EdbFilePath.PathName.Remove(0,2)
$dbsize = Get-ChildItem $path $ReturnedObj = New-Object PSObject
$ReturnedObj Add-Member NoteProperty -Name "Server\StorageGroup\Database" -Value $objItem.Identity
$ReturnedObj Add-Member NoteProperty -Name "Size (GB)" -Value ("{0:n2}" -f ($dbsize.Length/1024MB))
Write-Output $ReturnedObj
}
}
###############################################
Thanks
LOGAN
logu_microsoft@hotmail.com 971552596187
To find the disconnected mailbox in the mailbox servers.
###################################################
Write-Host
$search = read-host "Type part of DisplayName Ex Tom* *sson *middle* , searching mailbox servers one by one... "
Write-Host
Write "Press ctrl-C to stop search once you found your mailbox"
$exchangeservers = Get-ExchangeServer where-object {$_.admindisplayversion.major -eq 8 -and $_.IsMailboxServer -eq $true }
foreach ($server in $exchangeservers)
{
Write-Host
Write "Searching $server"
Get-MailboxStatistics -Server $server where { $_.DisconnectDate -ne $null } where { $_.DisplayName -like "$search" } fl
}
Write-Host
Write "Finished"
################################################
Thanks
Logan
logu_microsoft@hotmail.com 971552596187
Wednesday, August 12, 2009
Find the mailbox count per db in a server
#####################################################
# script for finding the no of mailbox's per mailboxdatabase
write-host $server = read-host "Type the server name:"
foreach ($db in get-mailboxdatabase -server $server)
{
if ($db.getType().fullname -like "*PublicFolderDatabase")
{
$dbType = "Public"
}
else
{
$dbType = "Private"
$dbUserCount = (get-mailbox -database $db -erroraction silentlycontinue).count
}
$retObj = new-object psobject
$retObj add-member noteproperty -name "Server" -value $db.Server
$retObj add-member noteproperty -name "Name" -value $db.Identity
$retObj add-member noteproperty -name "Users" -value $dbUserCount
$retObj
}
#################################################
Please let me know if you have any queastions.
Thanks
Logan
logu_microsoft@hotmail.com 971552596187
Find the mailbox which exceeds the quota limit
##################################################
#Script to find the mailbox which exceeds the quota limit
#in the mailbox server.
Write-host
$server = read-host "Please Enter the Mailbox server name:"
get-MailboxStatistics -server $server where {"IssueWarning","ProhibitSend","MailboxDisabled" -contains $_.StorageLimitStatus} format-Table DisplayName,database,storagelimitstatus,Totaldeleteditemsize,TotalItemSize
###################################################
Thanks
Logan
971552596187
Sunday, July 13, 2008
Outlook Web Access – OWA in Exchange 2007:
Key new OWA features:
1.Web ready documents allow opening office docs.
2.Email headers view.
3.Customizable toolbars.
4.Out of Office configuration.
5.Deleted Item recovery.
6.Instant language options.
7.Cleaner Calendar reminders.
8.Multiple calendars and drag gable appointments.
9.Mobile device configuration options.
10.Change password interface.
11.Open other’s mailbox within OWA.
Light vs. Premium Client
Light Version:
1.For non-IE browsers.
2.For slow connections.
3.For older systems.
4.Most secure/best for kiosks
5.Contains basic access to all resource types.
Full Version:
1.More feature-rich.
2.Deeper interaction with mailbox content.
3.Drag and drop.
4.Access to file servers and SharePoint.
Thanks
Logu
Logu_microosft@hotmail.com
91-9841499143
Sunday, July 6, 2008
Address List:
Global Address List:
1. A list from the AD with all mail-enabled containers in it.
2. By default, it is provided to every user within Outlook and OWA.
3. Additional GALs can be created for hosting environments that need isolation.
Offline Address Book:
1. Allow users to get AD info while offline.
2. It is available to both internal and external users.
3. Are distributed via web-site and via Public folder.
Dynamic Distribution Group:
1. Groups can be built based on AD properties like Department, State or Company.
2. Dynamic security group is not feasible; one dynamic distribution group is possible. For example, Suppose I need to create a group on the basis of company name and city location (custom attribute1). The above can be done by creating the dynamic distribution group. Any new addition which matches the above condition will be automatically added to the distribution group, that’s the reason why it s called as Dynamic.
3. Especially useful for location-specific communications.
4. Can’t be used as security groups.
5. Create them in the Group sub-node of the Recipient node.
6. Non-wizard filtering criteria can be used if you use the New-DynamicDistributionGroup cmdlet.
#New-DynamicDistributionGroup –Name “Groupname” –Alias “ABC_Company” –IncludedRecipeints “MailboxUsers,MailContacts” – OrganizationalUnit “Domain.com/Users” –ConditionalCompany “Domain”
Best Practice:
1.Address List:
a. Don’t create any unless you really need them, and then keep it simple.
b. Make list names clearly descriptive of contents.
2.Global Address List:
a. Stick with the default one if at all possible.
b. Create new ones only for client based isolation.
3.Dynamic Distribution List:
a. Make use of this group.
b. Don’t forget about the value of the non-wizard Dynamic lists.
Hope the above is informative.
Please feel free to contact me for any questions.
Thanks
Logu
Logu_microsoft@hotmail.com
91-98414 99143.
Public folder in the exchange server 2007:
In Simple words, the Public folder is just like a general forum which is used for posting mails, documents and other common information. Actually, usage of public folder has been overcome by SharePoint portal services. Exchange server 2007 is de-emphasized i.e., there is no change or improvement in the public folder architecture in the 2007 version. Microsoft no more support public folders. This article explains the working of the public folders in the exchange 2007 server.
Public folder function:
- Public folder data is kept in the public folder database.
- Multiple replicas of a public folder can be maintained on separate servers.
- Any sort of folder data can be kept in a public folder.
- Public folders can be given their own email address.
- You can configure Send-as permission on a public folder.
Public folder Creation:
In the EMC, go to toolbox PFMC – Public folder management console.
#New-Publicfolder –name TESTPUBLICFOLDER –path ‘\’ –server ‘servername’
Assigning PF Permission and PF Email address:
2.There are two ways to give admin permission via EMS:
a.Add-PublicFolderadministratorPermission - Per-PF.
b.Add-ExchangeAdministrator - General Admin rights, including to PF root.
3.The easiest way is to use Add-PublicFolderClientPermission to assign ownership
#Add-PublicFolderClientPermission –Identity \TESTPUBLICFOLDER –User USERALIASNAME –AccessRights FolderOwner
4.Check permission of the PF using the Outlook or in EMS with
Get-PublicFolderClientPermission
Set perms with Add/Remove/Set-PublicFolderClientPermission
#Get-PublicFolderClientPermission \TESTPUBLICFOLDER list
5.You can use either the EMC or the EMS to mail-enable a public folder.
#Enable-MailPublicFolder \TESTPUBLICFOLDER
6.Check whether a PF is mail-enabled
#Get-PublicFolder list mailenabled
#Get-MailPublicFolder
7.Send-As Permission can be done in the console.
Hope the above is informative.
Please feel free to contact me for any questions.
Thanks
Logu
Logu_microsoft@hotmail.com
91-98414 99143.
Exchange 2007 Database
How Exchange stores data:
Database built on a heavily extended version of JET. The JET Database is an old and simple database type which is used for all mail storage in the exchange 2007. Why Microsoft relying on the JET still?, it’s a bit interesting stuff. Microsoft doesn’t want to change the database from JET to SQL database because already in exchange 2007 has enough changes like 64 bit architecture and many other new improved features. Single Instance Storage (SIS) provides large disk space saving. SIS is nothing but, when you send 1 MB attachment mail for 10 users, actually only one copy (1 MB of file) is stored in the DB. Databases use transaction logs (and memory) to initially store data. The mail flow exist as below
All incoming mails à transaction log à Database
Transaction log is like heart beat of the database. All the message routing is logged in a file before getting into the database (edb file) is called the transaction log. The analogy behind this transaction log is used for the restoring the recent data of the database in times of disaster. After successful backup, the committed logs are removed in order to avoid the disk space accumulation. So the last full backup copy plus the uncommitted transaction log will reproduce the recent copy of the database.
Storage Capacity:
In exchange, the maximum storage limit for a database is restricted to certain level, whereas in exchange 2007, it is unlimited theoretically. Please find the difference b/w the standard and enterprise edition in terms of the storage capacity.
In Standard edition:Storage group – up to 5,Database per SG – up to 5,Database limit – 16 TB.
Enterprise edition: Storage group – up to 50,Database per SG – up to 50,Database limit – 16 TB.
The above are the storage limits of the databases, but there are some size caps. The size caps are nothing but artificial size limit set at the registry level. For example for standard edition, there is artificial 50 GB cap on database sizes (for SP1 = 150 GB). This can be increased as per your wish and need, by just creating some entry in the registry as below.
HKLM\system\currentcontrolset\services\MSexchangeIS\servername\private{respective-DB-GUID}
In the above location just add a new DWORD value “Database Size Limit in GB” and set the decimal value as 200 (in this case increasing the size limit to 200 GB). In addition, the default mailbox size limit is 2 GB (can be changed).
Difference b/w exchange 2007 database and the previous version:
The following the differences between the exchange 2007 database and the exchange database of older version.
- The name of the store has been changed to Database.
- There is no more .stm file anymore. All data is in the .edb file.
- Transaction logs have shrunk from 5 MB to 1 MB.
- Transaction log numbering limits have been expanded from a million to 4 billion.
- Lost Log Resilience keeps last several log files in memory.
Relationship b/w Storage groups and Database:
- Storage groups are virtual containers for databases.
- They can hold up to five databases each.
- Transaction logs are handled at the storage group level.
- LCR – Local Continuous Replication - is a new feature of exchange 2007 will enables us to have a copy of the database in some other location. LCR can be used only if you use single database per storage group.
Guidelines for Best practices:
- Try 1:1 model for storage groups and databases.
- Isolate DB and transaction logs on separate disk for redundancy purpose.
- Leave Circular logging disabled.
- Perform regular Full backups.
- Check the available disk space for the transaction logs because it increases in faster rate and occupies plenty spaces.
- If you have multiple DB’s, set maintenance schedules so they don’t conflict each other.
- If it is 1:1 model, make use of LCR-Local Continuous Replication option.
- Don’t forget about the artificial size cap.
Hope the above is informative.
Please feel free to contact me for any questions.
Thanks
Logu
91-98414 99143.

