Link to home
Start Free TrialLog in
Avatar of Steve Cowan
Steve CowanFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Exchange 2003-07 migration gone wrong

Hi, hope someone can help me out here.

I have:

Old server running Windows 2003 and Exchange 2003 (all latest service packs etc)
New server running Windows 2008 and Exchange 2007

I was following this ( http://www.msexchange.org/tutorials/Transitioning-Exchange-2000-2003-Exchange-Server-2007-Part1.html )guide on transitioning the exchange from the old server to the new one.

All was going well until I got to part 3, repilcating public folders.  To let you understand we have about 40gigs of data in public folders.  I know this is not good but its out with my control.

I kicked off the replication of these folders from the old server to the new server.  
I also started moving a few of the mailboxes over.  All at this point seemed OK.

The next day I had the client phone me saying that email was running dead slow, and could I fix it.  I did the typical reboot the 2 mail server and while this kicked out some of the messages that were in the queues it didn't improve much.
I decided to undo the replication so that all replicas would be on the old server again.  Oddly when I checked the size of the public folder store on the new server it hadn't grown at all and users on the new server couldn't see any data in these folders.
I also had the problem that those on the new server could only email each other and likewise with the old server, there seemed to be no routing between the server working at all.  I thought this might be due to overload from replication.
Eventually I've ended up moving the mailboxes back to the old server.  This solves them being able to send and receive email but the speed issue is still there.  Its like the old server is just constantly trying to do something that's slowing everything on it down.

If I look on the ESM 2003 manager at the queues you can see that there are thousands of messages.  The number just keeps on going up until I reboot, then its just starts again.

I'm now trying to get to the stage where I want to uninstall the Exchange 2007 server for now without causing issues on the old one.

The uninstaller fails on 2 points.

1.  Public folder contains replica's.  I have tried everything and I cannot see any replicas of the public folders.  There is only 5 or 6 system folders in there.

2.  Routing group connectors.  I can see using get-routinggroupconnector that there are indeed 2 connectors, one going to the other server the other coming back.

What I need to know is, can I safely (ie without loosing any data from the old server) use ADSIedit to remove the public folder store from the new server and, can I delete the 2 connectors?

Basically, will this fix this problem for me and my client?

I am desperate to get this sorted out for 9am on Monday so any help would be very, very much appreciated.

Thanks in advance.

Steve
ASKER CERTIFIED SOLUTION
Avatar of endital1097
endital1097
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Steve Cowan

ASKER

Hi,

I have just tried the command:

moveallreplicas.ps1 -server serverb - newserver servera

Server a is older 2003 one, serverb is the new 2007 one.

I got the following error back:

WARNING: Object servera\First Storage Group\Public Folder Store (servera) has
been corrupted and it is in an inconsistent state. The following validation
errors have occurred:
WARNING: ReplicationMessageSize(99999999KB) is out of range: [1KB,2097151KB].
WARNING: Object servera\First Storage Group\Public Folder Store (servera) has
been corrupted and it is in an inconsistent state. The following validation
errors have occurred:
WARNING: ReplicationMessageSize(99999999KB) is out of range: [1KB,2097151KB].
[PS] C:\Program Files\Microsoft\Exchange Server\Scripts>

I have checked, and so far as I can see the public folders on servera are visible and working...

Any thoughts?
Scratch that, I realised what that was and fixed it.

I set the message limit for replication to 999999999 and it let me, however I have changed it to 2097151 and the above command now appears to work, although I'll have to wait until it replicates again.

I'm sure I have already tried the moveallreplicas command but it didn't appear to do anything for the situation.

Any further ideas?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
First command showed only

IPM_SUBTREE

Second command listed the 6 system folders that I mentioned earlier.

I have now tried the move all replicas from the ESM 2k3 which again it seemed to be happy with.

When I look in folder instances there is only the 6 system folders, no other data folders seem to have ever made it onto this server.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks for that.

I'm in the now slow process of backing up public folders just in case it all goes horribly wrong before I delve into the ADSIedit bit.

Fairly sure the OAB is coming from 2003 server.  Any way to be sure?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
OK thanks.

One other thing, in the mailbox store on the 2007 server there are a number of disconnected mailboxes.  These were the last of the ones that I moved back to the 2003 server.

If I try to purge them it says they have already been reconnected, which techincally they have been on the 2003 server but I can't seem to get rid of them.

Odd thing is, the other mailboxes that were moved back went fine its just these few that are left.  The only thing I can think of is that these are users who would have logged into their mailboxes while they were on the new server.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
OK, thanks for all your help so far.

The situation now is that the new 2007 exchange server is now uninstalled cleanly after removing the public folder store and routing connectors between the 2 servers.

It appears that the old server is still generating thousands of messages from servera-IS@domain.co.uk to PublicFolderDatabase@domain.co.uk

At the moment these eventually end up in the SMTP queue for sending outbound causing it to completely clog.

I am combating this by scheduling the queue not to run until 11pm and in the mean time I am periodically clearing the queues of all messages.

What I need to know is, will these messages eventually stop being generated or will the public folders keep trying to replicate with nothing?

Any advise would be very much appreciated.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
According to the 2003 ESM there are no replicas now.  both of these address' are 2003 I believe.

the @domain.co.uk is the same for both servers.  These used to grow in the queue between the 2 servers but now its going to the SMTP queue, I think because its the only outbound one there is.

I'm hoping that once each item (of which there are many thousands) has sent this message, the message storm will die away and I can then re-enable the SMTP queue as normal.

What I don't know is what I do if this is not going to happen and the public folders just keep on trying to replicate forever.

SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
both those commands run on the old server indicte no public folder database present
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Just gives an error saying that server is 2003
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Looking in the queue they date back to 2nd September.  I'll clear the queue and see if the date/time stamps are moving on.  If they are I guess its just a waiting game until they are all processed through.

In the 2003 EMS under Public Folder Store/Replication Status it shows no replicas.  I think this is normal as I have looked on another 2003 server I have access to in a different client and it looks the same.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Finally its fixed.

The messages eventually stopped appearing and on deleting them and sorting the SMTP connector back to normal its all fixed.

Thanks to endital1097 for your assistance through all this.  Although no one post gave the final answer they were all helpful and I'll try and find a way of showing that.

Cheers

Steve
Many, many thanks for helping me keep my sanity over what has been a very stressful few days.