Direkt zum Inhalt

Instance ID is the same every time. Cannot add machine to AMS

Thread needs solution

We ran into an error when adding machines created from a virtual machine template (in vSphere).

We deploy the machine from a template file, resulting in many settings being shared between clones.
One of these settings is a registry entry that is created when installing Acronis 11 agent:

HKEY_LOCAL_MACHINE\SOFTWARE\Acronis\BackupAndRecovery\Settings\MachineManager\MMScurrentMachineID

This ID is the same across all VM's, even when we uninstall Acronis, delete the registry key and reinstall. The instanceID is the same, and we cannot add these clients to the AMS if they are using the same key. Is there an easy way to avoid this problem, as we cannot keep manually changing this key to make it unique?

Here's the workaround KB article:

http://kb.acronis.com/content/30461

Is there a way to avoid manually editing this keyfile, for example, can we delete whatever the instanceID is referencing so that it generates a new one? If so, where is the reference located?

Thank you!

0 Users found this helpful

You can create a .reg file to delete keys MMScurrentMachineID and InstanceID mentioned in this article - see http://support.microsoft.com/kb/310516 They will be regenerated after restart of mms service. You can also do it before creating a template - i.e. stop mms service, delete these keys and create machine template. Then these keys will be regenerated after power-on when mms service starts.

Perfect! Thank you for your quick and accurate response. Tested and works successfully.

Ok, so that worked awesome for Windows but now I have run into the same problem with Linux.

I have tried stopping acronis_mms service, deleting everything in /var/lib/Acronis/BackupAndRecovery/MMS/Instances/* and then starting the acronis_mms service back up, yet the machine ID remains the same.

Is there a way to do this in Linux so that I don't have to manually type in a new machine ID? I need it to auto generate one like in Windows.

Thanks!

Posting the answer here, as I managed to figure it out:

After some messing around, I figured out that if you delete the MMSMachineID out of /etc/Acronis/BackupAndRecovery.config, it will auto generate a new one. Just remove the ID and leave the quotes "" and when you start up acronis_mms service it will insert a new auto-generated MMS id.

Hope this helps someone in the future :)

Thanks for posting this Brian, this helped my colleague. We tried to figure out the issue for a week already.