Pre-requisite reading (optional)
- SBS and Essentials Info
- http://blogs.technet.com/b/sbs/archive/2013/07/01/windows-server-2012-r2-essentials-preview-and-windows-server-essentials-experience-server-role-now-available.aspx
- http://blogs.technet.com/b/sbs/archive/2013/09/16/installing-and-configuring-the-windows-server-essentials-experience-role.aspx
- http://blogs.technet.com/b/sbs/archive/2007/10/04/debunking-the-myth-about-additional-domain-controllers-replica-dcs-in-an-sbs-domain.aspx
- http://blogs.technet.com/b/sbs/archive/2011/07/01/sbs-2011-standard-migrations-keys-to-success.aspx
- http://support.microsoft.com/kb/2974308
- http://support.microsoft.com/kb/2975719
- Exchange Migration
- http://technet.microsoft.com/en-us/library/jj863291(v=exchg.150).aspx
- http://technet.microsoft.com/en-GB/library/jj874016(v=exchg.150).aspx
- http://help.outlook.com/en-US/140/ms.exch.ecp.emailmigrationwizardexchangelearnmore.aspx
- http://blog.powerbiz.net.au/sbs-2008/migrating-email-from-sbs-exchange-to-office-365/
- http://blogs.technet.com/b/canitpro/archive/2013/11/20/step-by-step-migrating-from-exchange-2007-to-office-365.aspx
- http://blogs.technet.com/b/canitpro/archive/2013/05/31/step-by-step-migration-of-exchange-2003-server-to-office-365.aspx
- AD
- Migration
- http://technet.microsoft.com/en-us/library/dn408633.aspx
- http://blogs.technet.com/b/infratalks/archive/2012/09/07/transition-from-small-business-server-to-standard-windows-server.aspx
- http://social.technet.microsoft.com/Forums/windowsserver/en-US/3f0a1714-89ae-43e2-9569-12c01fb79b3d/windows-server-2012-r2-essentials-or-standard-with-essentials-experience-role-will-service?forum=winserveressentials
- http://blogs.technet.com/b/sbs/archive/2014/08/13/announcing-the-availability-of-enabling-windows-server-2012-r2-essentials-integration-of-microsoft-online-services-in-environments-with-multiple-domain-controllers.aspx
- Troubleshooting 2012R2 Connector
We will be moving from a 2 server setup SBS 2011 Premium to a 1 server Essentials, SQL had stopped being used for several months after the initial installation of 2011 Premium
- Depending on when you will be migrating mail you will want to create 365 account and verify your domain. This can take up to 72 hours so do it well in advance to doing the work but not so far that your wasting weeks/months of paying for nothing.
- Do a backup of all GPO’s
- Create a GPO that make a local admin user so further on in this process you can log on locally
- On Source Server get it all updated well in advance, that means exchange and server OS
- Personally I would do this over the course of 2 weeks in advance over every dinnertime and set aside 1 hour to monitor it to make sure updates apply correctly.
- 2 x 600GB 15k disks in raid one partitioned for the Hyper V OS with 120GB and 400GB for the VM OS Partition (known as fast storage)
- In hindsight it would of been better to install the HyperV host OS on the slow storage so there is no impact on IO for the fast disks.
- 3 x 2TB Nearline SAS Disks in Raid 5 giving a 1.72TB usable space for secondary drives storage etc…. (Known as slow storage)
- 2012 R2 standard fully updated with dot NET 3.5 and 4.5 installed
- Team the two NICS inside the server
- Install Hyper-V and Windows Server Backup
- Note it is recommended to have a hyper-v host to be in a domain however since we have no physical DC (post migration) we are not doing this in this guide. This is your decision to make !
- Run Windows Update again on the host
- Configure WSB to run at night every night or at a period when downtime can occur
- Create a VM (on the slow storage)as an image and name it BASE OS, configure it as you would like, Customer experience unchecked, make it fully updated etc…. then Sysprep it
- I used this as a reference http://sondreb.com/blog/post/hyper-v-making-template-virtual-machines.aspx
- It might be worth while to take note of this guide to keep your base os updated http://blogs.technet.com/b/keithmayer/archive/2013/12/13/step-by-step-offline-vm-template-servicing-with-windows-server-2012-r2-and-powershell.aspx
- Use the following guides to help with performance of Hyper-V
- To ensure Integration Services are always up to date across all server you might want to run this script below
- Now create your DC VM without a disk and copy across the BASE OS vhdx and rename it
- Set dynamic memory and set the minimum to 2048 and set the maximum to as much as you can spare
- Set the memory weight to high
- set “Automatic Start Action” to “Always Start” with a delay of 0
- set “Automatically Stop Action” to “Shutdown the guest OS”
- This is only for a DC however depending on the application may apply to other VM’s
- Boot the VM and Name it
- Ensure a backup on the host has taken place
- Follow this guide to start the migration http://technet.microsoft.com/en-us/library/dn408634.aspx (below is a general summery of what to do)
- Ensure the Source server (SBS 2011) is up to date
- Ensure Backups are working and you have a recent copy
- Run best Practice Analyzer
- http://www.microsoft.com/en-us/download/details.aspx?id=15556
- Fix any errors that occur
- Now you will want to go to Part 2 of the Technet Article here http://technet.microsoft.com/en-us/library/dn408637.aspx (below is a general summery of what to do)
- Ensure you have set the correct name for your server
- Set your Static IP
- Ensure DNS is updated with it
- Install the following Services
- Active Directory Domain Services
- Once configured promote this to a DC
- add this server to an existing domain
- You may run into this issue http://technet.microsoft.com/en-us/library/cc754463(WS.10).aspx#BKMK_Dcpromo
- The server will be restarted
- Start BPA for AD and address any issues
- I ran into AD being on a hyper-v server read through the following to ensure all is OK
- Run the AD replication status Tool http://www.microsoft.com/en-gb/download/details.aspx?id=30005
- add this server to an existing domain
- Once configured promote this to a DC
- DNS
- Once the server is back on check replication is all ok
- Start BPA for this role in Server Manager and address any issues
- DHCP
- Migrate DHCP with the following guide
- Start BPA for this role in Server Manager and address any issues
- I ran into the following issues
- Active Directory Domain Services
- Add role Essentials Experience Pack
- Transfer the FSMO Roles
- Follow the steps at the bottom
- Configure Essentials from Server Manager
- I ran into this lovely issues where a user account needs to be added to continue with the configuration
- Start BPA for this role in Server Manager and address any issues
- I ran into this issue ” Windows Server Backup is configured to back up an unsupported partition,” however according to tech-net ignore it….. http://msdn.microsoft.com/en-us/library/azure/dn520828.aspx#BKMK_Limitations
- Now Start work on Exchange on the SBS Server
- You can go two ways here depending on the size Cut-over or Export PST and re-import we will be going with cutover
- To do this follow these instructions http://help.outlook.com/en-US/140/ms.exch.ecp.emailmigrationwizardexchangelearnmore.aspx I did the following
- Check your external connectivity here https://www.testexchangeconnectivity.com/ with the outlook connectivity option
- troubleshoot any issues
- Set the cutover account to have full access permission’s on every mailbox
- use the following in exchange ps
- Get-Mailbox | Add-MailboxPermission -User Administrator -AccessRights Fullaccess -InheritanceType all
- Source http://msundis.wordpress.com/2011/06/21/manage-full-access-permissions-on-mailboxes-in-exchange-2010/
- use the following in exchange ps
- Enable the MRS Proxy Endpoint
- See http://technet.microsoft.com/en-GB/library/dn155787(v=exchg.150).aspx
- use “Set-WebServicesVirtualDirectory -Identity “EXCH-SRV-01\EWS (Default Web Site)” -MRSProxyEnabled $true
” in EXCHANGE PS - To confirm use “Get-WebServicesVirtualDirectory | fl” in Exchange PS and look for “MRSPROXYEnabled” and ensure it is true
- Ensure there are no hidden mailbox’s
- disable unified messaging
- Ensure your domain is validated on 365
- Log into your 365 account (this will be of help http://blogs.technet.com/b/canitpro/archive/2013/05/31/step-by-step-migration-of-exchange-2003-server-to-office-365.aspx)
- Go to Exchange admin centre
- click recipients
- click migration
- click the plus symbol
- select staged migration
- enter the details of the account your using to transfer the mailbox’s
- for exchange server enter the local name so “exchangeserver.contoso.local”
- for RPC use the external address which is typically how you access owa so “remote.domain-name.com”
- Click advanced
- set basic for authentication
- select full access for mailbox permission
- To confirm all of the above use “Get-WebServicesVirtualDirectory | fl” in Exchange PS on the SBS server
- Monitor the synchronization
- Confirm and Troubleshoot any errors
- Check your external connectivity here https://www.testexchangeconnectivity.com/ with the outlook connectivity option
- Enable integration with 365
- Open Dashboard on Essentials server > select service > select integrate with 365
- Enter logon for 365 account I always create a temporary
- Accept password strength
- Restart all DC’s
- Ensure replication from on-premise is happening, check for any errors in the Essentials Dashboard
- Assign all the users the 365 account
- To do this in 365 Dashboard right click each user and click “Assign a Microsoft Online Services Account”
- Check “Assign an existing Microsoft Online……”
- Select the correct user and click Next
- Click Close
- Before proceeding test a users ability to log on
- log onto a machine locally and reset the password as promoted
- try and log onto the 365 portal via https://portal.microsoftonline.com
- troubleshoot any issues, I had password synchronization issues which fixed itself after 15 minutes of scratching my head this may of just been a replication/time issue. To be precise I could log on locally but not in the cloud
- Rinse & Repeat
- Now on a test machine test Desktop Setup or Office 2013 upgrade (depending on your setup
- Desktop Setup, wouldnt pick up Outlook 2010 for me for some unknown reason which I couldnt find
- Installing Office 2013 caused all kinds of issues due to being behind a Watchguard XTM 5 Series (11.9.3), however they were easily resolved
- See http://community.spiceworks.com/topic/464184-how-to-fix-office-2013-error-30174-4
- Open Internal > External HTTP Proxy
- Edit Proxy Action
- Check “Allow Range Requests through unmodified”
- Click HTTP Exceptions (this you may not want to do)
- Add “*.microsoft.com”, “*.microsoftonline.com” and *.office.com”
- Save and apply the rule
- Try installing again and it should work if not see http://support.microsoft.com/kb/2822317/en-gb or http://office.microsoft.com/en-gb/support/error-code-30174-4-when-installing-office-HA104250348.aspx
- See http://community.spiceworks.com/topic/464184-how-to-fix-office-2013-error-30174-4
- To do this in 365 Dashboard right click each user and click “Assign a Microsoft Online Services Account”
- Now make changes to DNS
- Go to 365 admin setup > domains > fix issues on new default domain and log into your website DNS ssite
- ensure DNS has updated I would recommend using http://digwebinterface.com/ to check
- You may want to hold off here and check mail is in the
- Then test with https://testconnectivity.microsoft.com
- Click Office 365 Tab and run the following tests
- Microsoft Exchange Active Sync Connectivity Test > Auto Discover
- Microsoft Office Outlook Connectivity Tests > Outlook Auto discover & Outlook Connectivity
- Troubleshoot if necessary
- Click Office 365 Tab and run the following tests
- Test a desktop machine with outlook you may need to delete the profile for this
- I ran into the following issue of not being able to configure it without the SBS server popping into outlook
- http://office.microsoft.com/en-gb/office365-suite-help/manually-update-and-configure-desktops-for-office-365-HA102817833.aspx
- http://support.microsoft.com/kb/2404385
- Make the below into a reg file this should fix any client trying to connect to on-prem exchange
- [HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Outlook\AutoDiscover] “ExcludeSCPlookup”=dword:00000001
- Migrate all drive mappings / shares to target server and update group policy Note this shouldn’t cause much hassle but you may want to make copies of the GPO and just apply to test user / machine just to be safe
- I used robocopy to shift everything see command below
- Robocopy “C:\Share-location\Folder-name” “\\Target-Server\D$\ServerFolders\Folder-Name” /MIR /COPYALL /w:2 /r:2 /zb
- I used robocopy to shift everything see command below
- Deployment time
- Ensure all machines have Do Net 4-5
- Uninstall the old SBS Connector, you could do this through GPO if you like
- Install the new Connector by going to http://server-name/connect
- Install Office 365 Pro
- Check if their are any archives for outlook before removing Mail profile from Mail for 2013 in Control Panel
- Apply reg key if required
- Open and Configure Outlook
- Now time to implement the new GPO’s for folder redirection
- Firstly Backup all Group Policy’s again before proceeding
- Go to Essentials Dashboard > Devices > Implement Group Policy’s
- Configure as you desire
- I had the dashboard crash on me when doing this so you may have to run it again
- Configure as you desire
- Now remove old GPO’s
- Troubleshoot any issues
- Here you may want to think about moving AV, Wifi or any other third party applications to the destination server
- After Ensuring people can log in successfully and everything is all ok time
- Here I started to Move Server-side Applications like AV and Wifi Controller and WSUS
- When installing WSUS you may come to an error upon installation see http://support.microsoft.com/kb/2762663
- Decommission Old SBS Server
- See http://technet.microsoft.com/en-us/library/dn408635.aspx for more info see
This was a big task in a short time and I have to give a big thanks to my colleague JB for his help with this! This is essentially most of the work myself and colleague did with a few bits here and there obviously this can be up to you to decide how you perform this.
I hope this helps!
Note
- You may run into this error on the new dc http://social.technet.microsoft.com/Forums/windowsserver/en-US/c472c3d2-0a12-4883-a86c-4340ffa3d49e/disabling-disk-write-cache-for-a-windows-server-2012-domain-controller-running-as-a-hyperv-guest?forum=winserverhyperv