04-24-2012 10:22 AM
hello all. thanks for taking the time to read and help...
i am a noob to EV and the first task ive been given is to get EV ready for Exchange 2010...thus i will need to upgrade; we are currently running on 8.0. I have been reading the upgrade guide and we have multiple servers. 1 for Exchange vault mail. 1 for discovery accelerator. 1 for File share and sharepoint. In the guide it doesnt say what goes first ..if any. And from looking at the upgrade path for DA it first needs to be on SP5. Do all the servers need SP5 or just the DA? And for the 9.03 upgrade what server goes first or do I have to run them at the same time? here is my breakdown from the upgrade guide. Please provide feedback and recommendations. Thank you again for the time and effort.
Solved! Go to Solution.
04-24-2012 03:05 PM
-Where do I find the WatchFile tables and JournalArchive tables?
-stopping SQL management studios on the EV servers itself? correct?
-so it doesnt matter which server I start first as long as the Discovery server is up to SP5 ...anyone of them could be first.
-SP5 upgrade...anything special about that?
-lastly any changes for end users? new client? or agents that need to be installed on Exchange for OWA? or SharePoint?
04-24-2012 10:44 AM
pretty much on the money there to be hoest.
My suggestion is don't wait to be in backup mode or backup data to run the Deployment scanner, just install the newer version, run it, and then fix whatever issues are discovered, maybe a missing hotfix or unset registry key or something such as that.
Then once you are happy with the deployment scanner, go ahead and do the upgrade.
The MSMQ's being clear isn't such a big deal, just make sure that the A1 and Storage queues are 0, anything else such as A5 is a waste of time trying to wait that out.
If you do have items in your A1 or Storage queues, you can't be in backup mode for them to clear out, as that will just put EV in to read only mode.
There is a big issue regarding the amount of items in the WatchFile tables and JournalArchive tables as if its in the hundreds of millions territory then you are looking at a very slow and painful upgrade, but as long as you have your backups running correctly or using the trigger files correctly, these tables should be good to.
Typically the way that I do it is the following.
1. Log on to each EV Server as the EV Admin
2. Start the setup.exe on each server and go through the screens until it tells you it will stop these services
3. Make a backup of the databases right there and then so if you need to fall back you can
4. Make sure you close all the SQL Management studios etc and anything else that might stop the databases going in to single user mode for the upgrade
5. Go through each machine you RDP'd to and hit next so that it stops the services and begins the installation
6. Wait for the machines to say they need to be rebooted and reboot each one as it prompts you
7. On the primary or first server where the alias points to, log on to the machine after a reboot
Note: Logging on for the first time after an upgrade can seem like its stuck, it takes a couple of minutes for the screen to say that the installation is complete, so don't think the server is hung, just use that time to go through the other machines and log on
8. Back on the first server, start the Admin and Directory Service.
9. Await the event on that server saying the directory database has been upgraded
10. Then start the Storage Service and wait for the event to say the storage database has been upgraded
11. Go through each other machine and start the Admin, Directory and Storage service and wait for the even tot say the storage has been upgraded
12. On the last server to finish the upgrade of the storage database, that server will then perform the upgrade of the fingerprint database, it will also post an event to say its complete
After that you can start all the other services (shopping, Indexing, Task Controller and what not) and perform your tests.
In previous upgrades i've done using those steps I can upgrade about 20 servers in less than an hour
04-24-2012 11:05 AM
yes, DA is the only one that needs to be at SP5 first. you can do the rest directly from 8.x
04-24-2012 11:52 AM
04-24-2012 03:00 PM
Sorry had another question...
-if I upgrade the DA to SP5 but the other EV servers are on 8.0. will DA still function? the reason being we might want to do SP5 and then a few weeks later to 9.03. smart? worth it?
to quote the upgrade guide:
"If the major version of DA is the same version of EV, the minor version (Service Pack) of DA must be the same as, or later than, the minor version of EV."
so this says it should work...
04-24-2012 03:00 PM
Yes, that will be fine, it just won't work the other way.
04-24-2012 03:05 PM
-Where do I find the WatchFile tables and JournalArchive tables?
-stopping SQL management studios on the EV servers itself? correct?
-so it doesnt matter which server I start first as long as the Discovery server is up to SP5 ...anyone of them could be first.
-SP5 upgrade...anything special about that?
-lastly any changes for end users? new client? or agents that need to be installed on Exchange for OWA? or SharePoint?
04-26-2012 12:52 PM
-Where do I find the WatchFile tables and JournalArchive tables?
We did the JournalArchive count and saw it was nearing 100million. And saw an event in the logs saying that:
There are 99439763 savesets that are waiting to be indexed and/or waiting to be backed up or replicated in Vault Store 'MailVaultStore'.
Check that your Indexing and Storage services are running.
Review your procedures and make any changes needed to ensure that backups happen in a timely fashion.
In order to start post processing please follow the steps below:
Set the Vault Store in backup mode
Set the Vault Store to clear backup mode
04-26-2012 01:04 PM
I wrote that article :)
So basically the old behavior before EV8 was that the only thing that went to WatchFile were items that were set to "After Backup" and BackupComplete = 0, until the backup program removed the archive attribute and then storage file watch scanned and removed the watchfile entry and also set BackupComplete to 0
However now in EV8+ everything goes to JournalArchive and WatchFile and needs to be backed up, even if its set to Immediately After Archive.
So will running the attrib command produce dataloss?
Not really, the thing is, because you're in an Immediately After Archive situation it will have set all Pending items to shortcutted items anyway. What it does mean though is you have to be confident in your backups that it really has gotten all those items.
If you're doing snapshots for the backup then the archive bits wont be removed, if you're using something like a netapp, the archivebits doesn't matter because windows cant query for it properly.
If you are confident about the backups, my suggestion would be to use the IgnoreArchiveBitTrigger.txt file instead of the attrib command, which will be far quicker for you.
The IgnoreArchiveBitTrigger.txt is usually placed on a file system that can't support the Archive attribute, and after the backup run has completed, the txt file gets created, and EV Reads the text file and then scans the system.... Anything On or before the create date of the file will be treated as backed up.
so this in essence is just the one scan.
However if you do the attrib command, windows will take forever to go through every single file and folder and remove the attribute, and then EV has to scan the same files, so if it took 2 hours to remove the archive bit, its going to take 2 hours to scan etc.
Going in and out of backup mode is just a way to force EV to look at the files again, otherwise you may have to wait the normal 2 hours for the StorageFileWatch to run its scan again.
04-26-2012 01:27 PM
thanks for the article... it helps. and for the quick responses.
we use netbackup 7.0 for backing up the partitions. we do full every weekend and incrementals during the weekday. does it only clear the savesets after a full? or both?
the IgnoreArchiveBitTrigger.txt is should be placed by the netbackup software. so I am guessing not much admin intervention here. thus i will try this out.
the 99million has been a builtup from 2009 ... i am fairly confident we have a good backup by now. :)
also do savesets cause any problems? performance? having that many sounds ridiculous.
04-26-2012 02:05 PM
you will have more than 100 million savesets :)
the 100 million is 100 million email, however an email with a single large attachment could create 3 items, and depending on your sharing levels and how much is truly unique, you may have more than 100 million items etc.
just means you archive a lot, thats all!
And you don't have to wait for netbackup to do it, i mean you should configure it that way, but just create the txt file yourself now and get the process kicked off.
And i know a full backup will remove the backup , but the others are a little murky for me, i think its incremental that removes the archive bit? really not sure