Committing Exchange Server 2007 Log Files

Hi,

I'm trying to migrate the First Storage Group from one array to another, and I'm running into a problem, which prevents this migration from taking place.  Basically, this is the error:

First Storage Group Failed Error: WMI Exception occured on Server Call Cancelled

I researched it a bit and found this:

http://www.experts-exchange.com/Software/Server_Software/Email_Servers/Exchange/Q_23025492.html

It appears that uncommitted log files are the culprit.  Problem is, I'm not really certain what this means.  I'm assuming that it means that said log files need to be backed up.  Is there a way around this?  Can I turn off this monitoring, so I can migrate this storage group?  I'm running out of space on the array that currently contains the storage group, so any help would be greatly appreciated.  Thank you.
jmg999Asked:
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.

mass2612Commented:
Hi,

Are you running any kind of SCR, LCR and CCR. If it is un-committed transaction logs I would really suggest running an Exchange aware backup of the storage group. That will clear the logs which should happen when you run your daily backup.

You other option would be to enable circular logging on the storage group but I would not recommend it. Circular logging is not a good idea in a production environment.
0
jmg999Author Commented:
Hi,

I don't know what SCR, LCR, or CCR is.  When you suggest running an Exchange aware backup, what exactly are you referring to?  Sorry, but I'm relatively new to the inner-workings of Exchange 2007.  I'd learned the the process to move these storage groups, but I can't find much in the way of troubleshooting the procedure if it fails.  Thanks.
0
mass2612Commented:
I think the simplest answer for you is that before moving a storage group its best to run a full backup of the stroage group first. You can use NT backup for this.

All those SCR, LCR and CCR are types of failover technologies that have been introduced into Exchange 2007. If they are used sometimes they can cause the transaction logs not to be purged (therefore committed) under certain circumstances.
0
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

jmg999Author Commented:
Thank you for the clarification.  I'm in the process of backing up the entire First Storage Group directory right now.  Just out of curiousity, what is it that notates when these log files have been backed up?  What makes it possible for me to then migrate them from one HDD to another?
0
mass2612Commented:
When you say first storage group directory that doesn't sound right. You need to backup the Storage group try this link. It refers to 2003 but 2007 is the same.

How do I backup my Exchange 2000/2003 server
http://www.petri.co.il/backup_exchange_2000_2003_with_ntbackup.htm
0
jmg999Author Commented:
Thanks for the link, but the options in 2007 are different than in 2003.  For instance, if you look at this picture from your link:

http://www.petri.co.il/images/backup2.gif

You can see where the Exchange Server is clearly listed as an option.  However, I don't see that entry.  I only see My Computer, My Documents, and My Network Places.  Additionally, I'm not positive, but I'm fairly certain that the information store has been broken down into two storage groups in 2007.  There's the First Storage Group, which houses user mailboxes, and there's the Second Storage Group, which houses the public folders.  When I referred to the First Storage Group in my earlier post, this is what I meant.
0
mass2612Commented:
As long as you are backing up the storage groups you should be fine. If you are trying to backup via C:\Program Files\Exchsrvr\mdbdata it probably won't backup the database and therefore not purge the logs.
0
jmg999Author Commented:
Ok, I'm letting it run now.  We'll see what happens.  Btw, this is the path that I'm backing up:

C:\Program Files\Microsoft\Exchange Server\Mailbox\First Storage Group
0
jmg999Author Commented:
So, I ran the backups.  When it finished, I got a couple of errors.  Here's the log:

Backup Status
Operation: Backup
Active backup destination: File
Media name: "Backup.bkf created 2/2/2008 at 1:03 PM"


Error returned while snapping the volume:The parameter is incorrect.


Reverting to Non-snap backup mode.
Backup of "C: System"
Backup set #1 on media #1
Backup description: "Set created 2/2/2008 at 1:03 PM"
Media name: "Backup.bkf created 2/2/2008 at 1:03 PM"

Backup Type: Normal

Backup started on 2/2/2008 at 1:03 PM.
Warning: Unable to open "C:\Program Files\Microsoft\Exchange Server\Mailbox\First Storage Group\E00.log" - skipped.
Reason: The process cannot access the file because it is being used by another process.


Warning: Unable to open "C:\Program Files\Microsoft\Exchange Server\Mailbox\First Storage Group\E00tmp.log" - skipped.
Reason: The process cannot access the file because it is being used by another process.


Warning: Unable to open "C:\Program Files\Microsoft\Exchange Server\Mailbox\First Storage Group\tmp.edb" - skipped.
Reason: The process cannot access the file because it is being used by another process.


Backup completed on 2/2/2008 at 4:35 PM.
Directories: 6
Files: 95300
Bytes: 99,937,782,660
Time:  3 hours,  32 minutes, and  4 seconds

----------------------

Once it was finished, I tried moving the Storage Group.  I got the same error as before.  I then tried dismounting the Mailbox Database, but again, I got the same error.  However, I didn't dismount the db prior to backing it up.  I imagine that this is the reason I got the errors I did in that log file.  Any suggestions on what I should do now?  Should I dismount the db, back it up, then try to transfer the Storage Group?
0
mass2612Commented:
E00.log is ok as this is the current transaction log and cannot be backup up unless the exchange services are stopped but you don't need it.

Can you check to see what the setting says under the database properties: -

Start the Exchange Management Console
In the console tree, expand Server Configuration, and then click Mailbox.
In the result pane, click the Mailbox server that contains the database you want to configure.
In the work pane, expand the storage group that contains the database you want to configure, and then click the appropriate database.
In the action pane, click Properties
Select the General tab and check the Last full backup and Last incremental backup.

0
jmg999Author Commented:
Hmm...this is the info I see...

Database Path:     D:\Program Files\Microsoft\Exchange Server\Mailbox\First Storage Group\Mailbox Database.edb

Database Copy Path:

Last Full Backup:

Last Incremental Backup:

Status:    Mounted

It's not showing any backup having been performed.  Do you think this goes back to me not seeing the Exchange Server in the window when I ran NTBackup?
0
mass2612Commented:
Are all the Exchange services running ok when you are trying to run the backup? They should be. This si why the logs are not committed as far as Exchange is concerned a backup has never been completed.
0
jmg999Author Commented:
The services seem to be fine.  How does Exchange know when a backup is committed?  Does NTBackup pass it some sort of info letting it know?
0
mass2612Commented:
NT Backup is Exchange aware but if you aren't seeing the exchance information store from it then something is wrong. Are you running this backup from the Exchange server itself? You need to fix the NT Backup issue or use another Exchange aware backup software. This basically means you need to use a backup program that has an Exchange agent running.
0
jmg999Author Commented:
Yes, I'm running it directly from the Exchange Server.  Do you have a suggestion for another backup app that has an Exchange agent?
0
jmg999Author Commented:
I found this online tonight...


http://searchexchange.techtarget.com/tip/0,289483,sid43_gci1138776,00.html

Thing is, I'm not backing up anything other than the First Storage Group.  I'm not sure why NTBackup doesn't see it in its list.
0
mass2612Commented:
I can't tell from the info supplied why NT Backup is not working either. Do you see any other related events in the event logs? As for another backup program there are too many to list and none are free. That's why NT Backup is always a good option in an emergency it normally works without any issues. The only time I have seen what you describe is when the backup is being run from a non-Exchange server or that the Exchange services are not running correctly.
0
jmg999Author Commented:
I'll double-check the Exchange services, but I've been looking online, and I can't seem to find much on NTBackup and Exchange 2007.  I'm wondering if it's not supported anymore.
0
mass2612Commented:
NT Backup is supported for database level backups of Exchange 2007. Brick level backups are not supported but I wouldn't recommend brick level anyway.
0
jmg999Author Commented:
I've checked, and all Exchange services seem to be running properly.  Just to be on the safe side, is there a list somewhere that I can check against?
0
mass2612Commented:
The list of services really depends on your setup i.e. HT, CAS, Mailbox role etc. Have you tried the restart the server?

How to Perform a Basic Backup of Exchange Databases
http://technet.microsoft.com/en-us/library/bb123693(EXCHG.80).aspx
0
jmg999Author Commented:
Yeah, I read through that link the other night.  Everything I see tends to tell me the same thing, which is that I should see the server itself in the list of objects to back up.  Unfortunately, that's not case in this instance.  Btw, we're running a CAS setup, so if there's a list somewhere, I'm more than happy to go through it.  I'll Google it myself, too.
0
jmg999Author Commented:
I probably should specify that, in addition to being a CAS, it's also a Hub Transport server, too.
0
mass2612Commented:
I just read your other question. The only way to manually remove the logs is to enable curcular logging. I and MS would not recommend it normally however it is a valid option.

If you enable circular logging I would stop the Exchange services and do a manual flat file copy of the Exchange information i.e. D:\Program Files\Microsoft\Exchange Server\Mailbox\First Storage Group\Mailbox Database.edb to another server or location just in case the move fails.

How to Enable or Disable Circular Logging for a Storage Group
http://technet.microsoft.com/en-us/library/bb331968(EXCHG.80).aspx
0
mass2612Commented:
Can you expand out the NT Backup screen and paste a screen shot of what you see here? Have you been able to try a restart?

Are the Exchange databases available to the users to connect to via Outlook? If so then you can be fairly certain that the Exchange services are ok. Are there any other errors in the event logs?
0
jmg999Author Commented:
That's something I can try after hours tonight if we can't find an answer to either of these questions.  Btw, thanks very much for sticking w/ me on this, Mass.  I really do appreciate your help and direction. :)
0
mass2612Commented:
Try running a get-service | fl from the Exchange management shell and attach a file with this info here so we can review it. This will give you a list of all the services and their state.

No worries. Sorry I havent been able to give you the quick answer on this one. Its pretty strange normally NT Backup is so reliable. Its not very feature rich but I've never had a problem doing a basic backup like this. I'm just going to monitor your other question so that if someone else has seen this particular issue I'll know what the solution is.
0
jmg999Author Commented:
Here's the list...
services.txt
0
jmg999Author Commented:
Any ideas, Mass?
0
mass2612Commented:
It all looks ok to me. Did you reboot yet?
0
jmg999Author Commented:
Have I rebooted since backing up the logs?  No, I haven't.
0
mass2612Commented:
Backing up the logs? So did you get a backup working? Can you see the full backup status complete in the EMC now as in my comment 20807715 above?
0
jmg999Author Commented:
Well, not a backup in the sense you're referring to.  I can backup the data, but I can't do it by selecting the Exchange Server from the list of available targets.  I have to manually drill down through the hard drive where the info is located.  When I do this, though, the db doesn't recognize the fact that it's been backed up when I check in the EMC.  I was asking if you suggested I reboot the server, since I'd performed the manual backup.
0
mass2612Commented:
You can't backup the Exchange database that way while the Exchange services are running.

I would try a restart to see if that allows you to view the Exchange server from the NTBackup window.
0
jmg999Author Commented:
I tried rebooting, and it had no effect.  Are you saying that if I stop Exchange services, I should be able to see the Exchange Server in the list of NTBackup's available targets?
0
mass2612Commented:
No. If you stop Exchange then you can backup the database in offline mode via D:\Program Files\Microsoft\Exchange Server\Mailbox\First Storage Group\Mailbox Database.edb.

I would consider calling MS Product Support as you don't have any errors and can't perform a backup. Short of that you may need to buy some 3rd party Exchange aware backup software and perform your backups with that.
0
jmg999Author Commented:
I was able to back it up by going to D:\Program Files\Microsoft\Exchange Server\Mailbox\First Storage Group\Mailbox Database.edb w/ Exchange services still running, and perform the backup that way.  
0
mass2612Commented:
Try to do a restore with that backup and it will probably fail. You cannot backup Exchange databases while they are online without using an Exchange aware backup program with an Exchange agent.
0
jmg999Author Commented:
Well, I'm outta ideas... :)  The good news it that I was able to move the database, so it buys me some time.  I still have ~40GB of space on the C: drive.
0
mass2612Commented:
Me too. As I said I would at a minimum test that you can restore a backup successfully. If you can't call MS PSS.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
jmg999Author Commented:
I finally found the answer to this dilemma.  It turns out that there are two versions of NTBackup installed on this server.  One was installed w/ the OS, and the other was installed when Exchange was.  Apparently, I'd been using the version that came w/ Exchange, but that wasn't working for whatever reason.  It turned out that it needed the version that came w/ Server 2003.  
0
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
Exchange

From novice to tech pro — start learning today.