Affected Builds
AppAssure 5 Core Build 5.X
Description
Rollup fails with the following error:
The following error appears in the AppRecovery logs:
ERROR 2013-12-02T14:05:47 [182] – Replay.Core.Implementation.Rollup.RollupJob ()
Job ‘Rolling up ’1′ protected machine(s).’ failed
System.AggregateException: One or more errors occurred. —> System.ArgumentException: Cannot merge file versions which belong to different repositories
at Replay.Core.Implementation.Repositories.FileAbstraction.FileVersionMergerFactory.Create(IEnumerable`1 fileVersionsToMerge)
Cause
The issue is caused where there are cloned virtual machines. At this time, protection of cloned virtual machines is not supported as Dell AppAssure does not protect machines with identical Volume IDs on a single Core server since the software reads both volumes as having identical identities. This would be caused when there are cloning of virtual machines (VMs). Rather than reading the two volumes as separate components, AppAssure will attempt to place the clone VM’s backups with the original VM’s backups.
Resolution
There are three possible solutions or workarounds to fix this issue:
Solution #1
Remove both agents from protection and delete all recovery points for these agents. (existing recovery points can be kept but they are most probably unusable)
Then complete one of the following fixes.
- Use separate Cores to back up the two clones vm
- Adjust the Windows installations so your volume IDs are no longer identical.
- Use a different SCSi controller.
- Change the SCSi disk order.
- Use SYSPREP to reset the IDs of the disks and the system
- Use DiskPart to reset the Disk IDs
You may reference this KB article for this workaround:
http://www.appassure.com/support/KB/cloning-virtual-machines/
———————————————————————————————————————————————————————–
Solution #2 which is our recommendation:
Step 1. Remove one of the machines from protection along with all recovery points
Step 2. Delete the agent’s registry and restart the agent service so that it creates a new agent ID:
1) Stop the AppAssure agent service
2) Backup the agent registry folder: HKEY_LOCAL_MACHINE\SOFTWARE\AppRecovery\Agent\
3) Delete the entire agent registry folder: HKEY_LOCAL_MACHINE\SOFTWARE\AppRecovery\Agent\
4) Restart the AppAssure agent service
Steps 3 & 4. Run assuremc disable on all volumes & delete aadata and aafailover on agent volumes.
**Stop the AppAssure agent service before starting.
1. Download the link below to the agent server:
http://aainfo-logs.s3.amazonaws.com/AA-1111/ReplaySupportBundle-NCLIFT-2013-03-13_09-21.zip
2. Extract the zip and browse in.
3. Click on custom files.
4. Extract the assuremc.zip file here. There is a 64-bit and 32-bit version.
5. If the agent machine has a system reserved partition, then you may continue. Otherwise, continue to #7. From diskmgmt.msc right click on the system reserved partition and choose “change drive letter and paths”.
6. Click ‘Add’ then choose a drive letter and click ok.
7. From windows explorer browse to the drive letter, then browse to ‘System volume information’ folder.
- This is a hidden and protected operating system folder so you may have to change the view options for that folder.
- You also may not have access to this folder by default, so you will need to add the user account you are logged in with to the permissions.
8. In this folder see the AAData.md & AAFailover.md files. This is the change log.
9. Open an admin command prompt.
10. cd to the assuremc directory from step 4.
11. Enter the following command:
assuremc disable ‘drive letter you chose in step 6′.
ex. assuremc disable f:
12. Once this completes, you will be able to delete the change logs (aadata and aafailover).
- Right-click on the AAData.md & AAFailover.md files and go to Properties -> Security. Click Edit and Add, then add the account you’re logged in as to the list. Grant yourself Full Control. Then click on Advanced -> Owner and make yourself the owner of the file. Save settings, and open an elevated cmd prompt.
- If you are not able to delete from Windows Explorer, you can do it from an elevated command prompt.
Type the following:
> del AAData.md
> del AAFailover.md
13. Once you delete the change logs, remove the drive letter (if one was assigned to the SRP volume) from diskmgmt.msc.
14. Repeat steps #7-13 for each volume,
15. Start the agent service.
Step 5. Protect the agent with a new display name.
Step 6. New base images and incremental snapshots will then be successful and mountable.
Step 7. Confirm that the driver IDs are different for all volumes. See the attached screenshot for the registry path and the drive ID keys.
———————————————————————————————————————————————————————–
Solution #3
Contact AppAssure Support, provide the core and agent AAinfo logs; and we may be able to supply a custom binary to address this issue which will allow you to keep all recovery points.