Migrate Exchange Server 2016 From Onsite to Cloud

Migrate Exchange Server 2016 from onsite to the cloud.
We currently have onsite a domain eg abc.xyx.com running onsite. On this site we also have running an Exchange Server 2016 that provides emails to the staff. The problem we are having is that its now working out too costly to run the exchange server onsite as the server needs to remain operational 24 hours a day. We have some storage space in the cloud to add 1 server. I have added a vmware server to this space and now want to host 2 virtual servers.

The local subnet mask is 192.168.1.0/24
The cloud subnet mask is 192.168.2.0/24

The local site to the cloud is able to communicate no problem via a  site to site vpn.

In the cloud will be the following 2 virtual servers.

1. A secondary domain controller.
2. Exchange Server.

The secondary domain controller has the ip of 192.168.2.1/24 and is replicating no problem with the local dc that is on 192.168.1.1/24

I want to now setup the new exchange server and am not sure on what to do. The plan is to setup a new exchange and then move the mailboxes from the current local exchange to be pushed to the new cloud exchange. I will then look to demote and remove this local exchange so that the only exchange is now in the cloud.

The local dc will remain as the plan is that this dc will switch on during the daytime during working hours and then shutdown at the end of the shift along with a local storage server.
GenieMasterAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

MaheshArchitectCommented:
how many mailboxes you have on server?

Its better you migrate to O365 exchange online and forget exchange server onpremise setup

Then repurpose current onpremise server
GenieMasterAuthor Commented:
Hi Mahesh we did think about that but because of the cloud rackspace we have, it would work out cheaper for us to host our own exchange
MaheshArchitectCommented:
You already have one dc in cloud, post working hrs, stop and disable all exchange services and use tool like vmware converter and convert server to vmware virtual machine and upload this vm to rack space and configure there as VM, i don't know how much time would be required for upload, its depends upon your link speed and image size
Now reset exchange server computer account in ad, start vm, and logon with local administrator and rejoin server to domain again
Start all services and check if database gets mounted abd if u could access mailboxes and send receive locally
Point your mx  and spf to new server
Clients may need to restart outlook once or twice
You may park inbound emails for day or two to isp if he has that facility
Probably over weekend Saturday and Sunday you can do that
Proper planning is required

Else u need to go with conventional way like install new exchange box in cloud, migrate mailboxes over site to site vpn and once all mailboxes are migrated, point mx and spf to new server and finally decommission old server
This process will take time depending upon mailbox size, count, and available site to site internet bandwidth
Your Guide to Achieving IT Business Success

The IT Service Excellence Tool Kit has best practices to keep your clients happy and business booming. Inside, you’ll find everything you need to increase client satisfaction and retention, become more competitive, and increase your overall success.

GenieMasterAuthor Commented:
Hi Mahesh, I opted to do the old conventional way and moved over all mailbixes and system mailboxes.
I am now trying to uninstall the old exchange but I note that if I run the command  

Get-Mailbox -AuditLog -Server [OLD exchange] it shows an entry.
If I run
Get-Mailbox -AuditLog -Server [New exchange] it shows no entry.

I assume does this Audit Log need to move from the old server to the new ?
If so I do not see any command to move it across ;

I have tried

Get-Mailbox -AuditLog -Server  [OLD exchange]| New-MoveRequest -TargetDatabase [New Exchange DB]
but it give an error saying the database does not exist. I am thinking it can only move audit logs within the server and not across servers.

Can you please explain what to do as I want to uninstall the old exchange.
MaheshArchitectCommented:
Did you moved discovery search mailbox

Also disable auditlog or monitoring mailbox on old server and then you can remove mailbox database on old server and then you can uninstall exchange from old server
https://www.petenetlive.com/KB/Article/0001414
GenieMasterAuthor Commented:
Hi Mahesh,

1.
If I run the command
Get-Mailbox -RecipientTypeDetails DiscoveryMailbox

it shows as on the new server so I trust its been moved is that is the discovery search mailbox ?

2.
As for the monitoring
Get-Mailbox -Monitoring -Server  [OLD exchange] it shows some entries
likewise if I run the same command on the new exchange it also has some entries.
Do I simply just need to disable this monitoring mailbox on the  [OLD exchange] ?
If so, can I have the command to run that will disable all entries for the old exchange as there are multiple.

3. As for the Auditlog
If I run the command
Get-Mailbox -Auditlog -Server [OLD exchange] it shows 1 entry
If I do the same command on the new server it shows no entry ?
You mentioned to disable this Audit log. Can I have the command to do this.
Also should there not be an entry on the new server ?


Thanks for your support
MaheshArchitectCommented:
The provided link have that cmdlets
GenieMasterAuthor Commented:
Hi Mahesh, the commands as I said in my comments above are not there. I also asked a few other questions if you could please help
MaheshArchitectCommented:
Get-Mailbox -Arbitration   > check where all arbitration mailboxes are, if they still pointing to old server, then move them with below cmdlet:

Get-Mailbox -Arbitration | New-MoveRequest -TargetDatabase Newserverdatabase

Get-Mailbox -Database <Database ID> -AuditLog | fl
Get-Mailbox -Database <Database ID> -AuditLog | Disable-Mailbox

what error you are getting while uninstalling exchange server?
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2016

From novice to tech pro — start learning today.