Topic Of This Hour Exchange 2013: Database Availability Group Exchange 2013: Modern Public Folders Dec 18, 2013 Timing for the different Geography: 5:00 AM to 6:00 AM - Dec 19 – Melbourne (AEST)Time 2:00 AM to 3:00 AM Singapore time 11:30 - 12:30 PM India Time 7:00 - 8:00 PM Europe Time 6:00 - 7:00 PM UK Time 1:00 - 2:00 PM EST 12:00 - 1:00 PM CST 10:00 - 11:00 AM PST Sept 26, 2013 1:00 PM EST / 12:00 PM CST / www.NetComLearning.com 10:00 AM PST / 7:00 PM CET / 6:00 PM UTC/10:30 PM IST About Speaker Exchange 2013: Database Availability Group Sept 26, 2013 Prabhat Nigam Microsoft MVP: Exchange Server Prabhat Nigam Microsoft Since: 2013 MVP: Exchange Server Since: 2013 2013, MCITP 2010/2007 MCSE: Messaging MCSE: Messaging 2013, MCITP 2010/2007 Ex – Microsoft Exchange PSS Employee Ex – Microsoft Exchange PSS Employee Blog: MSExchangeguru.com Blog: MSExchangeguru.com - 3rd Cool Community as per Microsoft Team Speaker @ Netlearning & Microsoft Speaker @ NetCom Learning, NYMeetup & Microsoft 1:00 PM EST / 12:00 PM CST / 10:00 AM PST / 7:00 PM CET / 6:00 PM UTC/10:30 PM IST bby 1:00 PM EST / 12:00 PM CST / 10:00 AM PST / 7:00 PM CET / 6:00 PM UTC/10:30 PM IST www.NetComLearning.com Agenda Exchange 2013: Database Availability Group • • • • • • • • • • Modern Public Folders Overview Modern Public Folders Architecture Legacy Public Folders vs Modern Public Folders Public Folders in Co-existence Migration Requirement and Assumptions Modern Public Folders Migration Steps Demo – Public Folders Migration Roll Back to Legacy Exchange Legacy Public Folder Database Removal Summary www.NetComLearning.com Sept 26, 2013 Modern Public Folders Overview • • • • • Purpose Usage Requirement Primary users Other options www.NetComLearning.com Modern Public Folders Architecture Exchange 2013 Client Access Server Hierarchy Hierarchy MBX1 PF- Primary PF1 PF3 MBX2 – PF PF2 PF4 www.NetComLearning.com 1. Public folders are mailbox and not Database 2. All public folder mailboxes stores Hierarchy with only one writable 3. Content can be shared across multiple Public Folder mailboxes 4. Administration will be same as mailboxes and accept same cmds 5. RBAC based permission management Legacy Public Folders vs Modern Public Folders Components Data Storage Per Server Legacy Public Folders Public Folder Databases One public folder database per server Modern Public Folders Public Folder Mailboxes Multiple public folder mailboxes per mailbox database Folders Multiple folders per database One to many folders per mailbox Cmdlet *-PublicFolderDatabase *-Mailbox High availability Public Folder Replicas Database Availability Groups Hierarchy storage One Public Folder Hierarchy per at Database Only One writable hierarchy and other readonly hierarchy mailbox Hierarchy synchronization Multi-master replication for hierarchy, Email Hierarchy kept in sync using same technology based sync Outlook uses to keep in sync with Exchange, clients request updates whenever available. Mailbox Sync Content replication Search Permission management Administration Outlook client OWA Replicated between databases Items only ACLs PF Management Console + EMS Any Outlook version OWA 2007, OWA 2010 Replication is impossible Items and attachments RBAC EAC + EMS Outlook 2007 - 2013 OWA 2013 www.NetComLearning.com Public Folders in Co-existence • Complete all mailboxes migration before migrating Public Folders to the Exchange 2013 • Exchange 2013 users can access Exchange 2010 or 2007 Public Folders • Continue using Legacy Public Folders until all mailboxes are migrated • Exchange 2010 and 2007 users can’t access Exchange 2013 Public Folders. www.NetComLearning.com Migration Requirements and Assumptions • Exchange 2010 is Exchange 2010 SP3 or later • Exchange 2007 is Exchange 2007 SP3 RU10 or later • Login id has Organization Management and Recipient Management Permissions • All the mailboxes have been moved to Exchange 2013 • Public Folder name should not have \ • Ensure we announce downtime or do this over the weekend • Perform a backup of your public folder databases • No PF co-existence Possible • Exchange 2013 Public Folders will not be accessible from legacy mailbox • Migration will be running at the speed of 2-3GB per hour www.NetComLearning.com Legacy to Modern Public Folders Migration Steps Exchange 2013 • • • Legacy 1. Snapshot of the current Public Folders Get-PublicFolder -Recurse | Export-CSV C:\PFMigration\Ex2010_PFStructure.csv Get-PublicFolder -Recurse | Get-PublicFolderStatistics | Export-CSV C:\PFMigration\Ex2010_PFStatistics.csv Get-PublicFolder -GetChildren | Get-PublicFolderClientPermission | Select-Object Identity,User -ExpandProperty AccessRights | Export-CSV C:\PFMigration\Ex2010_PFPerms.csv 2. Preparation on Legacy Exchange server • Set-OrganizationConfig -PublicFoldersLockedforMigration:$false -PublicFolderMigrationComplete:$false 3. Preparation on Exchange 2013 server: Delete any existing PF • Get-PublicFolderMigrationRequest | Remove-PublicFolderMigrationRequest -Confirm:$false • Get-MailPublicFolder | where $_.EntryId -ne $null | Disable-MailPublicFolder -Confirm:$false • Get-PublicFolder -GetChildren \ | Remove-PublicFolder -Recurse -Confirm:$false • Get-Mailbox -PublicFolder |Remove-Mailbox -PublicFolder -Confirm:$false 4. Export public folder hierarchy from source into CSV file on Legacy Exchange • • .\Export-PublicFolderStatistics.ps1 \\servername\path\filename.csv .\PublicFolderToMailboxMapGenerator.ps1 MailboxSize ImportFilePAth ExportFilePath 5. Create public folder mailboxes in Exchange 2013 • New-Mailbox -PublicFolder MailboxName -HoldForMigration:$true –Database “2013DBName” Create all as mentioned in the Mapgen file 6. Migration Request creation • "New-PublicFolderMigrationRequest -SourceDatabase (Get-PublicFolderDatabase -Server <Source server name>) -CSVData (Get-Content <Folder to mailbox map path> -Encoding Byte)“ 7. Lock Legacy Exchange for final migration • Set-OrganizationConfig –PublicFoldersLockedForMigration:$true 8. Complete the suspended migration by running below 2 cmdlet: • Set-PublicFolderMigrationRequest –Identity \PublicFolderMigration -PreventCompletion:$false • Resume-PublicFolderMigrationRequest –Identity \PublicFolderMigration Demo – Public Folders Migration www.NetComLearning.com Roll Back to Legacy Exchange • Roll Back option is available. • Data Loss – Exchange 2013 Changes • Follow the below cmds to roll back 1. To unlock legacy Exchange public folders, run the following command on the legacy Exchange server. Set-OrganizationConfig -PublicFoldersLockedForMigration:$False 2. To set the PublicFolderMigrationComplete flag to $false, run the following command on the legacy Exchange server: Set-OrganizationConfig -PublicFolderMigrationComplete:$False 3. If Public Folders will be present in exchange 2013 then users will not go to legacy Exchange. To remove the public folders from Exchange 2013 run the below cmdlets Get-PublicFolderMigrationRequest | Remove-PublicFolderMigrationRequest -Confirm:$false Get-MailPublicFolder | Disable-MailPublicFolder -Confirm:$false Get-PublicFolder -GetChildren \ | Remove-PublicFolder -Recurse -Confirm:$false Get-Mailbox -PublicFolder |Remove-Mailbox -PublicFolder -Confirm:$false 4. Point Mailbox Database to Legacy Public Folders • Get-MailboxDatabase | Set-MailboxDatabase -PublicFolderDatabase "Name of the PF Database" www.NetComLearning.com Legacy Public Folder Database Removal • Legacy Public Folder Database should be backed up before removal for a RollBack • Remove all the Replicas of the Public Folder Database • Remove all Public Folders from Legacy Public Folder Database • Removing Public Folder Database with Public Folders in not possible • Run the below cmd on Legacy Exchange management shell Get-PublicFolderDatabase -Identity “Legacy PF DB Name” | Remove-PublicFolderDatabase www.NetComLearning.com Summary • Modern Public Folder Architecture • Modern Public Folder Comparison with Legacy • Modern Public Folder in Co-existence • Modern Public Folders Migration requirements • Modern Public Folders Migration Steps and Demo • Roll Back to Legacy Public Folders Database • Legacy Public Folder Database Removal www.NetComLearning.com Blogs Post on Public Folders • Modern Public Folders Architecture http://msexchangeguru.com/2013/05/31/e2013pfarchitecture/ • Modern Public Folders Migration http://msexchangeguru.com/2013/04/18/exchange2013-public-folders/ www.NetComLearning.com www.NetComLearning.com MCSA: Windows Server 2012 *Free Second Shot Exam expires May 31st, 2014 www.netcomlearning.com MCSE: Messaging www.netcomlearning.com Upgrade path *Free Second Shot Exam expires May 31st, 2014 www.netcomlearning.com Microsoft Exchange Courses • MCTS: Exchange Server 2010 Configuration • 5 days, 40 hours • January 13th| Instructor-led Live Online • MCSE: Messaging (Exchange Server) • 10 days, 80 hours • January 20th | Instructor-led Live Online • February 24th | Instructor-led Live Online o 20341: Core Solutions of Microsoft Exchange Server 2013 (5 days) o 20342: Advanced Solutions of Microsoft Exchange Server 2013 (5 days) *Free Second Shot Exam expires May 31st, 2014 www.netcomlearning.com Q&A 1-888-5-NETCOM (563-8266) info@netcomlearning.com www.NetComLearning.com