Exchange 2007 activating LCR copy

hi

i am currently testing my exchange 2007 and the use of the LCR functionality

i have a setup with the log files on the E: Drive and the EDB files on the F: drive and have a separate raid array for the LCR copy which is the L: drive

i would like to test an activation of a LCR copy to see how it works and would like to use the

Restore-StorageGroup -Identity:<server>:\<StorageGroupName> without the -ReplaceLocation option

as per http://technet.microsoft.com/en-us/library/aa997567.aspx

so i checked the status of the LCR which was healthy
dismounted the database using dismount-Database and entered the name of the mailbox database
so far so good
i then ran the Restore-StorageGroup -Identity:<server>:\<StorageGroupName> command and this resulted in
WARNING: Restore-StorageGroupCopy on First Storage Group was successful. All logs were successfully copied.

i would like to use explorer to copy the LCR files to the production path (don't want to change drive letters, or mount points) but i am not sure which files to copy? do i just need to copy the edb file or also the transaction log files? i found this link http://searchexchange.techtarget.com/generic/0,,sid43_gci1296344,00.html# but it does not tell you which files you should copy

one other thing that i have noticed is that i use a snapshot technology by IBM fastback that backs up the active copy (it cannot do the passive copy) and it works well but the transaction log files off the LCR copies are not truncated (it does truncate the active copy transaction log files), is this something that i can do manually, and how do i know which transaction log files on the passive copy to delete?


many thanks for your help

butrousbutrousAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
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.

EL-SHIMYCommented:
Hi there ...
i think you've to copy edb file and the transaction log files cuz maybe there are logs didn't commited  yet on the database file so you need transaction logs too.

I hope that help you
SHIMY
0
butrousbutrousAuthor Commented:
i copied the .edb file and replaced the active copy.
i then copied all the transaction log files including the

E00.chk
E00.log
E00res0001.jrs
E00res0002.jrs

mounted the database store and it seems to have worked, it only contains a test mailbox so am not sure if any of the data is missing or not but will do some more test on that

i will now need to re enable LCR (after removing the LCR files)

i find the MS documentation incomplete as it tells you to copy files but it does not tell you which files.
The LCR copy also contains folders called IgnoreLogs and inspector but it does not mention anything about those, well the technet just tells you to copy files, but you have to figure out for yourself which ones!

i think i now only have the issue left of the LCR transaction log files not truncating, when mounting a LCR copy of the database does the exhcange server replay any non comitted transaction log files and just discards the already comitted log files?

it will be interesting to see if those transaction log files, I copied from the LCR location to the active path that had not been truncated on the LCR copy, will be truncated when the exchange backup runs on the active copy or whether they will stay there and need manual removel (scary!!)

 
0
butrousbutrousAuthor Commented:
so just checked the active transaction log files and all off the transaction logs have been purged except for the last couple, so i guess that the mount process takes care of discarding any already committed transaction log files

i would be good if someone would know this to be true and then finally need to figure out how to get those LCR transaction logs purged!
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
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.