Lets look at this usecase
- I have a MIM Sync server MIMServerA in Forest TLKA
- I have another MIM Sync server MIMServerB in forest TLKB
- The Sync servers are exactly the same configuration.
- I have lost MIMServerA’s Sync DB, no backups for DB or for VM.
- I restore MIMServerB Sync database to MIMServerA SQL server. I cooy over the key from MIMServerB, play it in C:\Temp.
- I log into MIMServerA with my account. I open SQL Studio and give my account TLKadmin SA rights to the MIMServerA SQL server. I also add TLKAdmin to the restored Sync server as DB owner.
- I open an Admin command prompt. I change directory to the MIM Bin directory. I run the following command
miisactivate TLKMIMBkey.bin TLKA\TLKAdmin *
- I get prompted for password and I enter the password for TLKA\TLKAdmin
- Next is to change the account used to encrpt config data in the sync DB from the TLKB account to the TLKA account. Stop the Sync service. From the Admin command prompt in the Bin directory run miiskmu.exe. Choose Abandon the current key, at the next screen enter TLKA\TLKAdmin account info. The process will complete successfully. But you still cannot open the Sync manager.
- Now to change the MIM groups in the Sync DB from TLKB to TLKA, you want to run change from the control panel uninstall section. When you click on change you get the message a you need to run in Admin mode. Go to an Admin command prompt and run this
- This will open the MIM change program. Then enter the TLKA MIM groups and go through the prompts. When it is finished, the Sync Manager can open.
Switch the Data
- Go to each Management agent and change the config to match TLKA
- For AD MA you cannot change the forest of an MA, so export the config and create a new MA
- Switching the data is where one has to careful. A couple of things to note
- Make sure your MV Object deletion rule is well set so you do not leave any orphans
- Delete all the MV data and do Full Import and Full Sync
- Note which MA projects first for an object and do it in that order